• CLI for Mystic

    From MeaTLoTioN@21:1/158 to All on Tuesday, February 26, 2019 14:07:05
    Hi y'all,

    I'm trying to figure out how to run an MPL from the CLI. So far I managed to get it to run...

    ./mystic -Uusername -Ppassword -Xmplscriptname

    However it's still quite a manual process as I have set up mystic to ask whether you want to use CP437 or UTF-8 character sets, so I have to now
    choose one of these before it progresses to the next bit of interaction which is ThreatSentry asking me to press any key, so I do and then it runs the mplscriptname as specified on the CLI.

    Is there any way I can at the CLI pass the character encoding to use so it doesn't ask that, and then bypass any other prelogin menu items so it just
    runs WITHOUT needing user intervention?

    I am trying to set up a system event on a schedule that requires me to do
    this however if I can't get around the user intervention I'm kind of screwed.

    Please help... and thanks in advance.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07ÄÄ |08[|10eml|08] |15ml@erb.pw |07ÄÄ |08[|10web|08] |15www.erb.pw |07ÄÄÄ¿ |07ÄÄ |08[|09fsx|08] |1521:1/158 |07ÄÄ |08[|11tqw|08] |151337:1/101 |07ÂÄÄÙ |07ÄÄ |08[|12rtn|08] |1580:774/81 |07ÄÄ |08[|14fdn|08] |152:250/5 |07ÄÄÄÙ

    --- Mystic BBS v1.12 A43 2019/02/10 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From g00r00@21:1/108 to MeaTLoTioN on Tuesday, February 26, 2019 18:43:10
    However it's still quite a manual process as I have set up mystic to ask whether you want to use CP437 or UTF-8 character sets, so I have to now choose one of these before it progresses to the next bit of interaction which is ThreatSentry asking me to press any key, so I do and then it

    If you have it setup to ask for character encoding on startup, then no there is no way to bypass that. Mystic does the detection of terminal settings and asking for the theme (if enabled) prior to running the script because that information is needed to run most scripts.

    There is a command line option to specify character encoding to use on
    startup, but if you configure it to Ask it will still ask.

    Maybe we can make some sort of option to bypass those questions though. Like passing -A or something along with -X or -Y will temporarily set codepage. theme, and ANSI detection to auto instead of ask for that run through.

    --- Mystic BBS v1.12 A43 2019/02/17 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From MeaTLoTioN@21:1/158 to g00r00 on Wednesday, February 27, 2019 01:31:55
    Maybe we can make some sort of option to bypass those questions though. Like passing -A or something along with -X or -Y will temporarily set codepage. theme, and ANSI detection to auto instead of ask for that run through.

    This would be cool, I have, since posting my plea for help, been shown by the great StackFault that you actually made what I wanted to do possible using an mutil stanza, so I did some stanzaninjaring and got it to do what I wanted
    that way... which is most likely a cleaner and more efficient way. I got me a scheduled message posting now. Just awaiting to hit the scheduled time to
    check that it works automagically.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07ÄÄ |08[|10eml|08] |15ml@erb.pw |07ÄÄ |08[|10web|08] |15www.erb.pw |07ÄÄÄ¿ |07ÄÄ |08[|09fsx|08] |1521:1/158 |07ÄÄ |08[|11tqw|08] |151337:1/101 |07ÂÄÄÙ |07ÄÄ |08[|12rtn|08] |1580:774/81 |07ÄÄ |08[|14fdn|08] |152:250/5 |07ÄÄÄÙ

    --- Mystic BBS v1.12 A43 2019/02/23 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From g00r00@21:1/108 to MeaTLoTioN on Tuesday, February 26, 2019 21:13:48
    This would be cool, I have, since posting my plea for help, been shown
    by the great StackFault that you actually made what I wanted to do possible using an mutil stanza, so I did some stanzaninjaring and got it to do what I wanted that way... which is most likely a cleaner and more efficient way. I got me a scheduled message posting now. Just awaiting
    to hit the scheduled time to check that it works automagically.

    Awesome glad you got it worked out. I still do think it'd be good to have a way to bypass the detection for those that want to have theme selection and asking for terminal stuff. I plan to revamp the themes soon so I need to
    make sure I have these options in place!

    --- Mystic BBS v1.12 A43 2019/02/17 (Linux/64)
    * Origin: Sector 7 (21:1/108)