• src/syncterm/conn_pty.c syncterm.c

    From deuce@VERT to CVS commit on Sun Apr 12 19:50:01 2020
    src/syncterm conn_pty.c 1.31 1.32 syncterm.c 1.233 1.234
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv9497

    Modified Files:
    conn_pty.c syncterm.c
    Log Message:
    Update the termcap/terminfo data.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Fri Mar 20 00:57:20 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/a1e7a934d6fec074f8569cdd
    Modified Files:
    src/syncterm/conn_pty.c syncterm.c
    Log Message:
    Fix termcap bugs and add capabilities to terminfo/termcap entries

    termcap (conn_pty.c) Ä 8 bugs fixed:
    - MC: missing ? on DECLRMM mode 69 (margins never worked)
    - RA: missing ? on DECAWM mode 7
    - ML/Zm: sequences were swapped (ML=smglr, Zm=smglp per ncurses)
    - ML: missing [ before ?69l at end of sequence
    - Zm, Zn: missing ? on mode 69 (3 instances each)
    - st: \E[H (cursor home) should be \EH (HTS)
    - r1: \E[c (DA) should be \Ec (RIS)
    - Non-palette conditional: stray :: (empty capability)

    termcap Ä 7 capabilities added:
    - cv (vpa), kh (khome), kI (kich1), op (original pair)
    - u6/u7 (cursor position report), Se/Ss (DECSCUSR cursor style)

    termcap Ä dropped Zm/Zn (smglp/smgrp) to fit 1023-byte limit;
    ML (smglr) covers the common case of setting both margins.

    terminfo (syncterm.c) Ä 3 capabilities added:
    - op (original pair), smgtb (set top/bottom margin), Se/Ss (DECSCUSR)

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

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