Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2008 11:58:48 -0400
From:      Schiz0 <schiz0phrenic21@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>,  Schiz0 <schiz0phrenic21@gmail.com>
Subject:   Re: Backspace Key Not Working
Message-ID:  <8d23ec860807260858k27b8cd2cs99586b526c48113b@mail.gmail.com>
In-Reply-To: <20080726155504.GJ850@shepherd>
References:  <8d23ec860807260848g149df722i801d1d45aa61edcf@mail.gmail.com> <20080726155504.GJ850@shepherd>

next in thread | previous in thread | raw e-mail | index | archive | help
.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 <sahil@tandon.net> wrote:
> Schiz0 <schiz0phrenic21@gmail.com> 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 <sahil@tandon.net>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d23ec860807260858k27b8cd2cs99586b526c48113b>