[comp.sources.amiga] v02i009: dme - programmer's text editor V1.31, Part01/06

page@swan.ulowell.edu (Bob Page) (10/22/88)

Submitted-by: dillon@cory.berkeley.edu (Matt Dillon)
Posting-number: Volume 2, Issue 9
Archive-name: editors/dme131.1of6

# This is a shell archive.  Remove anything before this line
# then unpack it by saving it in a file and typing "sh file"
# (Files unpacked will be owned by you and have default permissions).
# This archive contains the following files:
#	./src/globals.c
#	./support/macros.edrc
#	./support/dme.refs.1
#	./support/dme.refs.2
#	./support/sample.edrc
#
if `test ! -d ./src`
then
  mkdir ./src
  echo "mkdir ./src"
fi
if `test ! -s ./src/globals.c`
then
echo "writing ./src/globals.c"
cat > ./src/globals.c << '\Rogue\Monster\'

/*
 * GLOBALS.C
 *
 *	(C)Copyright 1987 by Matthew Dillon, All Rights Reserved
 */

#include "defs.h"

ED *Ep; 		/* Current Window		*/
MLIST DBase;		/* Doubly linked list of Files	*/

char	Nsu;		/* Used in formatter to disable screen updates	*/
char	Msgchk; 	/* Force message queue check for break		*/
ubyte	CtlC;		/* Keycode for 'c'                              */
char	Savetabs;	/* SaveTabs mode?				*/
char	memoryfail;	/* out of memory flag				*/
ubyte	Current[256];	/* Current Line buffer and length		*/
ubyte	Space[32] = { 32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
		    32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32 };
short	Clen;
char	*Partial;	/* Partial command line when executing ESCIMM	*/
char	*String;	/* String Capture variable			*/

char	Comlinemode;
char	Abortcommand;

long	BSline = -1;
long	BEline = -1;
short	BSchar;
short	BEchar;

ED	*BEp;

\Rogue\Monster\
else
  echo "will not over write ./src/globals.c"
fi
if [ `wc -c ./src/globals.c | awk '{printf $1}'` -ne 871 ]
then
echo `wc -c ./src/globals.c | awk '{print "Got " $1 ", Expected " 871}'`
fi
if `test ! -d ./support`
then
  mkdir ./support
  echo "mkdir ./support"
fi
if `test ! -s ./support/macros.edrc`
then
echo "writing ./support/macros.edrc"
cat > ./support/macros.edrc << '\Rogue\Monster\'

#   MACROS FROM BRYCE


#   Some people do not like the default cursor key mappings
#   (see DME.DOC).  Here is an example of remapping them.

map `c-up'  `scrollup'
map `c-dow' `scrolldown'

map `s-up'  `pageup'
map `s-dow' `pagedown'
map `s-lef' `wleft'
map `s-rig' `wright'

map `a-dow' `bottom'
map `a-up'  `top'
map `a-rig' `last'
map `a-lef' `first'


#	MACROS FROM KIM AND FRIENDS
insertmode on
savetabs on
tabstop 8
pageset 96
# spltjoin
  map `f1'  `ifelse r `join del' split'
# sos lineadd
  map `f2'  `ifelse b `last split down first deline' `last split down first''
# fffile
  map `f3'  `ifelse m `saveold quit' `quit''
  map `f4'  `join'
  map `f5'  `escimm `insfile ''
  map `f6'  `escimm `insfile df1:readme.list''
  map `f7'  `pageup screentop first'
  map `f8'  `pagedown screentop first'
  map `f9'  `insertmode toggle'
  map `f10' `ifelse t bottom top'
  map `s-f7'  `top screentop first'
  map `s-f8'  `bottom screentop first'
# capitalize word
  map `nk0' `wleft if c=34 right if c=39 right if c=96 right if cl `tlate -32' while ca right'
# Uncapitalize word
  map `s-nk0' `wleft if c=34 right if c=39 right if c=96 right if cu `tlate +32' while ca right'
  map `nk3' `ifelse m `saveold quit' `quit''
# save current line in ram file
  map `nk4' `unblock block block bsave ram:dmesave deline'
# get line from ram file (works across edit files
  map `nk5' `insfile ram:dmesave down'
# move current line up 1 line within the file
  map `nk7' `ifelse t `right left' `unblock block block up bmove unblock' '
# move current line down 1 line within the file
  map `nk8' `down unblock block block up bmove unblock down'
  map c-k `remeol'
  map `c-s' `escimm `find ''
# delete with end-of-line join and handling of DME bug with join at the bottom of the file
  map del `ifelse !r del `if !b `doh end-of-line join and handling of DME bug with join at the bottom of the file
  map `bs' `ifelse !l bs `ifelse b `settoggle 1' `resettoggle 1' up last join if 1 down del''
  map `tab' `tab'
  mapwn first''
  map `s- ' `` ''
# backspace with end-of-line join and handling of DME bug with join at the bottom of the file
  map `bs' `ifelse !l bs `ifelse b `settoggle 1' `resettoggle 1' up last join if 1 down del''
  map `tab' `tab'
  map `s-tab' `backtab'
  map `help'  `newwindow newfile df1:s/dme.help'
# make current character upper case and move the cursor right one character
  map `nk-' `if cl `tlate -32' right'


#	MACROS FROM STEVEN SWEETING

savetabs on

map return `ifelse r `return insline up firstnb down' `split first down''

map backspace `ifelse l `up repeat cright right join if c=32 del' `back''

map delete `ifelse r `join if c=32 del' `del''

map left `ifelse l `up repeat cright right' `left''

map help `'

map A-c `saveold execute `run make' iconify'
map sA-c `saveold execute `run make -f SRC:makefile' iconify'

map A-p `escimm `Press [RETURN] to Print, [ESC] to stop' saveas `PRT:''

map A-s `bsave vd0:tmp'
map A-l `insfile vd0:tmp'

map A-n `execute `newcli''

map c-k `ifelse r `join first' `remeol''

map c-right wright

map c-left  wleft

map `sc-/' `escimm `findr ''

map `sc-n' `nextr'

map `sc-p' `prevr'

