Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

isserial(8) [suse man page]

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

NAME
Isserial - determines if the underlying tty of stdin is a serial line SYNOPSIS
iserial [< /dev/console] DESCRIPTION
iserial determines if the underlying character device of the current stdin is a serial line. This can be used on /dev/console as current character device to check if the console is a serial line. The exit status of iserial is 0 if stdin is a serial line otherwise not. FILES
/dev/console the system console. SEE ALSO
console(4), tty(4), COPYRIGHT
2003 Werner Fink, 2003 SuSE GmbH Nuernberg, Germany. AUTHOR
Werner Fink <werner@suse.de> 3rd Berkeley Distribution Sep 05, 2003 SHOWCONSOLE(8)

Check Out this Related Man Page

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

NAME
Showconsole - determines the underlying tty of stdin Setconsole - sets the underlying tty of /dev/console SYNOPSIS
showconsole [-n] setconsole /dev/tty<xy> < /dev/console DESCRIPTION
showconsole determines the underlying character device of the current stdin. This can be used on /dev/console as current character device to get the real character device back. setconsole sets the underlying tty of the system console /dev/console. This requires that the standard input is identical with /dev/con- sole and exactly one argument, a valid character device is given. 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 controlling 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)
Man Page