[ANNOUNCEMENT] curl 7.54.0-1

2017-05-11 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* curl-7.54.0-1
* libcurl4-7.54.0-1
* libcurl-devel-7.54.0-1
* libcurl-doc-7.54.0-1
* mingw64-i686-curl-7.54.0-1
* mingw64-x86_64-curl-7.54.0-1

curl is a command line tool and library for transferring files with URL 
syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, 
and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP 
uploading, HTTP form based upload, proxies, cookies, user+password 
authentication (Basic, Digest, NTLM, Negotiate...), file transfer resume, 
proxy tunneling and a busload of other useful tricks.

This is an update to the latest upstream release, which includes fixes for 
a security regression:

https://curl.haxx.se/changes.html#7_54_0
https://curl.haxx.se/docs/adv_20170419.html

--
Yaakov

--
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] xz 5.2.3-1

2017-05-11 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* xz-5.2.3-1
* liblzma5-5.2.3-1
* liblzma-devel-5.2.3-1
* mingw64-i686-xz-5.2.3-1
* mingw64-x86_64-xz-5.2.3-1

XZ Utils is free general-purpose data compression software with high 
compression ratio. XZ Utils are the successor to LZMA Utils.

This is an update to the latest upstream release.

--
Yaakov

--
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] opus-tools 0.1.10-1

2017-05-11 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* opus-tools-0.1.10-1

Opus-tools provides command-line utilities to encode, inspect, and decode 
.opus files.

This is an initial release for Cygwin.

--
Yaakov

--
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] libgpg-error 1.27-1, libgcrypt 1.7.6-1

2017-05-11 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* libgcrypt20-1.7.6-1
* libgcrypt-devel-1.7.6-1
* libgpg-error0-1.27-1
* libgpg-error-devel-1.27-1
* mingw64-i686-libgcrypt-1.7.6-1
* mingw64-i686-libgpg-error-1.27-1
* mingw64-x86_64-libgcrypt-1.7.6-1
* mingw64-x86_64-libgpg-error-1.27-1

Libgcrypt is a general purpose crypto library based on the code used in 
GnuPG.

libgpg-error is a library that defines common error values for all GnuPG 
components.

This is an update to the latest upstream releases.

--
Yaakov

--
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: Access windows environment variable via cygwin

2017-05-11 Thread Larry Hall (Cygwin)

On 05/11/2017 10:44 PM, Eliot Moss wrote:

On 5/11/2017 9:14 PM, ChampS wrote:

Hi,

I want to use Cygwin to access all Windows applications installed on my
Windows 7 system. The
Problem is that Windows is using spaces in its environment variable 'Path'
and Cygwin can not handle
the spaces. Is there a way to use the Windows environment variable 'Path'
even with spaces in it?
For Example I want to start x86 sbt via Cygwin, then I will get the
following error message:
"/cygdrive/c/Program Files (x86)/sbt/bin/sbt: line 61:
/sbt-launch-lib.bash: No such file or
directory". But when I try it with the default Windows cmd it works.

Thought about something like iterating over the 'Path' environment
variable in bashrc and adapt the
strings to fit for Cygwin. But I don't know how I can access the Windows
environment variables and
how I could provide the adapted environment variable to Cygwin.

Someone an idea how I could solve this issue?


Yeah, spaces are hell in paths in the Posix/Linux kind of world.


Really, they are just as bad in the Windows world, as one quickly finds out
if you're at a command prompt.  Just as spaces in path and file names need
to be escaped in POSIX/Linux/Unix and like environments, Windows requires
the same thing.  It just uses different syntax for doing so.  But that's
OK.  Without all this complication, using computers would be no fun at all.
;-)

--
Larry

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: Access windows environment variable via cygwin

