← Back to team overview

ubuntu-elisp team mailing list archive

[Bug 1223291] [NEW] "sudo emacs" cannot be backgrounded afterward by shell

 

Public bug reported:

When I run:

  $ sudo emacs /etc/myfile

and later try to background it by typing ^Z in the invoking shell, the
keystroke is ignored and merely echoes to the screen as "^Z".

This did NOT happen in Ubuntu 10.04 LTS.

This does NOT happen for any of the following commands:

  $ sudo emacs -nw /etc/myfile           (which runs emacs in the existing gnome-terminal window)
  $ sudo gnome-terminal                  (a different program that also opens a window)

I realize that there are workarounds, like manually sending the suspend
signal:

  $ sudo kill -TSTP <pid of emacs>

but something special and new (and unwanted) is happening with emacs
here.

Other users have experienced this problem on other distros:
http://unix.stackexchange.com/questions/81482/how-to-send-to-background-a-running-process-started-with-sudo

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: emacs23 23.4+1-4ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-30.44-generic 3.8.13.6
Uname: Linux 3.8.0-30-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Tue Sep 10 06:57:04 2013
InstallationDate: Installed on 2013-08-31 (9 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: emacs23
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: emacs23 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Emacs Lisp, which is subscribed to emacs23 in Ubuntu.
https://bugs.launchpad.net/bugs/1223291

Title:
  "sudo emacs" cannot be backgrounded afterward by shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1223291/+subscriptions


Follow ups

References