Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!metro!cluster!ultima!keane From: keane@ultima.cs.uts.oz (Chris Keane) Newsgroups: comp.windows.x Subject: Re: console message and XDM Message-ID: <17880@ultima.cs.uts.oz> Date: 31 May 90 06:06:42 GMT References: Distribution: comp Organization: Comp Sci, NSWIT, Australia Lines: 28 jsparkes@bcars85.bnr.ca (Jeff Sparkes) writes: > Are there any plans to add a console window to XDM? At present, >when the login prompter is up on the console, all messages go directly to >the console, messing up the screen. There isn't even any way to redraw the >screen (that I can find). Yes, I hated that for a while too and I got sick of students complaining and/or 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... Chris. +-------------------------------------------------+ | The ultimate profit-making juke-box: It plays | keane@ultima.cs.uts.oz | Kylie Minogue songs until you put money in it...| or is it +-------------------------------------------------+keane@ultima.socs.uts.edu.au Disclaimer: These are my own opinions, but I'm insane. What's your excuse?