Re: Ctrl+c signal on Cygwin

2014-04-30 Thread Larry Hall (Cygwin)
On 04/30/2014 08:57 AM, Dean Schulze wrote: I run the program from cygwin. Do I have to do something more than start the .exe from cygwin to make it use the cygwin .dll? Yes. You have to compile and link it with Cygwin's compiler to enable Cygwin's signaling to work properly. -- Larry

Re: Ctrl+c signal on Cygwin

2014-04-30 Thread Dean Schulze
I run the program from cygwin. Do I have to do something more than start the .exe from cygwin to make it use the cygwin .dll? On 4/29/2014 10:54 PM, Christopher Faylor wrote: On Tue, Apr 29, 2014 at 08:37:32PM -0600, Dean Schulze wrote: The golang code below doesn't detect any signals when r

Re: Ctrl+c signal on Cygwin

2014-04-29 Thread Christopher Faylor
On Tue, Apr 29, 2014 at 08:37:32PM -0600, Dean Schulze wrote: >The golang code below doesn't detect any signals when run on cygwin and >I hit Ctrl+c. When I run it from a DOS shell it does catch a signal >when from Ctrl+c. > >What kind of signal does Cygwin send when Ctrl+c is typed? > >func mai

Ctrl+c signal on Cygwin

2014-04-29 Thread Dean Schulze
The golang code below doesn't detect any signals when run on cygwin and I hit Ctrl+c. When I run it from a DOS shell it does catch a signal when from Ctrl+c. What kind of signal does Cygwin send when Ctrl+c is typed? func main() { c := make(chan os.Signal, 1) signal.Notify(c, os.Inte