DEL key not working

Bug #126374 reported by Manuel López-Ibáñez
54
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gnuplot (Debian)
New
Unknown
gnuplot (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The keys HOME, END and DEL do not work in gnuplot. They output H, F and 3~ respectively.

UPDATE: HOME and END work in Jaunty.

Revision history for this message
In , Chali Ahmul M.P.U (ahmul) wrote : forwarded

forwarded 305501 http://sourceforge.net/tracker/index.php?func=detail&aid=1556607&group_id=2055&atid=102055

Due to licence incompatibility I sent a bug about built-in readline function to upstream.
Adrress is upper.

Chali Ahmul M.P.U

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote : HOME END DEL keys not working

The keys HOME, END and DEL do not work in gnuplot. They output H, F and 3~ respectively.

Revision history for this message
Vincent Legout (vlegout) wrote :

I confirm the bug with feisty and gnuplot 4.0.0-5.

Changed in gnuplot:
status: New → Confirmed
LaserJock (laserjock)
Changed in gnuplot:
status: New → Unknown
Changed in gnuplot:
status: Unknown → New
Ming Hua (minghua)
description: updated
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote : Re: gnuplot doesn't have GNU readline support

No, this not because gnuplot is not compiled with GNU readline. The builtin readline can handle those keys (it cannot handle autocompletion and perhaps history). However, it should handle HOME, END and DEL.

http://sourceforge.net/tracker/index.php?func=detail&aid=1556607&group_id=2055&atid=102055

description: updated
Revision history for this message
Ming Hua (minghua) wrote : Re: HOME END DEL keys not working

Yes, I've read that upstream bug, however I don't quite believe what is claimed there.

Can you please point out which Linux system has gnuplot compiled with builtin readline and have HOME, END, and DELETE keys working? In the upstream bug only the upstream developer can make it work in kconsole. The upstream bug reporter uses Gentoo, and Debian and Ubuntu both have this problem. It's a bit hard to imagine that all these distributions have "broken configuration".

Anyway, I'm not going to argue on this point since it's not my bug and it doesn't bother me.

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Either the builtin readline supports HOME, END and DELETE, so this is a real bug in Ubuntu. Or either it doesn't and this is invalid since nobody can legally distribute binaries of gnuplot + gnu-readline. It is really sad that gnuplot developers do not wish to solve this issue: either change the license of gnuplot or drop support for gnu-readline so the builtin readline gets more attention).

Revision history for this message
Andy Buckley (andy-insectnation) wrote :

Is there anything that can be done to move this along? It's over a year since the last comment and it's still a problem!

Revision history for this message
Tormod Volden (tormodvolden) wrote :

This is almost fixed in Jaunty, which has gnuplot 4.2.4-4 built with libedit. Only the DEL key doesn't work.

description: updated
Revision history for this message
Darko Veberic (darko-veberic) wrote :

as of ibex, in gnuplot 4.2.3-1 HOME, END, DEL are still not working, but what is more annoying is when long gnuplot command line gets broken into several lines in current terminal width, the LEFT, RIGHT navigation also gets broken and it is impossible to edit such long lines. the only solution is resizing the terminal, but you can guess this does not go very far... i am sorry to say, but i am doing all my gnuplots on a gentoo box...

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Darko, this has been fixed in Jaunty. I have some backported packages for Hardy in my PPA, maybe they will work on Intrepid.

Revision history for this message
Eugene Yurtsev (eyurtsev) wrote :

Confirmed. Using Hardy Heron. gnuplot 4.2.4 compiled from source.

Revision history for this message
Adriano Mitre (adriano-mitre) wrote :

All keys work, except for DEL, which produces a tilde.

I'm running gnuplot 4.2 patchlevel 4, installed with apt-get, on Ubuntu 9.04 (Jaunty) 64 bits (AMD64).

Revision history for this message
Lacho (listas-hmr) wrote :

I have a Compaq Presario V2000, with Jaunty and jJust got hit with this bug, my Del, Pg Up, Pg Dn, End, side arrow keys do not work.

I have tried changing the keyboard layout, Xorg, and running XEV, but no key stroke registers there.

Any suggestions?

Revision history for this message
Sebastian Kapfer (caci) wrote :

Lacho: If you don't get keystrokes in Xev, then your problem is not a Gnuplot bug, and surely not this bug.

You'll probably have more luck amongst the Xserver bugs.

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I noticed that the package version your bugging is updated in Maverick. Please update via www.ubuntu.com repost a detailed error report, and update the bug status. Thanks!

Changed in gnuplot (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
tester8 (tester8) wrote :

I confirm, DEL produce ~.
Ubuntu 10.04 LTS; gnuplot 4.4.0-1~ppa2

Revision history for this message
homayoun (amirhomayoun26) wrote :

To fix the DEL key problem using rlwrap check this:

http://stefaanlippens.net/taxonomy/term/33

Revision history for this message
Martin Kossick (hacktick) wrote :

still an issue in 12.04.

Changed in gnuplot (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.