Re: logging all input and output on a tty

From: Ludootje
Date: Wed Jan 21 2004 - 12:04:54 EST


On Wed, 2004-01-21 at 16:48, Esben Stien wrote:
> I've been trying to get an answer to tty logging
> for a long time without anyone able to answer.
> I want to log everything that is written to and
> from a certain tty.

You can just cat the device, like cat /dev/tty<number>. So you can also
use normal redirectors (> , >> etc) or use a pager.

Ludootje
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CC/MU>TW d- s: a--->-->$ C++>$
UL++++ L+++>++++ M- w--(---) !O V(-)
P-- E--->+ W++ N+>++ o? PS++(+++)
PE-() Y+ PGP t- 5? X(+) R- tv+() b+
DI+(---) D- G e- h! r- y?
------END GEEK CODE BLOCK------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/