BBS:      TELESC.NET.BR
Assunto:  src/syncterm/conn_pty.c syncterm.c
De:       Deuc¨
Data:     Fri, 20 Mar 2026 00:57:20 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]