Re: How to stop Cygwin git giving away my internal network structure?

2016-12-21 Thread Corinna Vinschen
On Dec 21 08:32, Andrey Repin wrote:
> Greetings, All!
> 
> When I commit into my local repository, the commit author name is shown as
> U-\ or \
> 
> How to make it stop doing that? I'm not comfortable with giving away my
> internal network structure.

$ git config --global add user.name "Madonna de Puenta del Sol"
$ git config --global add user.email "mado...@puenta-del-sol.org"


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: [ANNOUNCEMENT] Updated: OpenSSH-7.4p1-1

2016-12-21 Thread Corinna Vinschen
On Dec 20 23:46, Ismail Donmez wrote:
> On Tue, Dec 20, 2016 at 9:44 PM, Corinna Vinschen wrote:
> > I've just updated the Cygwin version of OpenSSH to 7.4p1-1.
> >
> > This is primarily an upstream bugfix release.
> >
> > Below's the original release message.
> [...]
> >  * ssh(1): Add a proxy multiplexing mode to ssh(1) inspired by the
> >version in PuTTY by Simon Tatham. [...]
> 
> Looks like this could be used for connection multiplexing on Cygwin.
> Since it doesn't seem to be documented I am not sure how one can test
> it, but ...
> 
> with
> 
> 
> Host *
> ControlMaster auto
> ControlPath ~/.ssh/master-%r@%h:%p
> 
> latte ~ > ssh i10z.com
> mux_client_request_session: read from master failed: Connection reset by peer
> Failed to connect to new control master
> 
> --> Fails as expected, lets retry.
> 
> latte ~ > ssh i10z.com
> mux_client_request_session: read from master failed: Connection reset by peer
> ControlSocket /home/ismail/.ssh/master-ism...@i10z.com:22 already
> exists, disabling multiplexing
> Welcome to Ubuntu 16.10 (GNU/Linux 4.8.0-30-generic x86_64)
> 
>  * Documentation:  https://help.ubuntu.com
>  * Management: https://landscape.canonical.com
>  * Support:https://ubuntu.com/advantage
> Last login: Tue Dec 20 23:42:56 2016 from 
> 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79
> 
> --> Started a new session and created the master too.
> 
> latte ~ > ssh -O proxy i10z.com
> Welcome to Ubuntu 16.10 (GNU/Linux 4.8.0-30-generic x86_64)
> 
>  * Documentation:  https://help.ubuntu.com
>  * Management: https://landscape.canonical.com
>  * Support:https://ubuntu.com/advantage
> Last login: Tue Dec 20 23:43:02 2016 from 
> 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79
> 
> --> Started a new session.
> 
> latte ~ > ssh -O proxy i10z.com
> Last login: Tue Dec 20 23:43:06 2016 from 
> 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79
> 
> --> Voila, it used the existing connection!
> 
> And after that it indeed seems to be using the old connection as long
> as you specify -O proxy option.
> 
> Something to play with I guess.

Neat.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: Package x3270 installation error: startx crashes

2016-12-21 Thread Marco Atzeri

On 20/12/2016 22:21, SERGEY BULDYREV wrote:

Dear All,


In November 2016 I tried several times to install Cygwin 2.6.0 from

the official cite setup-x86_64.exe form various mirrors. Installation always 
ended with an error:Package: _/x3270
   x3270.sh exit code 1


can you try to run the script
etc/postinstall/x3270.sh

If no failure is reported you can rename it as
etc/postinstall/x3270.sh.done
so that will not be rerun next time you run the setup.



I am using windows 10 on a Dell Laptop XPS 15.
When I tried startx from mintty, it always crashes.


Have you tried startxwin ?

When reporting problem please follows

Problem reports:   http://cygwin.com/problems.html


and attach the cygcheck.out.

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



Re: [ANNOUNCEMENT] Updated: OpenSSH-7.4p1-1

2016-12-21 Thread Frank Fesevur
2016-12-20 21:44 GMT+01:00 Corinna Vinschen:
>  * The next release of OpenSSH will remove support for running sshd(8)
>with privilege separation disabled.

Just noticed this.

Not sure what that means for Cygwin ssh servers.
I think I did the right thing when I installed ssh on my servers back
in the day, but any advise on how to see what choices I mad?

