backspace makes a ^H character
At work we have an old database we log into using rxvt terminal with ssh -X. When accessing the system from a Debian 8 machine the backspace key works normal but on my new system with Debian 10 and my Ubuntu 18.04 laptop, the backspace keys prints a ^H on the screen. To delete a character I have press Ctrl and h keys. How can I make this work with Debian 10.
I've been reading about this but honestly i feel like im just going into a rabbit hole. I don't know if i need to change something on the server side or my desktop. This is also happening to my coworkers that just moved to Debian 10. Thanks. |
Quote:
Quote:
It is a well-known problem that some terminal emulators use "^?" and others "^h" (in both cases that is a ^ followed by the next char). |
It is probably a matter of the terminal emulator you are using. You say the database is old so it may be expecting something older than what you are using. See if you have xterm installed. If so, try it. If not, try installing it and using it. There are a number of terminal emulators out there so try different ones, and check the configuration files to see what they use for the backspace. At a guess I would say your database computer is expecting a VT100 terminal. If you check the configuration file you will probably find that backspace sends an ascii-8 character or an ascii-128 character. Whichever it sends, change it to the other and see what happens.
|
Quote:
|
Quote:
Quote:
Code:
my-debian-desktop~$ cat /path/to/launcher Code:
my-debian-desktop~$ cat /Launchers/SSH_database Code:
#stty erase ^? |
Quote:
And note (from another of your messages): Quote:
|
Quote:
|
Quote:
Code:
# ~/.profile: executed by the command interpreter for login shells. |
doesn't the inputrc and .inputrc file deal with keyboard stuff like this? so if the 'shortcut' key is wrong in its deffs then it acts up like that?
https://unix.stackexchange.com/quest...dline-commands |
Quote:
Quote:
And given that it works one way in Debian 8 and another way in Debian 10 and Ubuntu 18.04, why can't you grab the stty attributes and compare? |
Quote:
|
any ideas?
|
Quote:
Quote:
|
Looks the same in both systems.
Code:
erik@topaz:~$ stty |
Quote:
The stty was originally written for those real terminals on Unix systems Quote:
|
All times are GMT -5. The time now is 10:17 AM. |