2017-05-11 Thread Brian Inglis
On 2017-05-11 19:14, ChampS wrote:
> I want to use Cygwin to access all Windows applications installed on
> my Windows 7 system. The Problem is that Windows is using spaces in
> its environment variable 'Path' and Cygwin can not handle the spaces.
> Is there a way to use the Windows environment variable 'Path' even
> with spaces in it? For Example I want to start x86 sbt via Cygwin,
> then I will get the following error message: "/cygdrive/c/Program
> Files (x86)/sbt/bin/sbt: line 61: /sbt-launch-lib.bash: No such file
> or directory". But when I try it with the default Windows cmd it
> works.

Cygwin has no problem with paths containing spaces.
Windows cmd will launch Windows programs in the registry even if their 
bin directories are not in your PATH, as will cygstart; otherwise  
Cygwin requires either that bin directories are in your PATH, or that 
you specify the full path to the executable when you run any program, 
and if there any spaces or other shell special characters in the full 
path, they needs quoted; quoting can use prefix \ or quotes e.g.
/cygdrive/c/Program\ Files\ \(x86\)/sbt/bin/sbt
'/cygdrive/c/Program Files (x86)/sbt/bin/sbt' as in ls or
"/cygdrive/c/Program Files (x86)/sbt/bin/sbt". 

> Thought about something like iterating over the 'Path' environment
> variable in bashrc and adapt the strings to fit for Cygwin. But I
> don't know how I can access the Windows environment variables and how
> I could provide the adapted environment variable to Cygwin.

Cygwin automatically converts all directories in your PATH 
when you start a process.
>From bash, echo "$PATH", to see what Cygwin has done.
Base utility cygpath -p allows you to do this on your own Windows 
environment variables like $CLASSPATH etc. as long as you properly 
quote the conversion e.g. 

$ CLASSPATH='C:\Program Files\Java;C:\Program Files (x86)\Java'
$ cp="$(cygpath -Up "$CLASSPATH")"
$ echo "$cp"
/proc/cygdrive/c/Program Files/Java:/proc/cygdrive/c/Program Files (x86)/Java
 
> Someone an idea how I could solve this issue?

If your scripts use environment variables, they should be careful 
to enclose uses of those variables in double quotes "$VAR".

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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: Access windows environment variable via cygwin

2017-05-11 Thread Eliot Moss

On 5/11/2017 9:14 PM, ChampS wrote:

Hi,

I want to use Cygwin to access all Windows applications installed on my Windows 
7 system. The
Problem is that Windows is using spaces in its environment variable 'Path' and 
Cygwin can not handle
the spaces. Is there a way to use the Windows environment variable 'Path' even 
with spaces in it?
For Example I want to start x86 sbt via Cygwin, then I will get the following 
error message:
"/cygdrive/c/Program Files (x86)/sbt/bin/sbt: line 61: /sbt-launch-lib.bash: No 
such file or
directory". But when I try it with the default Windows cmd it works.

Thought about something like iterating over the 'Path' environment variable in 
bashrc and adapt the
strings to fit for Cygwin. But I don't know how I can access the Windows 
environment variables and
how I could provide the adapted environment variable to Cygwin.

Someone an idea how I could solve this issue?


Yeah, spaces are hell in paths in the Posix/Linux kind of world.

What you need is to "protect" the spaces with \ or have them inside a quoted 
string.
Also, items in a path need to be separated by : and not ; 

This mostly has to do with understanding how strings, quoting, etc., work in
the Unix world and for bash in particular.  Over time I have developed methods
that work with these things that have space in them. For example, to add 
something
to the end of PATH:

PATH="${PATH}:/my/new/thing"

Here the quotes are important!  And they need to be " quotes not ' quotes!
( ' quotes would not allow ${PATH} to be expanded, while " quotes do allow 
that.)
Etc.

Regards - Eliot Moss

--
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] cygport 0.24.1-1

2017-05-11 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* cygport-0.24.1-1

cygport is the standard method for building and maintaining packages for 
the Cygwin distribution.

This release contains assorted bugfixes.

Jon Turney (1):
  Update documentation of all

