• src/syncterm/term.c

    From rswindell@1:103/705 to CVS commit on Wed Jan 17 19:50:24 2018
    src/syncterm term.c 1.313 1.314
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv19591

    Modified Files:
    term.c
    Log Message:
    Added 2 options to the "Capture Control" (Alt-C) menu:
    - Binary
    - Binary with SAUCE

    These options save the current screen to a "BinaryText" (*.bin) file, optionally with a SAUCE record. If you want to screen-capture in SyncTERM,
    this is how you do it. It'd be cool if the PrintScrn key did this without
    any kind of popup/prompt, but that's a feature for another time
    (if at all).


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Jan 21 22:29:49 2018
    src/syncterm term.c 1.314 1.315
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv15545

    Modified Files:
    term.c
    Log Message:
    Fix compile issue, at least on Linux, no 'min()' definition, so define
    a MIN() macro (if not already defined) instead.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Jan 29 19:04:20 2018
    src/syncterm term.c 1.315 1.316
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv5685

    Modified Files:
    term.c
    Log Message:
    Improvements to the screen capture feature:
    Only capture the terminal area, not the margins (if there are any) or
    the status bar. Also fixes an issue with odd-sized (width) windows being
    saved to .bin files (not supported).
    Also, if the current video mode is background-bright (ICE colors), set the appropriate ANSI flag in the SAUCE record.
    Fixed compiler warning (not all paths return a value) in doterm().


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Feb 1 02:08:56 2018
    src/syncterm term.c 1.318 1.319
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv14984

    Modified Files:
    term.c
    Log Message:
    Fixed warning:
    term.c:2156:17: warning: operation on ΓÇÿcterm->logΓÇÖ may be undefined [-Wsequence-point]
    cterm->log=cterm->log |= CTERM_LOG_PAUSED;



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Feb 3 05:20:56 2018
    src/syncterm term.c 1.321 1.322
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv31789

    Modified Files:
    term.c
    Log Message:
    Save/restore the screen when using mouse copy.

    Fixes sixels disappearing with selection issue.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Feb 10 14:56:11 2018
    src/syncterm term.c 1.324 1.325
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv11392

    Modified Files:
    term.c
    Log Message:
    Add some path security, and create full path to resource.
    This allows using subdirectories etc.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Feb 10 15:17:04 2018
    src/syncterm term.c 1.325 1.326
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv13483

    Modified Files:
    term.c
    Log Message:
    "Support" slashes in BBS names.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Feb 10 17:43:57 2018
    src/syncterm term.c 1.326 1.327
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv13609

    Modified Files:
    term.c
    Log Message:
    Fix build issue on Windows: PATH_MAX ->MAX_PATH

    Bin-capture w/SAUCE:
    - Endian-fix the one multi-byte SAUCE field we use, just in cas someone someday
    builds SyncTERM on a big-endian system again.
    - Work-around MinGW packed-struct bug: write every field of the SAUCE record
    separately (<sigh>).
    - Set the ICE color flag when the "NOBLINK" attribute is set. We should consider
    maybe just stripping (masking-off) the blink attributes entirely when BGBRIGHT
    is not set, but NOBLINK is set.

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Feb 12 21:11:51 2018
    src/syncterm term.c 1.327 1.328
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv3253/syncterm

    Modified Files:
    term.c
    Log Message:
    Beginnings of a massive ciolib overhaul...

    We're switching to TrueColor now, and maintaining a 65536 entry palette
    for the various palettized bits. This change hurts the overlay output most since it currently means floating point calculations for every pixel.

    The getfont() function now takes a fontnum argument so you can get all the current fonts.

    The vmem array now holds the font data, so once a glyph is written to the screen, it can stay in that font "forever". This still has some issues
    with savescreen()/restorescreen() since there's no extension to grab the new stuff... that'll be coming soon, likely replacing the pgettext() and
    pputtext() functions. For now, various popups will likely reset fonts to
    the default font on the screen.

    Now that we have all this, the status bar in SyncTERM can retain the default font and colours at all times. Further, menus can be displayed in the "right" colours and fonts, and no more translation will be needed. This is a work
    in progress though, so there's likely to be glitches. The scrollback doesn't have the font data either (same issue as savescreen()/restorescreen()).



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 15 01:07:56 2018
    src/syncterm term.c 1.329 1.330
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv11143

    Modified Files:
    term.c
    Log Message:
    Fix Alt-H, ESC moving the cursor.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:10:24 2018
    src/syncterm term.c 1.332 1.333
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv20904

    Modified Files:
    term.c
    Log Message:
    Close file descriptor on unhandled upload protocols.

    -- coverity


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:24:25 2018
    src/syncterm term.c 1.333 1.334
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv22343

    Modified Files:
    term.c
    Log Message:
    Fix memory leak in "safe" mode.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 12:30:19 2018
    src/syncterm term.c 1.334 1.335
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv29070

    Modified Files:
    term.c
    Log Message:
    Various coverity issues.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 13:38:35 2018
    src/syncterm term.c 1.335 1.336
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv6140

    Modified Files:
    term.c
    Log Message:
    More cleanup
    --coverity


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Mar 8 23:02:38 2018
    src/syncterm term.c 1.336 1.337
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv21272

    Modified Files:
    term.c
    Log Message:
    Remove more unneeded assigmnents.
    Thanks scan-build!


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Sep 5 16:37:46 2018
    src/syncterm term.c 1.338 1.339
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv20600

    Modified Files:
    term.c
    Log Message:
    When an invalid UploadPath is specified in the syncterm.lst file, display
    an error message (uifc dialog box) rather than just silently refuse to
    display the upload file picker dialog. Bug reported by electrosys.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Oct 21 01:25:46 2018
    src/syncterm term.c 1.339 1.340
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv3491

    Modified Files:
    term.c
    Log Message:
    Stop filtering non-translated Ctrl-Key combinations (from the local
    keyboard). PETSCII BBSes include prompts like "Hit Ctrl-X to abort", so
    they expect the terminal to be able to send control-key combinations.
    Both CGTerm and CBMTerm are able to send all the relevant control-key combinations (and their single-key equivalents, like ESC and TAB) as well.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Oct 21 13:52:43 2018
    src/syncterm term.c 1.340 1.341
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv1738

    Modified Files:
    term.c
    Log Message:
    PETSCII enhancement: Map the local "End" key to PETSCII Clear / Shift-Home


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Aug 21 08:13:24 2019
    src/syncterm term.c 1.343 1.344
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv9512

    Modified Files:
    term.c
    Log Message:
    Fix garbage values in "Sending <file> via XMODEM/YMODEM" output when uploading from a Win32 build: a ulong is not 64-bits in these builds.


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Aug 21 09:59:14 2019
    src/syncterm term.c 1.344 1.345
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv5918

    Modified Files:
    term.c
    Log Message:
    All the same fixes that were made in 1.300 for ZMODEM file transfer progress information, made again for X/YMODEM file transfer progress (xmodem_progress). I guess we haven't been testing X/YMODEM file transfers in win32 builds...

    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Aug 24 02:41:07 2019
    src/syncterm term.c 1.345 1.346
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv23381

    Modified Files:
    term.c
    Log Message:
    In YMODEM-G, the YMODEM header block is not supposed to be acknowledged
    (with an ACK) - you skip right to the requested transfer mode byte ('G').


    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Aug 24 02:58:54 2019
    src/syncterm term.c 1.346 1.347
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv25594

    Modified Files:
    term.c
    Log Message:
    Fix X/YMODEM download of duplicate filename: Was treating *all* user options
    as "Cancel" (i.e. overwrite and rename options did not work).


    --- SBBSecho 3.09-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 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!).


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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().



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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/


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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).



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 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/


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Stephen Hurd@1:103/705 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 uninitializedmemory and potentially crash or emit garbage.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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?
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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 szSome broken protocol drivers (like sz) don't send a YModem
    terminateat the end of a batch (or maybe just after a single file?) so SyncTERMends 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 YModemheader that follows is not correct, aborts the transfer.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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 parsingThere's a comment saying we set key=0 when we consume it... do soin 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 futureif things are changed at least the comments won't be misleading.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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 timeminus elapsed time.We squirrley on resumed ZModem downloads.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Dec 25 14:09:03 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/cd3a3a2d9f5b63b722194c80
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix b64 decode buf length calculationPreviously, b64_decode was being asked to decode past the end ofthe application string.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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'snot scale it in one colour space before translating it to a differentone.Also, since almost all PPMs will use a maxval of 255, compile thatin as the default so we don't need to generate it.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Dec 28 20:21:12 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/6cfed436084fb6acf5591e7e
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Initialize pointer to NULL to avoid free()ing unallocated memory.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Dec 28 20:22:50 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/fafed094c52b0ca167e6fd51
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Initialize mbuf too.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 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 warningswarning: 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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Apr 21 13:50:36 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/d0650fbaeb167af68d51d2bf
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Perform unicode-to-codepage for US-ASCII input
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Apr 21 13:53:30 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/79831364263801c9e3a6141d
    Modified Files:
    src/syncterm/term.c
    Log Message:
    include <math.h> for pow()
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Wed May 31 21:33:50 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/12eb94e24a34dee6eea938db
    Modified Files:
    src/syncterm/term.c
    Log Message:
    warning: pointer targets in passing argument 1 of ΓÇÿstrcmpΓÇÖ differ in signedness
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Mon Jun 5 16:54:36 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/a47f94b80878b4d6597234a6
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix GCC v12.2.0 -O1 warningswarning: ΓÇÿmaxvalΓÇÖ may be used uninitializedwarning: ΓÇÿinchΓÇÖ may be used uninitialized
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Feb 12 10:19:22 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/450bc21718802b2e4f33e74a
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Actually fall-through like the comment says.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Feb 12 10:33:56 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a910575e7f831c59501d5332
    Modified Files:
    src/syncterm/term.c
    Log Message:
    When backspace sends delete, send CSI 3 ~ for delete.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to main/sbbs/master on Fri Feb 23 21:58:38 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e59a247c7387ec63a8a6a069
    Modified Files:
    src/syncterm/term.c
    Log Message:
    We need to call uifcbail() after calling show_bbslist()
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Mar 14 10:29:34 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/bbb6ab35ba69856c3ebeb77a
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Remove unused variable.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 31 12:13:22 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2f6eaf2213e3d7865618bf23
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Attempt to silence silly Coverity warning.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Skylar@1:103/705 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)