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]

Re: rxvt problem: Prompt doesn't look very nice


"Jonathan Arnold" wrote:
> Mikael wrote:
>> Hello, I just tried rxvt because I wanted to replace the hopeless cmd 
>> window. However, the "prompt" (not sure that is the correct word) doesn't 
>> look very nice, here it is copied and pasted:
>> \[\033]0;\w\007
>> \033[32m\]\u@\h \[\033[33m\w\033[0m\]
>> $
>> It looks similar, if not the same, as the result when I tried to set bash 
>> as the default shell for a native Windows Emacs cvs version. I guess the 
>> \[\033]0;\w\007
>> \033[32m\]\u@\h \[\033[33m\w\033[0m\] should display the cwd if it was 
>> working correctly, yes?
>
> These are ansi escape sequences, which won't work "inside" emacs, because
> it isn't an ANSI terminal.
>

I really really hope that someone makes it work some day (I wish I had the 
knowledge to contribute), because it's on my top-three list of outstanding 
issues I have with Cygwin (admittedly indirectly in this case because I use 
a native Emacs version). My other issues mostly revolve around being unable 
to build certain program ootb on cygwin.

> As for rxvt, those should work just fine.  See this FAQ for a little bit
> more info and a pointer to the rxvt docs:
>
> http://cygwin.com/faq/faq_3.html#SEC65
>
> -- 

Thanks for the link, now it looks much better. Now I just need to find a 
font I like. Thanks for replying so quickly Jonathan with such excellent 
help, it helps make this world a kinder place.

> Jonathan Arnold     (mailto:jdarnold at buddydog dot org)
> Amazing Developments       http://www.buddydog.org
>
> I feel like a fugitive from the law of averages. -
>  William H. Mauldin
>

/ M

PS. I edited your signature because I was afraid to quote raw email 
addresses when replying. Please forgive me. 




--
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]