delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/24/15:05:44

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
To: cygwin AT cygwin DOT com
From: "Mikael" <mindcooler AT gmail DOT com>
Subject: Re: rxvt problem: Prompt doesn't look very nice
Date: Thu, 24 Mar 2005 21:04:58 +0100
Lines: 56
Message-ID: <d1v6go$st6$1@sea.gmane.org>
References: <d1v41l$kii$1 AT sea DOT gmane DOT org> <4243160C DOT 7040503 AT buddydog DOT org> <d1v5e8$p5i$1 AT sea DOT gmane DOT org> <42431AC9 DOT 2070602 AT buddydog DOT org>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 180.184.204.213.sol.worldonline.se
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Response
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner-SpamScore: sssss
X-MailScanner-From: goc-cygwin AT m DOT gmane DOT org
X-MailScanner-To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

"Jonathan Arnold" wrote:
> Mikael wrote:
>> "Jonathan Arnold" wrote:
>>
>>>Mikael wrote:
>>>
>>>>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.
>>
>> I really really hope that someone makes it work some day (I wish I had 
>> the knowledge to contribute), because it's on my top-three list of 
>> outstanding
>
> Well, you aren't going to get a colored prompt from within Emacs, but you
> can set it up in your .bashrc so it is usable.  I have this code in my 
> .bashrc:
>
> if [ "$EMACS" == "t" ]
> then
>     export PS1="*** \@ *** \w  ***\n\r"
> else
>     export PS1="*** $LCYAN\@$WHITE *** $YELLOW\w$WHITE  ***\n\r$NEUTRAL"
> fi
>
> So while it isn't colored, it gives me the info anyway.

Thanks, I will try that. Colors would be nice but I can live without them 
from inside emacs, I just want the path displayed correctly.

>
>> Thanks for the link, now it looks much better. Now I just need to find a 
>> font I like. Thanks for replying so quickly Jonathan with such excellent
>
> I checked the man page just sent out, and noticed the Shift-Keyboard-+ 
> and -
> shortcut that steps through the various possible fonts.  I'm not sure how
> you find out *what* font is selected, but it seems to work.
>
> -- 
> 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
>

/ M 




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