• src/sbbs3/inkey.cpp

    From rswindell@VERT to CVS commit on Sat Jul 28 17:33:00 2018
    src/sbbs3 inkey.cpp 1.55 1.56
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv6007

    Modified Files:
    inkey.cpp
    Log Message:
    Change how the global hot key recursion control (hostkey_inside) works:
    from a counter, which allowed 2 depths of nesting (any 2 hot key handlers)
    to a bit-mask which disallows *any* hot key handler to be re-entrant, but
    you can enter any of the *other* hot key handlers from any *other* hot
    key handler.

    Previously, for example, you could hit Ctrl-P to enter the private message prompt and then Ctrl-P again to re-enter the private message prompt (recusively) - confusingly, requiring 2 'Q'uits to get back to whatever
    you were doing before you hit the first Ctrl-P. Been like this forever.
    Now, while in the Ctrl-P (private message) handler, hitting Ctrl-P again
    does nothing. But you can hit Ctrl-T, or Ctrl-K or any other global hot
    key and it'll work but those in turn will also disallow recursion of their
    own handlers.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Apr 27 23:37:07 2019
    src/sbbs3 inkey.cpp 1.58 1.59
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv4291

    Modified Files:
    inkey.cpp
    Log Message:
    When a PETSCII delete key is struck, treat as backspace ('\b').



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun May 5 23:46:43 2019
    src/sbbs3 inkey.cpp 1.59 1.60
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv32265

    Modified Files:
    inkey.cpp
    Log Message:
    When user is not online (yet), inkey() shall return the ctrl-key values for
    ^U, ^P, ^T, ^K, etc. and not 0. This allows a CBM/PETSCII terminal user
    to actual hit their Backspace/Delete key (^T) in response to the new new-user prompt


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jul 23 17:44:00 2019
    src/sbbs3 inkey.cpp 1.61 1.62
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv12855

    Modified Files:
    inkey.cpp
    Log Message:
    Use term_supports() for detecting NO_EXASCII support.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat May 2 21:27:07 2020
    src/sbbs3 inkey.cpp 1.63 1.64
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28835

    Modified Files:
    inkey.cpp
    Log Message:
    When a user sends an ANSI escape sequence (like say, an arrow key), don't set the persistent ANSI flag in their user record. Setting the flag in the auto-terminal detection value should be enough.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun May 3 10:33:58 2020
    src/sbbs3 inkey.cpp 1.64 1.65
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31681

    Modified Files:
    inkey.cpp
    Log Message:
    Assume the characters in the ungetkey-buffer are ASCII. This fixes the problem with getstr(..., K_AUTODEL) and PETSCII terminals, reversing the case (capitalization) of the first character typed.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu May 7 18:23:18 2020
    src/sbbs3 inkey.cpp 1.68 1.69
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    inkey.cpp
    Log Message:
    Resolve GCC warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long int'



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun May 10 09:20:00 2020
    src/sbbs3 inkey.cpp 1.73 1.74
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28465

    Modified Files:
    inkey.cpp
    Log Message:
    The 3rd step of the hungry hot-spot matching algo now looks for the left-most possible match in reverse creation order. This solves the problem with clicking left of "Yes" in a yes/no prompt registering as a "No'.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Aug 3 17:56:37 2020
    src/sbbs3 inkey.cpp 1.79 1.80
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv29567

    Modified Files:
    inkey.cpp
    Log Message:
    Allow set_mouse() to disable mouse-reporting in the terminal (if it was previously enabled), even when mouse support has been turned off by the user.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Dec 14 10:28:05 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/8dd98cfdfd89dec024791afe
    Modified Files:
    src/sbbs3/inkey.cpp
    Log Message:
    Disable mouse hot spot adding/clearing debug log messages

    ... even in debug builds (was already disabled for release builds)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Apr 28 10:05:48 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1f56e7ac492b9499d29218cf
    Modified Files:
    src/sbbs3/inkey.cpp
    Log Message:
    Don't add hot-spots for users of terminals without mouse support

    This eliminates some link-list management and the debug-level log message "Scrolled x mouse hot-spots" for non-mouse-enabled user terminals.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Jun 25 14:47:15 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/caeb81b3974b166131d5861c
    Modified Files:
    src/sbbs3/inkey.cpp
    Log Message:
    Indicate whether an SGR mouse button report is a press or release

    In the mouse debug log output. Potentially helpful in debugging mouse related issues when using the SGR mouse reporting mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Jul 2 18:22:05 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1a3e85071f71e343ab05466e
    Modified Files:
    src/sbbs3/inkey.cpp
    Log Message:
    Use mouse button release rather than press to activate a hotspot

    As described in issue #412, when using extended mouse coordinate (SGR) mode, the mouse button release sequence would be received by the BBS after the hotspot-activated menu option was executed and then that button release sequence possibly passed through to the a child script or program that didn't know how to handle or ignore it.

    To resolve this, the BBS now ignores ("eats") the mouse button *press* sequence and only acts upon the mouse button *release* sequence. This is more aligned with how button-clicks work in mouse-control/GUI applications anyway.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Jan 29 20:20:43 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/01f21bdcc2c4aac43aaa3515
    Modified Files:
    src/sbbs3/inkey.cpp
    Log Message:
    Don't do the DEL/Backspace swap for PETSCII terminals

    This was a bug if the user had set their terminal to swap Delete and Backspace keys while not using a PETSCII terminal.

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