mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) (07/12/90)
Wny not write a daemon which allows programs to connect to it and get console output? I've done that and it seems to behave itself. Depending on your environment, you may want to have the daemon impose restrictions on who can connect to it; what I chose to do here was to allow connections only from the local machine. (It does this by listening to only the localhost address 127.0.0.1.) When there are no connections, it releases the console output so it goes to the real console, so the console isn't rendered useless for other things (we don't use xdm all the time). If anybody wants a copy just ask. (System it's known to work on: Sun-3 running release 3.5. Ought to work elsewhere, probably anywhere with a Berkeley-compatible pty interface and TIOCCONS.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu