
# "Dump" is a special kind of Mode. It doesn't have wraplines and textlines
# like ordinary modes, but instead each line represents a fixed number of
# bytes of the file.
#------------------------------------------------------------------------------
# 08.07.98 Changed the 'back to basemode' key from just ESC to ctrl-shift-ESC.
#          Moved it from KeyList to Functions too.
# 31.07.98 The key is now defined in baseMode, so I have commented it out here.
#------------------------------------------------------------------------------


ModeType Dump

HelpPath	SWIs

KeyList

	TAB		Dump_CycleSection

	F1		Dump_Help

	Left		Dump_Left
	Left		NIL
	^Left		StartOfWLine
	^Left		NIL

	Right		Dump_Right
	Right		NIL
	^Right		EndOfWLine
	^Right		NIL

	Up		Dump_Up
	^Up		StartOftext
	^Up		LineUp
	Down		Dump_Down
	^Down		EndOfText
	^Down		LineDown

End

Functions

	Key	F2
	Menu	List SWIs  F2
	Icon	LoF
	Select	ListOfMod (Text)
	Help	Hdmp_lof

	Adjust	ListOfMod (All)

	Icon	left
#	Key	^ESC
	Select	ChangeMode("BaseMode",0)
	Help	Hdmp_bck

	Menu	Byte display
	Icon	dm_byte
	Select	ChangeMode("!Dump",0)
	Help	Hdmp_byt

	Menu	Word display
	icon	dm_word
	Select	ChangeMode("!Dump",1)
	Help	Hdmp_wrd

	Menu	Ascii display
	icon	dm_ascii
	Select	ChangeMode("!Dump",2)
	Help	Hdmp_asc

	Menu	Assembly display
	icon	dm_asm
	Select	ChangeMode("!Dump",3)
	Help	Hdmp_asm

	Menu	Grab fresh copy
	icon	new
	Select	Dump_ReGrab
	Help	Hdmp_new

End