• src/syncterm/term.c

    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
    https://gitlab.synchro.net/main/sbbs/-/commit/ebd7708defaa3c5fa35dd281
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Include timestamps in file transfer log lines

    (emulating the syslog date/timestamp format). Makes debugging file transfer issues easier.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 13 00:17:52 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/ecc690f573875558e0cf0a21
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Handle the new value of CIO_KEY_QUIT better.

    The low byte is no longer zero.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 13 14:23:07 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/0f312cb33a391e7addf592f4
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Remove some backslashes from the ends of lines...

    Presumably these were part of macros once and never cleaned up?

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Mar 14 22:57:48 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2ca3bc02fda2de5eb85d8e15
    Modified Files:
    src/syncterm/term.c
    Log Message:
    In XModem/YModem, when total_files reaches zero, stop downloading.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Mar 15 00:03:43 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/24739b234af6f95de7651d7b
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Revert last change... YModem is supposed to send a termination block.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • 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
    https://gitlab.synchro.net/main/sbbs/-/commit/b815404814b9dd6819c14c13
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix ETA calculation.

    Use remaining bytes divided by CPS rather than total estimated time
    minus elapsed time.

    We squirrley on resumed ZModem downloads.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • 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
    https://gitlab.synchro.net/main/sbbs/-/commit/829c5009fcfb0b2c5be5eac2
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix last commit.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Sep 30 19:53:31 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/02460447d3eaa1f1532229e4
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix SAUCE date properly... avoid writing past the end of the buffer

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • 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
    https://gitlab.synchro.net/main/sbbs/-/commit/b50d96f6f771017444853a31
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Make Return send #, use CTRL-Return for return

    Not tested on Windows.

    ---
    ï¿­ 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:49:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/774d285494551046a4e73ec8
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Map underscore to pound

    I think this map may be the final one.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net