• src/sbbs3/inkey.cpp

    From rswindell@VERT to CVS commit on Friday, October 03, 2014 01:29:23
    src/sbbs3 inkey.cpp 1.45 1.46
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv16488

    Modified Files:
    inkey.cpp
    Log Message:
    Allow Ctrl-Z to invoke undo in getstr (get string) operations
    - instead of enabling/disabling raw input mode


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Friday, February 20, 2015 18:32:57
    src/sbbs3 inkey.cpp 1.47 1.48
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv18577

    Modified Files:
    inkey.cpp
    Log Message:
    Use parens more aggresively. Fix bug with Ctrl-Z introduced in rev 1.46


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Saturday, December 30, 2017 03:52:22
    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).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, February 20, 2018 03:24:15
    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().


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, March 11, 2018 14:29:02
    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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, July 28, 2018 21:33:57
    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 Monday, May 06, 2019 03:46:43
    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 Tuesday, July 23, 2019 21:44:00
    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 Sunday, May 03, 2020 01:27:07
    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 Sunday, May 03, 2020 14:33:58
    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 Thursday, May 07, 2020 22:23:18
    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 Sunday, May 10, 2020 13:20:00
    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 Monday, August 03, 2020 21:56:37
    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 Tuesday, December 14, 2021 15:28:05
    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 Thursday, April 28, 2022 14:05:48
    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 Saturday, June 25, 2022 18:47:15
    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 Saturday, July 02, 2022 22:22:05
    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 Sunday, January 29, 2023 20:20:43
    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