changeset 285:5ac4920aa1f7

Added *.hp files from OS-9 Level Two, removed cmds.hp as the old OS-9 Level One help method is deprecated
author boisy
date Sun, 21 Jul 2002 22:03:03 +0000
parents cdd38ec4f526
children 326238550911
files level1/sys/asm.hp level1/sys/attr.hp level1/sys/backup.hp level1/sys/build.hp level1/sys/chd.hp level1/sys/chx.hp level1/sys/cmds.hp level1/sys/cmp.hp level1/sys/cobbler.hp level1/sys/config.hp level1/sys/copy.hp level1/sys/date.hp level1/sys/dcheck.hp level1/sys/deiniz.hp level1/sys/del.hp level1/sys/deldir.hp level1/sys/dir.hp level1/sys/display.hp level1/sys/dsave.hp level1/sys/echo.hp level1/sys/edit.hp level1/sys/error.hp level1/sys/ex.hp level1/sys/format.hp level1/sys/free.hp level1/sys/help.hp level1/sys/ident.hp level1/sys/iniz.hp level1/sys/inkey.hp level1/sys/kill.hp level1/sys/link.hp level1/sys/list.hp level1/sys/load.hp level1/sys/makdir.hp level1/sys/makefile level1/sys/mdir.hp level1/sys/merge.hp level1/sys/mfree.hp level1/sys/os9gen.hp level1/sys/procs.hp level1/sys/pwd.hp level1/sys/pxd.hp level1/sys/rename.hp level1/sys/setime.hp level1/sys/setpr.hp level1/sys/shell.hp level1/sys/tmode.hp level1/sys/tuneport.hp level1/sys/unlink.hp level1/sys/xmode.hp
diffstat 50 files changed, 206 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/asm.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@ASM
+Syntax: Asm filename [opt][>list]
+Usage : Standard OS-9 Assembler
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/attr.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,14 @@
+@ATTR
+Syntax: Attr filename [permissions]
+Usage : Examine or change the security permissions of a file
+Opts  : -perm = turn off specified permission
+        perm  = turn on specified permission
+        -a = inhibit printing of attrs after change     
+Perms : d - directory file
+        s - non-sharable file
+        r - read permit to owner
+        w - write permit to owner
+        e - execute permit to owner
+        pr - read permit to public
+        pw - write permit to public
+        pe - execute permit to public
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/backup.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,6 @@
+@BACKUP
+Syntax: Backup [e][s][-v][dev][dev]
+Usage : Copies all data from one device to another
+Opts  : e = exit if read error occurs
+        s = single disk backup
+        -v = do not verify writes
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/build.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@BUILD
+Syntax: Build filename
+Usage : Builds short text files from standard input
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/chd.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@CHD 
+Syntax: Chd <pathlist>
+Usage : Change working directory to specified path
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/chx.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@CHX 
+Syntax: Chx <pathlist>
+Usage : Change execution directory to specified path
Binary file level1/sys/cmds.hp has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/cmp.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@CMP
+Syntax: Cmp filename1 filename2
+Usage : File comparison utility
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/cobbler.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@COBBLER
+Syntax: Cobbler devname
+Usage : Creates OS-9 bootstrap file from current boot
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/config.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@CONFIG
+Syntax: Config
+Usage : Create custom boots and system disks
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/copy.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,4 @@
+@COPY
+Syntax: Copy pathname pathname [-s]
+Usage : copies data from one file to a second file
+Opts  : -s = single drive copy 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/date.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,4 @@
+@DATE
+Syntax: Date [t]
+Usage : Specifies current system time and date
+Opts  : t = specify time also
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/dcheck.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,9 @@
+@DCHECK
+Syntax: Dcheck [-opts] <devname>
+Usage : Check disk file structure
+Opts  : -w=path = pathlist to directory for work files
+        -p = print pathlists for questionable clusters
+        -m = save allocation map work files
+        -b = suppress listing of unused clusters
+        -s = display count of files and directories only
+        -o = print options for DCheck
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/deiniz.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@DEINIZ
+Syntax: Deiniz <devname> {<devname>}
+Usage : Detach a device(s)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/del.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,4 @@
+@DEL
+Syntax: Del [-x] filename [...]
+Usage : Deletes the specified file(s)
+Opts  : -x = delete relative to execution directory
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/deldir.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@DELDIR
+Syntax: Deldir directory name
+Usage : Deletes entire directories
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/dir.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,5 @@
+@DIR
+Syntax: Dir [e][x][dir or path]
+Usage : Displays formatted list of the file names in a directory
+Opts  : e = print extended directory
+        x = print execution directory
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/display.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@DISPLAY
+Syntax: Display <hex>[...]
+Usage : Displays converted characters to standard output
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/dsave.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,9 @@
+@DSAVE
+Syntax: Dsave [-opts][dev][pathname]
+Usage : Generates procedure file to copy all files in a directory system
+Opts  : -b = make a system disk by using OS9boot if present
+        -b=<path> = make system disk using path as source
+        -i = indent for directory levels
+        -l = do not process below the current level
+        -m = do not include makdir commands in procedure file
+        -s<num> = set copy size to num K
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/echo.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@ECHO
+Syntax: Echo <text>
+Usage : Echo entered text to standard output
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/edit.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@EDIT
+Syntax: Edit {<path>}
+Usage : Standard line oriented text editor
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/error.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@ERROR
+Syntax: Error errno [...]
+Usage : Outputs text error messages for given error numbers
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/ex.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@EX
+Syntax: Ex <modname>
+Usage : Chain to the given module 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/format.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,9 @@
+@FORMAT
+Syntax: Format <devname> 
+Usage : Initializes an OS-9 diskette
+Opts  : R   - Ready
+        L   - Logical format only
+        "disk name"       
+        1/2 - number of sides
+        'No. of cylinders'   (in decimal)
+        :Interleave value:   (in decimal)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/free.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@FREE
+Syntax: Free [devname]
+Usage : Displays number of free sectors on a device
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/help.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,5 @@
+@HELP
+Syntax: Help [subject][-?]
+Usage : Give on-line help to users
+        will prompt if no subjects given
+Opts  : -? give list of help topics
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/ident.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,7 @@
+@IDENT
+Syntax: Ident <pathlist> [-opts]
+Usage : Displays header information from OS-9 memory modules
+Opts  : -m = look at module in memory
+        -s = use single line output
+        -v = do not verify module CRC
+        -x = pathlist begins at execution directory
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/iniz.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@INIZ
+Syntax: Iniz <devname>{<devname>}
+Usage : Attach a device
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/inkey.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@INKEY
+Syntax: RUN INKEY([path],strvar)
+Usage : BASIC09 subroutine to input a single key stroke
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/kill.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@KILL
+Syntax: Kill <procId>
+Usage : Send an abort to the process specified
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/link.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@LINK
+Syntax: Link <modname>
+Usage : Link to a memory module
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/list.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@LIST
+Syntax: List filename [...]
+Usage : Lists the contents of text files
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/load.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@LOAD
+Syntax: Load <pathname> [...]
+Usage : Loads modules into memory 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/makdir.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@MAKDIR
+Syntax: Makdir <pathname>
+Usage : Creates a new directory file 
--- a/level1/sys/makefile	Sun Jul 21 21:27:28 2002 +0000
+++ b/level1/sys/makefile	Sun Jul 21 22:03:03 2002 +0000
@@ -3,13 +3,28 @@
 DEPENDS		= ./Makefile
 
 DEFS		= errmsg motd password
