Rev 1647 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
959 | leency | 1 | |
2 | #define TRUE 1 |
||
3 | |||
4 | |||
5 | |||
6 | |||
7 | extern char PARAM[256]; |
||
8 | |||
9 | |||
10 | char cur_dir[256]; |
||
11 | |||
12 | |||
13 | |||
14 | |||
15 | unsigned ALIAS_NUM = 0; |
||
16 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 | |||
22 | char CMD_HISTORY[CMD_HISTORY_NUM][256]; |
||
23 | char CMD_NUM; |
||
24 | |||
25 | |||
26 | |||
27 | |||
28 | |||
29 | |||
30 | |||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | { |
||
37 | "about", |
||
38 | "alias", |
||
39 | "cd", |
||
40 | "date", |
||
41 | "echo", |
||
42 | "exit", |
||
43 | "free", |
||
44 | "help", |
||
45 | "kill", |
||
46 | "ls", |
||
47 | "mkdir", |
||
48 | "more", |
||
49 | "ps", |
||
50 | "pwd", |
||
51 | "reboot", |
||
52 | "rm", |
||
53 | "rmdir", |
||
54 | "touch", |
||
55 | "ver" |
||
56 | }; |
||
57 | |||
58 | |||
59 | { |
||
60 | " Displays information about the program\n\r", |
||
61 | " Allows the user view the current aliases\n\r", |
||
62 | " Changes directories\n\r", |
||
63 | " Returns the date and time\n\r", |
||
64 | " Echoes the data to the screen\n\r", |
||
65 | " Exits program\n\r", |
||
66 | " Displays total, free and used memory\n\r", |
||
67 | " Gives help\n\r", |
||
68 | " Stops a running process\n\r", |
||
69 | " Lists the files in a directory\n\r", |
||
70 | " Makes directory\n\r", |
||
71 | " Displays a data file to the screen\n\r", |
||
72 | " Lists the current processes running\n\r", |
||
73 | " Displays the name of the working directory\n\r", |
||
74 | " Reboots the computer\n\r", |
||
75 | " Removes files\n\r", |
||
76 | " Removes directories\n\r", |
||
77 | " Creates an empty file or updates the time/date stamp on a file\n\r", |
||
78 | " Displays version\n\r" |
||
79 | }; |
||
80 | |||
81 | |||
82 |