delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/09/09:35:58

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: CR/LF problems after upgrade
Date: Tue, 9 Jan 2007 09:35:40 -0500
Message-ID: <D1910DC3A90FB84ABD07C7162BA3349A65B76D@itexch01.170systems.com>
From: "Eramo, Mark" <meramo AT 170Systems DOT com>
To: <cygwin AT cygwin DOT com>
Cc: "Eric Blake" <ebb9 AT byu DOT net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l09EZkOs028207

-----Original Message-----
From: Eric Blake [mailto:ebb9 AT byu DOT net] 
Sent: Monday, January 08, 2007 11:27 PM
To: cygwin AT cygwin DOT com; Eramo, Mark
Subject: Re: CR/LF problems after upgrade

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://cygwin.com/acronyms/#TOFU - reformatted

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com
                    ^^^^      ^^^^^

http://cygwin.com/acronyms/#PCYMTNQREAIYR - raw email munged

> On 1/5/07, fschmidt  wrote:
>> Okay, how can I set SHELLOPTS before invoking bash?  I tried it in
the
>> /etc/profile but that didn't work.
>>

According to Eramo, Mark on 1/8/2007 9:33 AM:
> I have the same problem and I set this under the Windows System
> Variables as well as in the Cygwin shell window but neither worked. 

> Actually, it sounds like you don't have the same problem.

> 
> I use tsch as opposed to bash. Is there something different that needs
> to be set in this shell? 

>tcsh is not the same as bash, and SHELLOPTS does not affect tcsh
(although
>even with tcsh, you probably end up invoking a lot of sh scripts that
are
>affected).  You'll have to show a simple test case that someone else
can
>reproduce before we can offer help.

Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net

Thanks for the reply Eric. I actually tried this using bash first but I
think I maybe see what is wrong. 

First, I added the following Environment Variable

SHELLOPTS=igncr

I then Opened Cygwin (envoking bash) and issued the SET command to see
the environment. As you can see below, the SHELLOPTS variable does not
have igncr included 

SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:igncr:interactive
-comments:monitor

So, I just need to figure out why it's not picking it up (this must be
read only variable) and then how to get it added. Once I do that, I can
hopefully run an appropriate test. 

Thanks,

Mark



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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