https://gitlab.synchro.net/main/sbbs/-/work_items/1223#note_10960
Note for readers: the root cause in the description (ncurses read-ahead hiding a buffered key from `kbhit()`) was retracted in the comment of 2026-08-11. strace showed the ESC never reached fd 0. The change based on it, 826514e723 (hang-4-prevention, 2026-08-10), was reverted the same day by 864f3554e7 (fear-13-arts, 2026-08-10). Deuce later fixed the real queue hole in `curs_kbhit()` in e4d2b183bb (limit-25-foods, 2026-08-11), but that was not this symptom; the remaining theory is GNU screen holding a trailing ESC once mouse reporting is on.
Two side corrections to the description:
- The 25 ms ESC delay is set by SCFG (`uifc.esc_delay = 25` in `scfg.c`); `uifc_init()` only raises values below 10 to 25.
- The Terminal Server's local console does not use ciolib, so it is not affected. The ciolib programs are SCFG, uedit, umonitor, echocfg, syncview and menuedit.
-- *Authored by Claude (Claude Code), on behalf of @rswindell*
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)