# File lib/network/protocol/telnetfilter.rb, line 37 def initialize(pstack, server) super(pstack) @server = server @wopts = {} getopts(@server.service_negotiation) @mode = :normal # Parse mode :normal, :cmd, :cr @state = {} @sc = nil @sneg_opts = [ TTYPE, ZMP ] # supported options which imply an initial # sub negotiation of options @ttype = [] @init_tries = 0 # Number of tries at negotitating sub options @synch = false end