Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1552 → Rev 1607

/demos/trunk/base/aster4.c
34,7 → 34,7
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* CVS : $Id: aster4.c,v 1.5 2005-02-25 11:10:46 pj Exp $
* CVS : $Id: aster4.c,v 1.6 2006-07-03 13:08:29 tullio Exp $
 
Test Number 13 (D):
 
334,14 → 334,18
SOFT_TASK_MODEL m_soft;
int i;
 
k.flag = 0;
k.scan = KEY_ENT;
k.ascii = 13;
k.ascii = 'c';
k.scan = KEY_C;
k.flag = CNTL_BIT;
k.status = KEY_PRESSED;
keyb_hook(k, endfun, FALSE);
keyb_hook(k,endfun,FALSE);
k.flag = CNTR_BIT;
k.status = KEY_PRESSED;
keyb_hook(k,endfun,FALSE);
 
clear();
cprintf("Press ENTER to end the demo...");
cprintf("Press Ctrl-C to end the demo...");
 
sys_atrunlevel(exiting, NULL, RUNLEVEL_SHUTDOWN);