map `sL-lmb' `tomouse firstnb repeat tr `` '''

map `sR-rmb' `tomouse firstnb repeat tl bs'



\Rogue\Monster\
else
  echo "will not over write ./support/macros.edrc"
fi
if [ `wc -c ./support/macros.edrc | awk '{printf $1}'` -ne 3242 ]
then
echo `wc -c ./support/macros.edrc | awk '{print "Got " $1 ", Expected " 3242}'`
fi
if `test ! -s ./support/dme.refs.1`
then
echo "writing ./support/dme.refs.1"
cat > ./support/dme.refs.1 << '\Rogue\Monster\'

Menu			    (};)    incs:intuition/intuition.h      (struct Menu)
MenuItem		    (};)    incs:intuition/intuition.h      (struct MenuItem)
Requester		    (};)    incs:intuition/intuition.h      (struct Requester)
Gadget			    (};)    incs:intuition/intuition.h      (struct Gadget)
BoolInfo		    (};)    incs:intuition/intuition.h      (struct BoolInfo)
PropInfo		    (#define MAXPOT)    incs:intuition/intuition.h      (struct PropInfo)
StringInfo		    (};)    incs:intuition/intuition.h      (struct StringInfo)
IDCMPFlags		    (#define LONELY) incs:intuition/intuition.h     (/* --- IDCMP Classes)
IDCMP			    (LONELY) incs:intuition/intuition.h     (IDCMP Classes)
IntuiText		    (};)    incs:intuition/intuition.h      (struct IntuiText)
ITEXT			    (};)    incs:intuition/intuition.h      (struct IntuiText)
Border			    (};)    incs:intuition/intuition.h      (struct Border)
Image			    (};)    incs:intuition/intuition.h      (struct Image)
IMESS			    (#define LONELY)    incs:intuition/intuition.h      (struct IntuiMessage)
IntuiMessage		    (#define LONELY)    incs:intuition/intuition.h      (struct IntuiMessage)
Window			    (#define SUPER_UN) incs:intuition/intuition.h      (struct Window)
WIN			    (#define SUPER_UN) incs:intuition/intuition.h      (struct Window)
NewWindow		    (};)    incs:intuition/intuition.h      (#define WINDOWSIZING)
NW			    (};)    incs:intuition/intuition.h      (#define WINDOWSIZING)
NewScreen		    (};)    incs:intuition/intuition.h      (#define SCREENTYPE)
NS			    (};)    incs:intuition/intuition.h      (#define SCREENTYPE)
Screen			    (};)    incs:intuition/intuition.h      (struct Screen)
SCR			    (};)    incs:intuition/intuition.h      (struct Screen)
WBStartup		    (};)    incs:workbench/startup.h        (struct WBStartup)
WBArg			    (};)    incs:workbench/startup.h        (struct WBArg)
DiskObject		    (};)    incs:workbench/workbench.h      (struct DiskObject)
IOAudio 		    (};)    incs:devices/audio.h            (struct IOAudio)
BootBlock		    (};)    incs:devices/bootblock.h        (struct BootBlock)
ClipboardUnitPartial	    (};)    incs:devices/clipboard.h        (struct ClipboardUnitPartial)
IOClipReq		    (};)    incs:devices/clipboard.h        (struct IOClipReq)
SatisfyMsg		    (};)    incs:devices/clipboard.h        (struct SatisfyMsg)
ConUnit 		    (};)    incs:devices/conunit.h          (struct   ConUnit)
GamePortTrigger 	    (};)    incs:devices/gameport.h         (struct GamePortTrigger)
KeyMap			    (};)    incs:devices/keymap.h           (struct   KeyMap)
KeyMapNode		    (};)    incs:devices/keymap.h           (struct  KeyMapNode)
KeyMapResource		    (};)    incs:devices/keymap.h           (struct  KeyMapResource)
IOExtPar		    (};)    incs:devices/parallel.h         ( struct   IOExtPar)
IOPrtCmdReq		    (};)    incs:devices/printer.h          (struct IOPrtCmdReq)
IODRPReq		    (};)    incs:devices/printer.h          (struct IODRPReq)
IOExtSer		    (};)    incs:devices/serial.h           ( struct  IOExtSer)
timeval 		    (};)    incs:devices/timer.h            (struct timeval)
TV			    (};)    incs:devices/timer.h            (struct timeval)
timerequest		    (};)    incs:devices/timer.h            (struct timerequest)
AvailFonts		    (};)    incs:libraries/diskfont.h       (struct AvailFonts)
AvailFontsHeader	    (};)    incs:libraries/diskfont.h       (struct AvailFontsHeader)
DateStamp		    (};)    incs:libraries/dos.h            (struct DateStamp)
FileInfoBlock		    (};)    incs:libraries/dos.h            (struct FileInfoBlock)
FIB			    (};)    incs:libraries/dos.h            (struct FileInfoBlock)
InfoData		    (};)    incs:libraries/dos.h            (struct InfoData)
Process 		    (};)    incs:libraries/dosextens.h      (struct Process)
PROC			    (};)    incs:libraries/dosextens.h      (struct Process)
FileHandle		    (};)    incs:libraries/dosextens.h      (struct FileHandle)
FH			    (};)    incs:libraries/dosextens.h      (struct FileHandle)
DosPacket		    (};)    incs:libraries/dosextens.h      (struct DosPacket)
DosLibrary		    (};)    incs:libraries/dosextens.h      (struct DosLibrary)
RootNode		    (};)    incs:libraries/dosextens.h      (struct RootNode)
DosInfo 		    (};)    incs:libraries/dosextens.h      (struct DosInfo)
CommandLineInterface	    (};)    incs:libraries/dosextens.h      (struct CommandLineInterface)
CLI			    (};)    incs:libraries/dosextens.h      (struct CommandLineInterface)
DeviceList		    (};)    incs:libraries/dosextens.h      (struct DeviceList)
DeviceNode		    (};)    incs:libraries/filehandler.h    (struct DeviceNode)
DEVNODE 		    (};)    incs:libraries/filehandler.h    (struct DeviceNode)
FileLock		    (};)    incs:libraries/dosextens.h      (struct FileLock)
LOCK			    (};)    incs:libraries/dosextens.h      (struct FileLock)
Unit			    (};)    incs:exec/devices.h             (struct Unit)
ExecBase		    (};)    incs:exec/devices.h             (struct ExecBase)
Interrupt		    (};)    incs:exec/interrupts.h          (struct Interrupt)
IntVector		    (};)    incs:exec/interrupts.h          (struct IntVector)
SoftIntList		    (};)    incs:exec/interrupts.h          (struct SoftIntList)
IORequest		    (};)    incs:exec/io.h                  (struct IORequest)
IOR			    (};)    incs:exec/io.h                  (struct IORequest)
IOStdReq		    (};)    incs:exec/io.h                  (struct IOStdReq)
STD			    (};)    incs:exec/io.h                  (struct IOStdReq)
Library 		    (};)    incs:exec/libraries.h           (extern struct Library)
List			    (};)    incs:exec/lists.h               (struct List)
LIST			    999     incs:exec/lists.h		    (struct List)
MinList 		    (};)    incs:exec/lists.h               (struct MinList)
MemChunk		    (};)    incs:exec/memory.h              (struct  MemChunk)
MemHeader		    (};)    incs:exec/memory.h              (struct  MemHeader)
MemEntry		    (};)    incs:exec/memory.h              (struct  MemEntry)
MemList 		    (};)    incs:exec/memory.h              (struct  MemList)
Node			    (};)    incs:exec/nodes.h               (struct Node)
NODE			    999     incs:exec/nodes.h		    (struct Node)
MinNode 		    (};)    incs:exec/nodes.h               (struct MinNode)
MsgPort 		    (};)    incs:exec/ports.h               (struct MsgPort)
PORT			    (};)    incs:exec/ports.h               (struct MsgPort)
Message 		    (};)    incs:exec/ports.h               (struct Message)
Semaphore		    (};)    incs:exec/semaphore.h           (struct Semaphore)
SemaphoreRequest	    (};)    incs:exec/semaphore.h           (struct SemaphoreRequest)
SignalSemaphore 	    (};)    incs:exec/semaphore.h           (struct SignalSemaphore)
Task			    (};)    incs:exec/tasks.h               (extern struct Task)
TASK			    (};)    incs:exec/tasks.h               (extern struct Task)

Layer			    (};)    incs:graphics/clip.h            (struct Layer)
ClipRect		    (};)    incs:graphics/clip.h            (struct ClipRect)
CopIns			    (};)    incs:graphics/copper.h          (struct CopIns)
cprlist 		    (};)    incs:graphics/copper.h          (struct cprlist)
CopList 		    (};)    incs:graphics/copper.h          (struct CopList)
UCopList		    (};)    incs:graphics/copper.h          (struct UCopList)
copinit 		    (};)    incs:graphics/copper.h          (struct copinit)
VSprite 		    (};)    incs:graphics/gels.h            (struct VSsprite)
VSPRITE 		    (};)    incs:graphics/gels.h            (struct VSsprite)
Bob			    (};)    incs:graphics/gels.h            (struct Bob)
BOB			    (};)    incs:graphics/gels.h            (struct Bob)
AnimComp		    (};)    incs:graphics/gels.h            (struct AnimComp)
ANIMCOMP		    (};)    incs:graphics/gels.h            (struct AnimComp)
AnimOb			    (};)    incs:graphics/gels.h            (struct AnimOb)
BitMap			    (};)    incs:graphics/gfx.h             (struct BitMap)
BM			    (};)    incs:graphics/gfx.h             (struct BitMap)
Rectangle		    (};)    incs:graphics/gfx.h             (struct Rectangle)
GfxBase 		    (};)    incs:graphics/gfxbase.h         (struct GfxBase)
Layer_Info		    (};)    incs:graphics/layers.h          (struct Layer_Info)
AreaInfo		    (};)    incs:graphics/rastport.h        (struct AreaInfo)
TmpRas			    (};)    incs:graphics/rastport.h        (struct TmpRas)
RastPort		    (};)    incs:graphics/rastport.h        (struct RastPort)
RP			    (};)    incs:graphics/rastport.h        (struct RastPort)
RegionRectangle 	    (};)    incs:graphics/regions.h         (struct RegionRectangle)
Region			    (};)    incs:graphics/regions.h         (struct Region)
SimpleSprite		    (};)    incs:graphics/sprite.h          (struct SimpleSprite)
TextAttr		    (};)    incs:graphics/text.h            (struct TextAttr)
TA			    (};)    incs:graphics/text.h            (struct TextAttr)
TextFont		    (};)    incs:graphics/text.h            (struct TextFont)
TF			    (};)    incs:graphics/text.h            (struct TextFont)
ColorMap		    (};)    incs:graphics/view.h            (struct ColorMap)
CM			    (};)    incs:graphics/view.h            (struct ColorMap)
ViewPort		    (};)    incs:graphics/view.h            (struct ViewPort)
VP			    (};)    incs:graphics/view.h            (struct ViewPort)
View			    26	    incs:graphics/view.h	    (struct View)
RasInfo 		    (};)    incs:graphics/view.h            (struct RasInfo)

InputEvent		    (};)    incs:devices/inputevent.h       (struct InputEvent)

clib/macros.h		    999     incs:clib/macros.h		    ()
devices/audio.h 	    999     incs:devices/audio.h	    ()
devices/bootblock.h	    999     incs:devices/bootblock.h	    ()
devices/clipboard.h	    999     incs:devices/clipboard.h	    ()
devices/console.h	    999     incs:devices/console.h	    ()
devices/conunit.h	    999     incs:devices/conunit.h	    ()
devices/gameport.h	    999     incs:devices/gameport.h	    ()
devices/input.h 	    999     incs:devices/input.h	    ()
devices/inputevent.h	    999     incs:devices/inputevent.h	    ()
devices/keyboard.h	    999     incs:devices/keyboard.h	    ()
devices/keymap.h	    999     incs:devices/keymap.h	    ()
devices/narrator.h	    999     incs:devices/narrator.h	    ()
devices/parallel.h	    999     incs:devices/parallel.h	    ()
devices/printer.h	    999     incs:devices/printer.h	    ()
devices/prtbase.h	    999     incs:devices/prtbase.h	    ()
devices/serial.h	    999     incs:devices/serial.h	    ()
devices/timer.h 	    999     incs:devices/timer.h	    ()
devices/trackdisk.h	    999     incs:devices/trackdisk.h	    ()
exec/alerts.h		    999     incs:exec/alerts.h		    ()
exec/devices.h		    999     incs:exec/devices.h 	    ()
exec/errors.h		    999     incs:exec/errors.h		    ()
exec/exec.h		    999     incs:exec/exec.h		    ()
exec/execbase.h 	    999     incs:exec/execbase.h	    ()
exec/execname.h 	    999     incs:exec/execname.h	    ()
exec/interrupts.h	    999     incs:exec/interrupts.h	    ()
exec/io.h		    999     incs:exec/io.h		    ()
exec/libraries.h	    999     incs:exec/libraries.h	    ()
exec/lists.h		    999     incs:exec/lists.h		    ()
exec/memory.h		    999     incs:exec/memory.h		    ()
exec/nodes.h		    999     incs:exec/nodes.h		    ()
exec/ports.h		    999     incs:exec/ports.h		    ()
exec/resident.h 	    999     incs:exec/resident.h	    ()
exec/semaphores.h	    999     incs:exec/semaphores.h	    ()
exec/tasks.h		    999     incs:exec/tasks.h		    ()
exec/types.h		    999     incs:exec/types.h		    ()
graphics/clip.h 	    999     incs:graphics/clip.h	    ()
graphics/collide.h	    999     incs:graphics/collide.h	    ()
graphics/copper.h	    999     incs:graphics/copper.h	    ()
graphics/display.h	    999     incs:graphics/display.h	    ()
graphics/gels.h 	    999     incs:graphics/gels.h	    ()
graphics/gfx.h		    999     incs:graphics/gfx.h 	    ()
graphics/gfxbase.h	    999     incs:graphics/gfxbase.h	    ()
graphics/gfxmacros.h	    999     incs:graphics/gfxmacros.h	    ()
graphics/graphint.h	    999     incs:graphics/graphint.h	    ()
graphics/layers.h	    999     incs:graphics/layers.h	    ()
graphics/rastport.h	    999     incs:graphics/rastport.h	    ()
graphics/regions.h	    999     incs:graphics/regions.h	    ()
graphics/sprite.h	    999     incs:graphics/sprite.h	    ()
graphics/text.h 	    999     incs:graphics/text.h	    ()
graphics/view.h 	    999     incs:graphics/view.h	    ()
hardware/adkbits.h	    999     incs:hardware/adkbits.h	    ()
hardware/blit.h 	    999     incs:hardware/blit.h	    ()
hardware/cia.h		    999     incs:hardware/cia.h 	    ()
hardware/custom.h	    999     incs:hardware/custom.h	    ()
hardware/dmabits.h	    999     incs:hardware/dmabits.h	    ()
hardware/intbits.h	    999     incs:hardware/intbits.h	    ()
intuition/intuition.h	    999     incs:intuition/intuition.h	    ()
intuition/intuitionbase.h   999     incs:intuition/intuitionbase.h  ()
lattice/ctype.h 	    999     incs:lattice/ctype.h	    ()
lattice/dec.h		    999     incs:lattice/dec.h		    ()
lattice/dos.h		    999     incs:lattice/dos.h		    ()
lattice/error.h 	    999     incs:lattice/error.h	    ()
lattice/fcntl.h 	    999     incs:lattice/fcntl.h	    ()
lattice/ios1.h		    999     incs:lattice/ios1.h 	    ()
lattice/limits.h	    999     incs:lattice/limits.h	    ()
lattice/math.h		    999     incs:lattice/math.h 	    ()
lattice/setjmp.h	    999     incs:lattice/setjmp.h	    ()
lattice/stdio.h 	    999     incs:lattice/stdio.h	    ()
libraries/configregs.h	    999     incs:libraries/configregs.h     ()
libraries/configvars.h	    999     incs:libraries/configvars.h     ()
libraries/diskfont.h	    999     incs:libraries/diskfont.h	    ()
libraries/dos.h 	    999     incs:libraries/dos.h	    ()
libraries/dosextens.h	    999     incs:libraries/dosextens.h	    ()
libraries/expansion.h	    999     incs:libraries/expansion.h	    ()
libraries/filehandler.h     999     incs:libraries/filehandler.h    ()
libraries/mathffp.h	    999     incs:libraries/mathffp.h	    ()
libraries/translator.h	    999     incs:libraries/translator.h     ()
resources/cia.h 	    999     incs:resources/cia.h	    ()
resources/disk.h	    999     incs:resources/disk.h	    ()
resources/misc.h	    999     incs:resources/misc.h	    ()
resources/potgo.h	    999     incs:resources/potgo.h	    ()
workbench/icon.h	    999     incs:workbench/icon.h	    ()
workbench/startup.h	    999     incs:workbench/startup.h	    ()
workbench/workbench.h	    999     incs:workbench/workbench.h	    ()

\Rogue\Monster\
else
  echo "will not over write ./support/dme.refs.1"
fi
if [ `wc -c ./support/dme.refs.1 | awk '{printf $1}'` -ne 14428 ]
then
echo `wc -c ./support/dme.refs.1 | awk '{print "Got " $1 ", Expected " 14428}'`
fi
if `test ! -s ./support/dme.refs.2`
then
echo "writing ./support/dme.refs.2"
cat > ./support/dme.refs.2 << '\Rogue\Monster\'

parallel	    9999 docs:parallel.doc	()
exec		    9999 docs:exec.doc		()
intuition	    9999 docs:intuit.doc	()

AddResetHandler     (^l) docs:keyboard.doc   (        AddResetHandler -)
ReadMatrix	    (^l) docs:keyboard.doc   (        ReadMatrix -)
RemResetHandler     (^l) docs:keyboard.doc   (        RemResetHandler -)
ResetHandlerDone    (^l) docs:keyboard.doc   (        ResetHandlerDone -)
Translate	    (^l) docs:translat.doc   (        Translate -)
AskCType	    (^l) docs:gameport.doc   (        AskCType -)
AskTrigger	    (^l) docs:gameport.doc   (        AskTrigger -)
SetCType	    (^l) docs:gameport.doc   (        SetCType -)
SetTrigger	    (^l) docs:gameport.doc   (        SetTrigger -)

ActivateGadget	    (^l) docs:intuit.doc     (        ActivateGadget --)
ActivateWindow	    (^l) docs:intuit.doc     (        ActivateWindow  --)
AddGadget	    (^l) docs:intuit.doc     (        AddGadget  --)
AddGList	    (^l) docs:intuit.doc     (        AddGList  --)
AllocRemember	    (^l) docs:intuit.doc     (        AllocRemember  --)
AutoRequest	    (^l) docs:intuit.doc     (        AutoRequest  --)
BeginRefresh	    (^l) docs:intuit.doc     (        BeginRefresh  --)
BuildSysRequest     (^l) docs:intuit.doc     (        BuildSysRequest  --)
ClearDMRequest	    (^l) docs:intuit.doc     (        ClearDMRequest --)
ClearMenuStrip	    (^l) docs:intuit.doc     (        ClearMenuStrip  --)
ClearPointer	    (^l) docs:intuit.doc     (        ClearPointer  --)
CloseScreen	    (^l) docs:intuit.doc     (        CloseScreen  --)
CloseWindow	    (^l) docs:intuit.doc     (        CloseWindow  --)
CloseWorkBench	    (^l) docs:intuit.doc     (        CloseWorkBench  --)
CurrentTime	    (^l) docs:intuit.doc     (        CurrentTime  --)
DisplayAlert	    (^l) docs:intuit.doc     (        DisplayAlert  --)
DisplayBeep	    (^l) docs:intuit.doc     (        DisplayBeep  --)
DoubleClick	    (^l) docs:intuit.doc     (        DoubleClick  --)
DrawBorder	    (^l) docs:intuit.doc     (        DrawBorder  --)
DrawImage	    (^l) docs:intuit.doc     (        DrawImage  --)
EndRefresh	    (^l) docs:intuit.doc     (        EndRefresh  --)
EndRequest	    (^l) docs:intuit.doc     (        EndRequest  --)
FreeRemember	    (^l) docs:intuit.doc     (        FreeRemember  --)
FreeSysRequest	    (^l) docs:intuit.doc     (        FreeSysRequest --)
GetDefPrefs	    (^l) docs:intuit.doc     (        GetDefPrefs  --)
GetPrefs	    (^l) docs:intuit.doc     (        GetPrefs  --)
GetScreenData	    (^l) docs:intuit.doc     (        GetScreenData --)
InitRequester	    (^l) docs:intuit.doc     (        InitRequester  --)
IntuiTextLength     (^l) docs:intuit.doc     (        IntuiTextLength  --)
ItemAddress	    (^l) docs:intuit.doc     (        ItemAddress  --)
LockIBase	    (^l) docs:intuit.doc     (        LockIBase --)
MakeScreen	    (^l) docs:intuit.doc     (        MakeScreen  --)
ModifyIDCMP	    (^l) docs:intuit.doc     (        ModifyIDCMP  --)
ModifyProp	    (^l) docs:intuit.doc     (        ModifyProp  --)
MoveScreen	    (^l) docs:intuit.doc     (        MoveScreen  --)
MoveWindow	    (^l) docs:intuit.doc     (        MoveWindow  --)
NewModifyProp	    (^l) docs:intuit.doc     (        NewModifyProp  --)
OffGadget	    (^l) docs:intuit.doc     (        OffGadget  --)
OffMenu 	    (^l) docs:intuit.doc     (        OffMenu  --)
OnGadget	    (^l) docs:intuit.doc     (        OnGadget  --)
OnMenu		    (^l) docs:intuit.doc     (        OnMenu  --)
OpenScreen	    (^l) docs:intuit.doc     (        OpenScreen  --)
OpenWorkBench	    (^l) docs:intuit.doc     (        OpenWorkBench  --)
PrintIText	    (^l) docs:intuit.doc     (        PrintIText  --)
RefreshGadgets	    (^l) docs:intuit.doc     (        RefreshGadgets  --)
RefreshGList	    (^l) docs:intuit.doc     (        RefreshGList  --)
RefreshWindowFrame  (^l) docs:intuit.doc     (        RefreshWindowFrame --)
RemakeDisplay	    (^l) docs:intuit.doc     (        RemakeDisplay  --)
RemoveGadget	    (^l) docs:intuit.doc     (        RemoveGadget  --)
RemoveGList	    (^l) docs:intuit.doc     (        RemoveGList  --)
ReportMouse	    (^l) docs:intuit.doc     (        ReportMouse  --)
Request 	    (^l) docs:intuit.doc     (        Request  --)
RethinkDisplay	    (^l) docs:intuit.doc     (        RethinkDisplay  --)
ScreenToBack	    (^l) docs:intuit.doc     (        ScreenToBack  --)
ScreenToFront	    (^l) docs:intuit.doc     (        ScreenToFront  --)
SetDMRequest	    (^l) docs:intuit.doc     (        SetDMRequest  --)
SetMenuStrip	    (^l) docs:intuit.doc     (        SetMenuStrip  --)
SetPointer	    (^l) docs:intuit.doc     (        SetPointer  --)
SetPrefs	    (^l) docs:intuit.doc     (        SetPrefs  --)
SetWindowTitles     (^l) docs:intuit.doc     (        SetWindowTitles  --)
ShowTitle	    (^l) docs:intuit.doc     (        ShowTitle  --)
SizeWindow	    (^l) docs:intuit.doc     (        SizeWindow  --)
UnlockIBase	    (^l) docs:intuit.doc     (        UnlockIBase --)
ViewAddress	    (^l) docs:intuit.doc     (        ViewAddress  --)
ViewPortAddress     (^l) docs:intuit.doc     (        ViewPortAddress  --)
WBenchToBack	    (^l) docs:intuit.doc     (        WBenchToBack  --)
WBenchToFront	    (^l) docs:intuit.doc     (        WBenchToFront  --)
WindowLimits	    (^l) docs:intuit.doc     (        WindowLimits  --)
WindowToBack	    (^l) docs:intuit.doc     (        WindowToBack  --)
WindowToFront	    (^l) docs:intuit.doc     (        WindowToFront  --)
OpenWindow	    (^l) docs:intuit.doc     (        OpenWindow  --)

clipboard	    999 docs:clipbd.doc     ()
CurrentReadID	    (^l) docs:clipbd.doc     (        CurrentReadID -)
CurrentWriteID	    (^l) docs:clipbd.doc     (        CurrentWriteID -)
Post		    (^l) docs:clipbd.doc     (        Post -)

AddAnimOb	    (^l) docs:graphics.doc   (        AddAnimOb  -)
AddBob		    (^l) docs:graphics.doc   (        AddBob  -)
AddFont 	    (^l) docs:graphics.doc   (        AddFont -)
AddVSprite	    (^l) docs:graphics.doc   (        AddVSprite -)
AllocRaster	    (^l) docs:graphics.doc   (        AllocRaster -)
AndRectRegion	    (^l) docs:graphics.doc   (        AndRectRegion -)
AndRegionRegion     (^l) docs:graphics.doc   (        AndRegionRegion -)
Animate 	    (^l) docs:graphics.doc   (        Animate  -)
AreaCircle	    (^l) docs:graphics.doc   (        AreaCircle -)
AreaDraw	    (^l) docs:graphics.doc   (        AreaDraw -)
AreaEllipse	    (^l) docs:graphics.doc   (        AreaEllipse -)
AreaEnd 	    (^l) docs:graphics.doc   (        AreaEnd -)
AreaMove	    (^l) docs:graphics.doc   (        AreaMove -)
AskFont 	    (^l) docs:graphics.doc   (        AskFont -)
AskSoftStyle	    (^l) docs:graphics.doc   (        AskSoftStyle -)
AttemptLockLayerRom (^l) docs:graphics.doc   (        AttemptLockLayerRom -)
BltBitMap	    (^l) docs:graphics.doc   (        BltBitMap -)
BltBitMapRastPort   (^l) docs:graphics.doc   (        BltBitMapRastPort -)
BltClear	    (^l) docs:graphics.doc   (        BltClear -)
BltMaskBitMapRastPort (^l) docs:graphics.doc   (        BltMastBitMapRastPort -)
BltPattern	    (^l) docs:graphics.doc   (        BltPattern -)
BltTemplate	    (^l) docs:graphics.doc   (        BltTemplate -)
CBump		    (^l) docs:graphics.doc   (        CBump -)
CEND		    (^l) docs:graphics.doc   (        CEND -)
ChangeSprite	    (^l) docs:graphics.doc   (        ChangeSprite -)
CINIT		    (^l) docs:graphics.doc   (        CINIT -)
ClearEOL	    (^l) docs:graphics.doc   (        ClearEOL -)
ClearRectRegion     (^l) docs:graphics.doc   (        ClearRectRegion -)
ClearRegion	    (^l) docs:graphics.doc   (        ClearRegion -)
ClearScreen	    (^l) docs:graphics.doc   (        ClearScreen -)
ClipBlit	    (^l) docs:graphics.doc   (        ClipBlit -)
CloseFont	    (^l) docs:graphics.doc   (        CloseFont -)
CMOVE		    (^l) docs:graphics.doc   (        CMOVE -)
CopySBitMap	    (^l) docs:graphics.doc   (        CopySBitMap -)
CWAIT		    (^l) docs:graphics.doc   (        CWAIT -)
DisownBlitter	    (^l) docs:graphics.doc   (        DisownBlitter -)
DisposeRegion	    (^l) docs:graphics.doc   (        DisposeRegion -)
DoCollision	    (^l) docs:graphics.doc   (        DoCollision -)
Draw		    (^l) docs:graphics.doc   (        Draw -)
DrawEllipse	    (^l) docs:graphics.doc   (        DrawEllipse -)
DrawGList	    (^l) docs:graphics.doc   (        DrawGList -)
Flood		    (^l) docs:graphics.doc   (        Flood -)
FreeColorMap	    (^l) docs:graphics.doc   (        FreeColorMap -)
FreeCopList	    (^l) docs:graphics.doc   (        FreeCopList -)
FreeCprList	    (^l) docs:graphics.doc   (        FreeCprList -)
FreeGBuffers	    (^l) docs:graphics.doc   (        FreeGBuffers -)
FreeRaster	    (^l) docs:graphics.doc   (        FreeRaster -)
FreeSprite	    (^l) docs:graphics.doc   (        FreeSprite -)
FreeVPortCopLists   (^l) docs:graphics.doc   (        FreeVPortCopLists -)
GetColorMap	    (^l) docs:graphics.doc   (        GetColorMap -)
GetGBuffers	    (^l) docs:graphics.doc   (        GetGBuffers -)
GetRGB4 	    (^l) docs:graphics.doc   (        GetRGB4 -)
GetSprite	    (^l) docs:graphics.doc   (        GetSprite -)
InitArea	    (^l) docs:graphics.doc   (        InitArea -)
InitBitMap	    (^l) docs:graphics.doc   (        InitBitMap -)
InitGels	    (^l) docs:graphics.doc   (        InitGels -)
InitGMasks	    (^l) docs:graphics.doc   (        InitGMasks -)
InitMasks	    (^l) docs:graphics.doc   (        InitMasks -)
InitRastPort	    (^l) docs:graphics.doc   (        InitRastPort -)
InitTmpRas	    (^l) docs:graphics.doc   (        InitTmpRas -)
InitView	    (^l) docs:graphics.doc   (        InitView -)
InitVPort	    (^l) docs:graphics.doc   (        InitVPort -)
LoadRGB4	    (^l) docs:graphics.doc   (        LoadRGB4 -)
LoadView	    (^l) docs:graphics.doc   (        LoadView -)
LockLayerRom	    (^l) docs:graphics.doc   (        LockLayerRom -)
MakeVPort	    (^l) docs:graphics.doc   (        MakeVPort -)
Move		    (^l) docs:graphics.doc   (        Move -)
MoveSprite	    (^l) docs:graphics.doc   (        MoveSprite -)
MrgCop		    (^l) docs:graphics.doc   (        MrgCop -)
NewRegion	    (^l) docs:graphics.doc   (        NewRegion -)
OpenFont	    (^l) docs:graphics.doc   (        OpenFont -)
OrRectRegion	    (^l) docs:graphics.doc   (        OrRectRegion -)
OrRegionRegion	    (^l) docs:graphics.doc   (        OrRegionRegion -)
OwnBlitter	    (^l) docs:graphics.doc   (        OwnBlitter -)
PolyDraw	    (^l) docs:graphics.doc   (        PolyDraw -)
QBlit		    (^l) docs:graphics.doc   (        QBlit -)
QBSBlit 	    (^l) docs:graphics.doc   (        QBSBlit -)
ReadPixel	    (^l) docs:graphics.doc   (        ReadPixel -)
RectFill	    (^l) docs:graphics.doc   (        RectFill -)
RemBob		    (^l) docs:graphics.doc   (        RemBob -)
RemFont 	    (^l) docs:graphics.doc   (        RemFont -)
RemIBob 	    (^l) docs:graphics.doc   (        RemIBob -)
RemVSprite	    (^l) docs:graphics.doc   (        RemVSprite -)
ScrollRaster	    (^l) docs:graphics.doc   (        ScrollRaster -)
ScrollVPort	    (^l) docs:graphics.doc   (        ScrollVPort -)
SetAPen 	    (^l) docs:graphics.doc   (        SetAPen -)
SetBPen 	    (^l) docs:graphics.doc   (        SetBPen -)
SetCollision	    (^l) docs:graphics.doc   (        SetCollision -)
SetDrMd 	    (^l) docs:graphics.doc   (        SetDrMd -)
SetFont 	    (^l) docs:graphics.doc   (        SetFont -)
SetOPen 	    (^l) docs:graphics.doc   (        SetOPen -)
SetRast 	    (^l) docs:graphics.doc   (        SetRast -)
SetRGB4 	    (^l) docs:graphics.doc   (        SetRGB4 -)
SetRGB4CM	    (^l) docs:graphics.doc   (        SetRGB4CM -)
SetSoftStyle	    (^l) docs:graphics.doc   (        SetSoftStyle -)
SortGList	    (^l) docs:graphics.doc   (        SortGList -)
SyncSBitMap	    (^l) docs:graphics.doc   (        SyncSBitMap -)
Text		    (^l) docs:graphics.doc   (        Text -)
TextLength	    (^l) docs:graphics.doc   (        TextLength -)
UnlockLayerRom	    (^l) docs:graphics.doc   (        UnlockLayerRom -)
VBeamPos	    (^l) docs:graphics.doc   (        VBeamPos -)
WaitBlit	    (^l) docs:graphics.doc   (        WaitBlit -)
WaitBOVP	    (^l) docs:graphics.doc   (        WaitBOVP -)
WaitTOF 	    (^l) docs:graphics.doc   (        WaitTOF -)
WritePixel	    (^l) docs:graphics.doc   (        WritePixel -)
XorRectRegion	    (^l) docs:graphics.doc   (        XorRectRegion -)
XorRegionRegion     (^l) docs:graphics.doc   (        XorRegionRegion -)

AbortIO 	    (^l)  docs:exec.doc      (        AbortIO -)
AddDevice	    (^l)  docs:exec.doc      (        AddDevice -)
AddHead 	    (^l)  docs:exec.doc      (        AddHead -)
AddIntServer	    (^l)  docs:exec.doc      (        AddIntServer -)
AddLibrary	    (^l)  docs:exec.doc      (        AddLibrary -)
AddMemList	    (^l)  docs:exec.doc      (        AddMemList -)
AddPort 	    (^l)  docs:exec.doc      (        AddPort -)
AddResource	    (^l)  docs:exec.doc      (        AddResource -)
AddSemaphore	    (^l)  docs:exec.doc      (        AddSemaphore -)
AddTail 	    (^l)  docs:exec.doc      (        AddTail -)
AddTask 	    (^l)  docs:exec.doc      (        AddTask -)
Alert		    (^l)  docs:exec.doc      (        Alert -)
AllocAbs	    (^l)  docs:exec.doc      (        AllocAbs -)
Allocate	    (^l)  docs:exec.doc      (        Allocate -)
AllocEntry	    (^l)  docs:exec.doc      (        AllocEntry -)
AllocMem	    (^l)  docs:exec.doc      (        AllocMem -)
AllocSignal	    (^l)  docs:exec.doc      (        AllocSignal -)
AllocTrap	    (^l)  docs:exec.doc      (        AllocTrap -)
AttemptSemaphore    (^l)  docs:exec.doc      (        AttemptSemaphore -)
AvailMem	    (^l)  docs:exec.doc      (        AvailMem -)
BeginIO 	    (^l)  docs:exec.doc      (        BeginIO -)
Cause		    (^l)  docs:exec.doc      (        Cause -)
CheckIO 	    (^l)  docs:exec.doc      (        CheckIO -)
CloseDevice	    (^l)  docs:exec.doc      (        CloseDevice -)
CloseLibrary	    (^l)  docs:exec.doc      (        CloseLibrary -)
CopyMem 	    (^l)  docs:exec.doc      (        CopyMem -)
CopyMemQuick	    (^l)  docs:exec.doc      (        CopyMemQuick -)
Deallocate	    (^l)  docs:exec.doc      (        Deallocate -)
Debug		    (^l)  docs:exec.doc      (        Debug -)
Disable 	    (^l)  docs:exec.doc      (        Disable -)
DoIO		    (^l)  docs:exec.doc      (        DoIO -)
Enable		    (^l)  docs:exec.doc      (        Enable -)
Enqueue 	    (^l)  docs:exec.doc      (        Enqueue -)
FindName	    (^l)  docs:exec.doc      (        FindName -)
FindPort	    (^l)  docs:exec.doc      (        FindPort -)
FindResident	    (^l)  docs:exec.doc      (        FindResident -)
FindSemaphore	    (^l)  docs:exec.doc      (        FindSemaphore -)
FindTask	    (^l)  docs:exec.doc      (        FindTask -)
Forbid		    (^l)  docs:exec.doc      (        Forbid -)
FreeEntry	    (^l)  docs:exec.doc      (        FreeEntry -)
FreeMem 	    (^l)  docs:exec.doc      (        FreeMem -)
FreeSignal	    (^l)  docs:exec.doc      (        FreeSignal -)
FreeTrap	    (^l)  docs:exec.doc      (        FreeTrap -)
GetCC		    (^l)  docs:exec.doc      (        GetCC -)
GetMsg		    (^l)  docs:exec.doc      (        GetMsg -)
InitCode	    (^l)  docs:exec.doc      (        InitCode -)
InitResident	    (^l)  docs:exec.doc      (        InitResident -)
InitSemaphore	    (^l)  docs:exec.doc      (        InitSemaphore -)
InitStruct	    (^l)  docs:exec.doc      (        InitStruct -)
Insert		    (^l)  docs:exec.doc      (        Insert -)
MakeFunctions	    (^l)  docs:exec.doc      (        MakeFunctions -)
MakeLibrary	    (^l)  docs:exec.doc      (        MakeLibrary -)
ObtainSemaphore     (^l)  docs:exec.doc      (        ObtainSemaphore -)
ObtainSemaphoreList (^l)  docs:exec.doc      (        ObtainSemaphoreList -)
OldOpenLibrary	    (^l)  docs:exec.doc      (        OldOpenLibrary -)
OpenDevice	    (^l)  docs:exec.doc      (        OpenDevice -)
OpenLibrary	    (^l)  docs:exec.doc      (        OpenLibrary -)
OpenResource	    (^l)  docs:exec.doc      (        OpenResource -)
Permit		    (^l)  docs:exec.doc      (        Permit -)
Procure 	    (^l)  docs:exec.doc      (        Procure -)
PutMsg		    (^l)  docs:exec.doc      (        PutMsg -)
RawDoFmt	    (^l)  docs:exec.doc      (        RawDoFmt -)
ReleaseSemaphore    (^l)  docs:exec.doc      (        ReleaseSemaphore -)
ReleaseSemaphoreList(^l)  docs:exec.doc      (        ReleaseSemaphoreList -)
RemDevice	    (^l)  docs:exec.doc      (        RemDevice -)
RemHead 	    (^l)  docs:exec.doc      (        RemHead -)
RemIntServer	    (^l)  docs:exec.doc      (        RemIntServer -)
RemLibrary	    (^l)  docs:exec.doc      (        RemLibrary -)
Remove		    (^l)  docs:exec.doc      (        Remove -)
RemPort 	    (^l)  docs:exec.doc      (        RemPort -)
RemResource	    (^l)  docs:exec.doc      (        RemResource -)
RemSemaphore	    (^l)  docs:exec.doc      (        RemSemaphore -)
RemTail 	    (^l)  docs:exec.doc      (        RemTail -)
RemTask 	    (^l)  docs:exec.doc      (        RemTask -)
ReplyMsg	    (^l)  docs:exec.doc      (        ReplyMsg -)
SendIO		    (^l)  docs:exec.doc      (        SendIO -)
SetExcept	    (^l)  docs:exec.doc      (        SetExcept -)
SetFunction	    (^l)  docs:exec.doc      (        SetFunction -)
SetIntVector	    (^l)  docs:exec.doc      (        SetIntVector -)
SetSignal	    (^l)  docs:exec.doc      (        SetSignal -)
SetSR		    (^l)  docs:exec.doc      (        SetSR -)
SetTaskPri	    (^l)  docs:exec.doc      (        SetTaskPri -)
Signal		    (^l)  docs:exec.doc      (        Signal -)
SumKickData	    (^l)  docs:exec.doc      (        SumKickData -)
SumLibrary	    (^l)  docs:exec.doc      (        SumLibrary -)
SuperState	    (^l)  docs:exec.doc      (        SuperState -)
TypeOfMem	    (^l)  docs:exec.doc      (        TypeOfMem -)
UserState	    (^l)  docs:exec.doc      (        UserState -)
Vacate		    (^l)  docs:exec.doc      (        Vacate -)
Wait		    (^l)  docs:exec.doc      (        Wait -)
WaitIO		    (^l)  docs:exec.doc      (        WaitIO -)
WaitPort	    (^l)  docs:exec.doc      (        WaitPort -)

CreateProc	    (^l)  docs:dos.doc       (        CreateProc -)
LoadSeg 	    (^l)  docs:dos.doc       (        LoadSeg -)

AskDefaultMap	    (^l)  docs:console.doc   (        AskDefaultMap -)
AskKeyMap	    (^l)  docs:console.doc   (        AskKeyMap -)
CDInputHandler	    (^l)  docs:console.doc   (        CDInputHandler -)
RawKeyConvert	    (^l)  docs:console.doc   (        RawKeyConvert -)
DeadKeyConvert	    (^l)  docs:console.doc   (        DeadKeyConvert -)

CreateExtIO	    (^l)  docs:exec_support.doc  (        CreateExtIO -)
CreatePort	    (^l)  docs:exec_support.doc  (        CreatePort -)
CreateStdIO	    (^l)  docs:exec_support.doc  (        CreateStdIO -)
CreateTask	    (^l)  docs:exec_support.doc  (        CreateTask -)
DeleteExtIO	    (^l)  docs:exec_support.doc  (        DeleteExtIO -)
DeletePort	    (^l)  docs:exec_support.doc  (        DeletePort -)
DeleteStdIO	    (^l)  docs:exec_support.doc  (        DeleteStdIO -)
DeleteTask	    (^l)  docs:exec_support.doc  (        DeleteTask -)
NewList 	    (^l)  docs:exec_support.doc  (        NewList -)

\Rogue\Monster\
else
  echo "will not over write ./support/dme.refs.2"
fi
if [ `wc -c ./support/dme.refs.2 | awk '{printf $1}'` -ne 19121 ]
then
echo `wc -c ./support/dme.refs.2 | awk '{print "Got " $1 ", Expected " 19121}'`
fi
if `test ! -s ./support/sample.edrc`
then
echo "writing ./support/sample.edrc"
cat > ./support/sample.edrc << '\Rogue\Monster\'

#   SAMPLE  .EDRC file
#
#   copy to S:.EDRC after removing unwanted stuff


#   By default DME does not put tabs in the output file.    `savetabs on'
#   causes DME to optimize the output file with tabs.


savetabs on
map c-tab   ``    ' left left left left'
map cs-tab  `del del del del'
map a-tab   `goto block while cb `c-tab down''
map as-tab  `goto block while cb `cs-tab down''

#   If we have menus, RMB cannot be used for iconify.
#   SAVEQUIT is an example of calling menu functions from a command string
map help iconify

menuadd Project ChangeName  (escimm (chfilename ))
menuadd Project Load	    f2
menuadd Project Insert	    f1
menuadd Project NewWindow   f3
menuadd Project Save	    f9
menuadd Project SaveAs	    (escimm (saveas ))
menuadd Project SaveQuit    (project-save project-quit)
menuadd Project Quit	    quit
menuadd Convert LF->CRLF    (top repeat -1 (last tlate 13 down))
menuadd Convert CRLF->LF    (top repeat -1 (last left if c=13 del down))
menuadd Block	Indent	    (goto block while cb (first (    ) down))
menuadd Block	Backdent    (goto block while cb (first repeat 4 (if c=32 del) down))
menuon

\Rogue\Monster\
else
  echo "will not over write ./support/sample.edrc"
fi
if [ `wc -c ./support/sample.edrc | awk '{printf $1}'` -ne 1131 ]
then
echo `wc -c ./support/sample.edrc | awk '{print "Got " $1 ", Expected " 1131}'`
fi
echo "Finished archive 1 of 6"
# if you want to concatenate archives, remove anything after this line
exit
-- 
Bob Page, U of Lowell CS Dept.  page@swan.ulowell.edu  ulowell!page
Have five nice days.