Skip to content

Support Negotiate About Window Size Command #1

@david50407

Description

@david50407

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()會呼叫到。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions