Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-06-30 Thread Andrey Repin
Greetings, KARL BOTTS! > 2) I always have cygdrive-prefix set to /, so that I can do, e.g. "cd /c". > But when you reinstall cygwin, you must do it again with "mount -c". And then > immediately do "mount -m > /etc/fstab", so that it sticks. Then, you should > patch up the symlinks in /etc/{hosts

Re: Repairing permissions after windows reinstall

2016-06-30 Thread Andrey Repin
Greetings, Henry S. Thompson! > Good news: My cygwin file tree survived a Windows (10) reinstall > Not-so-good news: I have a new SID, so not only do I not own those files > any more (that's easily fixed), but I don't have the permissions I > should, because they are now held by some miscellaneous

Re: The function ioctl bug

2016-06-30 Thread Marco Atzeri
On 01/07/2016 07:21, Бабенко Вячеслав wrote: Dear friends! The function ioctl return -1 (errno equal 95) if I use cygwin-x86_64. See my code: ... int fd = socket(AF_INET, SOCK_STREAM, 0); if (ioctl(fd, FIONREAD, &c) == -1) printf("%u", errno); ... The function ioctl return 0 if I use cygw

The function ioctl bug

2016-06-30 Thread Бабенко Вячеслав
Dear friends! The function ioctl return -1 (errno equal 95) if I use cygwin-x86_64. See my code: ... int fd = socket(AF_INET, SOCK_STREAM, 0); if (ioctl(fd, FIONREAD, &c) == -1) printf("%u", errno); ... The function ioctl return 0 if I use cygwin-x86. -- Problem reports: http://cygwin

Re: Use of spawnvp function makes console window appear.

2016-06-30 Thread Kaz Kylheku
On 29.06.2016 15:28, Kaz Kylheku wrote: Hi all, I've encountered a strange behavior. When a Cygwin C application that is compiled with "-mwindows" tries to spawn another program, that application suddenly gets a console window! I tracked this down to the fhandler_console::need_invisible() c

Re: Lengthy "xmlto" build step in Cygwin.

2016-06-30 Thread Aaron Digulla
On 30.06.2016 19:19, Kaz Kylheku wrote: > Hi All, > > What's this doing? > > Writing faq.html for article(faq) > sed -i 's;;;g' faq/faq.html > ../../.././winsup/doc/bodysnatcher.pl faq/faq.html > xmlto --skip-validation --with-dblatex pdf -o cygwin-ug-net/ -m > ../../.././winsup/doc/fo.xsl

Re: Why does ldd not show cyg*.dll in its output?

2016-06-30 Thread David Macek
On 29. 6. 2016 23:45, David Macek wrote: > I can try watching them side by side in debuggers tomorrow, maybe I'll find > something. Yep, found something. TL;DR the issue is that Windows spins a thread in the process before our DLLs are loaded. Detailed analysis below. On my Win8.x, the ldd "deb

Re: /etc/X11/app-defaults/XTerm refers to font "helvetica"

2016-06-30 Thread Thomas Dickey
- Original Message - | From: "Rainer Blome" | To: cygwin@cygwin.com | Sent: Thursday, June 30, 2016 1:22:37 PM | Subject: /etc/X11/app-defaults/XTerm refers to font "helvetica" | | Since many months (and probably several Cygwin and X11 releases), | starting `xterm` triggers the following

RE: chere not seeing my preferred $HOME

2016-06-30 Thread Rainer Blome
> Gesendet: Donnerstag, 30. Juni 2016 um 21:55 Uhr > Von: "Nellis, Kenneth" > Hello. http://www.cygwin.com/acronyms/#PCYMTNQREAIYR Sorry, forgot, thanks for pointing it out. > I simply want chere to run my .profile before it presents > me with the bash prompt. How to achieve that depends on yo

Re: chere not seeing my preferred $HOME

2016-06-30 Thread Marco Atzeri
On 30/06/2016 21:55, Nellis, Kenneth wrote: From: Rainer Blome Hi Kenneth, Hello. http://www.cygwin.com/acronyms/#PCYMTNQREAIYR (Actually, I don't know how to do that, so I do it manually.) not sure what you are aiming for here. I simply want chere to run my .profile before it presents

RE: chere not seeing my preferred $HOME

2016-06-30 Thread Nellis, Kenneth
From: Rainer Blome > > Hi Kenneth, Hello. http://www.cygwin.com/acronyms/#PCYMTNQREAIYR (Actually, I don't know how to do that, so I do it manually.) > not sure what you are aiming for here. I simply want chere to run my .profile before it presents me with the bash prompt. > The purpose of

Aw: chere not seeing my preferred $HOME

2016-06-30 Thread Rainer Blome
Hi Kenneth, not sure what you are aiming for here. Gesendet: Donnerstag, 30. Juni 2016 um 20:18 Uhr Von: "Nellis, Kenneth" > how to configure chere so that it runs my > .bash_profile in my regular Cygwin home: The purpose of `chere` is, quoting from its help, to "to right click a folder in Win

Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-06-30 Thread Achim Gratz
Ken Brown writes: > I have often found that rebasing doesn't immediately fix fork failures > until I reboot. (My guess is that this is due to some kind of caching > that Windows does.) The most likely reason would be that ASLR enabled libraries keep their location until the next reboot, so if one

chere not seeing my preferred $HOME

2016-06-30 Thread Nellis, Kenneth
Couldn't find anything online for this: Wondering if someone can tell me how to configure chere so that it runs my .bash_profile in my regular Cygwin home: Cygwin64> echo $HOME; cygpath -w $HOME /home/knellis C:\cygwin\home\knellis Cygwin64> chere> echo $HOME; cygpath -w $HOME /cygdrive/c/Users

/etc/X11/app-defaults/XTerm refers to font "helvetica"

2016-06-30 Thread Rainer Blome
Since many months (and probably several Cygwin and X11 releases), starting `xterm` triggers the following annoying warning (xterm starts fine otherwise): xterm & Warning: Cannot convert string "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type FontStruct I have grepped for "hel

Lengthy "xmlto" build step in Cygwin.

2016-06-30 Thread Kaz Kylheku
Hi All, What's this doing? Writing faq.html for article(faq) sed -i 's;;;g' faq/faq.html ../../.././winsup/doc/bodysnatcher.pl faq/faq.html xmlto --skip-validation --with-dblatex pdf -o cygwin-ug-net/ -m ../../.././winsup/doc/fo.xsl ../../.. /./winsup/doc/cygwin-ug-net.xml Build the

Re: Syntax for sed .. altered?

2016-06-30 Thread Marco Atzeri
On 30/06/2016 16:57, Fergus Daly wrote: find dirname -type f | xargs sed -i 's/string1/string2/g' .. just hangs. sed is unchanged from at least 2013, so it must be something else. Is is possible that this is related to a change in the Cygwin library? Thank you very much for your interest

Re: Syntax for sed .. altered?

2016-06-30 Thread Fergus Daly
>>> find dirname -type f | xargs sed -i 's/string1/string2/g' >>> .. just hangs. >> sed is unchanged from at least 2013, so it must be something else. > Is is possible that this is related to a change in the Cygwin library? Thank you very much for your interest. I was premature in my assertion

Re: Change in behavior (bug) in ctypes

2016-06-30 Thread Corinna Vinschen
On Jun 30 10:05, Marvin Greenberg wrote: > Code like this was working until sometime recently, > > $ python > >>> import ctypes > >>> cygdll = ctypes.cdll.cygwin1 > > But with the latest cygwin update, it is failing. On a couple older > machines, I do: > > > $ python -c "import ctypes; print c

Re: Change in behavior (bug) in ctypes

2016-06-30 Thread Marco Atzeri
On 30/06/2016 16:05, Marvin Greenberg wrote: Code like this was working until sometime recently, $ python import ctypes cygdll = ctypes.cdll.cygwin1 $ python -c "import ctypes; print ctypes._dlopen('cygwin1')"; cygcheck -V; python -V Traceback (most recent call last): File "", line 1,

Re: Cygwin IPC - ftok() returns negative values - Bug Report

2016-06-30 Thread Corinna Vinschen
On Jun 29 20:13, Stanisław Wawszczak wrote: > > > > Do you have the cygserver service running? (See > > /usr/share/doc/Cygwin/cygserver.README.) > > > > Ken > Yes, I have. And I have believed that defaults are as stated in config file, > but they aren't. > Just after uncommenting the > kern.ipc

Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-06-30 Thread Marco Atzeri
On 30/06/2016 13:13, Pavel Kudrna wrote: On 30/06/2016 12:34, Marco Atzeri wrote: On 30/06/2016 11:11, Pavel Kudrna wrote: I have problem installing texlive-collection-basic on 32bit XP. It is not fresh install. How many packages have you installed ? 0x6C is a very low address At this

Change in behavior (bug) in ctypes

2016-06-30 Thread Marvin Greenberg
Code like this was working until sometime recently, $ python >>> import ctypes >>> cygdll = ctypes.cdll.cygwin1 But with the latest cygwin update, it is failing. On a couple older machines, I do: $ python -c "import ctypes; print ctypes._dlopen('cygwin1')"; cygcheck -V; python -V 64427130

Re: POSIX permission mapping and NULL SIDs

2016-06-30 Thread Corinna Vinschen
On Jun 30 00:03, Bill Zissimopoulos wrote: > On 6/29/16, 1:21 AM, "Corinna Vinschen" of corinna-cyg...@cygwin.com> wrote: > >>How do we avoid name collisions? I can easily see admins creating an > >>AD account called "nobody". > >>Shall we fake a "WinFSP" domain such that the name is "WinFSP+nobo

Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-06-30 Thread Ken Brown
On 6/30/2016 5:11 AM, Pavel Kudrna wrote: The main problem is installing texlive-collection-basic. Setup waits at /etc/postinstall/0p_texlive_prep.dash while in /var/log the file setup.log.runXa03548 grows by repeating lines 2 [main] perl 3928 child_info_fork::abort: unable to remap Util.d

Re: Errors when compiling gnutls-3.3.17 with gcc-5.4.0

2016-06-30 Thread Ken Brown
On 6/30/2016 7:56 AM, U-leila\vzell wrote: Hi I get the following error when trying to recompile gnutls-3.3.17 with latest gcc-5.4.0, last successful build was for cygwin 2.2.1 with gcc-4.9.2: Has anything changed in betweenhave been absent for quite a time now. CC gettime.lo In fi

Errors when compiling gnutls-3.3.17 with gcc-5.4.0

2016-06-30 Thread U-leila\vzell
Hi I get the following error when trying to recompile gnutls-3.3.17 with latest gcc-5.4.0, last successful build was for cygwin 2.2.1 with gcc-4.9.2: Has anything changed in betweenhave been absent for quite a time now. CC gettime.lo

Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-06-30 Thread Pavel Kudrna
On 30/06/2016 12:34, Marco Atzeri wrote: On 30/06/2016 11:11, Pavel Kudrna wrote: I have problem installing texlive-collection-basic on 32bit XP. It is not fresh install. If I select texlive only the Cygwin Setup finishes successfully, /var/log/setup.log shows 2016/06/30 09:31:01 NOTE! User

Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-06-30 Thread Marco Atzeri
On 30/06/2016 11:11, Pavel Kudrna wrote: Hi, I have problem installing texlive-collection-basic on 32bit XP. It is not fresh install. If I select texlive only the Cygwin Setup finishes successfully, /var/log/setup.log shows 2016/06/30 09:30:33 Starting cygwin install, version 2.874 2016/06/30

[ANNOUNCEMENT] Updated: gnuplot-5.0.3-1: A command-line driven interactive function plotting utility

2016-06-30 Thread Dr . Volker Zell
Hi A new version of 'gnuplot' has been uploaded to a server near you. o Update to latest upstream release. o Build for cygwin 2.5.2 with gcc-5.4.0 o TeX/LateX related files excluded, they are already in the texlive distribution gnuplot NEWS: = Changes in 5.0.3 ===

Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-06-30 Thread Pavel Kudrna
Hi, I have problem installing texlive-collection-basic on 32bit XP. It is not fresh install. If I select texlive only the Cygwin Setup finishes successfully, /var/log/setup.log shows 2016/06/30 09:30:33 Starting cygwin install, version 2.874 2016/06/30 09:30:33 User has backup/restore right