Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: console message and XDM Message-ID: <5719@helios.ee.lbl.gov> Date: 31 May 90 16:17:36 GMT References: <17880@ultima.cs.uts.oz> Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith) Distribution: comp Organization: lbl Lines: 40 X-Local-Date: 31 May 90 09:17:36 PDT In article <17880@ultima.cs.uts.oz>, keane@ultima.cs.uts.oz (Chris Keane) writes: |> 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... Our mailer can't reach Chris' host so I am posting this request. Would you mail me the diffs to xdm to do this or post them if they aren't too large? Thanks. _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.