• SHELL mode and ability to CTRL C

    From Mewcenary@1:103/705 to All on Sat Mar 5 20:07:26 2022
    Hi there,

    When using SHELL mode in the Sysop menu, is it possible for CTRL C to be passed through?

    As an example, I was using SHELL mode to do something like this:

    $ tail -f /var/log/syslog

    This has the unfortunate consequence of then getting 'stuck' with no way to get back to the BBS, other than hanging up the session and calling back.

    Thanks,

    Mewcenary.

    ---
    þ Synchronet þ Extricate BBS - bbs.extricate.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mewcenary on Sat Mar 5 14:46:04 2022
    Re: SHELL mode and ability to CTRL C
    By: Mewcenary to All on Sat Mar 05 2022 08:07 pm

    Hi there,

    When using SHELL mode in the Sysop menu, is it possible for CTRL C to be passed through?

    As an example, I was using SHELL mode to do something like this:

    $ tail -f /var/log/syslog

    Ctrl-C is passed-through. You can see this by running showkey on Linux:

    $ showkey -a

    Press any keys - Ctrl-D will terminate this program

    ^C 3 0003 0x03

    This has the unfortunate consequence of then getting 'stuck' with no way to get back to the BBS, other than hanging up the session and calling back.

    Yeah, there's something else at play there. Like, the program is expecting a signal and not actually looking for a Ctrl-C character. So the enhancement you seek in Synchronet is likely the opposite of what you asking for, i.e. don't pass-through the Ctrl-C (in some configurations for some programs) but rather send a signal (SIGINT likely) to the process when the user sends a Ctrl-C character.
    --
    digital man (rob)

    This Is Spinal Tap quote #22:
    David St. Hubbins: Here lies David St. Hubbins... and why not?
    Norco, CA WX: 53.2øF, 53.0% humidity, 17 mph SE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)