Regards,
Frank

--
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: open IE from command line

2016-12-21 Thread Nellis, Kenneth
Thanx to all who responded to my query...

> On 12/20/16, Nellis, Kenneth wrote:
> > How to open a web page (remote or local) or launch IE from the
> > mintty/bash command line?

I've tried all the suggestions and the same thing happens:
IE flashes on the screen and immediately disappears.
Indeed, IE is my default browser.

I suspect the issue is that some required DLLs are not in
my PATH. Indeed, my Cygwin PATH is a pruned version of my 
Windows PATH.

--Ken Nellis

--
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: compile python executable file on cygwin for windows

2016-12-21 Thread Erik Bray
On Tue, Dec 20, 2016 at 5:52 PM, Goodman Leung  wrote:
> i tried cygcheck , there was no error report from it .
> and i check my program again, the error info is  , program can not find
> cygwin1.dll,
>
> i check that fell,it is under c:\cygwin\bin\cygwin1.dll
> cygcheck can also find it .

You need to make sure that cygwin1.dll and any other required DLLs are
bundled with your application, preferably in the same directory, or
else it won't be able to find them.  There's a good tutorial here:

https://www.youtube.com/watch?v=abM_ysmpenc

> On 2016/12/20 0:45, Erik Bray wrote:
>>
>> On Mon, Dec 19, 2016 at 4:07 PM, Goodman Leung 
>> wrote:
>>>
>>> hi all
>>>
>>> i install python and pyinstaller on cygwin , and i can run pyinstaller
>>> successfully to compile a exe file on the  cygwin environment .
>>>
>>> but when i launch this executable file on window with double click , it
>>> occur a error and tell me the program can not find "cygwin.dll" (i can
>>> not
>>> remember what it exactly is ).
>>>
>>> can cygwin compile a windows python executable program .or we should
>>> treat
>>> cygwin like a pure linux OS that all things we have done on it just
>>> compatible with linux only
>>
>> I don't think pyinstaller knows anything about Cygwin explicitly.
>> Instead, you need to list all DLLs used by your program (namely
>> cygwin1.dll, possibly others) in the spec file for your installer, so
>> that it copies them into the package too.
>>
>> You can use the cygcheck program to check exactly which DLLs are
>> required by the executables in your program.  For example you will
>> also likely need Cygwin's libpythonXY.dll, and possibly others.
>>
>> --
>> 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
>>
>
>
> --
> 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
>

--
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: open IE from command line

2016-12-21 Thread Buchbinder, Barry (NIH/NIAID) [E]
Nellis, Kenneth sent the following at Wednesday, December 21, 2016 9:11 AM
>Thanx to all who responded to my query...
>> On 12/20/16, Nellis, Kenneth wrote:
>> > How to open a web page (remote or local) or launch IE from the
>> > mintty/bash command line?
>
>I've tried all the suggestions and the same thing happens: IE flashes on
>the screen and immediately disappears. Indeed, IE is my default browser.
>
>I suspect the issue is that some required DLLs are not in my PATH.
>Indeed, my Cygwin PATH is a pruned version of my Windows PATH.

If you have a Windows shortcut to IE, try
cygstart "C:\[path to shortcut]\Internet Explorer.lnk"

For the record, these work for me:
cygstart "C:\Program Files\Internet Explorer\iexplore.exe" 
cygstart "C:\Program Files\Internet Explorer\iexplore.exe" 
"http://www.google.com"; 

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.




add to mirror list

2016-12-21 Thread Mirror Universitas Pasundan
I'm a system administrator of Universitas Pasundan Bandung - one of
the largest University in Bandung Indonesia. I'm being responsible for
becoming a mirror of community sites. Here my mirror information
url = http://cygwin.repo.unpas.ac.id/cygwin/
Location = Indonesia: repo.unpas.ac.id(http)

--
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: open IE from command line

2016-12-21 Thread Lee
On 12/21/16, Nellis, Kenneth wrote:
> Thanx to all who responded to my query...
>
>> On 12/20/16, Nellis, Kenneth wrote:
>> > How to open a web page (remote or local) or launch IE from the
>> > mintty/bash command line?
>
> I've tried all the suggestions and the same thing happens:
> IE flashes on the screen and immediately disappears.
> Indeed, IE is my default browser.
>
> I suspect the issue is that some required DLLs are not in
> my PATH.

