home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!csccat!ncmicro!ltf
- From: ltf@ncmicro.lonestar.org (Lance Franklin)
- Newsgroups: comp.os.msdos.misc
- Subject: Re: CONFIG.SYS tactics
- Message-ID: <1992Aug27.182207.15976@ncmicro.lonestar.org>
- Date: 27 Aug 92 18:22:07 GMT
- References: <4LDiPB1w165w@ersys.edmonton.ab.ca> <1439@frackit.UUCP> <2santnh@lynx.unm.edu>
- Organization: NC Microproducts, Inc.
- Lines: 53
-
- In article <2santnh@lynx.unm.edu> jfreter@triton.unm.edu (The Myth) writes:
- }In the config.sys file, one can't use redirection to capture the output of
- }various drivers. But all is not lost. Control-s (pause ) and control-q
- }(resume) or the pause key both work for halting the screen display long
- }enough to make sure the pc isn't doing anything odd.
-
- In addition, you might want to pick up BOOT.SYS Version 1.42, an excellent
- shareware program that allows boot-up menus to select different
- configurations. This package, by Hans Salvisberg, also includes a little
- thing called PAUSE.SYS, which pauses the boot-up process and prints out
- a string, then waits for you to press any key. It operates separately
- from BOOT.SYS, so you can use it separately, and can optionally clear
- the screen, do a printscreen, output a string without pausing or output.
-
- Here's a help screen:
-
-
- PAUSE.SYS - 1.01 Copyright (c) 1990 Hans Salvisberg. All rights reserved.
-
- PAUSE.SYS provides some utility functions, that may be useful for debugging
- complex CONFIG.SYS set-ups; it can also send escape sequences to ANSI.SYS,
- provided ANSI.SYS (or a replacement) is already loaded.
-
- Syntax:
-
- DEVICE=d:\path\PAUSE.SYS [switch] [text]
-
- Without any switch, PAUSE.SYS writes the optional text (or a standard text
- if omitted) to the screen and waits for a key-press, similar to the PAUSE
- command in a batch file. All characters are translated to lower case, except
- for those preceeded by a caret (^); to display a caret, write two carets.
-
- The following switches can be specified (each suppresses the wait):
- /C clear the screen and home the cursor
- /P do a Print-Screen
- /O output only, i.e. don't wait for a key-press
- /Exxx write an ESC character followed by xxx to standard output; this is
- intended to send commands to ANSI.SYS, e.g. /E[1;37;44m sets the
- screen color to bright white on blue and /E[2^J clears the screen.
-
- PAUSE.SYS is part of the BOOT.SYS package and may not be distributed in any
- other context without prior written consent of the author.
-
-
- Hope this helps...BOOT.SYS V1.42 is available on Simtel under the file
- name PD:<MSDOS.SYSUTL>BOOT142.ZIP.
-
- Lance
- --
- Lance T. Franklin +----------------------------------------------+
- (ltf@ncmicro.lonestar.org) | "You want I should bop you with this here |
- NC Microproducts, Inc. | Lollipop?!?" The Fat Fury |
- Richardson, Texas +----------------------------------------------+
-