From owner-freebsd-questions@FreeBSD.ORG Sat Jul 26 15:58:48 2008 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 AA6DC1065675 for ; Sat, 26 Jul 2008 15:58:48 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 7F99B8FC19 for ; Sat, 26 Jul 2008 15:58:48 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4664372rvf.43 for ; Sat, 26 Jul 2008 08:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cwi12DEEzxklBEXGr02ronNOJVpyiLaXLLflZcxjOHw=; b=RiiklFKYvXZ2oE3Fv2xQEqoI4A7LpdB2He9qAdP+Xtz3X2FOJdUFhFB9L6BlBXkj4e YLaROLmoZzxVOQZo7RzPLi12AjJYuBkB/5ZSZHnTHHW9/obiz+eUuagp4gJwhyWogU+1 OXoRhkOzSMe4vld0peX9pDHSgvVFLkQWPIC60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iomfgMLw4PiNal3tYR5lqe3mEVmhRJpBJhM829vMTVTAThfp0xdSVaKyTv0Pt/BH+Y tfMUS0neTSn8cnCzzoGq3u8rGRjxfKMMfETc6pj5wF9YV0qqb/xOi6ZAPT8teamtjll/ 2ZGSGPxMN9YNFlZcenhWJJ5KogcxEV4BF3IzE= Received: by 10.115.111.1 with SMTP id o1mr3263931wam.114.1217087928089; Sat, 26 Jul 2008 08:58:48 -0700 (PDT) Received: by 10.114.254.11 with HTTP; Sat, 26 Jul 2008 08:58:48 -0700 (PDT) Message-ID: <8d23ec860807260858k27b8cd2cs99586b526c48113b@mail.gmail.com> Date: Sat, 26 Jul 2008 11:58:48 -0400 From: Schiz0 To: "freebsd-questions@freebsd.org" , Schiz0 In-Reply-To: <20080726155504.GJ850@shepherd> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8d23ec860807260848g149df722i801d1d45aa61edcf@mail.gmail.com> <20080726155504.GJ850@shepherd> Cc: Subject: Re: Backspace Key Not Working 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, 26 Jul 2008 15:58:48 -0000 .vimrc on the 7.0 box: --------------------------- set autoindent set background=dark set backspace=indent,eol,start set cmdheight=2 set ignorecase set number set numberwidth=2 set report=0 set restorescreen=on set ruler set scrolloff=3 set showbreak=++ set showmatch set showmode set showtabline=3 set smartcase set smartindent set smarttab syntax on set visualbell set ff=unix --------------------------- I haven't manually set $TERM to anything, however I am running this inside "screen" (using UTF-8 encoding). So screen automatically sets $TERM to "screen". I just checked, and if I connect directly to the 7.0 box using PuTTy, the backspace key works fine all the time. Thanks for the quick reply. On Sat, Jul 26, 2008 at 11:55 AM, Sahil Tandon wrote: > Schiz0 wrote: > >> I have an annoying problem that I'm not sure how to solve. Here's my setup: >> >> PuTTy => My FreeBSD 6.2 box => Production FreeBSD 7.0 box >> >> All via SSH, of course. Now, on my FreeBSD 6.2 box, the backspace key >> works fine all the time. However, when I connect from my 6.2 box into >> the production 7.0 box, the backspace key does not work all the time. >> In the console, it works fine (as in, it deletes what I type). >> However, when I'm in programs such as VIM, it displays "^?" instead of >> deleting. Is there a way to fix this? > > What are the contents of .vimrc on the 7.0 machine? And how have you set > your TERM environment variable on that machine? Does anything change if you > connect directly to your 7.0 box without going through 6.2 in between? > > -- > Sahil Tandon >