delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/19/08:54:18

X-Spam-Check-By: sourceware.org
Message-ID: <45D9ABDB.5070102@sh.cvut.cz>
Date: Mon, 19 Feb 2007 14:53:31 +0100
From: =?ISO-8859-1?Q?V=E1clav_Haisman?= <v DOT haisman AT sh DOT cvut DOT cz>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sshd + bash = crush on CRs
References: <A8427120F16F674DACE8EF1128D9365F0145C91C AT MAILSRV3 DOT int DOT cboss DOT ru>
In-Reply-To: <A8427120F16F674DACE8EF1128D9365F0145C91C@MAILSRV3.int.cboss.ru>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

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

Pavel Ivanoff wrote:
> Hi, all!
>=20
> After updating bash to newest version on my server I've met problems
> with CR on my scripts. I've solved them with setting system variable
> SHELLOPTS to 'igncr'. And now they work fine when I login to the server
> via Terminal Services. But when I login to the server via sshd (last
> version came with cygwin) it ignores all environment variables set in
> the system - SHELLOPTS too. So I have all my CR problems again. I can't
> put SHELLOPTS in my .bashrc or .bash_profile scripts because bash
> complains it's readonly. And I can't move CR out of scripts because they
Why is your $HOME/.bashrc and $HOME/.bash_profile read only? These files
are user's and you should be able to edit them however you want.

> are checked out from CVS in one bunch with other text files that have to
> be with windows CR-LF.
> So where can I make my SHELLOPTS environment variable working in sshd
> too?
All the sensible proposed solution to this change are described in one
or more Cygwin bash package release announcements. Read them. One way to
work around this is to have the necessary directories mounted with text
mounts.

>=20
> Sincerely,
> Pavel Ivanov

--
Vaclav Haisman


--------------enig1DB3FB78B6C85EAE3B0C5E85
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.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRdmr5ENOZDESBK8FAQJYDwf/QykjUoqKxitQFDCPfI9sYNec4nvqXJ5P
ylfqcevSSKX114ylHFfla1Nwo9J6GUKuJWxXy8JIiANd0PGEOD7JXOVRGB/tNTEh
dkhOI5qCHxXZEj78KjHilyL7w370wuggI56LEQYMcq+9RFLzqfpx09A3VWHfkprf
uzuplP71oHSdDJEnFeyl9XWP3WZoAHop2xvXnWjHY6rycJfm5buLKAOaxqpwGxBb
x3098lz1yVGExpRzHxUBjqMgBpSJlb9TERto/0kpSyImdsvtVB/LfJ+UJ4kU9rnr
EwILgeXlOfr+YuJcWBZV13K63YRfkN4www6kJpSVnhX+IkqeXrlUhA==
=PpLv
-----END PGP SIGNATURE-----

--------------enig1DB3FB78B6C85EAE3B0C5E85--

- Raw text -


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