Not a problem for me:
$ echo $PATH
/usr/bin

$ cmd /c "C:\Program Files\Internet Explorer\iexplore.exe"
"https://www.google.com";
-bash: cmd: command not found

$ cygstart "C:\Program Files\Internet Explorer\iexplore.exe"
"https://www.google.com";
  -- starts IE & loads www.google.com

What happens if you do
"C:\Program Files\Internet Explorer\iexplore.exe" "https://www.google.com";
in a dos window?

Lee

--
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: [ANNOUNCEMENT] Updated: OpenSSH-7.4p1-1

2016-12-21 Thread Corinna Vinschen
On Dec 21 14:21, Frank Fesevur wrote:
> 2016-12-20 21:44 GMT+01:00 Corinna Vinschen:
> >  * The next release of OpenSSH will remove support for running sshd(8)
> >with privilege separation disabled.
> 
> Just noticed this.
> 
> Not sure what that means for Cygwin ssh servers.
> I think I did the right thing when I installed ssh on my servers back
> in the day, but any advise on how to see what choices I mad?

In /etc/sshd_config:

  UsePrivilegeSeparation yes



Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


RE: open IE from command line

2016-12-21 Thread Nellis, Kenneth
From: Nellis, Kenneth 
> I suspect the issue is that some required DLLs are not in
> my PATH. Indeed, my Cygwin PATH is a pruned version of my
> Windows PATH.

Actually, that's not the case and is irrelevant as Lee demon-
strates in https://cygwin.com/ml/cygwin/2016-12/msg00220.html.

Comparing the output from
Windows: C:/>path
and
cygwin/bash: $ cmd /c path
shows only new paths added to support Cygwin.

I'm on Microsoft Windows 7 Enterprise Edition, 64-bit Service Pack 1 (build 
7601)

FWIW, output from "cygcheck -svr" attached.

--Ken Nellis


cygcheck.out
Description: cygcheck.out

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

can't access /cygdrive/c/Windows/Sysnative ?

2016-12-21 Thread Lester Ingber
In some older cygwin posts, I see cygwin use of Sysnative for 64-bit
access to System32 files.  In my Cygwin64 installation on my Thinkpad
Windows 10 x64 Pro PC I cannot see Sysnative at all under cygwin.
However, for example, using windows opened by Malwarebytes I can access
this directory just fine.

How can I see/access Sysnative under cygwin?


--
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: [ANNOUNCEMENT] Updated: OpenSSH-7.4p1-1

2016-12-21 Thread Erik Soderquist
On Wed, Dec 21, 2016 at 11:41 AM, Corinna Vinschen wrote:
> In /etc/sshd_config:
>
>   UsePrivilegeSeparation yes

Essentially this no longer becomes optional?  Or am I misreading?

-- Erik

--
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: Package x3270 installation error: startx crashes

2016-12-21 Thread Peter A. Castro

On Wed, 21 Dec 2016, Marco Atzeri wrote:


Date: Wed, 21 Dec 2016 10:56:23 +0100
From: Marco Atzeri 
To: cygwin@cygwin.com
Subject: Re: Package x3270 installation error: startx crashes

On 20/12/2016 22:21, SERGEY BULDYREV wrote:

Dear All,


In November 2016 I tried several times to install Cygwin 2.6.0 from

the official cite setup-x86_64.exe form various mirrors. Installation 
always ended with an error:Package: _/x3270

   x3270.sh exit code 1


can you try to run the script
etc/postinstall/x3270.sh


There is a known issue with this postinstall.  It invokes mkfontdir which 
throws an error because of the options it uses.  This can be ignored. 
I'll fix it eventually.



If no failure is reported you can rename it as
etc/postinstall/x3270.sh.done
so that will not be rerun next time you run the setup.


Just rename it.

You will need to manually rebuild the font cache with mkfontdir.


I am using windows 10 on a Dell Laptop XPS 15.
When I tried startx from mintty, it always crashes.


Have you tried startxwin ?

