From rswindell@VERT to CVS commit on Tue Apr 28 00:12:23 2020
src/sbbs3 con_out.cpp 1.128 1.129 getstr.cpp 1.38 1.39
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv27134
Modified Files:
con_out.cpp getstr.cpp
Log Message:
Fix some cosmetic issues with saveline/restoreline and its interaction with getstr's insert mode (Ctrl-V) indicator and edit/line modes. Global Hot Keys (e.g. Ctrl-T) would do weird stuff like return the cursor to the end of the line or redraw the input string multiple times.
So as part of this fix:
- backspasce() now removed the last count characters from the save-line buffer
(it is a destructive backspace afterall).
- outchar('\b') (a non-destructive backspace) adds the \b to the save-line buf - restoreline() now always redraws the current insert/overwrite indicator in
the upper right-most corner fo the screen
- insert_indicator() now uses functions that aren't line-saved.
An unrelated change included in this comment: center() now sends a CR before the cursor movement and centered-text, for times when the current column is *not* already at 0. Very useful for use with @-codes (e.g. display some pattern or "graphics" and then center some text over it).
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
Who's Online
Recent Visitors
Deepend
Fri Jan 2 03:36:20 2026
from
Calgary, Ab
via
HTTPS
Deepend
Thu Jan 1 15:35:34 2026
from
Calgary, Ab
via
HTTPS
Guest
Mon Dec 29 11:31:58 2025
from
Pitt
via
Telnet
Ben Cartwright
Mon Dec 29 08:17:07 2025
from
North Carolina
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
289
Nodes:
10 (0
/
10)
Uptime:
21:58:54
Calls:
2,460
Files:
5,399
D/L today:
29 files
(10,135K bytes)
Messages:
449,777
Posted today:
2
Synchronet Oneliners
Guest@rdbbs Mon Dec 15 21:08:57 2025 merry christmas from joshua tree
Deepend@rdbbs Tue Dec 16 21:40:53 2025 Merry Christmas!
Vintagegeek@rdbbs Wed Dec 17 10:29:09 2025 M E R R Y C H R I S T M A S
Guest@rdbbs Thu Dec 18 12:25:11 2025 i'm on the bus!
Vintagegeek@rdbbs Sat Dec 20 14:04:54 2025 Buehler