Subject: re: Problems with xsrc X server on -current
To: matthew green <mrg@eterna.com.au>
From: I presume I need no introduction. <greywolf@starwolf.com>
List: current-users
Date: 02/27/1999 16:22:07
Duh -- my paradigm shifted without a clutch and I mexed up my mitaphors.
I missed the concept completely. Sorry for being so obtuse! Of course
that makes sense. Forgot that the fd passed to TIOCCONS is that
of the terminal to which to redirect, not /dev/console.
[being sick addles one's pate a bit.]
Should TIOCCONSREDIR take the file descriptor of where to redirect as its
arg, is that what was said? i.e.
int from, to;
from = 1;
if ((to = open("/dev/console", O_RDONLY)) < 0) {
error_and_exit(1);
}
ioctl(from, TIOCCONSREDIR, &to);
Do I grok this correctly now?
--*greywolf;
--
Solaris 2 is not an upgrade from Solaris 1. They just want you to THINK it is.