Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-17 Thread Takashi Yano via Cygwin
On Fri, 17 Feb 2023 12:56:06 +0800 Yeo Kai Wei wrote: > Hi All, > > Thanks for the help. > > It works now. > > So, the 2 things that were required > > 1. Adding the '/' in front of the semaphore name so that Cygwin can > recognise it > > #define SemaphoreName "/mysemaphore" > > 2. Changing

Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-16 Thread Yeo Kai Wei via Cygwin
Hi All, Thanks for the help. It works now. So, the 2 things that were required 1. Adding the '/' in front of the semaphore name so that Cygwin can recognise it #define SemaphoreName "/mysemaphore" 2. Changing the if check from if(semptr == (void*) -1) to if(semptr == (sem_t*) 0) Thank

Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-16 Thread Corinna Vinschen via Cygwin
Hi Kai, Apart from what Takashi already wrote, there's another bug in this code: On Feb 16 12:04, Yeo Kai Wei via Cygwin wrote: > #define ByteSize 512 > #define BackingFile "/shMemEx" > #define AccessPerms 0644 > #define SemaphoreName "mysemaphore" What

Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-16 Thread Takashi Yano via Cygwin
On Thu, 16 Feb 2023 12:04:01 +0800 Yeo Kai Wei wrote: > Hi All, > > Could I request for some help on some code? > > I ran into an error with semaphores with some book code using Cygwin on > Windows. > > The code will throw an error with sem_post(). > > I compiled it with gcc -o memwriter

Re: Query for Net-SNMP using Cygwin

2020-04-25 Thread David Rothenberger
On 2020-04-25 11:54, Modassir Khan via Cygwin-apps wrote: Dear Members, I am using net-snmp package for cygwin to implement SNMP V3 support for Windows 10 and Windows 2016. In reference to the same, i wish to know if the complied Net-snmp package is build with winextdll support? As far as I

Re: Query about "libGL error: Screen is not Windows-DRI capable"

2017-02-20 Thread Jon Turney
On 18/02/2017 21:59, Eliot Moss wrote: Dear friends -- I get the message above when I start cygwin emacs-X11 32-bit while running Cygwin-X. First of all, should I care? And if No. This message should probably be downgraded from an error. I should, what can I do about it? Does this have

Re: Query of type of memcpy (and sys_errlist) on Cygwin

2016-04-10 Thread Tatsuro MATSUOKA
> From: Marco Atzeri > To: cygwin> Cc: > Date: 2016/4/10, Sun 16:12 > Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin > > Hi Tatsuro, > May be was better to not reply to a different thread ? > I am pending the other thread and I want to discuss

Re: Query of type of memcpy (and sys_errlist) on Cygwin

2016-04-10 Thread Tatsuro MATSUOKA
> From: Hans-Bernhard Bröker > To: cygwin@cygwin.com > Cc: > Date: 2016/4/10, Sun 16:10 > Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin > > Am 10.04.2016 um 05:14 schrieb Tatsuro MATSUOKA: >>  Hello >>  The topic was discussed on gnuplot m

Re: Query of type of memcpy (and sys_errlist) on Cygwin

2016-04-10 Thread Marco Atzeri
Hi Tatsuro, May be was better to not reply to a different thread ? On 10/04/2016 05:14, Tatsuro MATSUOKA wrote: Hello The topic was discussed on gnuplot mailing list. http://gnuplot.10905.n7.nabble.com/stdfn-h-error-conflicting-types-for-memcopy-and-sys-errlist-on-Cygwin-build-td20061.html

Re: Query of type of memcpy (and sys_errlist) on Cygwin

2016-04-10 Thread Hans-Bernhard Bröker
Am 10.04.2016 um 05:14 schrieb Tatsuro MATSUOKA: Hello The topic was discussed on gnuplot mailing list. http://gnuplot.10905.n7.nabble.com/stdfn-h-error-conflicting-types-for-memcopy-and-sys-errlist-on-Cygwin-build-td20061.html Frorm discussion there (the topic is now pending.) , I decided ask

Re: Query about how to get 'full' Cygwin/unix support

2012-03-28 Thread Eric Blake
On 03/28/2012 02:07 PM, AngusC wrote: Hello I am using cygwin and have copied the core cygwin files to a folder called binarytools on my Windows PC. This folder is first item in path env variable. When I run make it has commands to do a mkdir -p foldername But mkdir -p myfolder

Re: Query about how to get 'full' Cygwin/unix support

