[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: My terminal is in a weird state



Mark Wright wrote:
> I just managed to completely hose my virtual terminal display.  It seems
> that non-alpha-numeric characters have been replaced with ascii > 127
> characters.  I.e. the '-' becomes the upside down '!'.  I've tried 'reset',
> but that doesn't help.  All of my virtual terminals are hosed.  For now I
> can telnet in, but eventually I'd like to be able to work at the machine
> itself, and I'd like to avoid rebooting if I can.  The problem started after
> I droped out of X, after installing Blackbox 5.  Any ideas on how to fix the
> problem?

Try logging in the host from the network and run "kbd_mode -a" as
root. This should fix the case when the keyboard was not properly
restored when switching to virtual terminal from the X server.

More exactly, when the X server is not controlling the console (X
is not on, or you are on a virtual console), kbd_mode without any
arguments should report that the keyboard is in the default (ASCII)
mode. When you are running X, the keyboard should be in the raw
(scancode) mode. This is what you should get when trying kbd_mode
from another host.

> Mark.

// Heikki
-- 
Heikki Vatiainen                  * hessu@cs.tut.fi
Tampere University of Technology  * Tampere, Finland



Reply to: