On 4 Dec 2001, Jamin W. Collins wrote:

> On Tue, 2001-12-04 at 09:00, Rory Campbell-Lange wrote:
> > I sometimes have problems with my backspace key, frequently when a
> > program opens from another program with a term. Normally the backspace
> > key works fine, but when I'm trying to do a search in man, for instance,
> > I daren't mis-type something, because all I will see is a string of
> > literal '^H's when I press backspace.

> Not sure this is really something for the Blackbox list, but when this
> happens, have you tried using CTRL-D?

Under readline(3), Ctrl-d is usually the "delete-char" (for deleting
character under cursor). But if there is nothing to edit, then it sends
EOF (and could log you out of that terminal).

To delete the character behind the cursor, you use the "rubout" or "erase" 
key (this is the backspace key). You may need to set it up first with
stty(1); for example:
 stty erase 'Ctrl-v followed by backspace'
Press CTRL-V and then press your Backspace key.

Maybe this may look like: stty erase '^?'

Good luck. (And yes, this has nothing really to do with blackbox.)

  Jeremy C. Reed
  http://www.reedmedia.net/
  http://bsd.reedmedia.net/  -- BSD news and resources
  http://www.isp-faq.com/    -- find answers to your questions

Reply via email to