🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.d
Article #174

Re: erase key in NN

#174
From: Kim F. Storm
Date: Mon, 24 Jul 1989 08:05
37 lines
1869 bytes
dean@coplex.UUCP (Dean Brooks) writes:

>pim@ctisbv.UUCP (Pim Zandbergen) writes:

>>Normally, I use ^H as the erase key and DEL as the interrupt character.
>>NN, however, will not do erase processing when it prompts me for filenames,
>>newsgroups, etc. It will when I change the erase character to DEL
>>and the interrupt character to ^C.

>  We had the same problem with NN on our machine; in fact its the only
>complaint I had about the entire package!  NN is a wonderful newsreader.

>  Anyway, the one-line-fix below corrected the problem entirely for us.
>Apparantely there was a problem with the CTRL-H key being trapped by the
>key binding routines before it was identified as a back-space.

I just realized during the weekend, that this was indeed the reason
for the problems with the erase key on several systems: It was really
a problem on a few terminal types such as Wyse50, where the arrow keys
send single characters, and the left arrow key sends a back space!

This can be work-around without patching the code by the following map
command:

	map key left ^H

which will map the "misinterpreted" left arrow-key back into the erase key.

For some reason (another bug I suppose), the more obvious

	set erase-key left

does not work!
-- 
Kim F. Storm        storm@texas.dk        Tel +45 429 174 00
Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark
	  No news is good news, but nn is better!
Technical Details
Message-ID: <372@texas.dk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcvax!kth!sunic!dkuug!tidk!storm
References: <788@ctisbv.UUCP> <743@coplex.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcvax!kth!sunic!dkuug!tidk!storm
From: storm@texas.dk (Kim F. Storm)
Newsgroups: comp.sources.d
Subject: Re: erase key in NN
Keywords: nn
Message-ID: <372@texas.dk>
Date: 24 Jul 89 08:05:58 GMT
References: <788@ctisbv.UUCP> <743@coplex.UUCP>
Organization: Texas Instruments, Denmark
Lines: 37