Re: [ANNOUNCEMENT] Updated: base-files-4.0-7

2012-02-12 Thread David Sastre Medina
On Sat, Feb 11, 2012 at 11:11:21PM +1100, Mike Kaganski wrote:
 new .bash_profile, line 27:
 
 export LANG=${locale -uU}
 looks like it should be
 export LANG=$(locale -uU)

Thanks for reporting, and sorry for the inconvenience.
Fixed in base-files-4.0-8.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Updated: base-files-4.0-7

2012-02-12 Thread David Sastre Medina
On Sat, Feb 11, 2012 at 11:08:25AM -0800, David Rothenberger wrote:
 2/10/2012 2:09 PM, David Sastre Medina wrote:
  * Environment variable SHELL is now exported from /etc/profile.
Improved profile_d() function in /etc/profile - Cyrille Lefevre
cygwin.com/ml/cygwin/2011-11/msg00128.html
 
 I'm having some troubles due to this change. I'm using bash, and the
 new /etc/profile exports SHELL=bash.
 
 This breaks ssh when using a ProxyCommand. I have this in my
 ~/.ssh/config file:
 
 Host somehost
  ProxyCommand ssh -q otherhost /usr/bin/nc %h %p
 
 When I try to ssh to somehost, I get:
 
 % ssh somehost
 bash: No such file or directory
 ssh_exchange_identification: Connection closed by remote host
 
 If I set SHELL to /bin/bash (which is how it was defaulted before it
 was set in /etc/profile), everything works fine.

Thanks for reporting. Exporting SHELL form /etc/profile was suppossed
to add functionality, not to break anything :-/
Anyway, since base-files doesn't know if your shell is /bin/bash, or
/usr/local/bin/bash or any other, I think I have to remove it from
/etc/profile.
Will be fixed in base-files-4.0-8

Sorry for the inconvenience.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [ANNOUNCEMENT] Updated: base-files-4.0-7

2012-02-11 Thread Mike Kaganski

new .bash_profile, line 27:

export LANG=${locale -uU}

looks like it should be

export LANG=$(locale -uU)

--
Best regards, Mike.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Updated: base-files-4.0-7

2012-02-11 Thread David Rothenberger
2/10/2012 2:09 PM, David Sastre Medina wrote:
 * Environment variable SHELL is now exported from /etc/profile.
   Improved profile_d() function in /etc/profile - Cyrille Lefevre
   cygwin.com/ml/cygwin/2011-11/msg00128.html

I'm having some troubles due to this change. I'm using bash, and the
new /etc/profile exports SHELL=bash.

This breaks ssh when using a ProxyCommand. I have this in my
~/.ssh/config file:

Host somehost
 ProxyCommand ssh -q otherhost /usr/bin/nc %h %p

When I try to ssh to somehost, I get:

% ssh somehost
bash: No such file or directory
ssh_exchange_identification: Connection closed by remote host

If I set SHELL to /bin/bash (which is how it was defaulted before it
was set in /etc/profile), everything works fine.

-- 
David Rothenberger    daver...@acm.org


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] Updated: base-files-4.0-7

2012-02-10 Thread David Sastre Medina
Version 4.0-6 of base-files has been uploaded.

Base-files is a set of system configuration and setup files.

Change Log
--
4.0-7
* Environment variable SHELL is now exported from /etc/profile.
  Improved profile_d() function in /etc/profile - Cyrille Lefevre
  cygwin.com/ml/cygwin/2011-11/msg00128.html
* TMP and TEMP as defined in the Windows environment must be kept
  for windows apps, even if started from cygwin - Atry
  cygwin.com/ml/cygwin/2012-01/msg00201.html
* Added two files under /etc/profile.d/ that use tzset, which
  uses the geographical location setting of the user to find the right
  mapping, rather than the locale setting. Only on Windows 2000 which
  doesn't know about the user's geographical location, or if fetching
  the geographical location fails, it falls back to the user's locale.
  Corrected error in var setting - Corinna Vinschen
  See cygwin.com/ml/cygwin-developers/2012-01/msg00042.html,
  cygwin.com/ml/cygwin-developers/2012-01/msg00044.html
  Updated manifest.
* Added CC0 license header to scripts, and the CC0 license
  itself which is under /usr/share/doc/common-licenses/.
  Modified locale setting in /etc/profile.d/lang.{sh,csh} to
  honor the OS setting.
  Corrected some files' header info.
  Added Greg's Wiki's URL in /etc/profile.
  Bumped version number.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look at the
List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available starting
at this URL.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Updated: base-files-4.0-7

2012-02-10 Thread David Sastre Medina
Version 4.0-6 of base-files has been uploaded.

Base-files is a set of system configuration and setup files.

Change Log
--
4.0-7
* Environment variable SHELL is now exported from /etc/profile.
  Improved profile_d() function in /etc/profile - Cyrille Lefevre
  cygwin.com/ml/cygwin/2011-11/msg00128.html
* TMP and TEMP as defined in the Windows environment must be kept
  for windows apps, even if started from cygwin - Atry
  cygwin.com/ml/cygwin/2012-01/msg00201.html
* Added two files under /etc/profile.d/ that use tzset, which
  uses the geographical location setting of the user to find the right
  mapping, rather than the locale setting. Only on Windows 2000 which
  doesn't know about the user's geographical location, or if fetching
  the geographical location fails, it falls back to the user's locale.
  Corrected error in var setting - Corinna Vinschen
  See cygwin.com/ml/cygwin-developers/2012-01/msg00042.html,
  cygwin.com/ml/cygwin-developers/2012-01/msg00044.html
  Updated manifest.
* Added CC0 license header to scripts, and the CC0 license
  itself which is under /usr/share/doc/common-licenses/.
  Modified locale setting in /etc/profile.d/lang.{sh,csh} to
  honor the OS setting.
  Corrected some files' header info.
  Added Greg's Wiki's URL in /etc/profile.
  Bumped version number.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look at the
List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available starting
at this URL.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature