strange arrow-key behavior after suspend/resume

Bug #73843 reported by Alex Mauer
4
Affects Status Importance Assigned to Milestone
aptitude
Fix Committed
Unknown
aptitude (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Jaunty by Alex Mauer

Bug Description

After hitting Control-Z to suspend the aptitude job and then fg to resume it, the arrow keys behave strangely. Down arrow attempts to report a bug in the highlighted package, Right arrow displays the changelog of the highlighted package, left arrow shows or hides the bottom pane (where the description of the highlighted package is). It seems like perhaps aptitude ignores the escape character for the arrow keys?

Revision history for this message
Mike Dahlgren (dahlgren) wrote :

Hi There,

  Since there hasn't been any updates on this bug in almost two years, I was wondering if this is still an issue?

Thanks,
  ~ mike

Revision history for this message
Alex Mauer (hawke) wrote :

Yes, this is still an issue.

Revision history for this message
Mike Dahlgren (dahlgren) wrote :

 Unfortunately I was unable to reproduce this issue. Is there anything that you have to be doing in aptitude for this to happen? (Like installing a package?) Also could you provide more detail like what version of Ubuntu you are using, the version of aptitude, and what type of machine this is running on?

Thanks,
    ~ Mike

Revision history for this message
Alex Mauer (hawke) wrote :

Ubuntu Hardy i386 on an AMD64 processor, aptitude 0.4.9-2ubuntu5.

Don't need to be doing anything special in aptitude.

One thing that may need to be clarified: The strange event only happens on the first keystroke after resuming aptitude. Subsequent keystrokes are fine.

And the down arrow no longer does a bug report, but instead fully expands the currently-selected group of packages and all subgroups, as if "[" were hit. (which makes sense if the escape character is getting lost, because up arrow is Esc[A, and so the [ would be the first valid character)

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this reproducible using another shell? I can't reproduce this symptom using 8.10 and mksh.

Changed in aptitude:
status: New → Incomplete
Revision history for this message
Alex Mauer (hawke) wrote :

I can reproduce it using Intrepid with bash or mksh. Terminal emulator is gnome-terminal.

Revision history for this message
Alex Mauer (hawke) wrote :

Requested information has been provided.

Changed in aptitude:
status: Incomplete → New
Revision history for this message
Simon Morgan (sjmorgan) wrote :

I can reproduce this using aptitude 0.4.11.3 and bash 3.2.39(1)-release.

Changed in aptitude:
status: New → Confirmed
Changed in aptitude:
status: Unknown → New
Changed in aptitude:
status: New → Confirmed
Daniel Hartwig (wigs)
Changed in aptitude:
importance: Unknown → Low
Changed in aptitude:
importance: Low → Unknown
Changed in aptitude:
status: Confirmed → Fix Committed
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.