
# TaskWindow is a special kind of Mode. The main difference from
# ordinary modes, is that keypresses not mentioned in its keylist
# are *not* passed on to the BaseMode, but sent directly to the
# taskwindow.

ModeType TaskWindow

ID_Middle	A-Za-z_0-9./~+\-:?%@#$!

KeyList
	^C		BlockCopy
	F7		BlockCopy
	Copy		CopyCursor_On
#	Copy		CopyFromCC
#	Left		CopyCursor_Left
#	Right		CopyCursor_Right
#	Up		CopyCursor_Up
#	Down		CopyCursor_Down
#	PgUp		PageUp
#	PgDown		PageDown

	Return		CopyCursor_Off NewLine
	^Q		KillView

# Keys that we don't want sent to the Taskwindow :

	^TAB		PassOn
	TAB		PassOn
	^Tab		SetDir
	F11		PassOn
	^F11		PassOn
	^F11		PassOn
	F12		PassOn
	F12		PassOn
	^F12		PassOn
	^F12		PassOn
End

SyntaxWords  Group1 nocase StartofLine EndofLine
	* >
End

SyntaxWords  Group2 nocase EndofID
	ADFS: SCSI: SCSIFS: RAM:
End

SyntaxWords  Group3 nocase StartofLine EndofLine
	==>
End

Functions

	Menu	Suspend task
	Select	tw_suspend

	Menu	Resume task
	Select	tw_resume

	Menu	Kill task
	Select	tw_kill

End