delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/20/14:59:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D389417.4020406@redhat.com>
Date: Thu, 20 Jan 2011 12:59:19 -0700
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Invoking GUI programs over SSH
References: <AANLkTi=m0aJ+xo6Gcr_CYWtMcVJjc0SBxfubnuXeg3Br AT mail DOT gmail DOT com> <4D34BD64 DOT 9050904 AT bopp DOT net> <AANLkTi=9rNRhtx=dwQari9v+Rrsun9Yg1VwgTnZoNeLz AT mail DOT gmail DOT com> <AANLkTikujecFG_j4-E1z8tD_9Zupy1TpW_cdFeJ52XTW AT mail DOT gmail DOT com> <ih3ntk$7aj$1 AT dough DOT gmane DOT org> <AANLkTik5jFdKfG8Gza89zECW92Tu6tdV+xKUk_9=0SgH AT mail DOT gmail DOT com> <ih67fc$fnq$1 AT dough DOT gmane DOT org> <AANLkTik0rxN_Y5AAfoJEs-+KTt87f6MA+f7P_m0KpQBD AT mail DOT gmail DOT com> <ih6lo8$ita$3 AT dough DOT gmane DOT org> <AANLkTikz150UHB_VLvirv2cc4MX8NcwVM2ZiPQ8r7uFk AT mail DOT gmail DOT com> <20110119155957 DOT GA12142 AT ednor DOT casa DOT cgf DOT cx> <AANLkTimgcSSawumtUp9tAHXxf77zGHstsz5bmu9muOyQ AT mail DOT gmail DOT com> <AANLkTinZTWvFyRG2nMZiyRm7=SizNi+LvP-jTZMeYfPe AT mail DOT gmail DOT com> <AANLkTimjEN_CoFZ3OJt2WCkFxMTjUG=7Pd3o=aSZsvS- AT mail DOT gmail DOT com> <AANLkTinHwssWvKax7R-mkPvgMN6v6Ma6D5r--YT9kuhe AT mail DOT gmail DOT com> <ih8mte$vbp$1 AT dough DOT gmane DOT org> <AANLkTimesLnJ--NmzbA4voxcaFTAhoNoqUYabTM4o4w3 AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTimesLnJ--NmzbA4voxcaFTAhoNoqUYabTM4o4w3@mail.gmail.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
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

--------------enig035FAC1D76C104C6AE076B32
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 01/20/2011 12:47 PM, David Antliff wrote:
> On Thu, Jan 20, 2011 at 20:06, Thorsten Kampe wrote:
>> * David Antliff (Thu, 20 Jan 2011 18:31:25 +1300)
>>> Actually there is one outstanding issue with this "Hudson slaves over
>>> SSH" issue - due to the inability for Cygwin's bash to run scripts
>>> with DOS line endings, we've had to use SHELLOPTS=3Digncr in our
>>> Cygwin.bat files, since it cannot be modified once bash is running.

Actually, it CAN be modified when bash is running, via 'set -o igncr'.

Reread the bash release announcement for the various ways to control the
igncr settings:
http://cygwin.com/ml/cygwin-announce/2010-12/msg00032.html

>>
>> Convert the shell scripts to LF endings.
>=20
> Yes, that would work, but it's not quite that simple - git clones
> files in CRLF format, with the autocrlf option set.

Are you using msysgit?  Because cygwin git does not clone files in CRLF
format on binary mounts (at least, it shouldn't, and if it does, that's
a bug in cygwin git).

> And no, you can't convert them to LF, recommit them in git, and expect
> them to check out later in LF format. They won't - they'll come out in
> CRLF format again, because of the way git works in Cygwin with
> autocrlf=3Dtrue set.

Use cygwin git when using cygwin.

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig035FAC1D76C104C6AE076B32
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNOJQXAAoJEKeha0olJ0NqmPAH/iPcdcuZ+8pdIHi7LMnWTMRz
JfkuPZyNp35CN9Vvz3Cclogo2mO18fff4XbV+/Bwv7VGYdAF3kpa5E+q+ntJZhXH
+b2AuHDytSOMVC/L+4h4ydOMHtc1Kjl1QmI/UUjuZBgUV/9EQ95AgIF6gxBSVG9m
hoBAbDXUB/dJ3Lcch3xXiYonmsIjL3lQiEwR6FrXR8dH3I5E4P7pAshrfg8bS0jv
nVGcJVkW3ONeT/ssXvElqSd2rB5H1V1W17/AZ2XvtIOSFfHPKK5pHfNhj1nk2irl
Y6/UGidkeAa8DE79NlhwF8tro04b1zKF7GlTCr6SIzvksZekt06disclVEIkHv8=
=UdPs
-----END PGP SIGNATURE-----

--------------enig035FAC1D76C104C6AE076B32--

- Raw text -


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