Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Negotiate About Window Size Command #1

Open
david50407 opened this issue Oct 24, 2014 · 1 comment
Open

Support Negotiate About Window Size Command #1

david50407 opened this issue Oct 24, 2014 · 1 comment

Comments

@david50407
Copy link
Member

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

@david50407
Copy link
Member Author

We need to support this to resize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant