-
src/syncterm/term.c
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Sat Mar 13 00:17:52 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Sat Mar 13 14:23:07 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Sun Mar 14 22:57:48 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Mar 15 00:03:43 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Mar 15 01:30:18 2021
https://gitlab.synchro.net/main/sbbs/-/commit/581087f329a38dc7130b0c76
Modified Files:
src/syncterm/term.c
Log Message:
Work around broken sz
Some broken protocol drivers (like sz) don't send a YModem terminate
at the end of a batch (or maybe just after a single file?) so SyncTERM
ends up trying to fall back from G to CRC-16 to 8-bit before ending.
This detects when the last known file was received, and if the YModem
header that follows is not correct, aborts the transfer.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Fri Mar 19 11:05:12 2021
https://gitlab.synchro.net/main/sbbs/-/commit/d8920e0602d46033d5949aa0
Modified Files:
src/syncterm/term.c
Log Message:
Better comment conformance in key parsing
There's a comment saying we set key=0 when we consume it... do so
in a couple cases where it wasn't done.
Range check the key before sending to the remote.
This should not actually do anything different, but in the future
if things are changed at least the comments won't be misleading.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon May 17 22:29:22 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Sun Dec 25 14:09:03 2022
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Wed Dec 28 19:54:31 2022
https://gitlab.synchro.net/main/sbbs/-/commit/29eb84a9762d210550e54c0e
Modified Files:
src/syncterm/term.c
Log Message:
Since we have the code to generate the correct gamma transfer, let's
not scale it in one colour space before translating it to a different
one.
Also, since almost all PPMs will use a maxval of 255, compile that
in as the default so we don't need to generate it.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Wed Dec 28 20:21:12 2022
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Wed Dec 28 20:22:50 2022
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Wed Mar 29 12:40:18 2023
https://gitlab.synchro.net/main/sbbs/-/commit/7aa6f21e42f94ff7807279a5
Modified Files:
src/syncterm/term.c
Log Message:
Resolve GCC 12.2 warnings
warning: format `%s' expects argument of type `char *', but argument 4 has type `void *'
warning: `sprintf' writing a terminating nul past the end of the destination
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Fri Apr 21 13:50:36 2023
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Fri Apr 21 13:53:30 2023
-
From
Rob Swindell (on ChromeOS)@VERT to
Git commit to main/sbbs/master on Wed May 31 21:33:50 2023
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Mon Jun 5 16:54:36 2023
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Mon Feb 12 10:19:22 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Mon Feb 12 10:33:56 2024
-
From
Deuce@VERT to
Git commit to main/sbbs/master on Fri Feb 23 21:58:38 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Mar 14 10:29:34 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Sun Mar 31 12:13:22 2024
-
From
Skylar@VERT to
Deuc¨ on Sun Mar 31 14:55:17 2024
Re: src/syncterm/term.c
By: Deucе to Git commit to main/sbbs/master on Sun Mar 31 2024 12:13 pm
Attempt to silence silly Coverity warning.
Good luck.
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sat Mar 21 15:24:30 2020
src/syncterm term.c 1.347 1.348
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv14347
Modified Files:
term.c
Log Message:
Address warnings in function 'zmodem_duplicate_callback' using SAFEPRINTF: term.c:1033:23: warning: '%s' directive writing up to 4096 bytes into a region of size between 0 and 4096 [-Wformat-overflow=]
term.c:1033:5: note: 'sprintf' output between 2 and 8194 bytes into a destination of size 4097
term.c: In function 'xmodem_download':
term.c:1503:23: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
term.c:1503:5: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097
term.c:1543:25: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
term.c:1543:7: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097
term.c:1585:23: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
term.c:1585:5: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097
Apparently removed some trailing whitespace characters too (thanks, Geany!).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Mon Apr 6 01:33:18 2020
src/syncterm term.c 1.348 1.349
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv4152/syncterm
Modified Files:
term.c
Log Message:
Add support for mode 9 and mode 1000 (no modifiers) mouse protocol per
XTerm. This is what the FreeBSD console supports as well, so there's a
chance this works in curses mode too.
Curses is the least likely since IIRC, the curses mouse thing is insane.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Mon Apr 6 12:53:11 2020
src/syncterm term.c 1.349 1.350
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv27275
Modified Files:
term.c
Log Message:
Add more mouse support... SGE, Button Event tracking, Any Event Tracking.
Still no modkey support though... cioapi doesn't currently support getting
this information.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Tue Apr 7 13:53:30 2020
src/syncterm term.c 1.350 1.351
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv3350
Modified Files:
term.c
Log Message:
Remove debug output.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 8 02:56:27 2020
src/syncterm term.c 1.352 1.353
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv25012/syncterm
Modified Files:
term.c
Log Message:
Support save/restore/query of mouse tracking state.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 8 13:52:10 2020
src/syncterm term.c 1.353 1.354
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv20124
Modified Files:
term.c
Log Message:
Properly take into account that the cterm window may not fill the ciolib window.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 8 21:09:51 2020
src/syncterm term.c 1.354 1.355
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv21096
Modified Files:
term.c
Log Message:
Win32 doesn't have ffs()... roll our own.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 8 21:43:13 2020
src/syncterm term.c 1.355 1.356
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv27544
Modified Files:
term.c
Log Message:
Make X10 mode trigger on a click, not on a press.
This makes the X10 mode much better, allows copy (but not paste), and
prevents weirdness with button releases when dragging.
While this may or may not be what xterm does, it's clearly the best choice.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 8 22:17:11 2020
src/syncterm term.c 1.356 1.357
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv32662
Modified Files:
term.c
Log Message:
Send button release events for movement in all-tracking mode when no
mouse button is pressed.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 8 22:20:40 2020
src/syncterm term.c 1.357 1.358
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv717
Modified Files:
term.c
Log Message:
Fix but that prevented movement events from being sent.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 8 22:48:11 2020
src/syncterm term.c 1.358 1.359
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv4532
Modified Files:
term.c
Log Message:
Furping da derpin
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 15 09:23:53 2020
src/syncterm term.c 1.361 1.362
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv18706
Modified Files:
term.c
Log Message:
Pass CTRL-x through as the respective ATASCII graphics characters.
Requested by Jeffrey S. Worley.
Note: There's still no way to send ◢, ▗, ◣, and 🮂 as these are mapped to Backspace, Tab, Line Feed, and Carriage Return respectively.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu Apr 16 09:55:40 2020
src/syncterm term.c 1.362 1.363
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv8771/syncterm
Modified Files:
term.c
Log Message:
Give each font a codepage.
getcliptext() and copytext() (ie: copy/paste) now work on UTF-8 strings.
Not tested on Win32 yet.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu Apr 16 16:39:21 2020
src/syncterm term.c 1.363 1.364
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv7804/syncterm
Modified Files:
term.c
Log Message:
Rearrange ATASCII font to match the line encoding... no need to translate to/from screen codes. We can now use the ATASCII codepage which means copy/paste is working great for Atari now.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Fri Apr 17 07:17:44 2020
src/syncterm term.c 1.364 1.365
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv3266
Modified Files:
term.c
Log Message:
Set the colour palette when drag-selecting as well.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Sat Apr 18 23:45:40 2020
src/syncterm term.c 1.366 1.367
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv10231
Modified Files:
term.c
Log Message:
Set the title after calling show_bbslist().
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 29 15:25:51 2020
src/syncterm term.c 1.370 1.371
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv13633
Modified Files:
term.c
Log Message:
Watch the input streem for a speed change sequence so it can take effect
on the next byte.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Fri May 1 15:42:32 2020
src/syncterm term.c 1.371 1.372
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv32166
Modified Files:
term.c
Log Message:
Input functions have already translated keys for us... no need to mangle
case for PETSCII anymore.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Sat May 2 03:51:34 2020
src/syncterm term.c 1.373 1.374
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv18174
Modified Files:
term.c
Log Message:
Fix curses exiting on CTRL-Q (Bug #3)
https://sourceforge.net/p/syncterm/tickets/3/
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Sun May 3 15:37:40 2020
src/syncterm term.c 1.378 1.379
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv10318
Modified Files:
term.c
Log Message:
Fix two bugs:
https://sourceforge.net/p/syncterm/tickets/8/
and
https://sourceforge.net/p/syncterm/tickets/9/
font_control() has been broken for some time, and is now fixed (and works
in curses mode now).
Paste needs to convert to the current codepage... it was actually pasting UTF-8.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Sun May 3 15:52:36 2020
src/syncterm term.c 1.379 1.380
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv13123
Modified Files:
term.c
Log Message:
Fix parameter reversal in last commit.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Mon May 4 11:34:23 2020
src/syncterm term.c 1.380 1.381
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv6642
Modified Files:
term.c
Log Message:
Add support for scroll wheel events... but not in X10 mode because scroll events aren't clicks (a click is button down then up, scroll events are
just button down).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed May 6 09:56:20 2020
src/syncterm term.c 1.381 1.382
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv15679
Modified Files:
term.c
Log Message:
We corrently don't use the scrollwheel in term.c... no need to enable the events.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 7 13:27:52 2020
src/syncterm term.c 1.383 1.384
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv19534
Modified Files:
term.c
Log Message:
Use CIOLIB_MOUSEPTR_ARROW in mouse tracking mode.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 7 13:30:38 2020
src/syncterm term.c 1.384 1.385
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv20044
Modified Files:
term.c
Log Message:
Enable scrollwheel up in mouse mode 9 to access scrollback.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 14 13:56:01 2020
src/syncterm term.c 1.385 1.386
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv26247
Modified Files:
term.c
Log Message:
Use Shift-Insert as paste key in terminal mode.
Closes
https://sf.net/p/syncterm/feature-requests/18/
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Tue Nov 10 23:30:43 2020
https://gitlab.synchro.net/sbbs/sbbs/-/commit/81492c8a4be0f5a00a2994dd
Modified Files:
src/syncterm/term.c
Log Message:
Add original XMODEM send/receive protocol options.
Previously, SyncTERM only supported the more modern XMODEM-1K uploads and XMODEM-CRC downloads. This commit adds support for XMODEM-128 uploads and XMODEM-Checksum downloads.
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
-
From
Stephen Hurd@VERT to
Git commit to sbbs/master on Sun Nov 15 23:47:05 2020
https://gitlab.synchro.net/sbbs/sbbs/-/commit/fea6104bc351255a90e45937
Modified Files:
src/syncterm/term.c
Log Message:
Fix array size issues introduced on last commit.
Options were added to arrays without increasing the size of arrays.
This caused the menu generated from them to depend on uninitialized
memory and potentially crash or emit garbage.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sat Nov 28 13:21:51 2020
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Sun Sep 29 17:47:10 2024
https://gitlab.synchro.net/main/sbbs/-/commit/93a8c94862d8c76146460413
Modified Files:
src/syncterm/term.c
Log Message:
Fix bug generating SAUCE date introduced by commit dcf8c35f9b
Using snprintf() prevents the last character of the date from
being put into the string.
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Sun Sep 29 18:10:09 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Mon Sep 30 19:53:31 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Wed Oct 23 09:38:38 2024
https://gitlab.synchro.net/main/sbbs/-/commit/f25fafae6c6cc27761998909
Modified Files:
src/syncterm/term.c
Log Message:
Fix some remains of input weirdness...
Now that the conio layer is handling translation of character sets,
the key handler in term.c should only handle terminal related
translations (such as backspace to delete).
This fixes bug 159, but there's still some inconsistency across
the various backends on how they handle C0 control characters and
input characters outside of US-ASCII.
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Sun Nov 3 01:40:35 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Sun Nov 3 01:49:08 2024