Vetinari's $HOME

NAME

vcsdump - dump (colored) Linux console into curses capable terminal

SYNOPSIS

vcsdump </dev/vcsaX

vcsdump [-t] [-i IN_CHARSET] [-o OUT_CHARSET] [-r CHAR] [[-f] DEVICE]

OPTIONS

-v

show version

-h

show help

-t

text mode, i.e. non-curses mode. Dumps all printable charachters to STDOUT and replaces all non printable by ``#''. This is the default if STDOUT is not on a terminal.

-r CHAR

use CHAR as the replace character instead of ``#'' in text mode.

-i IN_CHARSET

use IN_CHARSET as input charachter set, defaults to ``IBM437''

-o OUT_CHARSET

use OUT_CHARSET as output charachter set, defaults to ``ISO-8859-15'' or ``UTF-8'', depending on the settings of $LANG.

[-f] DEVICE

use this file as device, use ``-f DEVICE'' to protect files starting with a ``-''.

DESCRIPTION

vcsdump reads a dump of /dev/vcsaX from stdin and prints it to the current terminal. It converts the input for the use with ncurses(3). If you have troubles displaying UTF-8 charachters on your UTF capable output terminal, try something like export LD_PRELOAD=/usr/lib/libncursesw.so.5 to use the "wide charachter" output of ncurses.

HINTS

The output screen should be at least same size as the console you read from ;-).

DOWNLOAD

http://ankh-morp.org/code/misc/vcsdump.pl

AUTHOR

Hanno Hecker <vetinari@ankh-morp.org>

SEE ALSO

vcs(4), ncurses(3)