File: rfc1143.test

package info (click to toggle)
libtelnet 0.21-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,772 kB
  • ctags: 733
  • sloc: sh: 11,036; ansic: 2,390; makefile: 83
file content (20 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# test RFC1143 option negotiation

# enable ZMP (expect DO to be output)
%FF%FD%5D

# enable ZMP again (expect nothing)
%FF%FD%5D

# enable NAWS (expect nothing)
%FF%FD%1F

# disable ZMP (expect DONT to be in output)
%FF%FE%5D

# disable ZMP again (expect nothing)
%FF%FE%5D

%%
DO 93 (ZMP)
DONT 93 (ZMP)