Newsgroups: comp.windows.x Path: utzoo!utgpu!cunews!bcars8!bnrgate!bcars85!jsparkes From: jsparkes@bcars85.bnr.ca (Jeff Sparkes) Subject: Re: console message and XDM Message-ID: Sender: news@bnrgate.bnr.ca (USENET News Administration) Organization: Bell-Northern Research, Ltd. Ottawa Ontario CANADA References: <17880@ultima.cs.uts.oz> Distribution: comp Date: 1 Jun 90 12:08:47 GMT In <17880@ultima.cs.uts.oz> keane@ultima.cs.uts.oz (Chris Keane) writes: >asking me what was wrong, so I've hacked xdm to have a console window at the >bottom of the screen. It basically starts a program that runs as a pseudotty and >displays everything the comes over the pty on a nice-even-if-I-say-so-myself >scrolling, wrap-around window. The window doesn't recognise any input-type >events. Xdm hijacks the console output using ioctl() and stuffs it into the >the other end of the pty. Voila! Instant console! >It's been tested and runs quite successfully on Sun3's, Sun386i's and SunSS1's >all running SunOS 4.0.3. It works for both X11r3 and X11r4. >The diffs are very small. If you're interested, I send them to you, although >I believe the ioctl() to steal the console is rather system-dependant (I don't >know that for sure though), so if you're not running suns... >regards... I'm using xterm -C, which already has the various ways to grab a console.. Still I'd like to see your changes, since mine are none to pretty. It's quite a pain to figure out how big an xterm will be and center it. -- Jeff Sparkes jsparkes@bnr.ca Cat: Is that what I think it is? Lister: What do you think it is? Cat: A big orange whirly thing in space!