When reporting problem please follows

Problem reports:   http://cygwin.com/problems.html


and attach the cygcheck.out.

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



--
--=> Peter A. Castro
Email: doctor at fruitbat dot org / Peter dot Castro at oracle dot com
"Cats are just autistic Dogs" -- Dr. Tony Attwood

--
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: can't access /cygdrive/c/Windows/Sysnative ?

2016-12-21 Thread Brian Inglis
On 2016-12-21 10:09, Lester Ingber wrote:
> In some older cygwin posts, I see cygwin use of Sysnative for 64-bit 
> access to System32 files. In my Cygwin64 installation on my Thinkpad 
> Windows 10 x64 Pro PC I cannot see Sysnative at all under cygwin.
> However, for example, using windows opened by Malwarebytes I can
> access this directory just fine.
> How can I see/access Sysnative under cygwin?

Run Cygwin 32 - there only used to be 32 bit Cygwin and old posts 
assume that environment.

Native 64 bit directories are:

C:\Windows\System32 (64 bit)C:\Windows\SysWOW64 (32 bit)

under 32 bit redirection these become:

C:\Windows\SysNative (64 bit)   C:\Windows\System32 (32 bit)

to support poorly written programs that don't use the proper API call 
to get the directory name; see:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187(v=vs.85).aspx

for full list of paths redirected from 32 bit code on a 64 bit system.

-- 
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: [ANNOUNCEMENT] Updated: OpenSSH-7.4p1-1

2016-12-21 Thread Corinna Vinschen
On Dec 21 12:39, Erik Soderquist wrote:
> On Wed, Dec 21, 2016 at 11:41 AM, Corinna Vinschen wrote:
> > In /etc/sshd_config:
> >
> >   UsePrivilegeSeparation yes
> 
> Essentially this no longer becomes optional?  Or am I misreading?

Yes.  No.  In this order :)


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: [ANNOUNCEMENT] Updated: OpenSSH-7.4p1-1

2016-12-21 Thread Brian Inglis
On 2016-12-21 10:39, Erik Soderquist wrote:
> On Wed, Dec 21, 2016 at 11:41 AM, Corinna Vinschen wrote:
>> In /etc/sshd_config:
>>   UsePrivilegeSeparation yes
> Essentially this no longer becomes optional? Or am I misreading?

They are dropping support for the *no* option.
The default is currently *sandbox*, which adds additional 
restrictions to *yes* prior to login.
If you don't have the option in sshd_config you're secure, and will 
not have any problems with upgrades or known exploits.

-- 
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: How to stop Cygwin git giving away my internal network structure?

2016-12-21 Thread Andrey Repin
Greetings, Corinna Vinschen!

> On Dec 21 08:32, Andrey Repin wrote:
>> Greetings, All!
>> 
>> When I commit into my local repository, the commit author name is shown as
>> U-\ or \
>> 
>> How to make it stop doing that? I'm not comfortable with giving away my
>> internal network structure.

> $ git config --global add user.name "Madonna de Puenta del Sol"
> $ git config --global add user.email "mado...@puenta-del-sol.org"

Neat. Thanks. :)

Just one correction for those might be reading it: it's

$ git config --global --add name "value"


-- 
With best regards,
Andrey Repin
Wednesday, December 21, 2016 21:44:14

Sorry for my terrible english...


--
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: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2016-12-21 Thread David Stacey

On 18/12/16 08:41, Corinna Vinschen wrote:

I uploaded Cygwin to release 2.6.1-1.
Just a curiosity: the file timestamps for the source and binary are a 
day apart. Normally, both are created and uploaded at the same time. I'm 
sure there's a good reason for this, but just being cautious...


Dave.


--
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: can't access /cygdrive/c/Windows/Sysnative ?

2016-12-21 Thread Lester Ingber
So, I guess that I should have seen that the Windows 10 Ubuntu bash.exe
is actually written as a 32 bit code (they didn't use the 64-bit code
as on my other true Ubuntu x64 platform?) from the PE32+ info?:

