X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Subject: sshd + bash = crush on CRs
Date: Mon, 19 Feb 2007 16:45:41 +0300
Message-ID: <A8427120F16F674DACE8EF1128D9365F0145C91C@MAILSRV3.int.cboss.ru>
From: "Pavel Ivanoff" <Pavel.Ivanoff@cbossgroup.com>
To: <cygwin@cygwin.com>
X-Spam-Yversion: CBOSS_spam_fighter
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l1JDk39q001380

Hi, all!

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

Sincerely,
Pavel Ivanov

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


