public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* termcap problem in RXVT?
@ 2002-03-18 15:34 BERNDT, JON
  2002-03-18 16:34 ` Neil Zanella
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: BERNDT, JON @ 2002-03-18 15:34 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

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


 <<cygcheck.out>> 

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 11506 bytes --]

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-18 15:34 termcap problem in RXVT? BERNDT, JON
@ 2002-03-18 16:34 ` Neil Zanella
  2002-03-19 13:20 ` Gene C. Ruzicka
  2002-03-19 14:03 ` Lars Munch
  2 siblings, 0 replies; 15+ messages in thread
From: Neil Zanella @ 2002-03-18 16:34 UTC (permalink / raw)
  To: jsb; +Cc: 'cygwin@cygwin.com'


I am running Win2k and have always had this rxvt problem.
The other problem is the keyboard arrow for bash command
history do not seem to work either. What happens when you
type "echo $TERM"? Do you get rxvt or something else?

On Mon, 18 Mar 2002, 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
> 
> 
>  <<cygcheck.out>> 
> 


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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-18 15:34 termcap problem in RXVT? BERNDT, JON
  2002-03-18 16:34 ` Neil Zanella
@ 2002-03-19 13:20 ` Gene C. Ruzicka
  2002-03-19 14:03 ` Lars Munch
  2 siblings, 0 replies; 15+ messages in thread
From: Gene C. Ruzicka @ 2002-03-19 13:20 UTC (permalink / raw)
  To: jsb, cygwin



> 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
>
>
i've had that problem ever since i installed cygwin several months ago, but
i never brought it up here because i mostly use tcsh instead of bash.  it
looks
like a software bug.  i'm on W2K.

gene




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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-18 15:34 termcap problem in RXVT? BERNDT, JON
  2002-03-18 16:34 ` Neil Zanella
  2002-03-19 13:20 ` Gene C. Ruzicka
@ 2002-03-19 14:03 ` Lars Munch
  2002-03-20 13:36   ` Andrew DeFaria
  2 siblings, 1 reply; 15+ messages in thread
From: Lars Munch @ 2002-03-19 14:03 UTC (permalink / raw)
  To: jsb; +Cc: 'cygwin@cygwin.com'

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

-- Lars Munch

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-19 14:03 ` Lars Munch
@ 2002-03-20 13:36   ` Andrew DeFaria
  2002-03-20 15:13     ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 15+ messages in thread
From: Andrew DeFaria @ 2002-03-20 13:36 UTC (permalink / raw)
  To: cygwin

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?




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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-20 13:36   ` Andrew DeFaria
@ 2002-03-20 15:13     ` Larry Hall (RFK Partners, Inc)
  2002-03-20 17:34       ` Andrew DeFaria
  0 siblings, 1 reply; 15+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-03-20 15:13 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-20 15:13     ` Larry Hall (RFK Partners, Inc)
@ 2002-03-20 17:34       ` Andrew DeFaria
  2002-03-20 18:08         ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 15+ messages in thread
From: Andrew DeFaria @ 2002-03-20 17:34 UTC (permalink / raw)
  To: cygwin

Larry Hall (RFK Partners, Inc) wrote:

> The short answer is "the answer is in the email archives".


Not really. All the below reference says is that this is intentional, 
not why it's being done. My question was why.


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

Somebody's actually waiting for somebody else to put:

export SHELL

in /etc/profile?!?

I wouldn't mind taking a crack at this if 1) I knew the process of what 
needs to be done to "crack it" as it were (probably off of the Cygwin 
web page under contributors somewhere but this is such a simple change - 
it's not like I'm developing some package or something) and 2) Not 
knowing *why* "Bash no longer auto-exports HOME, PATH, SHELL and 
TERM..." I a bit hesitent to just export them.




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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-20 17:34       ` Andrew DeFaria
@ 2002-03-20 18:08         ` Larry Hall (RFK Partners, Inc)
  2002-03-20 21:51           ` Andrew DeFaria
  0 siblings, 1 reply; 15+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-03-20 18:08 UTC (permalink / raw)
  To: cygwin

At 08:13 PM 3/20/2002, Andrew DeFaria wrote:
>Larry Hall (RFK Partners, Inc) wrote:
>
>>The short answer is "the answer is in the email archives".
>
>
>Not really. All the below reference says is that this is intentional, not why it's being done. My question was why.

If you follow the later posts as I mention below, you might find the answers.



>>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?
>
>Somebody's actually waiting for somebody else to put:
>
>export SHELL
>
>in /etc/profile?!?
>
>I wouldn't mind taking a crack at this if 1) I knew the process of what needs to be done to "crack it" as it were (probably off of the Cygwin web page under contributors somewhere but this is such a simple change - it's not like I'm developing some package or something) and 2) Not knowing *why* "Bash no longer auto-exports HOME, PATH, SHELL and TERM..." I a bit hesitent to just export them.


If you're really interested in understanding what the background on this
issue is, you'll want to check out the discussions in the email archives
regarding the problems that arose when bash was changed.  

BTW, bash was changed because these environment variables are set at login
on *NIX platforms, so setting them in bash is redundant at best.  

But I still recommend looking at the email archives to understand 
everyone's ideas on this issue.





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/

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-20 18:08         ` Larry Hall (RFK Partners, Inc)
@ 2002-03-20 21:51           ` Andrew DeFaria
  2002-03-21  8:02             ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 15+ messages in thread
From: Andrew DeFaria @ 2002-03-20 21:51 UTC (permalink / raw)
  To: cygwin

Larry Hall (RFK Partners, Inc) wrote:

>>Not really. All the below reference says is that this is intentional, not why it's being done. My question was why.
> 
> If you follow the later posts as I mention below, you might find the answers.


Don't have the time.


> If you're really interested in understanding what the background on this
> issue is, you'll want to check out the discussions in the email archives
> regarding the problems that arose when bash was changed.  
> 
> BTW, bash was changed because these environment variables are set at login
> on *NIX platforms, so setting them in bash is redundant at best.  
> 
> But I still recommend looking at the email archives to understand 
> everyone's ideas on this issue.


I really don't have the time to do this. I just pointed out the issue.




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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-20 21:51           ` Andrew DeFaria
@ 2002-03-21  8:02             ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 15+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-03-21  8:02 UTC (permalink / raw)
  To: cygwin

