Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 15:47:43 +0100
From:      Mark Drayton <mark.drayton@4thwave.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Screen, vim and backspace
Message-ID:  <20010703154743.A96802@tethys.valhalla.net>

next in thread | raw e-mail | index | archive | help
Hi

I'm having a hard time getting screen, vim and the backspace key to work
consistently.

On the console all is fine. Backspace works in my shell (bash), in
vim, and in bash and vim inside a screen session.

When I ssh in using PuTTY with the backspace set to ^H, backspace works
fine in bash but not in vim (it tries to delete text from the right of
the cursor, windows 'delete' key style). Inside screen backspace works
fine in bash and vim.

When I ssh in using PuTTY with the backspace set to ^?, backspace wortks
fine in bash and vim. Inside screen, backspace produces a ~ in bash (but
manual ^H backspaces fine) and in vim it tries to delete text to the
right of the cursor.

My TERM is set to xterm-color when I ssh in.

So at the moment backspace set to ^H is less broken, but it still
doesn't quite work right. I don't care if I have to set backspace to ^H
or ^?, I just want it to work consistently!

Any ideas?

Cheers,

-- 

Mark Drayton
4th Wave Technologies

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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