Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 8223 invoked by uid 500); 12 Jun 2000 02:29:42 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 8211 invoked from network); 12 Jun 2000 02:29:40 -0000 From: "Andrew Braund" To: Subject: RE: [patch 1.3.13-dev] Win9x Services Date: Mon, 12 Jun 2000 11:56:45 +0930 Message-ID: <001501bfd415$a75af120$3c00a8c0@beast> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <000901bfd3eb$bd46c3d0$345985d0@corecomm.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: William A. Rowe, Jr. [mailto:wrowe@lnd.com] > Sent: Monday, 12 June 2000 6:57 > To: new-httpd@apache.org > Subject: RE: [patch 1.3.13-dev] Win9x Services > > > > From: Andrew Braund [mailto:abraund_news@mail.com] > > Sent: Saturday, June 10, 2000 7:34 PM > > > > Testing on Win 2000 5.00.2195; > > > > apache -v > > Server version: Apache/1.3.13-dev-service9x.200006091127 (Win32) > > Server built: Jun 10 2000 13:26:09 > > > > apache > > First impression was that Ctrl-C does not seem to to shutdown > > Apache, apache -k stop in another dos window closes it down > > quickly. Further testing revealed that this was due to the new > > way the command prompt window works, it has a select mode and an edit > > mode, unless you are in edit mode apache does not get the Ctrl-C. > > This bugs me -SO MUCH- that I've attached the source for my Win32 > console diagnostics module. (A simple [cl -c TestConsole.c] and > [link TestConsole.obj kernel32.lib] will build it.) You might want > to see if we get any extra 'bits' in the console mode flag when that > state is toggled, so that we might override it. > > Bill > > This code is really for trying (yet again) to grab win95's close > button... and I'm off to test it there (if you haven't guessed, I > never installed my email to that boot path). > > # lines starting with # are my comments the rest was copied from # the command window # on WinNT4SP6a I get default mode of 0x0087, (on Win2000 0x00ef); C:\apache-1.3\src>testconsole 0x00ff Default console mode was 0x0087, mode changed to 0x00ff Dumping console activity... press Ctrl+Break or Close to terminate. #all the rest of this testing was done on Win2000 #run testconsole c:\apache-1.3\src>testconsole 0x00ff Default console mode was 0x00ef, mode changed to 0x00ff Dumping console activity... press Ctrl+Break or Close to terminate. #press n key (just to see if its working!) Key 0x4e (OEM 0x31) Pressed 1 times for 'n' code 110 (0x6e) Console mode is 0x00ff #release n key Key 0x4e (OEM 0x31) Released 1 times for 'n' code 110 (0x6e) # press control key+ Key 0x11 (OEM 0x1d) Pressed 1 times for '?' code 0 (0x00)with LeftCtrl Console mode is 0x00ff #press c key Ignoring CTRL+C signal... Key 0x43 (OEM 0x2e) Released 1 times for '?' code 3 (0x03)with LeftCtrl Console mode is 0x00ff #release control key Key 0x11 (OEM 0x1d) Released 1 times for '?' code 0 (0x00) Console mode is 0x00ff #click in window, note that unlike winnt we don't get any mouse move events on Win2k #window title bar changes from "CommandPrompt -testconsole 0x00ff" to #"Select CommandPrompt -testconsole 0x00ff" # press control key # note nothing happens in window (control key is captured) # press c key Key 0x11 (OEM 0x1d) Pressed 1 times for '?' code 0 (0x00)with LeftCtrl Console mode is 0x00ff Ignoring CTRL+C signal... Key 0x43 (OEM 0x2e) Released 1 times for '?' code 3 (0x03)with LeftCtrl Console mode is 0x00ff #same again but this time testconsole run without processed input c:\apache-1.3\src>testconsole 0x00fe Default console mode was 0x00ef, mode changed to 0x00fe Dumping console activity... press Ctrl+Break or Close to terminate. #press control key Key 0x11 (OEM 0x1d) Pressed 1 times for '?' code 0 (0x00)with LeftCtrl Console mode is 0x00fe #press c key Key 0x43 (OEM 0x2e) Pressed 1 times for '?' code 3 (0x03)with LeftCtrl Console mode is 0x00fe #released c key Key 0x43 (OEM 0x2e) Released 1 times for '?' code 3 (0x03)with LeftCtrl Console mode is 0x00fe #released control key Key 0x11 (OEM 0x1d) Released 1 times for '?' code 0 (0x00) Console mode is 0x00fe #clicked in window #window title bar changes from "CommandPrompt -testconsole 0x00fe" to #"Select CommandPrompt -testconsole 0x00fe" #press control key - nothing happens #press c key Key 0x11 (OEM 0x1d) Pressed 1 times for '?' code 0 (0x00)with LeftCtrl Console mode is 0x00fe Key 0x11 (OEM 0x1d) Pressed 1 times for '?' code 0 (0x00)with LeftCtrl Console mode is 0x00fe #release c key Key 0x43 (OEM 0x2e) Released 1 times for '?' code 3 (0x03)with LeftCtrl Console mode is 0x00fe #release control key Key 0x11 (OEM 0x1d) Released 1 times for '?' code 0 (0x00) Console mode is 0x00fe #click in notepad window Command Window Lost Focus Console mode is 0x00fe #click in Command prompt window Command Window Received Focus Console mode is 0x00fe #clicked again in command prompt window #window title bar changes from "CommandPrompt -testconsole 0x00fe" to #"Select CommandPrompt -testconsole 0x00fe" #no output in command window #press control key #(nothing happens) #press break key Key 0x11 (OEM 0x1d) Pressed 1 times for '?' code 0 (0x00)with LeftCtrl Console mode is 0x00fe Key 0x03 (OEM 0x46) Released 1 times for '?' code 3 (0x03)with Enhanced LeftCtrl Console mode is 0x00fe CTRL+BREAK Signalled 4 seconds till termination... #release break key #(nothing happens) 3 seconds till termination... #release control key Key 0x11 (OEM 0x1d) Released 1 times for '?' code 0 (0x00) Console mode is 0x00fe 2 seconds till termination... 1 seconds till termination... c:\apache-1.3\src> Hope this helps, anything else I should try?