From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 01:18:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AEA816A420 for ; Sat, 15 Sep 2007 01:18:03 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout.easydns.com [205.210.42.54]) by mx1.freebsd.org (Postfix) with ESMTP id DDE7113C442 for ; Sat, 15 Sep 2007 01:18:02 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from slider.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 3AD71805A for ; Fri, 14 Sep 2007 21:18:00 -0400 (EDT) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by slider.shadypond.com (postoffice) with ESMTP id 6BF09B67C0 for ; Sat, 15 Sep 2007 01:17:59 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Sat, 15 Sep 2007 01:17:58 +0000 References: <20070915010103.GA54302@thought.org> In-Reply-To: <20070915010103.GA54302@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709150117.58753.lists-fbsd@shadypond.com> Subject: Re: remote [ssh] Backspace] key gives me "^?" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2007 01:18:03 -0000 On Saturday 15 September 2007 01:01:03 Gary Kline wrote: > Sometimes when I ssh from a remote server and edit a file with > vi, my [Backspace keys] are not interpretered correctly. > Instead of erasing characters and backing up one byte and > clearing that character my cursor moves forward. > > Example: typing "This" as "thos" and backspacing to the 'o' > I'll see "thos^?^?" Can anybody 'splain what idiot thing i'm > doing wrong and how to fix it? > > tia, > > gary Does this also happen when you use vim? I wonder if you are really using vi and not ee or some other editor. I had many problems with vi so I did 'touch .vimrc' in my home directory cd ~ touch .vimrc I use vim rather than vi and if I remember correctly, when I first installed FreeBSD, 'vi' was actually a symlink to 'ee'. I might be wrong about that.