From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6302: 24.0.50; Unable to use su in term. Date: Fri, 04 Jun 2010 09:35:50 -0400 Message-ID: References: <87pr0fth4g.fsf@tux.homenetwork> <1taarbd9av.fsf@fencepost.gnu.org> <87aarbb6bg.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275660763 29440 80.91.229.12 (4 Jun 2010 14:12:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Jun 2010 14:12:43 +0000 (UTC) Cc: 6302@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 04 16:12:41 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OKXdX-000851-8h for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jun 2010 16:12:39 +0200 Original-Received: from localhost ([127.0.0.1]:35987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKXdV-0005ha-TD for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jun 2010 10:12:37 -0400 Original-Received: from [140.186.70.92] (port=39884 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKXPH-0008Hx-TU for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 09:58:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKXPF-00086b-6u for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 09:57:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42102) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKXPF-00086V-4D for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 09:57:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OKX46-00016J-GO; Fri, 04 Jun 2010 09:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jun 2010 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6302-submit@debbugs.gnu.org id=B6302.12756585584224 (code B ref 6302); Fri, 04 Jun 2010 13:36:02 +0000 Original-Received: (at 6302) by debbugs.gnu.org; 4 Jun 2010 13:35:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKX41-000165-O6 for submit@debbugs.gnu.org; Fri, 04 Jun 2010 09:35:57 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKX40-00015z-1X for 6302@debbugs.gnu.org; Fri, 04 Jun 2010 09:35:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAFueCEzO+K4b/2dsb2JhbACeP3K/TYJ6gh0EjF8 X-IronPort-AV: E=Sophos;i="4.53,361,1272859200"; d="scan'208";a="67293173" Original-Received: from 206-248-174-27.dsl.teksavvy.com (HELO pastel.home) ([206.248.174.27]) by ironport2-out.pppoe.ca with ESMTP; 04 Jun 2010 09:35:50 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AD33181F8; Fri, 4 Jun 2010 09:35:50 -0400 (EDT) In-Reply-To: <87aarbb6bg.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Fri, 04 Jun 2010 09:33:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 04 Jun 2010 09:36:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37537 Archived-At: > 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@tux ~ $ LC_ALL=C su -l and thierry@tux ~ $ LC_ALL=C su and thierry@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