• src/syncterm/syncterm.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sunday, March 15, 2026 14:09:13
    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>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sunday, March 15, 2026 19:01:12
    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>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tuesday, March 17, 2026 15:38:07
    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.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wednesday, March 18, 2026 17:35:47
    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>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)