This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: rxvt problem: Prompt doesn't look very nice
- From: Jim Roberts <jimmyroberts at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Mar 2005 14:40:51 -0500
- Subject: Re: rxvt problem: Prompt doesn't look very nice
- References: <d1v41l$kii$1@sea.gmane.org> <4243160C.7040503@buddydog.org>
- Reply-to: Jim Roberts <jimmyroberts at gmail dot com>
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/