delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/24/14:41:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <jimmyroberts AT gmail DOT com>
Reply-To: Jim Roberts <jimmyroberts AT gmail DOT com>
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
References: <d1v41l$kii$1 AT sea DOT gmane DOT org> <4243160C DOT 7040503 AT buddydog DOT org>
X-IsSubscribed: yes

On Thu, 24 Mar 2005 20:22:47 +0100, Mikael <mindcooler AT gmail DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019