* Subshells don't respect CYGWIN settings with latest snapshots?
@ 2000-03-13 15:47 Charles Wilson
2000-03-13 17:45 ` Chris Faylor
0 siblings, 1 reply; 4+ messages in thread
From: Charles Wilson @ 2000-03-13 15:47 UTC (permalink / raw)
To: cygwin
(Sorry if this is a duplicate; my regular ISP is on the ORBS list right
now...sigh...and I'm not sure if the first one made it)
If I try to unpack a .tar.gz file with 'CYGWIN=nobinmode ntea tty' using
a pipe, I get an error -- this is the expected behavior (if the
tar-stream has binary characters..?).
/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
tar xf -
tar: Skipping to next file header
tar: Archive - EOF not on block boundary
tar: Error is not recoverable: exiting now
However, if my global environment settings contain 'CYGWIN=binmode ntea
tty', then the first rxvt/bash window I open works thusly:
/usr/local/src/redhat/SOURCES/tmp > echo $CYGWIN
tty ntea binmode
/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
tar xvf -
DelimMatch-1.04/
DelimMatch-1.04/DelimMatch.pm
DelimMatch-1.04/Makefile.PL
DelimMatch-1.04/MANIFEST
DelimMatch-1.04/README
DelimMatch-1.04/test.pl
Then, I start a subshell: in the first rxvt/bash window, I execute: rxvt
-e bash &. In the new bash window:
/usr/local/src/redhat/SOURCES/tmp > echo $CYGWIN
tty ntea binmode
/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
tar xvf -
DelimMatch-1.04/
DelimMatch-1.04/DelimMatch.pm
tar: Skipping to next file header
tar: Archive - EOF not on block boundary
tar: Error is not recoverable: exiting now
I see this behavior with the 20000311, 20000306, 20000228, 20000131,
20000106, and 19991124 snapshots. What's going on, anyone got a clue?
--Chuck
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Subshells don't respect CYGWIN settings with latest snapshots?
2000-03-13 15:47 Subshells don't respect CYGWIN settings with latest snapshots? Charles Wilson
@ 2000-03-13 17:45 ` Chris Faylor
2000-03-13 21:45 ` Charles Wilson
0 siblings, 1 reply; 4+ messages in thread
From: Chris Faylor @ 2000-03-13 17:45 UTC (permalink / raw)
To: cygwin
I'm sorry to say that I can't duplicate this behavior. Maybe I just
don't have a proper tar file or maybe my version of bash works differently.
I did check the "binmode" setting of a bash that was running in an rxvt
invoked from another bash and the the cygwin=binmode setting was propagated.
cgf
On Mon, Mar 13, 2000 at 06:51:06PM -0500, Charles Wilson wrote:
>(Sorry if this is a duplicate; my regular ISP is on the ORBS list right
>now...sigh...and I'm not sure if the first one made it)
>
>If I try to unpack a .tar.gz file with 'CYGWIN=nobinmode ntea tty' using
>a pipe, I get an error -- this is the expected behavior (if the
>tar-stream has binary characters..?).
>
>/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
>tar xf -
>tar: Skipping to next file header
>tar: Archive - EOF not on block boundary
>tar: Error is not recoverable: exiting now
>
>However, if my global environment settings contain 'CYGWIN=binmode ntea
>tty', then the first rxvt/bash window I open works thusly:
>
>/usr/local/src/redhat/SOURCES/tmp > echo $CYGWIN
>tty ntea binmode
>/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
>tar xvf -
>DelimMatch-1.04/
>DelimMatch-1.04/DelimMatch.pm
>DelimMatch-1.04/Makefile.PL
>DelimMatch-1.04/MANIFEST
>DelimMatch-1.04/README
>DelimMatch-1.04/test.pl
>
>Then, I start a subshell: in the first rxvt/bash window, I execute: rxvt
>-e bash &. In the new bash window:
>
>/usr/local/src/redhat/SOURCES/tmp > echo $CYGWIN
>tty ntea binmode
>/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
>tar xvf -
>DelimMatch-1.04/
>DelimMatch-1.04/DelimMatch.pm
>tar: Skipping to next file header
>tar: Archive - EOF not on block boundary
>tar: Error is not recoverable: exiting now
>
>I see this behavior with the 20000311, 20000306, 20000228, 20000131,
>20000106, and 19991124 snapshots. What's going on, anyone got a clue?
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Subshells don't respect CYGWIN settings with latest snapshots?
2000-03-13 17:45 ` Chris Faylor
@ 2000-03-13 21:45 ` Charles Wilson
2000-03-14 1:01 ` Glenn Spell
0 siblings, 1 reply; 4+ messages in thread
From: Charles Wilson @ 2000-03-13 21:45 UTC (permalink / raw)
To: cygwin
Chris Faylor wrote:
>
> I'm sorry to say that I can't duplicate this behavior. Maybe I just
> don't have a proper tar file or maybe my version of bash works differently.
>
> I did check the "binmode" setting of a bash that was running in an rxvt
> invoked from another bash and the the cygwin=binmode setting was propagated.
>
> cgf
>
Well, that's what confused me. The cygwin=binmode setting was
propagated, but not *respected* in the child shell.
However, your hint gave me the answer. It was my version of bash; I had
compiled 2.03.0(2) and was using that. When I reverted to 2.02.1(2)
[from the snapshots, I think] it worked. Are there any special
configuration settings I should choose when compiling bash?
--Chuck
> On Mon, Mar 13, 2000 at 06:51:06PM -0500, Charles Wilson wrote:
> >(Sorry if this is a duplicate; my regular ISP is on the ORBS list right
> >now...sigh...and I'm not sure if the first one made it)
> >
> >If I try to unpack a .tar.gz file with 'CYGWIN=nobinmode ntea tty' using
> >a pipe, I get an error -- this is the expected behavior (if the
> >tar-stream has binary characters..?).
> >
> >/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
> >tar xf -
> >tar: Skipping to next file header
> >tar: Archive - EOF not on block boundary
> >tar: Error is not recoverable: exiting now
> >
> >However, if my global environment settings contain 'CYGWIN=binmode ntea
> >tty', then the first rxvt/bash window I open works thusly:
> >
> >/usr/local/src/redhat/SOURCES/tmp > echo $CYGWIN
> >tty ntea binmode
> >/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
> >tar xvf -
> >DelimMatch-1.04/
> >DelimMatch-1.04/DelimMatch.pm
> >DelimMatch-1.04/Makefile.PL
> >DelimMatch-1.04/MANIFEST
> >DelimMatch-1.04/README
> >DelimMatch-1.04/test.pl
> >
> >Then, I start a subshell: in the first rxvt/bash window, I execute: rxvt
> >-e bash &. In the new bash window:
> >
> >/usr/local/src/redhat/SOURCES/tmp > echo $CYGWIN
> >tty ntea binmode
> >/usr/local/src/redhat/SOURCES/tmp > gzip -cd DelimMatch-1.04.tar.gz |
> >tar xvf -
> >DelimMatch-1.04/
> >DelimMatch-1.04/DelimMatch.pm
> >tar: Skipping to next file header
> >tar: Archive - EOF not on block boundary
> >tar: Error is not recoverable: exiting now
> >
> >I see this behavior with the 20000311, 20000306, 20000228, 20000131,
> >20000106, and 19991124 snapshots. What's going on, anyone got a clue?
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Subshells don't respect CYGWIN settings with latest snapshots?
2000-03-13 21:45 ` Charles Wilson
@ 2000-03-14 1:01 ` Glenn Spell
0 siblings, 0 replies; 4+ messages in thread
From: Glenn Spell @ 2000-03-14 1:01 UTC (permalink / raw)
To: cygwin
On 14 Mar 2000 around 12:45AM (-0500) Charles Wilson wrote:
> However, your hint gave me the answer. It was my version of bash; I had
> compiled 2.03.0(2) and was using that. When I reverted to 2.02.1(2)
Where does one get 2.03.0(2)?
2.03.0(1) is all I've found at gnu and cwru.
-glenn
--
________________________________________ _ _____
) )_ _ (__\____o /_/_ |
) Glenn Spell <glenn@gs.fay.nc.us> ) >-----._/_/__]>
)________________________________________) `0 |
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-03-14 1:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-13 15:47 Subshells don't respect CYGWIN settings with latest snapshots? Charles Wilson
2000-03-13 17:45 ` Chris Faylor
2000-03-13 21:45 ` Charles Wilson
2000-03-14 1:01 ` Glenn Spell
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).