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