--- Jon Smirl <[EMAIL PROTECTED]> wrote: > Isn't there an enviroment variable that tells what device is the > console for the session? How do you tell what serial port you're on > when multiple people are logged in on serial lines? > The FDs 0, 1 and posibly 2 will be the console. Per posix? There should be no other ties to the current console. Right?
I think this is totaly a userspace question or do we need to find out the procs console in an ioctl? > > On Sat, 18 Sep 2004 16:33:54 -0700, Keith Packard <[EMAIL PROTECTED]> > wrote: > > > > Around 18 o'clock on Sep 18, Jon Smirl wrote: > > > > > The sysfs scheme has the advantage that there is no special user > > > command required. You just use echo or cp to set the mode. > > > > But it makes it difficult to associate the sysfs entry with the > particular > > session. Seems like permitting multiple opens of /dev/fb0 with mode > > setting done on that file pointer will be easier to keep straight > > > > > > > > > > > > -- > Jon Smirl > [EMAIL PROTECTED] > _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel