Re: My terminal is in a weird state - SOLVED

1999-07-22 Thread David Wright
Quoting Mark Wright ([EMAIL PROTECTED]):
 
 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?
 
 I figured out the problem - the Keyboard-and-Console-HOWTO had the answer -
 type 'setfont' at the prompt.  Now I have to go read it and figure out what
 I just did...

Unfortunately all you did was drop out of X. Ditto when you eventually
exit. I have this problem with the Avance ALG2301/2 cards I have.

Cures:

1. Run xdm and forget VCs.
2. Type your setfont command and then startx  so that you
   can recall the setfont command whenever you need it.
3. Define a single character alias, like F, to issue the setfont.
4. Learn to read the character mapping (if it's as consistent as mine).

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


My terminal is in a weird state

1999-07-21 Thread Mark Wright
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?

Mark.



Re: My terminal is in a weird state

1999-07-21 Thread Heikki Vatiainen
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  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland



Re: My terminal is in a weird state

1999-07-21 Thread Mark Wright

-Original Message-
From: Heikki Vatiainen [EMAIL PROTECTED]
To: Mark Wright [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org debian-user@lists.debian.org
Date: Wednesday, July 21, 1999 1:27 PM
Subject: 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.


That doesn't seem to be the problem.  I don't think it's a keyboard problem,
since the character mangling happens with both characters I've typed and
those output from other applications.  Even spaces are messed up - any blank
space on the screen is converted to 'a's with accent marks.

Mark.



Re: My terminal is in a weird state

1999-07-21 Thread Dan Brosemer
On Wed, Jul 21, 1999 at 12:25:40PM -0500, 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, at a prompt (bash, I assume... not sure if this will work for other
prompts) pressing CTRL-V, CTRL-O, ENTER.

HTH

-Dano


pgp3ptIveWf1i.pgp
Description: PGP signature


Re: My terminal is in a weird state

1999-07-21 Thread Brad
On Wed, 21 Jul 1999, 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?

There's a few mentioned in the Keyboard-and-Console-HOWTO (in
/usr/doc/HOWTO with a doc-linux-* package installed). You log into the
afflicted virtual terminal and these commands (which you'll probably have
to type blindly...) 
- echo -e \\033c 
- tput reset 
- setfont


Re: My terminal is in a weird state - SOLVED

1999-07-21 Thread Mark Wright

-Original Message-
From: Heikki Vatiainen [EMAIL PROTECTED]
To: Mark Wright [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org debian-user@lists.debian.org
Date: Wednesday, July 21, 1999 1:27 PM
Subject: 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.


I figured out the problem - the Keyboard-and-Console-HOWTO had the answer -
type 'setfont' at the prompt.  Now I have to go read it and figure out what
I just did...

Mark.