logo       

delete key does not work anymore with octave 2.1: msg#00076

gnu.octave.bugs

Subject: delete key does not work anymore with octave 2.1

On 30-Apr-2005, fred wrote:

| Fred.
| To: bug@xxxxxxxxxx
| Subject: delete doesn't work
| --------
| Bug report for Octave 2.1.69 configured for i686-pc-linux-gnu
|
| Description:
| -----------
|
| binding delete-char on delete key via /etc/inputrc does not work
| in octave 2.1 but works fine with octave 2.0 ; delete key acts as
| backspace key.
|
| Repeat-By:
| ---------
|
| /etc/inputrc contains following lines :
| "^?": delete-char

I'm unable to reproduce the problem. I also don't think this would be
a bug in Octave, since Octave does nothing to process inputrc (that is
handled by the readline library).

Do you really have ^? (two characters) in the file, or is it a single
character?

Perhaps a better way to set these characters is to use

`\b'
backspace

`\d'
delete

(see the readline manual for more details about the inputrc syntax).

Also, what character codes does your backspace key really generate?

Try typing Ctrl-v <backspace-key> in Octave (or Ctrl-q <backspace-key>
in Emacs) and see what it displays (note that something that looks
like ^? might actually be just one character).

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise