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

X-Spam-Check-By: sourceware.org
From: ericblake AT comcast DOT net (Eric Blake)
To: "Pavel Ivanoff" <Pavel DOT Ivanoff AT cbossgroup DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: sshd + bash = crush on CRs
Date: Mon, 19 Feb 2007 17:08:27 +0000
Message-Id: <021920071708.9710.45D9D98B0003F4EA000025EE22064244130A050E040D0C079D0A@comcast.net>
X-Mailer: AT&T Message Center Version 1 (Oct 4 2006)
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

> 
> I meant not my .bashrc and .bash_profile are readonly, but when I put
> into them the line like this:
> SHELLOPTS='igncr'
> after logging in bash says to me that SHELLOPTS is readonly variable and
> cannot be set.

Reread the release announcement.  SHELLOPTS auto-tracks
shell option settings, so you can do this in your .bash_profile:

export SHELLOPTS
set -o igncr

in order to change SHELLOPTS on the fly.

-- 
Eric Blake
volunteer cygwin bash maintainer

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