home *** CD-ROM | disk | FTP | other *** search
- DOCUMENT:Q106212 09-NOV-1993 [W_NT]
- TITLE :Breaking Out of GREP May Return You to Command Prompt
- PRODUCT :Windows NT
- PROD/VER:3.10
- OPER/SYS:WINDOWS
- KEYWORDS:buglist 3.10
-
- -----------------------------------------------------------------------
- The information in this article applies to:
-
- - Microsoft Windows NT Resource Kit
- -----------------------------------------------------------------------
-
- SYMPTOMS
- ========
-
- If you run GREP--"Global Regular Expression Print," a POSIX-based tool
- included in the Windows NT Resource Kit--using the command line
- parameter ô/ö (or the more commonly attempted ô/?ö for help on the
- GREP command), the cursor is placed on the next screen line without a
- prompt (GREP is waiting for input from you). If you then attempt
- breaking out of the GREP command by using CTRL+C, you are returned to
- the command prompt, but when you attempt to close the command prompt
- window (such as when you type 'exit' and then press ENTER at the
- command prompt), the command prompt window does not close and you are
- unable to close the window using any other means (such as by choosing
- End Task from the Task List, choosing Terminate from the Settings menu
- in the Control Box, or choosing Logoff or Shutdown).
-
- Windows NT is unable to log off or shut down because this window is
- open, resulting in the need to manually reset the computer if you want
- to log off or shut down.
-
- RESOLUTION
- ==========
-
- For help on the GREP command, use the command line parameter -H
- instead of /?. Also, when you attempt to break out of GREP, use
- CTRL+Z, instead of CTRL + C. This allows GREP to close normally and
- will not result in the application locking up.
-
- STATUS
- ======
-
- Microsoft has confirmed this to be a problem in GREP.EXE from the
- Windows NT Resource Kit. We are researching this problem and will post
- new information here in the Microsoft Knowledge Base as it becomes
- available.
-
- Additional reference words: 3.10
- KBCategory:
- KBSubCategory: ntrk
-
- =============================================================================
-
- THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
- PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS
- ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO
- EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
- ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
- CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
- MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION
- OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
- SO THE FOREGOING LIMITATION MAY NOT APPLY.
-
- Copyright Microsoft Corporation 1993.