Arguments parsing in cygwin executables

2015-06-17 Thread Sasha Unknown
Hello. [Sorry if duplicate, previous message was sent from wrong address, so not sure if it reached.] ==Preamble== Some time ago I noticed that cygwin executables (e.g. bash, tar, echo so on) handle specially *, {} and some other symbols in command-line, even when being invoked not from shell

Arguments parsing in cygwin executables

2015-06-17 Thread Sasha Unknown
Hello. ==Preamble== Some time ago I noticed that cygwin executables (e.g. bash, tar, echo so on) handle specially *, {} and some other symbols in command-line, even when being invoked not from shell (e.g. programmatic invocation or cmd.exe). After some googling, I found CYGWIN=noglob setting,

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Christian Franke
Corinna Vinschen wrote: On Jun 17 07:38, Christian Franke wrote: Corinna Vinschen wrote: On Jun 16 18:27, Christian Franke wrote: Found during an experimental build of busybox: The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on Cygwin. It should be disabled because

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Eric Blake
On 06/17/2015 02:57 PM, Yaakov Selkowitz wrote: On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: Busybox does not use autoconf or similar. It requires manual platform specific configuration which does not yet support a missing sethostname(). After adding HAVE_SETHOSTNAME manually

[ANNOUNCEMENT] Updated: perl-Text-CSV_XS-1.19-1

2015-06-17 Thread David Stacey
The following package has been updated in the Cygwin distribution: * perl-Text-CSV_XS-1.19-1 Text::CSV_XS provides facilities for the composition and decomposition of comma-separated values. An instance of the Text::CSV_XS class will combine fields into a CSV string and parse a CSV string into

Updated: perl-Text-CSV_XS-1.19-1

2015-06-17 Thread David Stacey
The following package has been updated in the Cygwin distribution: * perl-Text-CSV_XS-1.19-1 Text::CSV_XS provides facilities for the composition and decomposition of comma-separated values. An instance of the Text::CSV_XS class will combine fields into a CSV string and parse a CSV string into

Re: Unable to run excel via cron

