Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: "'Peter A. Castro'" , "'John Cooper'" Cc: , Subject: RE: Ctrl-Z fails to suspend Windows programs Date: Fri, 18 Jun 2004 10:45:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 18 Jun 2004 09:45:02.0750 (UTC) FILETIME=[EDA053E0:01C45518] > -----Original Message----- > From: cygwin-owner On Behalf Of Peter A. Castro > Sent: 17 June 2004 21:13 > To: John Cooper > Cc: cygwin > Subject: RE: Ctrl-Z fails to suspend Windows programs > Anyway, can you point me to where you got this code example? > [win32sdk] > > ID: Q90493 I have a suspicion that this (and similar) code samples should probably not be posted to this list; can everyone please snip their quotes of it. It looks a bit copyright to me. So I googled the q number. Found it in a couple of places. http://support.microsoft.com/default.aspx?scid=kb;en-us;90493 http://www.opensource.apple.com/darwinsource/10.3/tcsh-44/tcsh/win32/globals .c Oh dear. Word-for-word copying of M$ proprietary source into an open source project? TCSH-L added. I dunno what the status is of SDK source code examples but it's certainly M$ copyright; someone should look at the licensing terms. http://www.mit.edu/afs/athena/astaff/project/aui/src/third/mc/pc/util_win32. c There's a different way of doing it, just frex. Opening a file and reading a few bytes out of a couple of structs is something that can be done in standard posix C without even breaking a sweat. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/