2012-03-28 Thread Jeremy Bopp
On 03/28/2012 03:07 PM, AngusC wrote: Hello I am using cygwin and have copied the core cygwin files to a folder called binarytools on my Windows PC. This folder is first item in path env variable. When I run make it has commands to do a mkdir -p foldername But mkdir -p myfolder

Re: Query on building GCC source targeting Windows?

2009-03-18 Thread Mark Geisert
divya kotekar writes: I am Divya. Basically from systems side, acquainted with Windows OS and with very limited knowledge about compilers. This mailing list concerns the X Window System running on Cygwin; Cygwin is a POSIX emulation layer on top of MS Windows. It is hard to see how your

Re: -query not working on cygwin/windows

2009-02-28 Thread Mark Geisert
km4hr writes: At cygwin shell prompt I enter netstat -na |grep 600* I get this: UDP0.0.0.0:6000 *:* UDP0.0.0.0:6001 *:* UDP0.0.0.0:6002 *:* ..etc.. netstat -na | grep 177 returns nothing. I get the above responses whether my Windows firewall is on or off. Also,

Re: -query not working on cygwin/windows

2009-02-27 Thread km4hr
How do know which which ports are open on a Windows PC? I need ports 177/UDP and 6000-6006/TCP open for xdmcp -query. (Or so I understand. I can't find any clear instructions on this.) At cygwin shell prompt I enter netstat -na |grep 600* I get this: UDP0.0.0.0:6000 *:* UDP

Re: -query not working on cygwin/windows

2009-02-26 Thread Dirk Fassbender
km4hr schrieb: Phil, Thanks for hanging in there and trying your best to help identify my problem. If I ever find the solution I will shout it from the mountain top! I'd like to try cygwin-x on another Windows PC with less software installed but my company's network is configured to block

Re: -query not working on cygwin/windows

2009-02-26 Thread km4hr
Dirk, Thanks for the recommendation. I gave it a try. Still no luck. Dirk Fassbender wrote: km4hr schrieb: Phil, Thanks for hanging in there and trying your best to help identify my problem. If I ever find the solution I will shout it from the mountain top! I'd like to try

RE: -query not working on cygwin/windows

2009-02-25 Thread km4hr
Phil, Thanks for hanging in there and trying your best to help identify my problem. If I ever find the solution I will shout it from the mountain top! I'd like to try cygwin-x on another Windows PC with less software installed but my company's network is configured to block unknown MAC

RE: -query not working on cygwin/windows

2009-02-24 Thread Phil Betts
km4hr wrote: Phil Betts-2 wrote: km4hr wrote: Perhaps you missed my suggestions here: http://cygwin.com/ml/cygwin-xfree/2009-02/msg00222.html Try the telnet check first to see if the port is accessible from Windows because that only takes a few seconds. (Make sure you run the cygwin

RE: -query not working on cygwin/windows

2009-02-23 Thread Phil Betts
km4hr wrote: Well, I have now turned on all relevant ports in the Windows firewall. I still can't connnect. I turned on port 177(UDP) and 6000-6006(TCP). I even turned on extra ports as recommend by http://www.starnet.com/xwin32kb/What_ports_need_to_be_opened_for_XDMCP/ this source. I'm

RE: -query not working on cygwin/windows

2009-02-23 Thread km4hr
Phil Betts-2 wrote: km4hr wrote: Perhaps you missed my suggestions here: http://cygwin.com/ml/cygwin-xfree/2009-02/msg00222.html Try the telnet check first to see if the port is accessible from Windows because that only takes a few seconds. (Make sure you run the cygwin telnet.exe)

RE: -query not working on cygwin/windows

2009-02-20 Thread Phil Betts
km4hr wrote: This is a update including further information regarding my quest to get cygwin/x to connect to my CentOS linux server via xdmcp. I believe I have isolated the problem to either cygwin/x or Windows, probably Windows because no X-server that I've tried works. I've tried

Re: -query not working on cygwin/windows

2009-02-20 Thread km4hr
Well, I have now turned on all relevant ports in the Windows firewall. I still can't connnect. I turned on port 177(UDP) and 6000-6006(TCP). I even turned on extra ports as recommend by http://www.starnet.com/xwin32kb/What_ports_need_to_be_opened_for_XDMCP/ this source. I'm about out of

Re: -query not working on cygwin/windows

2009-02-19 Thread km4hr
This is an update on my hard-fought attempt to get -query access to a linux xdmcp server running CentOS 5 from my Windows PC running cygwin-x. I installed X-Win32 (a commercial X-server) on my Windows PC. Unlike cygwin-x and Xming the X-Win32 server does detect available xdmcp hosts when I use

RE: -query not working on cygwin/windows

2009-02-19 Thread Phil Betts
km4hr wrote: This is an update on my hard-fought attempt to get -query access to a linux xdmcp server running CentOS 5 from my Windows PC running cygwin-x. I installed X-Win32 (a commercial X-server) on my Windows PC. Unlike cygwin-x and Xming the X-Win32 server does detect available xdmcp

Re: -query not working on cygwin/windows

2009-02-19 Thread km4hr
This is a update including further information regarding my quest to get cygwin/x to connect to my CentOS linux server via xdmcp. I believe I have isolated the problem to either cygwin/x or Windows, probably Windows because no X-server that I've tried works. I've tried cygwin/x, Xming, and

RE: -query not working on cygwin/windows

2009-02-19 Thread Mike Ayers
You've read this, yes? http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-query Specifically, check your Windows firewall config. You will need to explicitly open the X11 port, as there is, IIUC, no outgoing packet from that port. HTH, Mike -- Unsubscribe

RE: -query not working on cygwin/windows

2009-02-19 Thread km4hr
Yes, I've read the information at the link you provided. It says to open port 177/UDP and ports 6000-6005(TCP). But it doesn't say whether that applies to the PC where the X-server is running, or just the xdmcp host. I'm 99% sure I've got those ports open on my CentOS host (the xdmcp server).

RE: -query not working on cygwin/windows

2009-02-19 Thread km4hr
I've found an article on the internet that explains http://support.microsoft.com/kb/842242 how to open ports in Windows. I'll try it tomorrow even though I don't know if it's necessary. km4hr wrote: Yes, I've read the information at the link you provided. It says to open port 177/UDP

Re: -query not working on cygwin/windows

2009-02-19 Thread Larry Hall (Cygwin X)
km4hr wrote: I've found an article on the internet that explains http://support.microsoft.com/kb/842242 how to open ports in Windows. I'll try it tomorrow even though I don't know if it's necessary. If you are confident that you turned the Windows firewall off and you have no other firewalls

Re: -query not working on cygwin/windows

2009-02-18 Thread Jon TURNEY
km4hr wrote: I can't get -query to do anything. I only get a grey screen. Do you have disable firewalling, or open some ports, or whatever on the Windows box? I completely disabled my Windows firewall (I think) but still no joy. I'm completely illiterate on Windows. I don't care to know

Re: query of installed apps on remote Winows

2006-07-16 Thread Dave
Richard Foulk wrote: Anyone know how the control-panel-Add/Remove-Programs facility works? Not particularly cygwin specific, and comprehensively covered at Microsofts site. Anyway, here's some basic info. Each program needing an uninstall item has a key in:

Re: query of installed apps on remote Winows

2006-07-16 Thread Christopher Faylor
On Sun, Jul 16, 2006 at 12:00:49PM +0100, Dave wrote: Is this something that might be supported by existing cygwin tools? Personally, I'd leave installing/uninstalling of non-cygwin apps to windows. Can you imagine the queries coming to this list? - I couldn't uninstall notepad! - Executing

Re: query of installed apps on remote Winows

2006-07-16 Thread Richard Foulk
Dave [EMAIL PROTECTED] wrote: Richard Foulk wrote: Anyone know how the control-panel-Add/Remove-Programs facility works? Not particularly cygwin specific, and comprehensively covered at Microsofts site. Anyway, here's some basic info. Each program needing an uninstall item has a key in:

Re: query of installed apps on remote Winows

2006-07-16 Thread Christopher Faylor
On Sun, Jul 16, 2006 at 12:51:38PM -1000, Richard Foulk wrote: Dave [EMAIL PROTECTED] wrote: Richard Foulk wrote: Anyone know how the control-panel-Add/Remove-Programs facility works? Not particularly cygwin specific, and comprehensively covered at Microsofts site. Anyway, here's some

RE: query on updating changes

2006-01-19 Thread Dave Korn
KevinGPO wrote: What tools come with Cygwin that I can use to find differences between an old C project and an updated branched version of it? diff. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Query: issue with cygwin-curl 7.15.0 - cannot close some connections

2005-11-28 Thread Brian Dessent
Soh Kam Yung wrote: Brian, Please send all questions about using the Cygwin curl packages to the cygwin (at) cygwin.com mailing list, which I follow. Please do not email me personally. I have been using curl under cygwin and noticed an issue with closing of connections with some websites

Re: Query: issue with cygwin-curl 7.15.0 - cannot close some connections

2005-11-28 Thread Corinna Vinschen
On Nov 28 04:04, Brian Dessent wrote: The reason that it apparently did not realize that the connection had been terminated was that the Cygwin poll() was returning 1 with the POLLHUP bit set in 'revents'. But curl was not aware of this bit and only looked for POLLIN, so it got confused,

Re: Query

2005-08-02 Thread Christopher Faylor
On Tue, Aug 02, 2005 at 02:18:41PM +0530, Sundara Pandian wrote: Hello Sir can u guide me with a tutorial for using Cygwin. i need to compile / execute the .c files in the cygwin environment. Thanks and regards Please check out the project web page for links to available

Re: Query regarding Cygwin make/Gnu Make

2003-12-04 Thread Baurjan Ismagulov
Hello, Karthik. On Thu, Dec 04, 2003 at 03:04:28PM +0530, Rajagopalan, Karthik wrote: test$(EXE) return -1 back because of encountering a error in code test.c. I'm not sure what values are meaningful for make and how -1 is interpreted: the argument of exit(3) seems to be (signed int), but bash

Re: Query regarding Cygwin make/Gnu Make

2003-12-04 Thread Brian Ford
On Thu, 4 Dec 2003, Rajagopalan, Karthik wrote: I found today a weird working difference between Cygwin Make against Gnu Make. Let me explain the situation I faced. Cygwin make *is* GNU make. I have following piece of code as test target. Here $(EXE) takes .exe for Windows and blank for

Re: Query related to PostgreSQL : Srinivas : 12th Aug 2003

2003-08-12 Thread Jason Tishler
Srinivas, Please post instead of sending private email. On Tue, Aug 12, 2003 at 01:48:26PM +0530, Srinivas wrote: Hi Jayson, s/Jayson/Jason/ Can you plz give the link for downloading the latest version of the PostgreSQL, Cygwin PostgreSQL is installable via Cygwin's setup.exe:

RE: Query regarding application error..

2003-07-16 Thread Hannu E K Nevalainen \(garbage mail\)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rajagopalan, Karthik Hai, I am getting following application error when I try to run the exe from Cygwin. The application failed to initialize properly()x005).Click on Ok to terminate the application. Is it something to

