comparison rvinterf/asyncshell/usercmd.c @ 875:dab341e172de

fc-shell: sysprim sending (sp command) implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 30 May 2015 07:41:23 +0000
parents 72d64c172d85
children 4661b84260a0
comparison
equal deleted inserted replaced
874:72d64c172d85 875:dab341e172de
11 11
12 extern char usercmd[]; 12 extern char usercmd[];
13 13
14 extern void cmd_disable(); 14 extern void cmd_disable();
15 extern void cmd_enable(); 15 extern void cmd_enable();
16 extern void cmd_sendsp();
16 17
17 void 18 void
18 cmd_exit() 19 cmd_exit()
19 { 20 {
20 tty_cleanup(); 21 tty_cleanup();
27 } cmdtab[] = { 28 } cmdtab[] = {
28 {"disable", cmd_disable}, 29 {"disable", cmd_disable},
29 {"enable", cmd_enable}, 30 {"enable", cmd_enable},
30 {"exit", cmd_exit}, 31 {"exit", cmd_exit},
31 {"quit", cmd_exit}, 32 {"quit", cmd_exit},
33 {"sp", cmd_sendsp},
32 {0, 0} 34 {0, 0}
33 }; 35 };
34 36
35 void 37 void
36 dispatch_user_cmd() 38 dispatch_user_cmd()