Linux console problems

Linux console problems

Post by Alex Yu » Fri, 03 Jul 1998 04:00:00



: Using RH5.1 and /bin/ksh as my login shell.

: I have the following in my .profile
: stty erase "^H" intr "^?" kill "^U"
: because I want the <Backspace> key to erase the previous char, the ^U key
: to erase the current command line and the <Del> key to abort the
: command-line.

: This is working fine with X i.e. when I do 'xterm -ls'.

: But when I Ctrl-Alt-Fn out to a linux console, things get messed up.

: The Backspace key is producing ^? which aborts my command line. Ctrl-U is
: working fine. Finally, the Del key is producing ^[[3~.

: 'infocmp linux' tells me that these keys are indeed expected to produce
: these keycodes. Why is this so? How can I change it? I tried changing the
: terminfo database and 'tic'ed it to $HOME/.terminfo but that didnt help.
: Didnt expect it to, since terminfo merely _documents_ what keycodes are
: generated for the benefit of other applications.

: Is ther a way similar to 'xterm*vt100*translations' that I can control
: which keys generate which keycodes?

The console is emulating vt100 which is doing it correctly.  If you want to
change the keyboard binding of the virtual console, you use the program
"loadkeys".  It is similar to xmodmap.

 
 
 

Linux console problems

Post by T.E.Dicke » Sat, 04 Jul 1998 04:00:00




: : The Backspace key is producing ^? which aborts my command line. Ctrl-U is
: : working fine. Finally, the Del key is producing ^[[3~.
: The console is emulating vt100 which is doing it correctly.  If you want to
: change the keyboard binding of the virtual console, you use the program
: "loadkeys".  It is similar to xmodmap.
not really: ^[[3~ is a vt220 sequence (vt100's produce a ^?, which is a 127).

--
Thomas E.*ey

http://www.veryComputer.com/

 
 
 

1. SCO and Linux console problems

When I telnet or rlogin from my Linux box to a SCO box, there are
problems with the screen handling (eg, in vi, a scroll downwards only
shifts the bottom row; it doesn't shift the rows above) and there
are also problems the other way around..

Has anybody encountered this problem before? Are there any webpages or
resources with info on how to fix it? We've experimented a bit with stty
(which fixed the backspace key for Linux-as-client) and not really been
able to find much more.. Any help really appreciated :).

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  pc at it dot net dot a u |
//`'\_ | (/_|(/_|  |_(_|| | || |            it.net.au/~pc |
/        

2. korrigiert

3. Linux console problems

4. 2 Identical Linux Boxes ( Mirrors ) HELP

5. How do I make linux console act EXACTLY like sco console?

6. wsFTP issue

7. Linux console -- cu to Sunsoft console

8. RS232 communication

9. Font problem in linux console

10. Telnet problems with Linux console

11. Keyboard problems with gpm (Was: Linux console rectangular selection)

12. linux console scrolling problem

13. problem on getting in linux from SRM console