setterm -dump N will dump the contents of the
/dev/ttyN to a file
in the current directory. See setterm(1).
The current contents of the screen of
can be accessed using the device
(where `vcs' stands for `virtual console screen').
For example, you could have a clock program that displays the
current time in the upper right hand corner of the console screen
(see the program
Just dumping the contents goes with
These device files
/dev/vcsN do not contain
newlines, and do not contain attributes, like colors. From a program
it is usually better to use
(`virtual console screen with attributes') instead - it starts with
a header giving the number of rows and columns and the location
of the cursor.
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:58:32