DiskMAG Volume 1 Number 3 (Dec 1988) : UTILITIES / Du.tutor

# THIS FILE IS A Du.hist file and also a TUTORIAL. Greg Browne 7/24/88
#
# Du.Hist file may have comments (start with # sign and space next)
# ******* READ IS MUCH FASTER WITHOUT COMMENTS *********
#                 ****        *******
# NOTE the space after the # sign. IT DESIGNATES COMMENTS.
#
# lines NOT started with a # sign are "R" gadget history items
#
# THE "R" history is now 20 items long.
#
# *** THERE ARE IMBEDDED STARTUP COMMANDS AVAILABLE NOW ***
# ==============================================================
# ANY file can be read as a Du.hist file.  Put the name of the
# file in the "R" gadget & click the RIGHT mousebutton on the
# "R" beside the gadget.  The file will be read as a Du.hist
# equivalent. Only as many "R" items as are in the new file will
# be replaced. Any beyond that will be unchanged
#
# ALSO (3.65) putting a single startup command (incl. #) in
# "R" gadget and clicking RIGHT mousebutton on "R" will read
# that command (easy change of Showname, Editor, Devices, etc).
# =============================================================
#
# IF the character DIRECTLY after the # is one of the following, the
#  balance of the line will be considered a possible command line.
#
# Commands are:  S E A O R 0..8 I D F U B T N (case insensitive)
#
#SSuperShow
#   Set external show program name - ENTIRE BALANCE OF LINE IS USED
#   if no name given or no #S included, Du's internal show is used
#
#e Emacs
#   Editor program name - ENTIRE BALANCE OF LINE IS USED
#   if no name given or no #E included, Du chooses "dme" as editor.
#   Leading spaces on command names are stripped off
#
#Edme
#   However I like "dme" so I'll put it back in place for now.
#   SEE, THE LATEST ITEM ALWAYS TAKES PRECEDENCE.
#
#Aram:
#   Access on startup - ENTIRE BALANCE OF LINE IS USED
#   This can be any valid path - just used ram: for less mess.
#   if no name given or no #A included, Du chooses ram: from WB
#   or the current directory from CLI. STARTUP ONLY!!
#
#ofile  VALID LINE - Change Outname3 from SER: to file
#   This replaces the "SER:" output device on the PRT:/PAR:/SER: gadget.
#   only 4 characters following "O" are used.
#
#Rrun >nil:
#   This replaces "run >nil: <nil:" for the DO gadgets last pass.
#   ENTIRE BALANCE OF LINE IS USED.
#
#  DEVICE NAME Replacement [0..8]
#   This will replace the device gadgets above the filewindow.
#   Left to right  [df0 = 0  ram = 8]
#   Again only 4 characters are used.
#7  vdk: THIS LINE IS VALID (leading spaces always removed first)
#6nv0:   SO IS THIS
#
#IIII
#   This is like the I in the command tail - each character after
#   the "I" means increase filespace allocated by 50 files. Doesn't
#   care what the trailing characters are. (WORKS WITH command tail)
#   Following line will increase by 200. STARTUP ONLY!!
#
#D
#   Reverse of "I" above - Decrease by 50 for each. STARTUP ONLY!!
#
# Miscellaneous commands - tail of line ignored on all these.
#F              (* FastDir in place *)
#U              (* FastDir UN-inplace *)
#B              (* Open window at bottom if interlaced screen *)
#T              (* FastDir is transient (turns self off) *)
#N              (* FastDir NOT transient (you turn on/off *)
#
# OTHER SECOND LETTERS are ignored
# NOTE, HOWEVER, that the previous line CAN NOT leave the space out
# or the interpreter will replace the "file" above with "THER".
#
# Now follow the real "R" gadget Items I use most.  They can be grouped
# or interspersed with commands and comments and will be picked up properly.
# The next line is blank on purpose.

NewZap
unarc -
unarc
diskx x
SPref
Preferences
execute
SuperMort
mash
mash -d
execute Drive1
zoo -a
TimeSetter
mount vd0:
Calc
dmouse -m20
arc <CON:0/0/320/50/tempArcWindow x
ReadKwik 1 dh1:Xfer
RiteKwik dh1:Xfer 1

# ANYTHING past the 20th history item is IGNORED, so put your commands
# earlier in the file. After it reads the 20th item (if there is one),
# it quits cold.
#
# This will be looked for FIRST in current directory and then in S:. The
# first one found will be used. If neither found, the program will initialize
# all histories as empty ("").  REMEMBER, a file in the current directory
# will take presidence over s: