STACK 8000

;     SCRIPT FILENAME: DOSMAN.def
;     VERSION        : 1.1            
;     DATE           : 05-08-95 
;     AUTHOR         : Peter Bagnato & Colin Thompson
;     DESCRIPTION    : A "MAN PAGE" system for DOS commands   

;     NOTE           : The man pages are as current as possible.
;                      Much time has been put into updating and
;                      clarifing these commands.

;================ LOAD THE LISTVIEW FROM THIS DIRECTORY   ============
;================       %F IS PATH, %N IS FILENAME        ============

SETENV LOCATION `CD`
LIST >RAM:DOSMANLVDIR $LOCATION/MAN  LFORMAT "%N" ALL


echo  >ram:DOSMAN.buttons "Read Manual;execute D.LV.scp []"
echo >>ram:DOSMAN.buttons "QUIT"

echo  >ram:DOSMAN.radio "FileReader;AmigaGuide;Amigaguide|More;More|MuchMore;muchmore|PPMore;ppmore|FullView;FullView|MultiView;Multiview"

;================   WRITE THE DEFINITION FILE TO RAM: ================

echo   >ram:DOSMAN.cl "BEGIN"
echo  >>ram:DOSMAN.cl "TITLE *"DosMan: By Peter Bagnato.... Select Manual Page to Read...*"" 
echo  >>ram:DOSMAN.cl "LV RAM:DOSMANLVDIR SORT MULTI"
echo  >>ram:DOSMAN.cl "RADIO  ram:DOSMAN.radio"
echo  >>ram:DOSMAN.cl "BUTTONS  ram:DOSMAN.buttons"
echo  >>ram:DOSMAN.cl "END"


MUInt ram:DOSMAN.cl 

DELETE RAM:DOSMAN.#? quiet
DELETE ENV:LOCATION  quiet

QUIT


