From owner-freebsd-questions Tue Nov 27 15:17:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id B1DEB37B405 for ; Tue, 27 Nov 2001 15:17:47 -0800 (PST) Received: from hades.hell.gr (patr530-a127.otenet.gr [212.205.215.127]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fARNHh824361; Wed, 28 Nov 2001 01:17:43 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fARNHim12759; Wed, 28 Nov 2001 01:17:44 +0200 (EET) (envelope-from charon@labs.gr) Date: Wed, 28 Nov 2001 01:17:44 +0200 From: Giorgos Keramidas To: Sean LeBlanc Cc: freebsd-questions@FreeBSD.ORG Subject: Emacs Backspace/DEL on the FreeBSD console (was: Re: Getting keys mapped correctly) Message-ID: <20011127231744.GC11957@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23.1i 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 On 2001-11-27 12:04:48, Sean LeBlanc wrote: > > Backspace still doesn't work on Emacs (well, technically, it does, it brings > up help, but who wants that? :) ), but I think I know how to fix that... > Thanks for the help. Sometimes it just takes someone else to say or write > something, and a spark goes off. Or at least a glow. Instead of remapping ^H in Emacs to 'backward-delete-char (and lose all the usefulness of bringing up help), I solved this problem by firing up Emacs inside a screen(1) session, which has it's terminal type set to TERM=vt220. This way, pressing DEL does the Right Thing(TM) for me, and calls 'backward-delete-char and BackSpace or C-h still brings up help. The advantages I've found in using screen(1) on the console are many more than this of course, since now I can detach the screen and leave, I can telnet/ssh/whatever to linux or solaris machines and with my TERM=vt220 do everything without caring about TERM settings, etc etc. But I like living in a monochrome world, and that might be a hell for anyone else. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message