mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joachim Backes <backes@rhrk.uni-kl.de>
To: LINUX Kernel <linux-kernel@vger.kernel.org>
Subject: 2.4.12 ... 2.4.16, /dev/tty
Date: Tue, 27 Nov 2001 08:52:20 +0100 (CET)	[thread overview]
Message-ID: <XFMail.20011127085220.backes@rhrk.uni-kl.de> (raw)

Hi,

still having problems (starting with kernel 2.4.12) with
the /dev/tty device:

When logging in on the console and trying the "ps" command,
is will list  _all_ processes and not only those which are
attached to the controlling terminal. This seemed a little
bit suspicious.

Now, trying

        echo some text >/dev/tty

returns 

        bash: /dev/tty: No such device or address

Now trying the command

        tty

says 

        /dev/tty1

Now, I tried

        echo some text >/dev/tty1

It echoed correctly

        some text

on the console.

Then, I tried

        echo some text >/dev/tty

Now (!!!???) it echoes correctly "some text".

It seems that the cmd

        echo some text > `tty`

will repair something, but I don't no what and why.

-----------------------------------------------------

The above described problem first appeared with Kernel 2.4.12,
I tried the following kernels (now 2.4.16), BUT WITH NO SUCCESS.
Kernel 2.4.10 was _not buggy_.

Additionally, the problem does not arise on all my LINUX workstations,
but only on some. And it does not depend on the harware platform.
And is does not depend on the distribution. Both on RedHat 7.1 ans
Redhat 7.2 having the problem.

Regards


Joachim Backes

--

Joachim Backes <backes@rhrk.uni-kl.de>       | Univ. of Kaiserslautern
Computer Center, High Performance Computing  | Phone: +49-631-205-2438 
D-67653 Kaiserslautern, PO Box 3049, Germany | Fax:   +49-631-205-3056 
---------------------------------------------+------------------------
WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html  


             reply	other threads:[~2001-11-27  7:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27  7:52 Joachim Backes [this message]
2001-11-27  9:35 ` Bernd Eckenfels
2001-11-27  9:52   ` Joachim Backes
2001-11-27 14:00 ` Yaroslav Popovitch
2001-11-27 17:06   ` Dominik Mierzejewski
2001-11-28  6:18     ` Joachim Backes
2001-11-28  7:06       ` Dominik Mierzejewski

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=XFMail.20011127085220.backes@rhrk.uni-kl.de \
    --to=backes@rhrk.uni-kl.de \
    --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®