all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 6302@debbugs.gnu.org
Subject: bug#6302: 24.0.50; Unable to use su in term.
Date: Fri, 04 Jun 2010 09:35:50 -0400	[thread overview]
Message-ID: <jwvocfrlyfm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87aarbb6bg.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Fri, 04 Jun 2010 09:33:23 +0200")

> 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





  reply	other threads:[~2010-06-04 13:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-29  5:24 bug#6302: 24.0.50; Unable to use su in term Thierry Volpiatto
2010-06-03 22:46 ` Glenn Morris
2010-06-04  7:33   ` Thierry Volpiatto
2010-06-04 13:35     ` Stefan Monnier [this message]
2010-06-04 14:53       ` Thierry Volpiatto
2010-06-10  5:08         ` Glenn Morris
2010-06-10  7:17           ` Thierry Volpiatto
2010-06-10  9:05           ` Thierry Volpiatto
2011-09-18 10:20         ` bug#5300: " Lars Magne Ingebrigtsen
2011-09-18 17:53           ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvocfrlyfm.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=6302@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.