[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emacs and shell display



On Wednesday, February 19, 2003 12:30, fbrian@nac.net wrote:
> When I run a shell in emacs <M> shell
>
> I get this garbled output...
>
> bfurry@EULER:~$ lss

If this only occurred for ls, I'd suggest telling us what "lss" is an 
alias for, however control characters (as shown by the box character) 
are even appearing in your prompt.

The control characters look like they're trying to color the prompt and 
file names.  This sort of colorization only works in some extended 
terminals such as xterm-color and rxvt.

Highly likely:
Perhaps your prompt or shell is configured incorrectly to use color.
Have a look at the values of $PS1 and $PROMPT_COMMAND.

Somewhat likely:
Perhaps your terminal type is set incorrectly.
Have a look at the value of $TERM.

Less likely:
Perhaps your locale or language settings are causing problems.
Have a look at the value of $LOCALE and $LANG.

Also:
If you are using "ls --color", you should use "ls --color=auto" rather 
than "ls --color=always".

Hope this helps

-- 
Michael Wardle
Adacel Technologies



Reply to: