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: <4.3.1.2.20020320175512.02211c10@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Wed, 20 Mar 2002 18:03:36 -0500 To: cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: termcap problem in RXVT? In-Reply-To: <3C98F9DB.2020503@Salira.com> References: <20020319212030 DOT GB24191 AT tuxedo DOT skovlyporten DOT dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:06 PM 3/20/2002, Andrew DeFaria wrote: >Lars Munch wrote: > >>On Mon, Mar 18, 2002 at 04:20:00PM -0700, BERNDT, JON wrote: >> >>>I have installed CygWin on numerous machines using teh nice setup program at >>>cygwin.com. Recently, however, I have installed CygWin on two machines (one >>>a W2K machine and the other a Win98SE machine) and when I tried to run rxvt >>>I got strange behavior for the prompt. If I bring up a bash shell >>>immediately after installing, then type "rxvt" at the bash prompt, this is >>>what shows up in the rxvt console: >>> >>>--- start --- >>>\[\033]0;\w\007 >>>\033[32m\]\u@\h \[\033[33m\w\033[0m\] >>>$ --- end --- >>> >>>I am at a loss to explain what to do. This has not happened to me in prior >>>cygwin installs. I checked the FAQ and the mailing list archives for March, >>>but could not find any reference to anything new that should have caused >>>this. >>Put: >>export SHELL=/bin/bash >>in /etc/profile > >Yes. rxvt runs $SHELL if present otherwise /bin/sh. Now the real question is why isn't export SHELL=/bin/bash in /etc/profile, or, rather, why isn't the user's shell preference, specified in /etc/passwd taken and exported as SHELL? The short answer is "the answer is in the email archives". See: http://sources.redhat.com/ml/cygwin/2001-11/msg01018.html There's also various threads that follow this one where people are caught by the change in bash's behavior. There was mention of an idea which would have Cygwin set the environment variables that would normally be initialized during login on a *NIX system but it appears that functionality is waiting for a volunteer AFAICT. Wanna take a run at this? Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/