Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!gatech!kong!emory!stiatl!meo From: meo@stiatl.UUCP (Miles O'Neal) Newsgroups: comp.windows.x Subject: Re: Sun 3/50 keyboard mode after server crash Keywords: more information needed Message-ID: <3183@stiatl.UUCP> Date: 16 Feb 89 20:58:47 GMT Distribution: na Organization: Sales Technologies Inc., Atlanta, GA Lines: 29 In article <462@salgado.stan.UUCP> dce@salgado.UUCP (David Elliott) writes: >In article <456@salgado.stan.UUCP> dce@stan.UUCP (David Elliott) writes: >>I have a bad habit of crashing my login session in such a way >>that the kbd_mode command I use to put my Sun back into ASCII >>mode may not get executed. > >I've received a couple of responses to my original note, and both >of them said "use kbd_mode -a". Maybe I should have been more >explicit in the above, though I did say I use kbd_mode. You still don't tell us how you are set up. While I don't know your particulars, I do know that we had similar problems until we started doing things as we are now, which is: At login, or from a shell prompt, a script is invoked containing the following: xinit -C ... kbd_mode -a reset This invokes the server with a console xtrem, which, when it goes away, whether through a crash, exit or whatever, is succeeded by the kbd_mode program by the shell. If you heretofore have started other X11 clients right after your xinit (assuming you *use* xinit), put them in a file called .xwindows in your home directory, which will get run as a script when xinit runs. -Miles