From owner-freebsd-questions Tue Jul 3 7:47:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tethys.valhalla.net (tethys.valhalla.net [195.26.32.112]) by hub.freebsd.org (Postfix) with ESMTP id 7577B37B401 for ; Tue, 3 Jul 2001 07:47:44 -0700 (PDT) (envelope-from mark@tethys.valhalla.net) Received: by tethys.valhalla.net (Postfix, from userid 1001) id 445063379A; Tue, 3 Jul 2001 15:47:43 +0100 (BST) Date: Tue, 3 Jul 2001 15:47:43 +0100 From: Mark Drayton To: freebsd-questions@freebsd.org Subject: Screen, vim and backspace Message-ID: <20010703154743.A96802@tethys.valhalla.net> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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