On Wed, 5 Apr 2000, Matthew Dharm wrote:
> Okay... I just checked my system. /dev/tty is (5,0), and /dev/tty0 is
> (4,0). Other /dev/tty* nodes are (4, X).
>
> /dev/tty and /dev/tty0 are the current virtual console. /dev/tty1 is the
> first, /dev/tty2 is the second, etc.
>
> I'm using RedHat 6.1
>
> Matt Dharm
>
Okay. These sound okay. Your logical terminal should go out 4.0 and
also 5.0. 5.0 is used to find out if stdin/out/err is the "controlling"
terminal.
So in your case /dev/tty0 should look like stdout. If you do
`ls >/dev/tty0` it should print. If it doesn't, try it as a super-user.
It may be that something isn't setting the protection correctly.
Cheers,
Dick Johnson
Penguin : Linux version 2.3.41 on an i686 machine (800.63 BogoMips).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:15 EST