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

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: <4243160C.7040503@buddydog.org>
Date: Thu, 24 Mar 2005 14:33:32 -0500
From: Jonathan Arnold <jdarnold AT buddydog DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050202 MultiZilla/1.7.0.2d
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rxvt problem: Prompt doesn't look very nice
References: <d1v41l$kii$1 AT sea DOT gmane DOT org>
In-Reply-To: <d1v41l$kii$1@sea.gmane.org>
X-IsSubscribed: yes

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.

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

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


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