GNU bug report logs - #6302
24.0.50; Unable to use su in term.

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Sat, 29 May 2010 15:54:01 UTC

Severity: normal

Merged with 5300

Found in version 24.0.50

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, 6302 <at> debbugs.gnu.org
Subject: bug#6302: 24.0.50; Unable to use su in term.
Date: Fri, 04 Jun 2010 09:35:50 -0400
> I found what is not working.
> I use an alias in my .bashrc to force emacs shell using the word Password
> as prompt for su command:

> ,----
> | alias su="LC_ALL=C su -l"
> `----

> Emacs shell support that but term doesn't.

How 'bout taking the alias out of the question and try

   thierry <at> tux ~ $ LC_ALL=C su -l
and
   thierry <at> tux ~ $ LC_ALL=C su
and
   thierry <at> tux ~ $ su -l

> Without that alias or when running sh instead of bash term work as expected.

What do you mean by "running sh instead of bash"?
Do you mean the shell from which you execute "su" or the shell of the
user to which you're su-ing?

Also, can you M-x trace-function-background RET term-emulate-terminal
RET, reproduce the problem and then show us the *trace-output*?


        Stefan




This bug report was last modified 13 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.