> Weired, because I can use it in a XTerm without any problems. > Works under Woody, Sarge and Etch.
Then your permission bits on /dev/console and/or /dev/tty0 are not as strict: ] [EMAIL PROTECTED]:~$ strace -eopen fgconsole ] [...] ] open("/dev/console", O_RDONLY|O_NONBLOCK) = -1 EACCES (Permission denied) ] open("/dev/tty", O_RDWR) = 3 ] open("/dev/tty0", O_RDWR) = -1 EACCES (Permission denied) ] open("/dev/tty0", O_RDONLY) = -1 EACCES (Permission denied) ] open("/dev/tty0", O_WRONLY) = -1 EACCES (Permission denied) ] open("/dev/console", O_RDWR) = -1 EACCES (Permission denied) ] open("/dev/console", O_RDONLY) = -1 EACCES (Permission denied) ] open("/dev/console", O_WRONLY) = -1 EACCES (Permission denied) ] [...] ] Couldnt get a file descriptor referring to the console ] [EMAIL PROTECTED]:~$ ll /dev/tty0 /dev/console ] crw------- 1 root tty 5, 1 2006-02-23 08:17 /dev/console ] crw------- 1 root root 4, 0 2005-03-29 21:30 /dev/tty0 Regards, Jan -- Jan C. Nordholz <jckn At gmx net>
signature.asc
Description: Digital signature