12:08:44pm ingber@lesterX1:/cygdrive/c/Windows/System32# ls -l bash.exe
-rwxr-x---+ 2 TrustedInstaller TrustedInstaller 70656 Oct 14 20:57
bash.exe
12:08:48pm ingber@lesterX1:/cygdrive/c/Windows/System32# file bash.exe
bash.exe: PE32+ executable (console) x86-64, for MS Windows

Thanks.


--
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: Please explain how to add to a thread in this mailing list

2016-12-21 Thread Lester Ingber
Since gmail inserts extra characters that are not recognized as text, I
am using mutt.

mutt does not permit adding References: headers.  Instead, I seem to be
OK getting
"Message-ID: <...>"
from the Raw link, and changing this to
"In-Reply-To: <...>"

Is there a better/different way of replying to cygwin posts?

Lester


--
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: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2016-12-21 Thread Corinna Vinschen
On Dec 21 19:10, David Stacey wrote:
> On 18/12/16 08:41, Corinna Vinschen wrote:
> > I uploaded Cygwin to release 2.6.1-1.
> Just a curiosity: the file timestamps for the source and binary are a day
> apart. Normally, both are created and uploaded at the same time. I'm sure
> there's a good reason for this, but just being cautious...

Dunno who touched the date of the source files, they should be the same
date as the binary files.  However, only the date is weird, the files are
still intact.  For your safety, here are the expected sha512sums:

32 bit:

7f23816d247419ce991a672388d8e1e69ac768992a686d86f2b8550f6b89fc5387d09290ae1b0298d0352af17783c13133326487766925a85bdbc663031b539f
  cygwin-2.6.1-1-src.tar.xz
81fa22f667661f214281573ae597bdffa071603bfe19ff9d72871fffee722080df22a60f5bcbd60307c718371259570f671671254864afe1449a76c6610bb392
  cygwin-2.6.1-1.tar.xz
47ddce4460fd1eafc7e43db9175e409204c0eff48336c3bb8891972113ac60d177e93d728d9c57b2ce6d36d5ac5688451f1455a0f25eb8f57cd870f621c7b17d
  cygwin-debuginfo/cygwin-debuginfo-2.6.1-1.tar.xz
667e41ae67de8d98d9f53ba09326d34570a766e740fc871f8011773068f71ad71daf11bd185d9efe5725b161c3038ce308c88d5dc59e3efc9bc4127f14a9e7cc
  cygwin-devel/cygwin-devel-2.6.1-1.tar.xz
b740acccd9b8a44e2b02500050ab459cc03a576860e3e75d9e5388b0c32baf91cda0447220a15f9cadfb68ccd5fe10b574fb3f586bacea7f46afe4652ed4b637
  cygwin-doc/cygwin-doc-2.6.1-1.tar.xz

64 bit:

ed36e03fa1bdd1aa57ffa4865c1d110ff9110daed57c0f146b8475127b2cf397c2ac6d3c38f5e7843636a47bc48432937ae7f9392bba20b72babe946f4d4e050
  cygwin-2.6.1-1-src.tar.xz
728c6403a4fabbaaa5e1ecc500400323f9107b3116ed2e1ba23ebec60b5c60aa36ffadde1fb50047dbb678a3f30c1e7e956440bd67537a8e887d9fca45cda8b6
  cygwin-2.6.1-1.tar.xz
fb32633609966940fc5803db78cea8fa74ca0dec0de4b6b3912a54a262989714a2363cd311f1c766c56c5f528f1ef2f77cf185510295650c992a0ef5788571ab
  cygwin-debuginfo/cygwin-debuginfo-2.6.1-1.tar.xz
11ece3e3b11c2d673ddaaf94a727c7f0801cd05857e0782c130578fc825e3657727eae3d8272b9874f8ee2c45b318bb15ec3b8ab11bc8cd519eb6ebfe841df6b
  cygwin-devel/cygwin-devel-2.6.1-1.tar.xz
8445659b9023ff9a3249c7b65cb110e2dbb4f05276672840368e7b6144bcb95f4fa5d476f4a6bf78c0994cc4e4a244a97fd6f61b41c167daf04f23b48a167f11
  cygwin-doc/cygwin-doc-2.6.1-1.tar.xz


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: Please explain how to add to a thread in this mailing list

