• src/sbbs3/inkey.cpp

    From rswindell@1:103/705 to CVS commit on Sat Dec 30 03:52:22 2017
    src/sbbs3 inkey.cpp 1.52 1.53
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv4341

    Modified Files:
    inkey.cpp
    Log Message:
    Support the Microsoft-supported terminal escape sequences for PageUp/Down: <ESC>[5~ and <ESC>[6~ (these appear to be VT-220 sequences).


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue Feb 20 03:24:15 2018
    src/sbbs3 inkey.cpp 1.53 1.54
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv6633

    Modified Files:
    inkey.cpp
    Log Message:
    Address Coverity-reported issue: passing an unterminated string to atoi().

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Mar 11 14:29:02 2018
    src/sbbs3 inkey.cpp 1.54 1.55
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27570

    Modified Files:
    inkey.cpp
    Log Message:
    When using Ctrl-T to display time info (globally), if the time left has
    been reduced due to an upcoming event, say so here.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Jul 28 21:33:57 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.


    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Apr 28 03: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').


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon May 6 03: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

    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue Jul 23 21: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.

    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun May 3 01: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.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun May 3 14: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.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu May 7 22: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'


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun May 10 13: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'.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Aug 3 21: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.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Tue Dec 14 15: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)
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Thu Apr 28 14: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 supportThis eliminates
    some link-list management and the debug-level log message "Scrolled x mouse hot-spots" for non-mouse-enabled user terminals.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Jun 25 18: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 releaseIn the mouse debug log output. Potentially helpful in debugging mouse related issues when using the SGR mouse reporting mode.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Jul 2 22: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 hotspotAs 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.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 terminalsThis was a bug if the user
    had set their terminal to swap Delete and Backspace keys while not using a PETSCII terminal.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)