*** ./reactos/base/applications/cmdutils/more/more.c.old Sun Jul 11 18:09:46 2010 --- ./reactos/base/applications/cmdutils/more/more.c Sat Jul 24 15:24:08 2010 *************** *** 1,4 **** ! /* $Id: more.c 38171 2008-12-18 12:32:32Z cwittich $ * * MORE.C - external command. * --- 1,4 ---- ! /* $Id: more.c 38171 2010-07-24 15:22:32Z hlehmann $ * * MORE.C - external command. * *************** *** 58,66 **** do { ReadConsoleInput (hKeyboard, &ir, 1, &dwRead); ! if ((ir.EventType == KEY_EVENT) && ! (ir.Event.KeyEvent.bKeyDown == TRUE)) return; } while (TRUE); } --- 58,69 ---- do { ReadConsoleInput (hKeyboard, &ir, 1, &dwRead); ! //printf("D:key=%d\n",ir.Event.KeyEvent.wVirtualKeyCode); ! if ((ir.EventType == KEY_EVENT) && (ir.Event.KeyEvent.bKeyDown == TRUE)){ ! //if (ir.Event.KeyEvent.wVirtualKeyCode == VK_Q) {printf("D:key=Quit"); } ! if (ir.Event.KeyEvent.wVirtualKeyCode == VK_Q) { ExitProcess(0); } return; + } } while (TRUE); } *** ./reactos/base/applications/cmdutils/more/resource.h.old Sun Jul 11 18:05:44 2010 --- ./reactos/base/applications/cmdutils/more/resource.h Sat Jul 24 15:19:35 2010 *************** *** 3,5 **** --- 3,7 ---- #define IDS_USAGE 100 #define IDS_CONTINUE 101 #define IDS_FILE_ACCESS 102 + #define VK_Q 81 +