Backspace key for pine/emacs

Derek Martin dmartin at ne.arris-i.com
Tue Jan 4 13:55:31 EST 2000


On Tue, 4 Jan 2000, David Kramer wrote:

> Pine/Pico uses ^H for backspace, but emacs uses ^H for help, and the
> delete key backspaces. I normally have my ssh program (SecureCRT) map
> backspace to delete, so I can use the backspace key to backspace in emacs.  
> But to compose email with pine/pico, I have to press control-H manually to
> backspace, which is awkward.  I'm constantly pressing the backspace key,
> which is set up to the delete key, so it deletes instead of backspaces,
> usually ripping my signature apart.

There are numerous ways to fix your problem.  The easiest is probably to
map your backspace key to delete.  Some programs seem to have that
hard-coded in as their erase character (like ftp).  Then, to tell pine
to use delete instead of ^h add this line to your .profile or .bashrc (or
wherever you put your start-up customizations):

  stty erase '^?'

After that, your problem should go away.  See the keyboard howto for
details of how to remap your keys.  The howto's are all located at
http://metalab.unc.edu/LDP (though I think they've moved yet again, but
the site is doing redirection).



-- 
Derek D. Martin      |  Senior UNIX Systems/Network Administrator
Arris Interactive    |  A Nortel Company
derekm at mediaone.net  |  dmartin at ne.arris-i.com
-------------------------------------------------

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list