home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!dsndata!dsndata!jeff
- From: jeff@dsndata.uucp (Jeff Minnig)
- Subject: Re: Colour X display corrupted by console writes on HP 710
- In-Reply-To: c0033013@ws.rz.tu-bs.de's message of Sun, 30 Aug 1992 18:38:04 GMT
- Message-ID: <JEFF.92Aug31085031@dsndata.uucp>
- Sender: jeff@dsndata.uucp (Jeff Minnig)
- Organization: Design Data
- References: <BtJB7y.IF8@csc.liv.ac.uk> <7371269@hpfcso.FC.HP.COM>
- <C0033013.92Aug30193804@rznb23.rz.tu-bs.de>
- Date: Mon, 31 Aug 1992 14:50:31 GMT
- Lines: 39
-
- In article <C0033013.92Aug30193804@rznb23.rz.tu-bs.de> c0033013@ws.rz.tu-bs.de (Axel Brandes) writes:
-
- >
- > But one detail is left: we use xdm instead of the raw console (or
- > vue). Is there a way to catch up output to the console with an
- > 'invisible' object (similar to the visible one 'hpterm -C ...') ?
- > The crux is that we don't want to *see* something else than the
- > background and the xdm login window.
- >
-
- You could write a small program that simply logs the console output to
- a file using:
-
- fd = open( "console_log", "w" );
- ioctl( fd, TIOCCCONS );
-
- This may not be completely correct, but it gives you the general idea.
- TIOCCONS is located in /usr/include/sys/termio.h...
-
- -jeff-
-
- --
-
- ----------------------------------------------------------------------
- I said it, not the people I work for.
- ----------------------------------------------------------------------
- Jeff Minnig | (402) 476-8278
- Design Data |
- 1033 'O' St. Suite 324 | {hpfcla,sparky}!dsndata!jeff
- Lincoln NE 68508 |
- ----------------------------------------------------------------------
- Home is where your keyboard is.
- ----------------------------------------------------------------------
-
-