On Tue, Sep 02, 2008 at 08:59:41AM +0300, Nadav Har'El wrote:
> The first thing you need to check is whether your terminal emulator (xterm,
> or whatever you use) sends a backspace (^H, or ASCII 8) when you press the
> backspace key. From your post it appears it doesn't, and you need to check
> why. Xterm, for example, has the "backarrowKey" property which defaults to
> true (backspace), but perhaps your Linux distribution tryed to "improve"
> this default and uses something else - try control-left-mouse-button to
> see your current settings. Or, if you're using some other terminal emulator
> (you probably are, unfortunately xterm has grown out of fashion and replaced
> by MS-Windows-lookalikes :( ), look into it's documentation.
> 
> Another thing you should check is your tty settings. Run "stty" and see that
> your erase = ^H. If erase = ^? then you are actually expecting the backspace
> key to send a ^? (delete), so don't be surprised if it does (maybe your
> terminal emulator sees this stty setting and generates the character it
> expects).

Not intending to start a flame war, but this is against the Debian
policy, which is also assumed by the "Linux Backspace/Delete
mini-HOWTO". It specifically says 'Terminals should have stty erase ^?'.
Needless to say, Debian itself is coherent, and makes sure everything
works. But if you connect to/from debian to/from some other
distribution, which has some other notions, you might have a problem. I
am personally not even aware of similar documents for other
distributions, so do not know if they have (their own or some external)
standards for this. I do know that in every RedHat (or derivative) box I
connect to from my debian machines, I have to put in .screenrc
bindkey -d -k kb stuff "\177"
to make backspace work in screen, but other than that, things generally
do not^H^H^H^H^H^Hwork well (sorry for the stupid joke, I just had to).
-- 
Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to