Subject: Re: Using the delete key to "right-delete" chars
To: None <netbsd-help@netbsd.org>
From: Julien Gabel <jpeg@thilelli.net>
List: netbsd-help
Date: 10/01/2003 13:14:11
> : I just noted that the corresponding control sequence is even different
> : under the same shell, but if you use the "vi" or "emacs" edition command
> : line mode.
>
> The control sequence is created by the terminal program and terminal
> programs don't usually care what foreground task is running.  Which shell
> are you using and how did you evaluate this?

You are right. With 'od -cx', i can see that the sequence is the same, but
the result is different in each mode. The difference is the respond from
the shell to the sequence key, not the sequence key itself. Sorry.

> : Maybe is it possible to set the control sequence via stty(1) - like it
> : is possible to do for the 'erase' sequence - but i don't succeed in
> : this way for the moment.
>
> That's not what stty is for and "erase" in stty means the keysequence sent
> to erase the previous character (*).

I wanted to say "like that what can be done with 'erase'" and not use
'erase' in particular. But it seems not to be possible at all after
reading your last answer, so...

--
-jg.