Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 01:17:44 +0200
From:      Giorgos Keramidas <charon@labs.gr>
To:        Sean LeBlanc <seanleblanc@home.com>
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>

next in thread | raw e-mail | index | archive | help
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




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