file: 07-C-telnet.t package: telnet status: alpha
This is the generic function used to handle negotiations for options not supported at the Muq end: You can disable support for option N by doing
@$s.jobSet$S.session$s.socket$s.telnetOptionHandler --> handler #']unsupportedOptionHandler --> handler[n]
It is currently implemented as:
: ]unsupportedOptionHandler { [] $ $ $ $ $ -> }
-> op ( One of will wont do dont suboptionBegin )
-> code ( Integer, 0-255 )
-> that ( 256-byte state-* string )
-> this ( 256-byte state-* string )
-> oobInput ( Message stream for replies )
]pop
( This is the handler called for unsupported options. )
( We always refuse DO and WILL, and always ignore )
( everything else: )
op case{
on: will oobInput code sendDont
on: do oobInput code sendWont
on: wont ( Ignored. )
on: dont ( Ignored. )
on: wantWont ( Ignored. )
on: wantDont ( Ignored. )
on: wantDo ( Ignored. )
on: wantDont ( Ignored. )
on: suboptionBegin ( Ignored. )
}
;
Go to the first, previous, next, last section, table of contents.