Class TerminalFilter
In: lib/network/protocol/terminalfilter.rb
Parent: Filter
TerminalFilter
ASCIICodes
VT100Codes
Filter
TopLevel

The TerminalFilter class implements a subset of ANSI/VT100 protocol.

Methods

echo   execute   filter_in   filter_out   init   mode?   new   set_mode  

Included Modules

ASCIICodes VT100Codes

Public Class methods

Construct filter

pstack
The ProtocolStack associated with this filter

Public Instance methods

Handle server-side echo

The filter_in method filters out VTxx terminal data and inserts format strings into the input stream.

str
The string to be processed
return
The filtered data

The filter_out method filters output data

str
The string to be processed
return
The filtered data

Run any post-contruction initialization

args
Optional initial options

Get current parse mode

return
The current parse mode

set current parse mode

m
Mode to set it to

[Validate]