At 11:58 PM 3/20/2002, Andrew DeFaria wrote:
>Larry Hall (RFK Partners, Inc) wrote:
>
>>>Not really. All the below reference says is that this is intentional, not why it's being done. My question was why.
>>If you follow the later posts as I mention below, you might find the answers.
>
>
>Don't have the time.
>
>
>>If you're really interested in understanding what the background on this
>>issue is, you'll want to check out the discussions in the email archives
>>regarding the problems that arose when bash was changed.  
>>BTW, bash was changed because these environment variables are set at login
>>on *NIX platforms, so setting them in bash is redundant at best.  
>>But I still recommend looking at the email archives to understand everyone's ideas on this issue.
>
>
>I really don't have the time to do this. I just pointed out the issue.



OK.  I guess I was just pointing out that this issue has already been 
discussed.  To my mind, it's not a problem awaiting a solution.  It's 
merely awaiting someone interested enough to implement the proper solution.




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/

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-19 12:55     ` Neil Zanella
@ 2002-03-19 13:08       ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 15+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-03-19 13:08 UTC (permalink / raw)
  To: Neil Zanella, Oleg; +Cc: cygwin

There is no /bin/ash.  There is /bin/sh and /bin/bash.  The shell you get 
when you run /bin/sh is ash and has been since B20 at least (i.e. a VERY
long time).  /bin/sh is not a link to anything.  I hope it's clear to 
everyone now that these two shells are different on Cygwin regardless of 
what they are in other environments (like Linux).  This is Cygwin and 
this is how things are here.

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



At 02:43 PM 3/19/2002, Neil Zanella wrote:

>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@cris.com>
> > To: <jsb@hal-pc.org>; <cygwin@cygwin.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/


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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-18 18:06   ` Oleg
@ 2002-03-19 12:55     ` Neil Zanella
  2002-03-19 13:08       ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 15+ messages in thread
From: Neil Zanella @ 2002-03-19 12:55 UTC (permalink / raw)
  To: Oleg; +Cc: cygwin


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@cris.com>
> To: <jsb@hal-pc.org>; <cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-18 15:47 ` Randall R Schulz
  2002-03-18 17:21   ` Jon S Berndt
@ 2002-03-18 18:06   ` Oleg
  2002-03-19 12:55     ` Neil Zanella
  1 sibling, 1 reply; 15+ messages in thread
From: Oleg @ 2002-03-18 18:06 UTC (permalink / raw)
  To: cygwin

I get the same rxvt behavior, so I start it with `rxvt -e /bin/bash`

Oleg

----- Original Message -----
From: "Randall R Schulz" <rrschulz@cris.com>
To: <jsb@hal-pc.org>; <cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
  2002-03-18 15:47 ` Randall R Schulz
@ 2002-03-18 17:21   ` Jon S Berndt
  2002-03-18 18:06   ` Oleg
  1 sibling, 0 replies; 15+ messages in thread
From: Jon S Berndt @ 2002-03-18 17:21 UTC (permalink / raw)
  To: cygwin

On Mon, 18 Mar 2002 15:34:20 -0800
  Randall R Schulz <rrschulz@cris.com> wrote:
>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.

Oops! I should have done this:

rxvt -exec bash -login -i &

I think. Sorry for the confusion, but thanks for the quick 
heads up.

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/

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: termcap problem in RXVT?
       [not found] <D60C43D4F66AD411A4AB00508BDF5C78070D095E@emss02m17.ems.lmc o.com>
@ 2002-03-18 15:47 ` Randall R Schulz
  2002-03-18 17:21   ` Jon S Berndt
  2002-03-18 18:06   ` Oleg
  0 siblings, 2 replies; 15+ messages in thread
From: Randall R Schulz @ 2002-03-18 15:47 UTC (permalink / raw)
  To: jsb, cygwin

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/

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2002-03-21 15:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-18 15:34 termcap problem in RXVT? BERNDT, JON
2002-03-18 16:34 ` Neil Zanella
2002-03-19 13:20 ` Gene C. Ruzicka
2002-03-19 14:03 ` Lars Munch
2002-03-20 13:36   ` Andrew DeFaria
2002-03-20 15:13     ` Larry Hall (RFK Partners, Inc)
2002-03-20 17:34       ` Andrew DeFaria
2002-03-20 18:08         ` Larry Hall (RFK Partners, Inc)
2002-03-20 21:51           ` Andrew DeFaria
2002-03-21  8:02             ` Larry Hall (RFK Partners, Inc)
     [not found] <D60C43D4F66AD411A4AB00508BDF5C78070D095E@emss02m17.ems.lmc o.com>
2002-03-18 15:47 ` Randall R Schulz
2002-03-18 17:21   ` Jon S Berndt
2002-03-18 18:06   ` Oleg
2002-03-19 12:55     ` Neil Zanella
2002-03-19 13:08       ` Larry Hall (RFK Partners, Inc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).