Re: query regarding use of Xwin -multiwindow

2003-06-03 Thread Harold L Hunt II
John, Clipboard integration doesn't come automatically. You have to use either 'xwinclip' (see xfree86.cygwin.com) or pass '-clipboard' to XWin.exe. Neither of these is used by default because 1) neither works well with XDMCP, 2) -clipboard isn't totally trusted yet, 3) -clipboard is going

Re: query regarding use of Xwin -multiwindow

2003-06-03 Thread Igor Pechtchanski
On Mon, 2 Jun 2003, John Vincent wrote: Hi, I've just discovered the -multiwindow option of the cygwin x-server and I think it's great, as I can now run an xterm on a linux box and display it on my windows xp machine. One problem, though, I don't seem able to cut-and-paste btween the xterm

Re: query regarding use of Xwin -multiwindow

2003-06-03 Thread John Vincent
Hi guys, I just wanted to say thanks to Igor for redirecting my question, and to Harold for answering it so speedily. (The answer is to use the -clipboard option, seems to work for me!) Thanks again. /John. _ On the move? Get

Re: query regarding use of Xwin -multiwindow

2003-06-03 Thread Jim Kleckner
Check out: http://www.lepton.fr/tools/autocutsel/ http://fink.sourceforge.net/doc/x11/tips.php I use this on Linux to connect my paste buffers. Jim Igor Pechtchanski wrote: On Mon, 2 Jun 2003, John Vincent wrote: Hi, I've just discovered the -multiwindow option of the cygwin x-server and I

RE: [list] Re: query

2002-12-15 Thread Chris January
hi i am new to cygwin enviornment i just downloaded it yesterday . i have an application written in linux downloaded from internet .it is a tar file . i want to run it on windows 2000 can i do it using cygwin . No but if you have the source you can build the application with

Re: query

2002-12-14 Thread Larry Hall (RFK Partners, Inc)
At 01:29 AM 12/14/2002, mohit batra wrote: hi i am new to cygwin enviornment i just downloaded it yesterday . i have an application written in linux downloaded from internet .it is a tar file . i want to run it on windows 2000 can i do it using cygwin . No but if you have the source you

RE: query

2002-12-13 Thread Robert McNulty Junior
As a Linux program, No. Get the source tar and compile it using GCC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of mohit batra Sent: Saturday, December 14, 2002 12:30 AM To: [EMAIL PROTECTED] Subject: query hi i am new to cygwin enviornment i just