I have tried to use the following code to redirect the printk to
GNNOME console, but it failed. Is it because GNNOME terminal is like
xterm and not in char mode or the console really means to be RS232
terminal. Please help.
if (ioctl(STDIN_FILENO, TIOCLINUX, bytes)<0) { /* use stdin */
fprintf(stderr,"%s: ioctl(stdin, TIOCLINUX): %s\n",
argv[0], strerror(errno));
exit(1);
}
ph...@ix.netcom.com