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


On Thu, 24 Mar 2005 20:22:47 +0100, Mikael <mindcooler@gmail.com> 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?
> 
> I was wondering how I can solve this problem with rxvt. 

Try launching rxvt like this:

C:\Cygwin\bin\rxvt.exe -e /usr/bin/bash --login -i

> And, when I solve it
> I will be interested in tips on how to make rxvt look better or other tips
> so feel free to mention such things too.

Personally, I use .Xdefaults, placed in my home directory, to
configure RXVT. Refer to this:
http://h30097.www3.hp.com/demos/ossc/man-html/man1/rxvt.1.html

Also, try 'man rxvt'.

Here's my .Xdefaults as an example:

rxvt*font: "Bitstream Vera Sans Mono-15"
rxvt*geometry: 124x47+0+0
rxvt*background: black
rxvt*foreground: white
rxvt*scrollBar_right: true
rxvt*saveLines: 5000
rxvt*scrollstyle: next
rxvt*termName: rxvt
rxvt*scrollTtyOutput: false
rxvt*scrollWithBuffer: false

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