Ken Brown (1):
  texlive: avoid bash warnings

Yaakov Selkowitz (7):
  wxwidgets: default to gtk3 with 3.x
  python-wheel: only clean build directory when needed
  python: fix typo in docs
  prepstrip: Flexlinked binaries use a special ImageBase
  nanorc: adjust regexes for nano 2.8
  Disallow package names with hyphen followed by digit
  Bump version to 0.24.1

--
Yaakov

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



Access windows environment variable via cygwin

2017-05-11 Thread ChampS

Hi,

I want to use Cygwin to access all Windows applications installed on my 
Windows 7 system. The Problem is that Windows is using spaces in its 
environment variable 'Path' and Cygwin can not handle the spaces. Is 
there a way to use the Windows environment variable 'Path' even with 
spaces in it? For Example I want to start x86 sbt via Cygwin, then I 
will get the following error message: "/cygdrive/c/Program Files 
(x86)/sbt/bin/sbt: line 61: /sbt-launch-lib.bash: No such file or 
directory". But when I try it with the default Windows cmd it works.


Thought about something like iterating over the 'Path' environment 
variable in bashrc and adapt the strings to fit for Cygwin. But I don't 
know how I can access the Windows environment variables and how I could 
provide the adapted environment variable to Cygwin.


Someone an idea how I could solve this issue?

Kind regards,
Ben

--
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: Git v2.12.3-1

2017-05-11 Thread Adam Dinwoodie
Version 2.12.3-1 of Git has been uploaded and should be coming soon to
a mirror near you. This update includes the following packages:

- git
- git-cvs
- git-debuginfo
- git-email
- git-gui
- gitk
- git-svn

This is an update to the latest upstream release.

For a full list of the upstream changes in this release, please refer
to the upstream changelogs:

https://git.kernel.org/cgit/git/git.git/tree/Documentation/RelNotes
https://kernel.googlesource.com/pub/scm/git/git.git/+/master/Documentation/RelNotes/
https://github.com/gitster/git/tree/master/Documentation/RelNotes

Enjoy!

Adam

--
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: setup release candidate - please test

2017-05-11 Thread Jim Reisert AD1C
Symantec Endpoint Protection v. 12.1.6  did not like this file, but I
was able to exclude it.

-- 
Jim Reisert AD1C, , http://www.ad1c.us

--
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: hdparm windows phisical disks question

2017-05-11 Thread Richard H Lee

What does

ls /dev/hd*
or
ls /dev/sd*

give you?

On 11/05/2017 16:21, Emanuele Belfiore wrote:

I'm using hdparm on windows, eg: hdparm -y /dev/hda My question is:
if I have more than 26 phisical disks, what parameter I have to pass
(/dev/hd?) ?


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



hdparm windows phisical disks question

2017-05-11 Thread Emanuele Belfiore
Hello,
I'm using hdparm on windows, eg:
hdparm -y /dev/hda
My question is: if I have more than 26 phisical disks, what parameter I have to 
pass (/dev/hd?) ?
Thank You

Emanuele Belfiore 

--
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: grep3.0 of cygwin changed treatment of CR/LF.

2017-05-11 Thread Marco Atzeri

On 11/05/2017 08:56, 川崎 正貴 wrote:

I found a problem on grep 3.0 on command prompt of Windows10 with 64bit
cygwin.
It seems that treatment of CR/LF is changed.
I expect cygwin disposes of CR/LF.



See announcement
https://sourceware.org/ml/cygwin-announce/2017-02/msg00035.html

use d2u to remove unwanted CR/LF sequence

Regards
Marco



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



cygwin@cygwin.com your Ref is 52114-975

2017-05-11 Thread Admin Email
Attn: % cygwin@cygwin.com %

Some days ago your email cygwin@cygwin.com was rewarded, please did you get the 
details of the email?

Angy Omari
(Contact Manager)
omaria...@yandex.com

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