• src/sbbs3/getkey.cpp

    From rswindell@VERT to CVS commit on Thursday, October 12, 2017 01:56:49
    src/sbbs3 getkey.cpp 1.45 1.46
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv4902

    Modified Files:
    getkey.cpp
    Log Message:
    Another stupid MSVC ctype (isdigit) assertion work-around.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, July 07, 2018 00:22:37
    src/sbbs3 getkey.cpp 1.46 1.47
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv30687

    Modified Files:
    getkey.cpp
    Log Message:
    mnemonic strings (those with tilde's to indicate the command-keys), now support @-codes within them. Previously, only if the entire mnemonic string was comprised of an @-code would it be expanded, now any @-codes within will expand as well.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, October 10, 2018 23:13:31
    src/sbbs3 getkey.cpp 1.47 1.48
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv9109

    Modified Files:
    getkey.cpp
    Log Message:
    Fix a long standing-bug where if the "inactivity hangup" timeout value is set *lower* than the "inactivity warning" timeout value, the hangup timer wouldn't actually take effect until after the warning timeout elapsed. This made the login.js modification (rev 1.14) where we reduce the hangup timeout (by 75%) when an ANSI terminal is not detected, not effective.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, October 31, 2018 01:09:19
    src/sbbs3 getkey.cpp 1.50 1.51
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27004

    Modified Files:
    getkey.cpp
    Log Message:
    noyes() should return true (for "No") if passed a blank string, since "No" is default answer for these prompts.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, April 05, 2020 19:41:31
    src/sbbs3 getkey.cpp 1.58 1.59
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv18216

    Modified Files:
    getkey.cpp
    Log Message:
    Clear the current attributes (back to lightgray) after printing the "Yes" or "No" in yesno() and noyes(), unless the P_SAVEATR mode flag was specified (which may be used for the old behavior).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, May 10, 2020 19:57:14
    src/sbbs3 getkey.cpp 1.65 1.66
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv30977

    Modified Files:
    getkey.cpp
    Log Message:
    Mousify the pause() prompt.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, May 11, 2020 01:55:41
    src/sbbs3 getkey.cpp 1.67 1.68
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv13809

    Modified Files:
    getkey.cpp
    Log Message:
    If a ~ is present just before a ctrl char or the end of a mnemonics string, create a hungry hotspot for the line that sends CR when clicked (similar to ^A~).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, May 24, 2020 01:19:18
    src/sbbs3 getkey.cpp 1.68 1.69
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv24141

    Modified Files:
    getkey.cpp
    Log Message:
    Some debug and warning-level log output in ungetkey().


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Friday, September 04, 2020 20:24:29
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/f4e3e9da454cb9237ab6b585
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Resolve gcc warning: unused variable ‘term’

    Also optimization of spinning cursor: don't call strlen() for each spin

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Wednesday, September 09, 2020 02:22:08
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/2411b2d723821f347f24ca9d
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Spinning cursor over the hardware cursor - disabled.
    Define SPINNING_CURSOR_OVER_HARDWARE_CURSOR to enable this experimental feature. I'm not sure I like it better than the way the spinning cursor
    has been displayed for decades (to the left of the hardware cursor).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Thursday, November 05, 2020 00:02:18
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/688b566bd32ddb4bee07d60e
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Fix logged garbage observed in release rPi3 builds

    The "insert key into keybuf" log line could contain garbage. Apparently
    in a release build, the nested scope stack variable is actually invalid
    after the end of the scope. Weird.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, November 22, 2023 15:30:20
    https://gitlab.synchro.net/main/sbbs/-/commit/94fe4232d00189c225b4fd1e
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Fix CID 469138

    getkeys() is actually never (currently) called with a NULL arg, so this
    could not actually occur, but better to prepare for that eventuality.

    This looks like a case of not following the YAGNI principle.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, August 03, 2024 19:58:06
    https://gitlab.synchro.net/main/sbbs/-/commit/6cbc54eb7026741e89ede75f
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Better support for a blank ("") text.dat AreYouThere string

    If a sysop doesn't want this warning to do anything, then no need to save
    and restore the current (last displayed) line of text.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tuesday, October 22, 2024 22:13:17
    https://gitlab.synchro.net/main/sbbs/-/commit/cd144bbe616fa7e325898068
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Expand tildes in mnemonics strings that conain non-attr Ctrl-A codes

    Fix for issue #800

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, December 22, 2024 00:50:13
    https://gitlab.synchro.net/main/sbbs/-/commit/e0931d6dc261335a14e6b54c
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Fix issue when receiving node messages while using down-arrow at pause prompt

    Hitting down-arrow key at a pause prompt normally displaye just one more line of the display text/file, but if you received a node message/telegram/notice after hitting down arrow, you'd get a screen full of text instead of just a single (one more) line, as you wanted.

    This looks to be because of the anti-recursive protection implemented in pause() - when it calls nodesync() after the key press, that displays
    node/user messages (if there are any) and if pause is called as a result
    (e.g. because the line counter was already set to cause a pause after the
    next line of output), it'd do nothing since that would be recursive. The fix
    is to simply set the line counter as a result of the down-arrow key press *after* the call to nodesync(), which might display multiple lines, but I
    think that's fine.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net