* Problem with zsh & vi
@ 2000-07-15 0:08 Debasis Das
2000-07-15 1:06 ` Zefram
0 siblings, 1 reply; 2+ messages in thread
From: Debasis Das @ 2000-07-15 0:08 UTC (permalink / raw)
To: zsh-users
Hi ,
I am a new user to zsh . I have a problem using the vi editor in the zsh .
When I open a vi session and say I do a ":wsfdd" and then try to backspace
back ,
I am getting a "^?" . The back-space does not work .
Could anybody help me out with this .
Thanks In Advance .
Debasis.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with zsh & vi
2000-07-15 0:08 Problem with zsh & vi Debasis Das
@ 2000-07-15 1:06 ` Zefram
0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 2000-07-15 1:06 UTC (permalink / raw)
To: Debasis Das; +Cc: zsh-users
Debasis Das wrote:
> I am a new user to zsh . I have a problem using the vi editor in the zsh .
>When I open a vi session and say I do a ":wsfdd" and then try to backspace
>back ,
>I am getting a "^?" . The back-space does not work .
> Could anybody help me out with this .
This is nothing to do with zsh. It's a tty settings problem; the system
is confused about your terminal's backspace key, and is probably expecting
it to send ^H. What you want to do is put
stty erase '^?'
in your .zprofile file. I find I actually need more complicated code
that sets the tty erase key to ^? or ^H depending on the terminal type,
because I use several different terminals that send different things, but
if you're only logging on from one place then the above will suffice.
(What I want for Christmas: an operating system that can cope with
multiple erase characters...)
-zefram
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-15 1:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-15 0:08 Problem with zsh & vi Debasis Das
2000-07-15 1:06 ` Zefram
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).