showconsole man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]

SHOWCONSOLE(8)		     The SuSE boot concept		SHOWCONSOLE(8)

NAME
       Showconsole - determines the real tty of stdin
       Setconsole - redirect system console output to a tty

SYNOPSIS
       showconsole [-n]

       setconsole [-r|/dev/tty<xy>]

DESCRIPTION
       showconsole  determines the real character device of the current system
       console.	 This can be used on /dev/console as current character	device
       to get the real character device back.

       With  an	 terminal  device  as argument setconsole redirects the output
       that would have gone to /dev/console or /dev/tty0 to the	 given	termi‐
       nal.   Without any argument or the option the setconsole undo any redi‐
       rection.

OPTIONS
       -n     Return the major and minor device numbers instead of the	device
	      file  name.   This can be used to asked the kernel for the major
	      and minor device numbers of a not existing device file in /dev.

BUGS
       showconsole needs a mounted /proc file system and tries to set the con‐
       trolling	 tty  to  stdin if no controlling tty is found.	 After reading
       /proc the status of the controlling tty is restored to  avoid  problems
       with getty processes.

FILES
       /proc/<pid of showconsole>/stat
	      the stat file of the showconsole process.

       /dev/console
	      the system console.

SEE ALSO
       blogd(8), console(4), tty(4), proc(5).

COPYRIGHT
       2000 Werner Fink, 2000 SuSE GmbH Nuernberg, Germany.

AUTHOR
       Werner Fink <werner@suse.de>

3rd Berkeley Distribution	 Nov 10, 2000			SHOWCONSOLE(8)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net