[Bug 1322843] Re: foregrounding a sudo'd vim will sometimes break terminal state

Benjamin Drung 1322843 at bugs.launchpad.net
Wed Aug 3 08:03:01 UTC 2022


The upstream patch got applied as commit
b121da2e21cabd2793fc423d84ceddd919fd6e47 and was released in sudo
1.8.11. Therefore this bug is fixed since Ubuntu 16.04 (xenial).

** Changed in: sudo (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1322843

Title:
  foregrounding a sudo'd vim will sometimes break terminal state

Status in sudo:
  Unknown
Status in sudo package in Ubuntu:
  Fix Released

Bug description:
  See this bug:
  http://www.sudo.ws/bugs/show_bug.cgi?id=649

  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 manage notifications about this bug go to:
https://bugs.launchpad.net/sudo/+bug/1322843/+subscriptions




More information about the foundations-bugs mailing list