diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 4aed2c8219774f5d797760606b8489a92ddc5163 (patch) | |
tree | 3f8c130f7d269626bf6a9447407ef6c35954426a /konsole/doc/VT100/MoreText | |
download | tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konsole/doc/VT100/MoreText')
-rw-r--r-- | konsole/doc/VT100/MoreText | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/konsole/doc/VT100/MoreText b/konsole/doc/VT100/MoreText new file mode 100644 index 000000000..e8804236f --- /dev/null +++ b/konsole/doc/VT100/MoreText @@ -0,0 +1,98 @@ +The refinement discussed here so far, is implemented in the +overall structure of the program: + + + Operations -------------X + Screen(s) + Protocol / | + Shell X------------X Emulation | + \ V + Widget + Events X------------------ + + +Part Application Protocol Data model Visualization + User Events + +Files TEShell.C TEmulation.C Screen.C TEWidget.C + TEVt102.C + +Types TEShell Emulation TEScreen TEWidget + + + +The abstract data type, in which the text is represented and +manipulated by a set of operations is + + +------------------------------------------------------------------ + +On the first glance, the terminal consists of the following +parts: + +- A screen to display characters to the user on a rectangular area. +- A keyboard to accept the user keypresses. +- A bidirectional serial connection, on which the application + sends the text to be displayed to the terminal and on which + the user's key pressed are forwarded to the application. +- The application that actually run on the terminal. + +More formally our terminal model consists of +- a character screen : a matrix [Lines,Columns] -> Character +- a current visual pointer position (cursor). +- a set of operations by which the screen can be manipulated +- a set of events (mainly keystrokes) +- two streams on which bytes are exchanged between the + application and the terminal which are used to communicate + the operations and events between the two end points. +- an initial state. + + 0 (columns) V--- Columns-1 + +-----------------------+ + | | 0 + | text on | + | the screen | + | | (lines) + | | + | | + | | Lines-1 + +-----------------------+ + + +For adressing purpose, we call the (columnNo,lineNo) pair a "position" + +- protocol == collection of operations and their encoding. + +Beschreibung + +- Strom von Kommandos und Anfragen +- Strom von Ereignissen und Antworten + +- HostToTerminalStream + : Sequence(Command U Request) + +- Type Command-Tokens + : Prn(Char) - literal(Character) - 1 char subset + : Ctl(Char) - 0-parm command + : Esc(Char) - 0-parm command + : Csi(Char,Args) - fix & flex num parm command + - some are sub-commands + : Pri(Char,Args) <: Csi("?",Char,Args) - fix & flex num parm command + - some are sub-commands + : Hsh(Char) - 0-parm command + : Scs(A,B) - 2-parm num command + : Vt5(A,B) - 2-parm num command + +- command definition + + : name(parm:Type<:Integer) + + : setFgColor(color) + : setBgColor(color) + : setReverse(bool) + : setBold(bool) + : setBlink(bool) + +------------------------------------------------------------------ + + |