This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: termcap problem in RXVT?


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@rfk.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]