[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with ANSI colors in shell mode in Emacs 21.2.95.
From: |
Francesco Potorti` |
Subject: |
Re: Problems with ANSI colors in shell mode in Emacs 21.2.95. |
Date: |
Mon, 10 Feb 2003 15:52:27 +0100 |
>I've defined a prompt for bash like this.
>
>,----[ .bashrc ]
>|
>PS1="\[\033[1;34m\][\[\033[1;31m\]\s-\v\[\033[1;34m\]|\[\033[1;31m\]\h\[\033[1;34m\]|\[\033[1;31m\]\W\[\033[1;34m\]]>\[\033[0m\]
> "
>`----
I do not know why you put all those \[ and \] in there. I tried to
remove all of them and I got a working prompt, like this:
PS1="\033[1;34m[\033[1;31m\s-\v\033[1;34m|\033[1;31m\h\033[1;34m|\033[1;31m\W\033[1;34m]>\033[0m
"
Can you confirm this?
- Re: Problems with ANSI colors in shell mode in Emacs 21.2.95., (continued)
- Re: Problems with ANSI colors in shell mode in Emacs 21.2.95., Kim F. Storm, 2003/02/11
- Re: Problems with ANSI colors in shell mode in Emacs 21.2.95., Richard Stallman, 2003/02/12
- Re: Problems with ANSI colors in shell mode in Emacs 21.2.95., Andreas Schwab, 2003/02/13
- Re: Problems with ANSI colors in shell mode in Emacs 21.2.95., Lute Kamstra, 2003/02/13
- Re: Problems with ANSI colors in shell mode in Emacs 21.2.95., Francesco Potorti`, 2003/02/20
- Re: Problems with ANSI colors in shell mode in Emacs 21.2.95., Andreas Schwab, 2003/02/21
- Re: Problems with ANSI colors in shell mode in Emacs 21.2.95., Richard Stallman, 2003/02/21
Re: Problems with ANSI colors in shell mode in Emacs 21.2.95.,
Francesco Potorti` <=