Priest of the Order of the Butterfly
Posts: 641 from 2004/1/25
From: Prague, The Cz...
Hi! You can always use AmigaOS3 compatible functions in MorphOS to play with CTRL+C/D/E/F (source code in PowerD):
Code:
// this function returns TRUE when CTRL+C was pressed...
MODULE 'dos/dos'
PROC CtrlC()(L)
..IF SetSignal(0,0)&SIGBREAKF_CTRL_C
....SetSignal(0,SIGBREAKF_CTRL_C)
....RETURN TRUE
..ELSE
....RETURN FALSE
..ENDIF
ENDPROC
// EOF
ps: sorry for dots instead of spaces/tabs...
bye, MarK.