Subject: Re: bug#6302: 24.0.50; Unable to use su in term.

From: Glenn Morris <[email-masked]>
Date: Thu, 10 Jun 2010 01:08:51 -0400

Thierry Volpiatto wrote:

>>    thierry@tux ~ $ su -l
> Fail. (same with --login and -)
>
> So it's clear that come from the -l option of su.

Is there anything odd in root's ~/.bash_profile (or whatever the
appropriate config file for root login shells is)?

Does it work to su -l to a non-root user?
One with no shell config files?

Can you put some debug statements in the shell config files to find
out if they get sourced at all? If so, where do things go wrong?

>> Also, can you M-x trace-function-background RET term-emulate-terminal
>> RET, reproduce the problem and then show us the *trace-output*?
> I can't find function `term-emulate-terminal'.

? It's in term.el.