This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: sshd + bash = crush on CRs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]