← Back to team overview

touch-packages team mailing list archive

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

 

** Patch added: "SUDO-649_Patch-to-ignore-program-generated-SIGTSTP--si_pid.patch"
   https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1322843/+attachment/4186391/+files/SUDO-649_Patch-to-ignore-program-generated-SIGTSTP--si_pid.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New

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