libeditline does not support home/end/delete keys

Bug #256179 reported by Dustin Spicuzza
8
Affects Status Importance Assigned to Milestone
editline (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

libeditline does not support the ANSI key sequences for the home, end, or delete keys, and prints out a ~ instead. This trivial patch enables those keys to do the expected actions.

It would be really nice to have this for hardy. :)

lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

I patched against the already patched ubuntu version of the source. Not 100% sure of the 'proper' way to submit patches, so if this isn't correct let me know the proper steps and I'll redo it. :)

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :
Jim Qode (jimqode)
Changed in editline:
assignee: nobody → jimqode
status: New → In Progress
Revision history for this message
Jim Qode (jimqode) wrote :

Made a debdiff following https://wiki.ubuntu.com/MeetingLogs/devweek0809/FixingBugs1.
Seeking sponsorship.

Changed in editline:
assignee: jimqode → nobody
Revision history for this message
Jim Qode (jimqode) wrote :

By the way this is my first patch submission. Please notify me if I made an error.

Revision history for this message
Jim Qode (jimqode) wrote :

I was told to update debian/control file by #ubuntu-motu user ma10. Here is the updated file.

Revision history for this message
James Westby (james-w) wrote :

Hi,

Thanks for putting the patch together. I would appreciate
some feedback from upstream on this matter. I'm having
trouble tracking them down though. If you know where upstream
is then please forward this patch to them.

At the very least I would like to see it forwarded to Debian.

Thanks,

James

Changed in editline:
importance: Undecided → Wishlist
status: In Progress → Confirmed
Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

Yeah, I did a small search initially to try and find the original upstream, but I just figured it would be easier to send it here. Is the ubuntu version exactly the same as the debian one? Not that its a huge patch or anything.

Revision history for this message
James Westby (james-w) wrote :

Hi Dustin,

The Ubuntu and Debian versions are identical, yes.

Could you tell me how I can test this? I'd like to know
and application in the repositories that uses the libraries
and will be able to demonstrate the behaviour before and
afterwards.

Thanks,

James

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

We actually are using it for a project at work because of GNU readline is GPL, and that won't work for this particular project. However, there is a test application included with libeditline that you can build, and show the results.

Theres also probably a way using dpkg to find something that depends on it, but I'm not sure how to do it.

Revision history for this message
James Westby (james-w) wrote :

Hi Dustin,

Using the testit program in the package as you suggest suggests
that your patch makes delete work, but not home and end. Do you
know why it does not work for me?

Thanks,

James

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote : Re: [Bug 256179] Re: libeditline does not support home/end/delete keys

Odd... it works for me. I'm testing via SSH on PuTTY using Windows XP. I
would assume it has something to do with the way the characters are
mapped...

Dustin

James Westby wrote:
> Hi Dustin,
>
> Using the testit program in the package as you suggest suggests
> that your patch makes delete work, but not home and end. Do you
> know why it does not work for me?
>
> Thanks,
>
> James
>
>

Revision history for this message
Daniel Hahler (blueyed) wrote :

Unsubscribed ubuntu-universe-sponsors, since there is nothing to sponsor currently.
Please re-subscribe, in case there is a working patch, and it's likely to get accepted upstream and/or by Debian.
Thank you.

Changed in editline:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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