[comp.windows.x] R4 server on sun4 leaves console in funny state

garyf@mehlville.ncsa.uiuc.edu (Gary Faulkner) (01/11/90)

on a sun4 (server compiled with cc) when the server is killed it leaves
the console in a state such that
it appears that it interprets every character typed (in response to hte
login prompt) as a carriage
return.  How can we get our console back??

Gary Faulkner
National Center for Supercomputing Applications - University of Illinois
Internet: garyf@mehlville.ncsa.uiuc.edu
Disclaimer:  I've only stated my opinion, not anyone elses.

gary@CTC.CONTEL.COM (Gary Bisaga x4219) (01/12/90)

Use 'kbd_mode -a' command.  Keyboard is set up to return internal key codes
(similar to the IBM PC's scan codes) so that X can pick up, for example,
shift keys separately (both presses and releases).

Gary Bisaga (Gary@ctc.contel.com)

ggreen@cod.NOSC.MIL (George W. Green) (01/12/90)

In article <1990Jan11.154942.11853@ux1.cso.uiuc.edu> garyf@mehlville.ncsa.uiuc.edu (Gary Faulkner) writes:
>on a sun4 (server compiled with cc) when the server is killed it leaves
>the console in a state such that
>it appears that it interprets every character typed (in response to hte
>login prompt) as a carriage
>return.  How can we get our console back??
>
>Gary Faulkner

	I've had something similar happen with R3 on both Sun 3/60
	and 4/110 when the server crashes. The keyboard is left in
	a state where each keypress is interpreted as gibberish. Is
	there a way to restore the console without rebooting?


  George Green,  (ggreen@nosc.mil)

sheldon@webster.sybase.com (01/13/90)

	I ran into that problem as well. If you are running Sunview, you can
put kbd_mode into your root menu by adding a line to your '.rootmenu' file:

"Kbd_mode"			/usr/local/bin/kbd_mode -e

Then when it crashes, you can invoke kbd_mode without using the keyboard.

-sheldon white-  :-{)

sun!sybase!sheldon