|
Smalltalk/X WebserverDocumentation of class 'TerminalView': |
|
|
Class: TerminalViewInheritance:Object | +--GraphicsContext | +--DeviceGraphicsContext | +--GraphicsMedium | +--DisplaySurface | +--SimpleView | +--View | +--ListView | +--TextView | +--EditTextView | +--TextCollector | +--TerminalView | +--VT100TerminalView | +--VT52TerminalView
Description:
I provide terminal functionality, by interpreting data
arriving from some stream (typically connected to a command interpreter
via a pty, or another system via a modem)
and sending my keyboard data to it.
I am abstract providing general functionality
- concrete terminal characteristics are defined by concrete subclasses
(see VT52TerminalView, VT100TerminalView).
Concrete applications are:
consoles (VT100TerminalView),
telnet-views (see TelnetTool)
editor wrappers (if you like emacs/vi)
<<although my class protocol includes common startup protocol
(to open a terminalView with a shell or on the output of a command),
I can be used as a widget within an application (Modem software).
[instance variables:]
inStream stream where keyboard input is
sent to (connected to shells or commands input)
outStream stream where the output of the
shell or command arrives
(read here and displayed in the view)
readerProcess process which reads commands
output and sends it to the view
[class variables]:
Debug := true trace incoming characters
Related information:
TelNetTool
Class protocol:defaults initializationDemonstration:
|
|
|
ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 21:26:41 GMT
|