foregrounding a sudo'd vim will sometimes break terminal state
Bug #1322843 reported by
Walter
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo |
Unknown
|
Unknown
|
|||
sudo (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
See this bug:
http://
Started on Ubuntu/Trusty since it has a sudo after 1.8.7, (precise has 1.8.3).
Steps to reproduce:
- take a local machine with a recent sudo (after 1.8.7)
- sudo vi
- ^Z (control-Z)
- fg
- repeat ^Z and fg until the fg fails and the screen is partially cleared
- now a second fg wil open vim with a broken terminal state:
arrow keys will render the escape sequences and other nastiness
Fix is provided upstream, but author is currently figuring out why it breaks.
Cheers,
Walter Doekes
OSSO B.V.
To post a comment you must log in.
The attachment "SUDO-649_ minimal_ fix.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]