This is a BBS that forked from Maple-itoc BBS, which is one of two main telnet-based Bulletin board systems developed in Taiwan.
GNU General Public License v2.0
4
stars
1
forks
source link
Support `Negotiate About Window Size` Command #1
Open
david50407 opened 10 years ago
ref: #KXT5GJX7 (dust) [極光鯨藍]
作者 dust (灰塵) 站內 dust 標題 [筆記] telnet協定:視窗大小改變 時間 2010/08/25 Wed 18:21:22
協定文字命令 Suboption Begin: Negotiate About Window Size Width: 92 Height: 27 Command: Suboption End
實際訊息內容 FF FA 1F 00 5C 00 1B FF F0 FF FA 1F [ 92 ] [ 27 ] FF F0
還有RFC 1073 IAC SB NAWS <16-bit value> <16-bit value> IAC SE
只有igetch()才會去看Socket送來了什麼, 所以b_lines與b_cols的改變必定是發生在呼叫了igetch()之後。
在新ve裡面是vkey()會呼叫到。