.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 <[EMAIL PROTECTED]> wrote:
> Schiz0 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to