home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
ZSUS
/
Z3HELP-3.LBR
/
L.LBR
/
LUSH.HZP
/
LUSH.HLP
Wrap
Text File
|
2000-06-30
|
4KB
|
104 lines
;
LUSH.COM
Size (recs) CRC Version Author/Latest Issue Disk
4k (29) 42FB 1.0 Carson Wilson 12/87 Z3COM8
1- Syntax 2- Commands 3- Notes
LUSH is a minimal ZCPR shell which takes advantage of the extended CCP
services of ZCPR 3.3. This allows both reduced program size (making for a
faster shell) and enhanced security. Since ZCPR itself, and not LUSH, parses
DU and directory specifications used by the program, LUSH automatically
adjusts to whatever security levels are present in the current ZCPR system.
This means that the same program can be used by both secure and private
systems without installation.
:1
Syntax: LUSH [dir: or du:]ufn[.LBR]
:2
Internal Commands:
>HELP or ? <-- display help screen
>DIR [afn] <-- display this library's directory
>LUSH [du:|dir:]ufn[.LBR] <-- attach to another library file
External Commands:
External commands begin with a leading space and instruct LUSH to send the
command verbatim to ZCPR.
> command [parameters] <-- command [parameters]
When ZCPR has completed processing the command, ZCPR reloads LUSH using the
program name, ZCPR directory, and library name LUSH was originally invoked
with.
Parsed Commands:
Parsed commands begin without a leading space. LUSH parses the drive,
user, and name of the current directory file as the first parameter of any
ZCPR command line. This allows LUSH to work as a 'front end' for the various
library utilities which accept the first command line parameter as a
designation of the library file on which to operate. Thus, if LUSH were
attached to LUSH10.LBR at directory B0:,
>command [parameters] <-- command B0:LUSH10.LBR [parameters]
Again, when ZCPR has completed processing the command, ZCPR reloads LUSH
using the program name, ZCPR directory, and library name LUSH was originally
invoked with.
Hybrid Commands:
If the KMD or XMODEM commands are given without a leading space, LUSH
parses them as follows:
>KMD|XMODEM S[K] ufn <-- send a member of this library
If LUSH were attached to LUSH10.LBR at directory B0:, and the command was
'KMD SK THIS.FIL", LUSH would send the command 'KMD LK B0:LUSH10.LBR THIS.FIL'
to ZCPR.
KMD and XMODEM are external commands in the sense that no command
processing is done by LUSH - it merely sends a command line to ZCPR. But they
are internal commands in the sense that they are dedicated commands. Only
the commands 'KMD' and 'XMODEM' will be parsed with L or LK as the first
parameter, and only 'KMD' or 'XMODEM' will be sent as the command name to
ZCPR. Therefore, for use with RCP/M systems, a program with the exact name
XMODEM or KMD must be available for sending files.
:3
LUSH Notes:
a. LUSH contains only three internal commands: LUSH, HELP and DIR. All
other commands are sent to ZCPR as is, with the option of prepending the
current library's drive, user, and name as the f irst command parameter.
Therefore, LUSH automatically installs for library-oriented programs
such as LBRE, LPUT, LT, and TYPELZ which accepts library names as the
first command line parameter.
b. LUSH will only operate on ZCPR systems with a version of 3.3 or higher.
Further, LUSH requires that the ZCPR system includes a shhell stack with
entries of at least 32 bytes each (standard size), and an external FCB.
If any of these conditions are not met, LUSH aborts with the appropriate
error message.
: None (Self-Explanatory)
Examples of Use: