delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/19/15:28:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 19 Mar 2002 16:13:58 -0330 (NST)
From: Neil Zanella <nzanella AT cs DOT mun DOT ca>
To: Oleg <oleg_inconnu AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: termcap problem in RXVT?
In-Reply-To: <00db01c1cedd$ef8946d0$b4546f9c@tw304h3>
Message-ID: <Pine.LNX.4.44.0203191611300.582-100000@garfield.cs.mun.ca>
MIME-Version: 1.0

Perhaps when rxvt was compiled bash was not installed on the system so
rxvt decided it would use ash as a default, or maybe /bin/sh is a link
to /bin/ash instead of /bin/bash. I wonder if there is a string one
can put in the app-defaults file so that /bin/bash is used.
Alternatively one can put the following line in the ~/.bash_profile

alias rxvt='rxvt -e /bin/bash'

and then

$ source ~/.bash_profile

Bye,

Neil

On Mon, 18 Mar 2002, Oleg wrote:

> I get the same rxvt behavior, so I start it with `rxvt -e /bin/bash`
> 
> Oleg
> 
> ----- Original Message -----
> From: "Randall R Schulz" <rrschulz AT cris DOT com>
> To: <jsb AT hal-pc DOT org>; <cygwin AT cygwin DOT com>
> Sent: Monday, March 18, 2002 6:34 PM
> Subject: Re: termcap problem in RXVT?
> 
> 
> > Jon,
> >
> > For whatever reason, you've managed to invoke /bin/sh (ash) instead of
> BASH
> > in the RXVT emulator context. Ash doesn't interpret the escape sequences
> in
> > the PS1 variable set up by /etc/profile to make the prompt conform to
> > someone's idea of utility and aesthetic merit.
> >
> > I don't know why on this machine you're getting a different shell than on
> > the others, but I'd investigate spurious or extraneous settings of the
> > SHELL environment variable, possibly originating at the Windows system
> level.
> >
> > Randall Schulz
> > Mountain View, CA USA
> >
> >
> > At 15:20 2002-03-18, 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.
> > >
> > >Jon
> >
> >
> > --
> > 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/
> 
> 
> --
> 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/
> 


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

- Raw text -


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