Backspace key not working in editor

Pankaj Govil pgovil at chipublib.org
Sun Dec 31 19:09:13 UTC 2006


Can you try if this helps?

Do stty erase "^?" at your prompt.

That was stty erase within the quotes caret sign above number 6 followed
by question mark sign terminated by quotes again. 

Now try to vi a file and see if this resolves the issue.

Thx,

PG
________________________________

Pankaj Govil


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Vidiot
Sent: Sunday, December 31, 2006 4:23 AM
To: RedHat main mail list
Subject: Backspace key not working in editor

Fedora Core 6
Shell being run: zsh

OK, here is the thing that I can't seem to find... as myself, when I log
in, I'm set up to use zsh.  When I edit files with vi, pressing the
backspace key yields the expected results, i.e., the character to the
left of the cursor is deleted.

But, when I "su - zroot" (zroot is the zshell root) it does not work.
Obviously I am not going through the complete login process, so what do
I have to set to get vi to work correctly with the backspace key?

It is extremely frustrating to not have the OS do backspacing correctly.
I'm sure I fixed this with FC2, but the upgrade to FC6 wiped out what I
did and I do not remember what I did, as it was ages ago.

FYI, it is also wrong if I su to root, which defaults to bash.

MB
-- 
e-mail: vidiot at vidiot.com                                /~\ The ASCII
                                                         \ / Ribbon
Campaign
[So it's true, scythe matters.  Willow  5/12/03]          X  Against
Visit - URL: http://vidiot.com/                          / \ HTML Email

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list