From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23581 invoked from network); 15 Jul 2000 01:06:37 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jul 2000 01:06:37 -0000 Received: (qmail 20883 invoked by alias); 15 Jul 2000 01:06:16 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3284 Received: (qmail 20874 invoked from network); 15 Jul 2000 01:06:16 -0000 Subject: Re: Problem with zsh & vi In-Reply-To: <000001bfedf0$df62a0a0$a828150a@amzn026860.amazon.com> from Debasis Das at "Jul 14, 2000 05:08:58 pm" To: Debasis Das Date: Sat, 15 Jul 2000 02:06:29 +0100 (BST) CC: zsh-users@sunsite.auc.dk X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Zefram 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