mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ludootje <ludootje@linux.be>
To: Esben Stien <executiv@online.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: logging all input and output on a tty
Date: Wed, 21 Jan 2004 18:04:31 +0000	[thread overview]
Message-ID: <1074708271.4724.5.camel@gax.mynet> (raw)
In-Reply-To: <87ad4h5juk.fsf@online.no>

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------ 


  parent reply	other threads:[~2004-01-21 17:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-21 16:48 Esben Stien
2004-01-21 17:12 ` Andreas Dilger
2004-01-21 21:37   ` Esben Stien
2004-01-21 18:04 ` Ludootje [this message]
2004-01-21 21:34   ` Esben Stien
2004-01-21 21:41     ` Mike Fedyk
2004-01-21 21:55 ` William Stearns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1074708271.4724.5.camel@gax.mynet \
    --to=ludootje@linux.be \
    --cc=executiv@online.no \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®