• src/syncterm/term.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Sep 19 10:21:14 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a830fb8ca21c9811015f58c3
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Initial implementation of CET Telesoftware downloads

    This sucks, but mostly kinda works.
    For nelgin.
    --- SBBSecho 3.29-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 Sep 19 10:21:14 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/56ebcee9e6d3a10365a72a55
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix Telesoftware downloads from Glass TTY

    Sending the square before the frame finishes being received ends up
    not working "sometimes", which breaks downloads from Glass TTY.

    The original protocol spec says to wait until two seconds have passed
    since the last character to detect an end of frame before requesting
    the next one... this change does that wait.

    There may be a better way to detect end of frame, but I can't come
    up with one off-hand.
    --- SBBSecho 3.29-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 Sep 19 10:21:14 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/816758b11f3a3f782bad75f6
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix Coverity issues found in CET Telesoftware downloads
    --- SBBSecho 3.29-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 Sep 19 10:21:14 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/557776f155e5baed4e7ea906
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Add transfer status and abort capability

    The transfer window is still 66 characters wide though.
    --- SBBSecho 3.29-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 Sep 19 13:25:19 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/eb1fd0eeb6db4dd0c2306323
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Overhaul transfer windows to fit on smaller screens

    There's still a need to switch to/from CP437 for the borders.
    --- SBBSecho 3.29-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 Sep 19 13:28:55 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1852499ee225a25cd86fb824
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Remove debug output from last commit
    --- SBBSecho 3.29-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 Sep 19 13:45:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a04557a7a65267fac1cf6bf2
    Modified Files:
    src/syncterm/term.c
    Log Message:
    MSVC doesn't support VLAs, so just make these biffer than needed
    --- SBBSecho 3.29-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 Sep 19 13:50:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/0e62ea63a371a7bd1f5a3742
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Oh yeah, if you don't use VLAs, the L of the A won't be C.
    --- SBBSecho 3.29-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 Sep 19 17:46:35 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/4a80117da0fa6e0364a1794c
    Modified Files:
    src/syncterm/term.c
    Log Message:
    First overhaul of CET Telesoftware

    Add a state struct, don't re-request initial frame (doesn't work on
    NXtel). Should likely update every second instead of every frame
    as long as there's a two-second delay between frames. :(
    --- SBBSecho 3.29-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 Sep 19 22:49:11 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/7a6462642013daf861267fdd
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Reduce frame timeout to 100ms

    Telestar 2.0 (used by Glass TTY and others) has a requirement for
    100ms between characters, which is why the original streaming mode
    didn't work. Reducing the inter-frame delay from two seconds to
    100 ms potentially makes downloads up to twenty times faster.
    --- SBBSecho 3.29-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 Sep 19 22:54:53 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/3fca9edb01546d26db4026f1
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Default HASH_GUARD_TIME is actually 200ms :(
    --- SBBSecho 3.29-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 Sep 19 23:47:17 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1666b1204a0784fed805edd8
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Detect Telstar-2 systems and only slow down downloads there

    For all other Prestel systems, us a minimal (1ms) delay betwen
    frames.

    No need to punish all Prestel systems just because Telstar sometimes
    tosses out a # that arrives "too soon"
    --- SBBSecho 3.29-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 Sep 20 00:32:14 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/0b560fa7f7c43e9b0e800bea
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fixes for massive 11,550 frame download from CCL4

    Do not log an error when "unknown size" downloads complete.
    Don't list remaining time for files of unknown size.
    --- SBBSecho 3.29-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 Sep 20 11:58:21 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/876a22f827eb14f83eecbf43
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix up some comments, remove debug output
    --- SBBSecho 3.29-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 21 12:35:52 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/507e1cadff08c79c1ee313b4
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Handle retransmitted old frames better

    We can recover from this by moving to the next frame/page... only
    unrecoverable if a frame is skipped.
    --- SBBSecho 3.29-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 21 14:18:42 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/af33f8be0b64c89a41c62aff
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Request the server to resend the last frame at end of download

    This is the expected behaviour apparently.
    --- SBBSecho 3.29-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 22 10:24:27 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/9f5815e1fe38eaefff90df59
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix some free-before-use errors

    Reported by nelgin
    --- SBBSecho 3.29-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 22 20:38:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/b5dd8353c73260d7f2737fe9
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Avoid the need for *00 at end of CET Telesoftware download

    Just buffer everything from the last clear-screen to the end of
    the transfer, then display it after the download.

    While we're here, clean up the error handling a bit, and complicate begin_download() to offset that.
    --- SBBSecho 3.29-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 Sep 24 08:31:38 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/148287b048d2425c44980160
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix a couple double-free issues

    With the cleanup code added, any free()s need to be set to NULL...
    But there's no reason to call free in the first place anymore.
    --- SBBSecho 3.29-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 Sep 24 08:47:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/8bdf5018a802f31d838ecc36
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix two issues

    When the terminal was 40 columns wide, the status bar update wrote
    out of bounds of the allocation. Fixed two ways.

    Remaining blocks in CET Telesoftware downloads were not properly
    updated for retries.
    --- SBBSecho 3.29-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 Sep 25 23:59:53 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/b5052ce242827c2c19e1bf48
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Remove telstar detection and slowing down

    All Glass TTY nodes have been updated to fix the issue now.
    --- SBBSecho 3.29-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 Sep 26 00:08:04 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/f1fcd09eb056e38bbf8991db
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Whoops, we need limits.h for DBL_MIN
    --- SBBSecho 3.29-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 Sep 26 00:11:49 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1b33f1ebf9082148a197cd9b
    Modified Files:
    src/syncterm/term.c
    Log Message:
    DBL_MIN is in float.h, not limits.h

    Harumph.
    --- SBBSecho 3.29-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 Sep 27 20:08:56 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/8dee93ee8ead84c83c971e56
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Use enum values for mouse mode.

    Also, in RIP mode, scroll wheel up enters scrollback, it doesn't
    send XTerm mouse commands to the remote. :D
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

Novedades:

Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!