Re: Backspace Key Not Working

2008-08-02 Thread Michael P. Soulier
On 26/07/08 Schiz0 said:

 Hey,
 
 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?

Does it work in the terminal?

Lets see 

stty -a

in the shell. 

Also see

:h fixdel

in Vim. 

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


signature.asc
Description: Digital signature


Re: Backspace Key Not Working

2008-07-26 Thread Sahil Tandon
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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backspace Key Not Working

2008-07-26 Thread Schiz0
.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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]