List Info

Thread: Backspace key not working in editor




Backspace key not working in editor
user name
2006-12-31 19:09:13
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-bouncesredhat.com
[mailto:redhat-list-bouncesredhat.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: vidiotvidiot.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-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list
Backspace key not working in editor
user name
2006-12-31 21:44:41
>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.

That clue put me on the right track.  I've been evolving the
zsh startup
over several operating systems, so I've been carrying the
files from OS to
OS.

In this case, Linux does it right if one does nothing, i.e.,
erase is set
to ^?.  I had a stty line that was screwing things up.  In
my personal
login it wasn't getting used, while the zroot login did end
up running
the line with the stty command.

Once I got that out of there, all was well.

Thanks for the tip.

MB
-- 
e-mail: vidiotvidiot.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-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )