delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/07/18:48:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_RX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <i106qt$q32$1@dough.gmane.org>
References: <i106qt$q32$1 AT dough DOT gmane DOT org>
Date: Wed, 7 Jul 2010 23:47:52 +0100
Message-ID: <AANLkTin1LVQ1S1NgYCZelOpYchU6Wy_Z3vNg6yinCVgE@mail.gmail.com>
Subject: Re: configure rxvt on cygwin 1.7.5
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 6 July 2010 22:22, philippe wrote:
> - =C2=A0/cygwin.bat to replace basic console by rxvt with the line
>
> rxvt -fn "-*-Courier-medium-r-*-18-*-*-*-*-iso8859-1" -geometry 80x30
> -sr -bg "#ffffd5" -fg "black" -sl 2000 -termName xterm -e /usr/bin/bash
> --login -i

Setting termName to "xterm" in rxvt is a bad idea, because the two
terminals diverge in various ways, for example regarding keycodes for
modifier key combinations. Better stick with TERM=3Drxvt.

> - and 've added =C2=A0/etc/bashrc with my promt definition :
>
> PS1=3D'\e[0m\][\e[32m\]\u\e[0m\]@\e[31m\]\h\e[0m\]\e[0m\]]\e[34m\]\w\e[0m=
\]>\n$
> '
>
> this last definition seems to be ignored anyway ...

Have a look at http://www.gnu.org/software/bash/manual/bashref.html#Bash-St=
artup-Files
to see which files are being sourced when bash is invoked with
--login.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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