-
src/sbbs3/inkey.cpp
From
rswindell@VERT to
CVS commit on Fri Oct 3 01:29:23 2014
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 Fri Feb 20 18:32:57 2015
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 Wed Oct 5 23:47:39 2016
src/sbbs3 inkey.cpp 1.49 1.50
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv22238
Modified Files:
inkey.cpp
Log Message:
More Microsoft stupid ctype-assertion prevention, this time with isdigit().
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net
-
From
rswindell@VERT 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).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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().
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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').
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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'
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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'.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT 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.
---
þ 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 15:28:05 2021
-
From
Rob Swindell@VERT 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 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 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 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 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 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
-
From
Rob Swindell (on Windows 11)@VERT to
Git commit to main/sbbs/master on Fri Sep 12 15:17:16 2025
https://gitlab.synchro.net/main/sbbs/-/commit/6b21e02c80975e58aee0878c
Modified Files:
src/sbbs3/inkey.cpp
Log Message:
This use of update_terminal() causes later crash
ANSI_Terminal::getxy(unsigned int * x, unsigned int * y) Line 371 js_getxy(JSContext * cx, unsigned int argc, unsigned __int64 * arglist) Line 2036
sbbs becomes garbage (0xdddddddd) in the while(sbbs->online ...) loop
---
þ 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 Fri Sep 12 15:31:30 2025
https://gitlab.synchro.net/main/sbbs/-/commit/8e76a1de9a6f758385f1d198
Modified Files:
src/sbbs3/inkey.cpp
Log Message:
Fix was appears to be broken but harmless logic in inkey()
last_inkey_was_esc was never set to false, once true.
Setting autoterm here doesn't really do anything anyway, since we can't call update_terminal() here, so maybe this logic/block should just be removed.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net