File: rfc1143.test

package info (click to toggle)
libtelnet 0.21-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,764 kB
  • ctags: 732
  • sloc: sh: 11,036; ansic: 2,390; makefile: 85
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)