2016-12-21 Thread Gary Johnson
On 2016-12-21, Lester Ingber wrote:
> Since gmail inserts extra characters that are not recognized as text, I
> am using mutt.
> 
> mutt does not permit adding References: headers.  Instead, I seem to be
> OK getting
> "Message-ID: <...>"
> from the Raw link, and changing this to
> "In-Reply-To: <...>"
> 
> Is there a better/different way of replying to cygwin posts?

If you've told mutt that you are subscribed to the cygwin list by
putting

subscribe cygwin

in your muttrc file, then mutt should generate the appropriate
headers automatically when you reply to the list with the 'L'
command.

In this reply, for example, I see that mutt automatically added

In-Reply-To: <20161221202630.ga14...@ingber.com>

as well as the From:, To: and Subject: headers.

For more on this, see the mutt manual, section 12 Mailing Lists and
section 5.4 Miscellaneous Functions, the  function.

Regards,
Gary


--
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: open IE from command line

2016-12-21 Thread Doug Henderson
On 21 December 2016 at 10:01, Nellis, Kenneth wrote:
>
> From: Nellis, Kenneth
> > I suspect the issue is that some required DLLs are not in
> > my PATH. Indeed, my Cygwin PATH is a pruned version of my
> > Windows PATH.
>
> Actually, that's not the case and is irrelevant as Lee demon-
> strates in https://cygwin.com/ml/cygwin/2016-12/msg00220.html.
>
> Comparing the output from
> Windows: C:/>path
> and
> cygwin/bash: $ cmd /c path
> shows only new paths added to support Cygwin.
>
> I'm on Microsoft Windows 7 Enterprise Edition, 64-bit Service Pack 1 (build 
> 7601)
>
> FWIW, output from "cygcheck -svr" attached.
>
> --Ken Nellis


Attached is a bash script, renamed as openurl.sh.txt, which will open
a url with either the default browser or Internet Explorer. It takes
care of the case when CYGWIN_NOWINPATH=1, and where COMSPEC does not
exist in the environment or does not point to an executable program or
when /cygdrive/c/ does not point to the C: disk.

Before using, strip CRs (just in case) using d2u (or dos2unix), rename
to openurl or openurl.sh or ..., place in your path, eg. $HOME/bin and
make executable.

HTH,
Doug

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
#!/bin/bash
# Copyright (c) 2016 Doug Henderson
# Licence: GPL3
# Version: 1.0
#
# openurl[.sh] [IE] URL
#
# Open a URL in the default browser or in Internet Explorer.
# This will work properly when using CYGWIN_NOWINPATH=1
# Tested on Windows 7 Home Premium, Service Pack 1, fully patched
# and CYGWIN_NT-6.1 xxx 2.6.1(0.305/5/3) 2016-12-16 11:55 x86_64 Cygwin
#
# You may rename this file to meet your requirements.
#
# Quote the URL when it contains spaces or shell special characters.
#
# Usage:
#   openurl.sh [IE] URL
#
#   openurl.sh https://www.google.ca
#   open Google search with default browswer
#
#   openurl.sh IE https://www.google.ca
#   open Google search with Internet Explorer
#
if [ -n "${COMSPEC}" -a -x "$( cygpath -Ua "${CMD}" )" ] ; then
# COMSPEC should contain the absolute windows path
# to the CMD.EXE executable.
CMD="${COMSPEC}"
else
# Hard code path to windows CMD.EXE
# You may need to change this depending on windows version
# and install options.
# Copy/paste from CompSpec variable on Command Prompt window.
# Double all backslashes.
CMD="C:\\Windows\\System32\\cmd.exe"
# echo WARNING: using hardcoded path: ${CMD}
fi

# Make sure we know location of Command program.
if [ ! -x "$( cygpath -Ua "${CMD}" )" ] ; then
echo ERROR: Please provide path to CMD.EXE
exit 1
fi

IE="C:\\Program Files\\Internet Explorer\\iexplore.exe"
# echo WARNING: using hardcoded path: ${IE}
# Hardcode the location of the Internet Explorer EXE file.
# Copy/paste from Blue-E shortcut icon properties Target field.
# Double all backslashes.

