zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: Debasis Das <v-ddas@amazon.com>
Cc: zsh-users@sunsite.auc.dk
Subject: Re: Problem with zsh & vi
Date: Sat, 15 Jul 2000 02:06:29 +0100 (BST)	[thread overview]
Message-ID: <E13DGPW-0001Se-00@crucigera.fysh.org> (raw)
In-Reply-To: <000001bfedf0$df62a0a0$a828150a@amzn026860.amazon.com> from Debasis Das at "Jul 14, 2000 05:08:58 pm"

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


      reply	other threads:[~2000-07-15  1:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-15  0:08 Debasis Das
2000-07-15  1:06 ` Zefram [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E13DGPW-0001Se-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=v-ddas@amazon.com \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).