Hi Debian users,

I wonder if there's  a simple  and universal way  to dump output
of terminal to a file, particularly for demonstration purposes.

Most  of the time when  I need to  do that,  I either use  X (or
PuTTY, when on Windows) facilities, but often it's not possible,
or  it may become awkward  (due to need  to switch between mouse
and keyboard).

I know  there  are  things  like 'screen',  but  I'm looking for
the most universal solution that would work on every system.

For example, on SUSE, I can:

cat /dev/vcs > example.txt

(...though  it's catted as a single  line with  *all*  spaces up
to $COLS (meaning, e.g. that each--even empty--line would appear
as $COLS 0x020-spaces), so it needs some post-processing.)

...but that didn't work on Debian/Lenny for me.

Any suggestions?

(Extra  bonus  points  for  linux-osx-freebsd-unicode-compatible
version. :-D)

Thanks a lot,
Al.

--
Alois Mahdal ta zxcvb tod cz
...using Opera's revolutionary e-mail client: http://www.opera.com/mail/


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/op.vip3s3lf53t...@aloism.cz.avg.com

Reply via email to