This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Escape colour codes


Hi,

I'm having a problem with colour escape codes for prompts in different 
applications and terminals. Basically it is like this.

lftp and yafc show a wrong prompt in the following terminals: cmd, 4nt, 
console and far manager. Basically each coloured part of the prompt is 
surrounded by two "funny faces" - the first is white and the second has 
the desired colour.

Let's say my prompt is "user@host:directory" where "directory" is cyan. 
Then the prompt looks like this[1]:
user@host:[FW][FC]directory[FC][FW]

The interesting thing is that the coloured prompts /do/ work in bash, zsh 
and screen[2] with cmd, 4nt, console and FAR manager.

Also the coloured prompts from lftp and yafc show correctly in rxvt. They 
also show correctly in Linux and Konsole so the syntax of the coloured 
prompt is correct.

What can I do to solve this problem?

$ uname -rv
1.7.0s(0.167/4/2) 20070316 16:11:46


Thorsten

[1] [FW] = "Funny Face white", [FC] = "Funny Face Cyan"
[2] Bash and Zsh use more or less the same syntax for colour escape 
prompts as lftp and yafc


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]