home *** CD-ROM | disk | FTP | other *** search
- ;
- CPSET.COM
-
- Size (recs) CRC Version Author/Latest Issue Disk
- CPSET.COM 3k (18) 7B29 1.3 Howard Goldstein 10/90 Z3COM3
- CPSET.3OM 3k (18) 270C 1.3 Howard Goldstein 10/90 Z3COM3
- CPSET.4OM 3k (22) 3739 1.3 Howard Goldstein 10/90 Z3COM3
-
- 1- Syntax 2- Notes 3- Examples of Use
-
-
- CPSET relaces CPSEL (console/printer select) of the orignal ZCPR3 toolset.
- Since the new extended environment (ZCPR 3.4) contains data for only one
- console and one printer, CPSEL should be discarded (it is potentially
- dangerous). CPSEL allows you to define from the command line (and hence an
- alias) or interactively the characteristics of the console or printer.
- :1
- Syntax (1) CPSET //
- (2) CPSET
- (3) CPSET CON WIDTH LENGTH TEXT
- (4) CPSET LST WIDTH LENGTH TEXT FORMFEED
- (5) CPSET PRT WIDTH LENGTH TEXT FORMFEED
-
- The first two forms display the built-in help screen; the third form
- redefines the console characteristics; and the fourth and fifth forms redefine
- the printer characterists.
-
- The actual syntax is a little more relaxed. Help is selected whenever the
- first parameter starts with a slash character. The console is selected when-
- ever the first parameter begins with a 'C'. Thus 'C' alone can be used, as
- can the full 'CONSOLE'. This also includes forms that look like a directory
- specification, such as "CRT:". The same is true for the printer, and any
- form starting with a 'P' for 'printer' or 'L' for 'list' will work as well.
-
- All the data fields must be separated by spaces or tabs. Fields that start
- with characters that do not represent a valid number will be left as they are
- presently. The FORMFEED flag for the printer will be cleared if a value of
- zero is given and set if a nonzero value is given. Q or /Q as last item on
- command line toggles display of changes Off.
- :2
- CPSET Notes
-
- a. Vers 1.3 has a configurable "quiet" option which can also be toggled
- from the command line.
-
- b. Vers 1.2 modifies PARSEDATA routine to make the code reentrant as it
- should be. Table used by ARGV function is moved to DSEG. Program now
- aborts if not running under Z System.
-
- c. Vers 1.1 fixes an error in setting the formfeed attribute for printer.
- :3
- Examples of Use
-
- a. "CPSET CON 132" --> will change only the console width
-
- b. "CPSET CON: / / 19" --> will change only the number of text lines