2015-06-17 Thread Larry Hall (Cygwin)
On 06/17/2015 12:55 PM, Kertz, Denis (D)** CTR ** wrote: We are running cron under the specific cygwin login (not cyg_server). Presumably there is a solution to this problem. We have 3 Win7 Pro PCs and this works on one of the PCs (unfortunately, not the one where we need it to work) and

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Yaakov Selkowitz
On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: Busybox does not use autoconf or similar. It requires manual platform specific configuration which does not yet support a missing sethostname(). After adding HAVE_SETHOSTNAME manually and some other minor additions, busybox (which

log-message when using cygport ???

2015-06-17 Thread Jan Nijtmans
When compiling SQLite using cygport 0.20.1-1, I'm getting the following messages when doing cygport xxx.cygport package: internal:gem_prelude:1:in `require': cannot load such file -- rubygems.rb (LoadError) from internal:gem_prelude:1:in `compiled' internal:gem_prelude:1:in `require':

Re: Recent cygwin update is missing tchar header file

2015-06-17 Thread Corinna Vinschen
On Jun 17 06:40, JonY wrote: On 6/16/2015 17:34, Corinna Vinschen wrote: On Jun 16 06:24, JonY wrote: On 6/16/2015 00:41, Corinna Vinschen wrote: Hi Jon, any idea what happened to tchar.h in the latest w32api update? tchar.h seems to be part of the CRT headers rather than the

[newlib-cygwin] Add sethostname to API list

2015-06-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e4bdbca6ebf090e5d22803298356e31b3133a060 commit e4bdbca6ebf090e5d22803298356e31b3133a060 Author: Corinna Vinschen cori...@vinschen.de Date: Wed Jun 17 11:22:14 2015 +0200 Add sethostname to API list Signed-off-by: Corinna

[newlib-cygwin] Add release/2.0.5 file

2015-06-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c7af199237810f2d6d626aa73446f4f4387212e8 commit c7af199237810f2d6d626aa73446f4f4387212e8 Author: Corinna Vinschen cori...@vinschen.de Date: Wed Jun 17 10:37:10 2015 +0200 Add release/2.0.5 file Diff: ---

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Corinna Vinschen
On Jun 17 07:38, Christian Franke wrote: Corinna Vinschen wrote: On Jun 16 18:27, Christian Franke wrote: Found during an experimental build of busybox: The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on Cygwin. It should be disabled because Cygwin does not provide

[newlib-cygwin] Add sethostname

2015-06-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=50b00d2b936c937099c24d6fa1f0b6f642462900 commit 50b00d2b936c937099c24d6fa1f0b6f642462900 Author: Corinna Vinschen cori...@vinschen.de Date: Wed Jun 17 11:11:02 2015 +0200 Add sethostname * net.cc (sethostname): New

[PATCH 0/5] Generate cygwin-api manpages

2015-06-17 Thread Jon TURNEY
This patch set changes the DocBook source XML for the Cygwin API reference to use refentry elements, and also generates man pages from that. Again, note that after this, the chunked html now has a page for each function, rather than one containing all functions. Jon TURNEY (5): winsup/doc:

[PATCH 4/5] winsup/doc: Make and install cygwin-api function manpages

2015-06-17 Thread Jon TURNEY
Use 'xmlto man' to make manpages for utils This will generate multiple .1 files as an output, but we don't know what they will be called, so use a timestamp for build avoidance 2015-06-17 Jon Turney jon.tur...@dronecode.org.uk * Makefile.in (api2man.stamp): Add rules to build and

[PATCH 5/5] winsup/doc: Add man.xsl customization stylesheet

2015-06-17 Thread Jon TURNEY
2015-06-17 Jon Turney jon.tur...@dronecode.org.uk * man.xsl: New file. * Makefile.in (utils2man.stamp, api2man.stamp): Use it. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- winsup/doc/ChangeLog | 5 + winsup/doc/Makefile.in | 8 winsup/doc/man.xsl

Re: [PATCH 0/5] Generate cygwin-api manpages

2015-06-17 Thread Corinna Vinschen
Hi JOn, On Jun 17 13:37, Jon TURNEY wrote: This patch set changes the DocBook source XML for the Cygwin API reference to use refentry elements, and also generates man pages from that. Again, note that after this, the chunked html now has a page for each function, rather than one

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
Unfortunately, using the 64-bit wscript.exe didn't change anything - same behavior as before with excel hanging. We are using 64-bit cygwin and 32-bit Excel (Excel 2007). Denis On Tue, Jun 16, 2015 at 9:27 AM, Kertz, Denis (D)** CTR ** d.ke...@alcatel-lucent.com wrote: We need to run some

[PATCH 3/5] winsup/doc: Convert cygwin-api function documentation to refentry elements

2015-06-17 Thread Jon TURNEY
Convert cygwin-api from using a sect2 element to using a refentry element for each function. This makes it possible to generate manpage-style output for those elements. Note that the chunked html now generates a page for each function, rather than one containing all functions. Also: Remove

[PATCH 1/5] winsup/doc: Rename cygwin.xsl as html.xsl

2015-06-17 Thread Jon TURNEY
For clarity, rename cygwin.xsl as html.xsl, because that's what it is 2015-06-17 Jon Turney jon.tur...@dronecode.org.uk * html.xsl: Renamed from cygwin.xsl. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- winsup/doc/ChangeLog| 4 winsup/doc/Makefile.in

[PATCH 2/5] winsup/doc: Generate ANSI rather than KR style function prototypes

2015-06-17 Thread Jon TURNEY
Since KR style prototypes appear to be the default for HTML and FO, customize the stylesheets rendering of funcsynopsis elements to generate ANSI style prototypes instead. 2015-06-17 Jon Turney jon.tur...@dronecode.org.uk * fo.xsl: Render funcsynopsis elements as ANSI style function

Re: Unable to run excel via cron

2015-06-17 Thread Corinna Vinschen
On Jun 17 13:29, Kertz, Denis (D)** CTR ** wrote: Unfortunately, using the 64-bit wscript.exe didn't change anything - same behavior as before with excel hanging. We are using 64-bit cygwin and 32-bit Excel (Excel 2007). The problem is probably related to some of the changes between XP and

Problems running gdb in emacs on Windows 8.1

2015-06-17 Thread William M. (Mike) Miller
I'm having numerous problems recently running gdb inside emacs (both -w32 and -X11): 1) The stack trace window requires one or two gdb commands to catch up with the current stack frame. E.g., I'll hit a breakpoint after run and then type up; the frame pointer still points at frame 0. I'll type

RE: Unable to run excel via cron

2015-06-17 Thread Kiehl, Horst
(Trying to remove TOFU to make the conversation appear chronological again and with correct attributions.) Kertz, Denis (D)** CTR ** d.kertz at alcatel-lucent dot com wrote: We need to run some Excel programs via cron and are using vbscript to do this. We have this running on a WinXP

RE: Unable to run excel via cron

2015-06-17 Thread Andy Hall
-Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Kiehl, Horst Sent: Wednesday, June 17, 2015 8:10 AM To: Kertz, Denis (D)** CTR **; cygwin@cygwin.com Subject: RE: Unable to run excel via cron (Trying to remove TOFU to make the

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
We are running cron under the specific cygwin login (not cyg_server). Presumably there is a solution to this problem.  We have 3 Win7 Pro PCs and this works on one of the PCs (unfortunately, not the one where we need it to work) and fails on the other two PCs. Thanks for the two suggested

Re: [PATCH 0/5] Generate cygwin-api manpages

2015-06-17 Thread Corinna Vinschen
On Jun 17 16:59, Jon TURNEY wrote: On 17/06/2015 14:49, Corinna Vinschen wrote: On Jun 17 13:37, Jon TURNEY wrote: This patch set changes the DocBook source XML for the Cygwin API reference to use refentry elements, and also generates man pages from that. Again, note that after this, the

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
Yes, I was confused, by the system32, but I still managed to do what was suggested. Previously I was running: c:/Windows/System32/wscript.exe 'c:\cygwin64\home\Upar3\tst.vbs' Then as suggested I ran: c:/Windows/SysWow64/wscript.exe 'c:\cygwin64\home\Upar3\tst.vbs' Both

Re: [PATCH 0/5] Generate cygwin-api manpages

2015-06-17 Thread Jon TURNEY
On 17/06/2015 14:49, Corinna Vinschen wrote: On Jun 17 13:37, Jon TURNEY wrote: This patch set changes the DocBook source XML for the Cygwin API reference to use refentry elements, and also generates man pages from that. Again, note that after this, the chunked html now has a page for each