• src/sbbs3/getkey.cpp

    From rswindell@VERT to CVS commit on Sun May 10 19:57:14 2020
    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 Mon May 11 01:55:41 2020
    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 Sun May 24 01:19:18 2020
    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 Fri Sep 4 20:24:29 2020
    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 Wed Sep 9 02:22:08 2020
    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 Thu Nov 5 00:02:18 2020
    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 Sat Aug 3 19:58:06 2024
    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 Tue Oct 22 22:13:17 2024
    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 Sun Dec 22 00:50:13 2024
    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
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 1 15:08:34 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/c0e79057b4db0bdb35509b12
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Ust TERM_KEY_DOWN instead of (non-obvious) LF macro

    No functional change.

    ---
    � 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 Sun Mar 1 16:14:33 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/788e786e1b75b5ad7a8e9f44
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    Log a warning message if a duplicate mnemonic/cmd key is found

    ... in a mnemonic string passed to sbbs_t::mnemonics()

    This could happen due to translation/localization conflicts
    with hard-coded command keys.

    ---
    � 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 Fri Oct 30 19:20:41 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7839b5d1a0c691ba3f5964b8
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    getkey: erase the spinning cursor when aborted while waiting for input

    When an abort (e.g. Ctrl-C) arrived while getkey() was waiting in inkey()
    with a spinning cursor (K_SPIN), getkey() returned without erasing the
    spinner. Only the abort check at the top of the loop erased it. pause()
    then backspaced over its prompt using the prompt's own length, so the
    first of those backspaces was spent on the spinner and the prompt's first character (e.g. the '[' of "[Hit a key]") was left on the screen.

    Loop back to the top-of-loop abort check instead, which erases the
    spinner before returning.

    Co-Authored-By: Claude Opus 5.5 <[email protected]>

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