__STRICT_ANSI__ and stdio.h
Hi, is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to glibc's? especially, i meant routines in POSIX 1003.1:2001 (popen(), pclose(), etc). for a specific example, see a cparser issue[1] i submitted. Peace, - [1] https://github.com/MatzeB/cparser/issues/10 -- 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: leptonica-1.72-2
Version 1.72-2 of packages leptonica libleptonica-devel libleptonica_3 are available in the Cygwin distribution: CYGWIN CHANGES Modified tmp default dir settings that impacted tesseract training script. CHANGES http://www.leptonica.org/source/version-notes.html DESCRIPTION Leptonica is a pedagogically-oriented open source site containing software that is broadly useful for image processing and image analysis applications. Featured operations are Rasterop (a.k.a. bitblt) Affine transformations (scaling, translation, rotation, shear) on images of arbitrary pixel depth Binary and grayscale morphology, rank order, and convolution Seedfill and connected components Image transformations combining changes in scale and pixel depth Pixelwise masking, blending, enhancement, arithmetic ops, etc. Before it was included as component of tesseract-ocr. HOMEPAGE http://www.leptonica.org Marco Atzeri If you have questions or comments, please send them to the cygwin mailing list at: cygwin (at) cygwin (dot) 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
[ANNOUNCEMENT] Updated: tesseract-ocr-3.04.00-3
Version 3.04.00-3 of packages libtesseract-ocr_3 tesseract-ocr tesseract-ocr-devel tesseract-training-util are available in the Cygwin distribution: Other language specific data are available upstream https://github.com/tesseract-ocr/tessdata while training data for building new language data are in https://github.com/tesseract-ocr/langdata CYGWIN CHANGES Update on training scripts CHANGES None. Last upstream release. https://github.com/tesseract-ocr/tesseract/wiki DESCRIPTION Tesseract is probably the most accurate open source OCR engine available. Combined with the Leptonica Image Processing Library it can read a wide variety of image formats and convert them to text in over 60 languages. It was one of the top 3 engines in the 1995 UNLV Accuracy test. Improved extensively by Google. It is released under the Apache License 2.0. HOMEPAGE https://github.com/tesseract-ocr/ Marco Atzeri If you have questions or comments, please send them to the cygwin mailing list at: cygwin (at) cygwin (dot) 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
Re: Crash X11 with 3 commands
Nope. Still crashing with 2.4.0-0.9 for me. Marco - when you run that script, does your xterm at least iconize? What's in your xterm after you run the script? On Fri, Dec 11, 2015 at 12:47 PM, Nem W Schlecht wrote: > W7-64 for me as well. Same xterm version too. > > I was on xorg-server 1.17.4-1, but just now upped that to 1.18.0-1 and > I'm still getting the crash. Will try upgrading cygwin core as well. > > On Fri, Dec 11, 2015 at 11:59 AM, Marco Atzeri wrote: >> On 11/12/2015 18:54, Jim Reisert AD1C wrote: >>> >>> On Fri, Dec 11, 2015 at 9:21 AM, Nem W Schlecht wrote: >>> Can anybody else confirm? (WARNING - if it does, it'll kill all your X11 windows! Be careful.) >>> >>> >>> Same here, kills the xterm as well as XWin.exe >>> >> >> not on my W7-64 >> >> cygwin2.4.0-0.9 >> xorg-server 1.18.0-1 >> xterm 320-1 >> -- Nem W Schlecht "Perl did the magic. I just waved the wand." -- 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: Crash X11 with 3 commands
W7-64 for me as well. Same xterm version too. I was on xorg-server 1.17.4-1, but just now upped that to 1.18.0-1 and I'm still getting the crash. Will try upgrading cygwin core as well. On Fri, Dec 11, 2015 at 11:59 AM, Marco Atzeri wrote: > On 11/12/2015 18:54, Jim Reisert AD1C wrote: >> >> On Fri, Dec 11, 2015 at 9:21 AM, Nem W Schlecht wrote: >> >>> Can anybody else confirm? (WARNING - if it does, it'll kill all your >>> X11 windows! Be careful.) >> >> >> Same here, kills the xterm as well as XWin.exe >> > > not on my W7-64 > > cygwin2.4.0-0.9 > xorg-server 1.18.0-1 > xterm 320-1 > > > -- > 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 > -- Nem W Schlecht n...@emptec.com Empyreal Technologieshttp://www.emptec.com/ "Perl did the magic. I just waved the wand." -- 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: Crash X11 with 3 commands
On 11/12/2015 18:54, Jim Reisert AD1C wrote: On Fri, Dec 11, 2015 at 9:21 AM, Nem W Schlecht wrote: Can anybody else confirm? (WARNING - if it does, it'll kill all your X11 windows! Be careful.) Same here, kills the xterm as well as XWin.exe not on my W7-64 cygwin2.4.0-0.9 xorg-server 1.18.0-1 xterm 320-1 -- 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: Crash X11 with 3 commands
On Fri, Dec 11, 2015 at 9:21 AM, Nem W Schlecht wrote: > Can anybody else confirm? (WARNING - if it does, it'll kill all your > X11 windows! Be careful.) Same here, kills the xterm as well as XWin.exe -- 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
Crash X11 with 3 commands
I was experimenting with Xterm escape sequences - trying to resize/reposition a window while its iconized and found I can crash X11 in just 3 escape commands in an Xterm (which I have in a shell script): --- #!/bin/bash -x # Iconify window echo -ne "\e[2t" # Set height/width to 36x80 and position at +100+100 # If I do just one of these X11 does *not* crash # Resize to 36x80. This one doesn't work, even if I run just it # by itself so X11 doesn't crash. Also, this one has to be first. # If I re-position, then change geometry, it doesn't crash. echo -ne "\e[8;36;80t" # The re-position, next, actually does work behind the scenes, # if I run just this alone and then de-iconify manually, its in the # correct position. echo -ne "\e[3;100;100t" # To de-iconify (doesn't work in Cygwin anyways, unfortunately) echo -ne "\e[1t" --- Can anybody else confirm? (WARNING - if it does, it'll kill all your X11 windows! Be careful.) -- Nem W Schlecht "Perl did the magic. I just waved the wand." -- 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
X won't start
Hello, I just got a new Windows 10 PC at work and I can't seem to get X to start. Here is the log file: $ cat /var/log/xwin/XWin.0.log Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.17.4.0 OS: CYGWIN_NT-10.0-WOW STI237 2.3.1(0.291/5/3) 2015-11-14 12:42 i686 OS: Windows 10 [Windows NT 10.0 build 10240] (WoW64) Package: version 1.17.4-1 built 2015-10-29 XWin was started with the following command line: /usr/bin/XWin :0 -multiwindow -auth /home/bead2306/.serverauth.5700 ddxProcessArgument - Initializing default screens winInitializeScreenDefaults - primary monitor w 1920 h 1080 winInitializeScreenDefaults - native DPI x 96 y 96 [ 1573.765] (II) xorg.conf is not supported [ 1573.765] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information [ 1573.765] LoadPreferences: /home/bead2306/.XWinrc not found [ 1573.765] LoadPreferences: Loading /etc/X11/system.XWinrc [ 1573.765] LoadPreferences: Done parsing the configuration file... [ 1573.781] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL [ 1573.781] winDetectSupportedEngines - Returning, supported engines 0005 [ 1573.781] winSetEngine - Multi Window or Rootless => ShadowGDI [ 1573.781] winScreenInit - Using Windows display depth of 32 bits per pixel [ 1573.796] winAllocateFBShadowGDI - Creating DIB with width: 3286 height: 1080 depth: 32 [ 1573.796] winFinishScreenInitFB - Masks: 00ff ff00 00ff [ 1573.796] winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 [ 1573,812] MIT-SHM extension disabled due to lack of kernel support [ 1573,812] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel [ 1573,828] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll' [ 1573,921] (II) AIGLX: Testing pixelFormatIndex 1 [ 1573,921] GL_VERSION: 4.0.0 - Build 10.18.10.4276 [ 1573,921] GL_VENDOR: Intel [ 1573,921] GL_RENDERER:Intel(R) HD Graphics 4000 [ 1573,921] (II) AIGLX: enabled GLX_SGI_make_current_read [ 1573,921] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 1573,921] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control [ 1573,921] (II) AIGLX: enabled GLX_SGIX_pbuffer [ 1573,921] (II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample [ 1573,921] (II) 68 pixel formats reported by wglGetPixelFormatAttribivARB [ 1573,921] (II) AIGLX: Set GLX version to 1.4 [ 1573,921] (II) 23 fbConfigs [ 1573,921] (II) ignored pixel formats: 0 not OpenGL, 6 RBGA float, 3 RGBA unsigned float, 0 unknown pixel type, 36 unaccelerated [ 1573,921] (II) GLX: Initialized Win32 native WGL GL provider for screen 0 [ 1574,109] winPointerWarpCursor - Discarding first warp: 1643 540 [ 1574,109] (--) 16 mouse buttons found [ 1574,109] (--) Setting autorepeat to delay=500, rate=31 [ 1574,109] (--) Windows keyboard layout: "1009" (1009) "Canadian French", type 7 [ 1574,109] (--) Found matching XKB configuration "French (Canada)" [ 1574,109] (--) Model = "pc105" Layout = "ca" Variant = "fr" Options = "none" [ 1574,109] Rules = "base" Model = "pc105" Layout = "ca" Variant = "fr" Options = "none" [ 1574,171] winInitMultiWindowWM - DISPLAY=:0.0 [ 1574,171] winMultiWindowXMsgProc - DISPLAY=:0.0 [ 1574,218] winProcEstablishConnection - winInitClipboard returned. [ 1574,218] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. [ 1574,218] winClipboardThreadProc - DISPLAY=:0.0 [ 1574,218] OS maintains clipboard viewer chain: yes [ 1574,218] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. [ 1574,234] winClipboardProc - XOpenDisplay () returned and successfully opened the display. [ 1574,859] winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter attributes) [ 1579,875] executing 'xterm -title $XWINLOGFILE -e less +F $XWINLOGFILE', pid 212 [ 1594,609] winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window parameter) It then hangs there. I googled the error, looked in the FAQ and the mailing lists archives but could not find anything relevant. Thanks for your help. Denis
Re: Cygwin unable to resolve hostnames
The only thing in that list of interfaces that have IP is the "Ethernet adapter Ethernet0". Right of my head I don't see anything obviously wrong. My first suggestion would be to disable IPv6 on the adapter, just on the odd chance that it is the cause. After that I would start ping'ing the default gateway by IP-address (192.168.244.2). This also happens to be where your DNS lives, so that will test 2 issues in one go. Jan Bruun Andersen On 11 December 2015 at 11:18, Carl-Erik Kopseng wrote: >> > I'm not sure when this started, but recently Cygwin has been unable to >> > resolve (certain) hostnames. >> > >> > Example: >> > wget github.com >> > --2015-07-22 15:17:04-- http://github.com/ >> > Resolving github.com (github.com)... failed: Non-recoverable failure >> > in name resolution. > [snip] > > I have the same problem and I have just made a clean Cygwin64 install > on a computer that has never had Cygwin installed before. I have not > messed with any settings, yet I also cannot use curl or git to access > almost any site. Only the built-in Windows CLI tools, such as `ping`, > works. > >> > Any ideas? >> >> Cygwin by default uses the same resolution as Windows, that means that >> you have something in Cygwin's configuration that affects resolution. >> First and most obvious is /etc/resolv.conf; by default I don't think >> there is one, but you can create it and Cygwin will use it. > > Pointers on what to actually put in that file? > >> Next would be if you have more than one DNS resolver in your (Windows) >> network configuration, this means that any one of them can be used at >> any time (literally it should be random)... and by coincidence Cygwin is >> using one that doesn't work, the Web browser is using another, and >> things change with different tests. Run 'ipconfig -all' and see under >> the network adapter what's listed for "DNS Servers". >> >> Also if there is more than one network adapter something similar to the >> last paragraph will happen. I would think that Cygwin uses the DNS >> servers on the "default" adapter. > > I am guessing my problems have something to do with this part, as I am > running Windows 8.1 in VMWare. VMWare adds lots of weird network stuff, > all of which I am not too familiar with ... > > The below output is from `ipconfig /all`. Could any of the info be put > in the aforementioned resolv.conf file? > > > Windows IP Configuration > >Host Name . . . . . . . . . . . . : macbookpro >Primary Dns Suffix . . . . . . . : >Node Type . . . . . . . . . . . . : Hybrid >IP Routing Enabled. . . . . . . . : No >WINS Proxy Enabled. . . . . . . . : No >DNS Suffix Search List. . . . . . : localdomain > > Ethernet adapter Bluetooth Network Connection 2: > >Media State . . . . . . . . . . . : Media disconnected >Connection-specific DNS Suffix . : >Description . . . . . . . . . . . : Bluetooth Device (Personal Area > Network) #2 >Physical Address. . . . . . . . . : 00-50-56-E2-FB-E9 >DHCP Enabled. . . . . . . . . . . : Yes >Autoconfiguration Enabled . . . . : Yes > > Ethernet adapter Ethernet0: > >Connection-specific DNS Suffix . : localdomain >Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network > Connection >Physical Address. . . . . . . . . : 00-0C-29-6A-39-52 >DHCP Enabled. . . . . . . . . . . : Yes >Autoconfiguration Enabled . . . . : Yes >Link-local IPv6 Address . . . . . : fe80::20b9:f45e:9310:3f4a%9(Preferred) >IPv4 Address. . . . . . . . . . . : 192.168.244.145(Preferred) >Subnet Mask . . . . . . . . . . . : 255.255.255.0 >Lease Obtained. . . . . . . . . . : Friday, December 11, 2015 10:59:56 >Lease Expires . . . . . . . . . . : Friday, December 11, 2015 11:29:56 >Default Gateway . . . . . . . . . : 192.168.244.2 >DHCP Server . . . . . . . . . . . : 192.168.244.254 >DHCPv6 IAID . . . . . . . . . . . : 167775273 >DHCPv6 Client DUID. . . . . . . . : > 00-01-00-01-1A-89-39-FB-14-10-9F-E1-7B-95 >DNS Servers . . . . . . . . . . . : 192.168.244.2 >Primary WINS Server . . . . . . . : 192.168.244.2 >NetBIOS over Tcpip. . . . . . . . : Enabled > > Tunnel adapter Teredo Tunneling Pseudo-Interface: > >Connection-specific DNS Suffix . : >Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface >Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 >DHCP Enabled. . . . . . . . . . . : No >Autoconfiguration Enabled . . . . : Yes >IPv6 Address. . . . . . . . . . . : > 2001:0:5ef5:79fb:867:2876:3f57:b6e(Preferred) >Link-local IPv6 Address . . . . . : fe80::867:2876:3f57:b6e%7(Preferred) >Default Gateway . . . . . . . . . : :: >DHCPv6 IAID . . . . . . . . . . . : 218103808 >DHCPv6 Client DUID. . . . . . . . : > 00-01-00-01-1A-89-39-FB-14-10-9F-E1-7B-95 >NetBIOS over Tcpip. . . . . . . . : Disabled > > Tunnel adapter isatap.localdomain: > >Media State . . . . . . . . . . . : Media disconnected
Re: Cygwin unable to resolve hostnames
> > I'm not sure when this started, but recently Cygwin has been unable to > > resolve (certain) hostnames. > > > > Example: > > wget github.com > > --2015-07-22 15:17:04-- http://github.com/ > > Resolving github.com (github.com)... failed: Non-recoverable failure > > in name resolution. [snip] I have the same problem and I have just made a clean Cygwin64 install on a computer that has never had Cygwin installed before. I have not messed with any settings, yet I also cannot use curl or git to access almost any site. Only the built-in Windows CLI tools, such as `ping`, works. > > Any ideas? > > Cygwin by default uses the same resolution as Windows, that means that > you have something in Cygwin's configuration that affects resolution. > First and most obvious is /etc/resolv.conf; by default I don't think > there is one, but you can create it and Cygwin will use it. Pointers on what to actually put in that file? > Next would be if you have more than one DNS resolver in your (Windows) > network configuration, this means that any one of them can be used at > any time (literally it should be random)... and by coincidence Cygwin is > using one that doesn't work, the Web browser is using another, and > things change with different tests. Run 'ipconfig -all' and see under > the network adapter what's listed for "DNS Servers". > > Also if there is more than one network adapter something similar to the > last paragraph will happen. I would think that Cygwin uses the DNS > servers on the "default" adapter. I am guessing my problems have something to do with this part, as I am running Windows 8.1 in VMWare. VMWare adds lots of weird network stuff, all of which I am not too familiar with ... The below output is from `ipconfig /all`. Could any of the info be put in the aforementioned resolv.conf file? Windows IP Configuration Host Name . . . . . . . . . . . . : macbookpro Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : localdomain Ethernet adapter Bluetooth Network Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network) #2 Physical Address. . . . . . . . . : 00-50-56-E2-FB-E9 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Ethernet adapter Ethernet0: Connection-specific DNS Suffix . : localdomain Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection Physical Address. . . . . . . . . : 00-0C-29-6A-39-52 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::20b9:f45e:9310:3f4a%9(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.244.145(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Friday, December 11, 2015 10:59:56 Lease Expires . . . . . . . . . . : Friday, December 11, 2015 11:29:56 Default Gateway . . . . . . . . . : 192.168.244.2 DHCP Server . . . . . . . . . . . : 192.168.244.254 DHCPv6 IAID . . . . . . . . . . . : 167775273 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-89-39-FB-14-10-9F-E1-7B-95 DNS Servers . . . . . . . . . . . : 192.168.244.2 Primary WINS Server . . . . . . . : 192.168.244.2 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter Teredo Tunneling Pseudo-Interface: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:867:2876:3f57:b6e(Preferred) Link-local IPv6 Address . . . . . : fe80::867:2876:3f57:b6e%7(Preferred) Default Gateway . . . . . . . . . : :: DHCPv6 IAID . . . . . . . . . . . : 218103808 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-89-39-FB-14-10-9F-E1-7B-95 NetBIOS over Tcpip. . . . . . . . : Disabled Tunnel adapter isatap.localdomain: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : localdomain Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Regards Carl-Erik Kopseng -- 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