Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <83b1d5e8050324114079b6c25e@mail.gmail.com> Date: Thu, 24 Mar 2005 14:40:51 -0500 From: Jim Roberts Reply-To: Jim Roberts To: cygwin AT cygwin DOT com Subject: Re: rxvt problem: Prompt doesn't look very nice In-Reply-To: <4243160C.7040503@buddydog.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <4243160C DOT 7040503 AT buddydog DOT org> X-IsSubscribed: yes On Thu, 24 Mar 2005 20:22:47 +0100, 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? > > 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/