if [ "$1" = "IE" ] ; then
# Make sure we know location of Internet Explorer.
if [ ! -x "$( cygpath -Ua "${IE}" )" ] ; then
echo ERROR: Please provide path to IEXPLORE.EXE
exit 1
fi
shift
"$( cygpath -Ua "${CMD}" )" /D /S /C "START /I "${IE}" "$*""
else
"$( cygpath -Ua "${CMD}" )" /D /S /C "START /I "$*""
fi

--
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: can't access /cygdrive/c/Windows/Sysnative ?

2016-12-21 Thread Mark Geisert

Lester Ingber wrote:

So, I guess that I should have seen that the Windows 10 Ubuntu bash.exe
is actually written as a 32 bit code (they didn't use the 64-bit code
as on my other true Ubuntu x64 platform?) from the PE32+ info?:

12:08:44pm ingber@lesterX1:/cygdrive/c/Windows/System32# ls -l bash.exe
-rwxr-x---+ 2 TrustedInstaller TrustedInstaller 70656 Oct 14 20:57
bash.exe
12:08:48pm ingber@lesterX1:/cygdrive/c/Windows/System32# file bash.exe
bash.exe: PE32+ executable (console) x86-64, for MS Windows


No, that last line is saying x86-64 code (i.e. 64-bit) using PE32+ executable 
file format, like all 64-bit executables on 64-bit Cygwin (and 64-bit Windows 
for that matter).


..mark

--
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: open IE from command line

2016-12-21 Thread Doug Henderson
On 21 December 2016 at 18:04, Doug Henderson  wrote:
> On 21 December 2016 at 10:01, Nellis, Kenneth wrote:

> Attached is a bash script, renamed as openurl.sh.txt, which will open
> a url with either the default browser or Internet Explorer. It takes

Last minute fix: before using the script, edit it to repair a copy/paste error.

26,26s/CMD/COMSPEC/

i.e. in line 26, both variable references should be to COMSPEC.


Attached is repaired copy

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
#!/bin/bash
# Copyright (c) 2016 Doug Henderson
# Licence: GPL3
# Version: 1.0
#
# openurl[.sh] [IE] URL
#
# Open a URL in the default browser or in Internet Explorer.
# This will work properly when using CYGWIN_NOWINPATH=1
# Tested on Windows 7 Home Premium, Service Pack 1, fully patched
# and CYGWIN_NT-6.1 xxx 2.6.1(0.305/5/3) 2016-12-16 11:55 x86_64 Cygwin
#
# You may rename this file to meet your requirements.
#
# Quote the URL when it contains spaces or shell special characters.
#
# Usage:
#   openurl.sh [IE] URL
#
#   openurl.sh https://www.google.ca
#   open Google search with default browswer
#
#   openurl.sh IE https://www.google.ca
#   open Google search with Internet Explorer
#
if [ -n "${COMSPEC}" -a -x "$( cygpath -Ua "${COMSPEC}" )" ] ; then
# COMSPEC should contain the absolute windows path
# to the CMD.EXE executable.
CMD="${COMSPEC}"
else
# Hard code path to windows CMD.EXE
# You may need to change this depending on windows version
# and install options.
# Copy/paste from CompSpec variable on Command Prompt window.
# Double all backslashes.
CMD="C:\\Windows\\System32\\cmd.exe"
# echo WARNING: using hardcoded path: ${CMD}
fi

# Make sure we know location of Command program.
if [ ! -x "$( cygpath -Ua "${CMD}" )" ] ; then
echo ERROR: Please provide path to CMD.EXE
exit 1
fi

IE="C:\\Program Files\\Internet Explorer\\iexplore.exe"
# echo WARNING: using hardcoded path: ${IE}
# Hardcode the location of the Internet Explorer EXE file.
# Copy/paste from Blue-E shortcut icon properties Target field.
# Double all backslashes.

if [ "$1" = "IE" ] ; then
# Make sure we know location of Internet Explorer.
if [ ! -x "$( cygpath -Ua "${IE}" )" ] ; then
echo ERROR: Please provide path to IEXPLORE.EXE
exit 1
fi
shift
"$( cygpath -Ua "${CMD}" )" /D /S /C "START /I "${IE}" "$*""
else
"$( cygpath -Ua "${CMD}" )" /D /S /C "START /I "$*""
fi

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