+HELPFILES	= asm.hp attr.hp backup.hp build.hp chd.hp \
+		chx.hp cmp.hp cobbler.hp config.hp copy.hp date.hp \
+		dcheck.hp deiniz.hp del.hp deldir.hp dir.hp display.hp \
+		dsave.hp echo.hp edit.hp error.hp ex.hp format.hp \
+		free.hp gfx.hp help.hp ident.hp iniz.hp \
+		inkey.hp kill.hp link.hp list.hp load.hp makdir.hp mdir.hp \
+		merge.hp mfree.hp modpatch.hp montype.hp os9gen.hp procs.hp \
+		pwd.hp pxd.hp rename.hp setime.hp setpr.hp shell.hp \
+		tmode.hp tuneport.hp unlink.hp xmode.hp
 ALLOBJS		= $(DEFS)
+HELPMSG		= helpmsg
 
-all:	$(ALLOBJS)
+all:	$(ALLOBJS) $(HELPMSG)
 	$(UNIX2OS9) $(ALLOBJS)
 
+helpmsg: $(HELPFILES)
+	$(MERGE) $(HELPFILES) > $@
+	$(UNIX2OS9) $@
+
 clean:
 	$(OS92UNIX) $(ALLOBJS)
+	$(RM) $(HELPMSG)
 
 showobjs:
 	@echo $(ALLOBJS)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/mdir.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,4 @@
+@MDIR
+Syntax: Mdir [e]
+Usage : Displays the present memory module directory
+Opts  : e = print extended module directory
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/merge.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@MERGE
+Syntax: Merge <path> [...]
+Usage : Copies multiple input files to standard output
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/mfree.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@MFREE
+Syntax: Mfree 
+Usage : Displays the amount of free RAM memory
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/os9gen.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,4 @@
+@OS9GEN
+Syntax: OS9Gen devname [-s]
+Usage : Creates and links an OS-9 bootstrap file
+Opts  : -s = single drive option
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/procs.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,4 @@
+@PROCS
+Syntax: Procs [e]
+Usage : Displays a list of processes running in the system
+Opts  : e = display all processes in the system
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/pwd.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@PWD
+Syntax: Pwd
+Usage : Prints the current data directory path
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/pxd.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@PXD
+Syntax: Pxd
+Usage : Prints the current execution directory path
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/rename.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@RENAME
+Syntax: Rename <filename> <new filename>
+Usage : Gives the file or directory a new name
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/setime.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@SETIME
+Syntax: Setime [yyyy/mm/dd/hh:mm:ss]
+Usage : Sets and activates the system clock
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/setpr.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@SETPR
+Syntax: Setpr <procId> <num>
+Usage : Sets the priority of the specified process to num
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/shell.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@SHELL
+Syntax: Shell <arglist>
+Usage : OS-9 command interpreter
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/tmode.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@TMODE
+Syntax: Tmode [.pathname] [params]
+Usage : Displays or changes the operating parameters of the terminal
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/tuneport.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@TUNEPORT
+Tuneport </t1 or /p> [value]
+Adjust the baud value for the serial port
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/unlink.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@UNLINK
+Syntax: Unlink <modname>
+Usage : Unlinks module(s) from memory
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/sys/xmode.hp	Sun Jul 21 22:03:03 2002 +0000
@@ -0,0 +1,3 @@
+@XMODE
+Syntax: XMode <devname> [params]
+Usage : Displays or changes the parameters of an SCF type device