• src/syncterm/syncterm.c

    From Deucе@VERT to Git commit to main/sbbs/master on Sun Oct 13 22:48:50 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/09daa29e768b4c5f870af086
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Get correct Haiku file paths.

    It appears the "right" place to put downloads is on the Desktop...
    and the OS won't tell you that.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Fri Jan 3 13:15:43 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1af568c2496675d12b963ce6
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Annotate missing commas

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Jan 8 20:52:24 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/3ae264bc2c45beff90e5c30f
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Initialize bbs->fast_connected

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Jan 16 11:33:16 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/599aea8e39f425078a6f6f8d
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Fix OSS appearence in Audio settings.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Jan 22 20:50:27 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/85f37c8f0f7a65194544346c
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    If stdout is a tty, use ANSI output mode

    Should make DigitalMan happy by making help output be in the console
    on Windows with syncterm.com. Hopefully syncterm.exe doesn't get
    the help output hosed by this.

    Also, if the output mode is ANSI, don't require a key press to exit.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Jan 22 20:53:00 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/470f017137e276001a36ffc9
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Add an extra newline after displaying usage.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Jan 23 05:04:57 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1987338c571f4b1eff57cdab
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    This is what 470f0171 was when I committed it. :(

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Jan 25 00:34:52 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/8de3080760ec09d5f09c7c4e
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Don't show a size until we get the content-length or start getting bytes

    Prevents cached lists from showing zero.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Mar 15 14:09:13 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/2c65f4bde3b1958a96c50a60
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Fix multiple bugs in syncterm.c

    - get_xdg_path(): strcat("syncterm") ignored bufsz, return NULL if
    the path would overflow the buffer.
    - webget calloc: add NULL check, wrap download block in if(reqs!=NULL)
    to avoid NULL dereference on allocation failure.
    - Progress bar: change %.*s to %*s so spaces are actually printed,
    and scale percentage from 0-100 to 0-10 to match the bar width.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Mar 15 19:01:12 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/12fd92f158ca258ca2524ed6
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Fix webget progress bar wrapping in showbuf window

    The showbuf content area is 70 chars wide (74 - 2 borders - 2 padding),
    but the progress line was 73 chars, causing the bar to wrap. Reduce size
    field widths from %9s to %7s — no information is lost since byte_estimate_to_str() with precision=3 produces at most 7 characters.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Mar 17 15:38:07 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/90fd3acb4c9be21bd8e75bcc
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Only require a port number for network connections.

    Fixes URI command-line arguments for non-network connections.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Mar 18 17:35:47 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/8e735467d51fd58dfb4bf28e
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Fix 9 terminfo bugs and add 5 missing capabilities

    Bugs fixed:
    rmam: \E[7l -> \E[?7l (was resetting wrong mode, not DECAWM)
    rs1: \E[c -> \Ec (was sending DA query, not RIS)
    hts: \E[H -> \EH (was cursor home, not set tab stop)
    smglr: \E?69l -> \E[?69l (missing bracket)
    mgc: \e[69l -> \E[?69l (lowercase escape + wrong mode prefix)
    smglp/smgrp: \E[69h/l -> \E[?69h/l (bare mode 69 doesn't exist)
    ind: \E[S -> \n (SU doesn't move cursor; LF is correct per xterm)
    ri: \E[T -> \EM (SD doesn't move cursor; ESC M is correct per xterm)
    csr: remove duplicate entry

    New capabilities:
    vpa — vertical position absolute (CSI Pn d)
    khome — Home key (\E[H)
    kich1 — Insert key (\E[@)
    u6/u7 — cursor position report format and DSR query

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Mar 19 14:38:35 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e89754f2017a212123986411
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    Fix zombie process on window close while connected (ticket 229)

    CIO_KEY_QUIT is pushed once when the window closes. After the main
    loop consumes it, check_exit() sets quitting but UIFC_XF_QUIT was
    never set, so any subsequent uifc.list() call blocks forever waiting
    for input from the dead window.

    Fix: check_exit() now returns true immediately if quitting is already
    set, and sets UIFC_XF_QUIT alongside quitting so all uifc calls bail
    out instead of blocking.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net