Rev 108 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 108 | Rev 154 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | * search to execute the command. * |
38 | * search to execute the command. * |
39 | * * |
39 | * * |
40 | ************************************************************ |
40 | ************************************************************ |
41 | */ |
41 | */ |
42 | else |
42 | else |
43 |
|
43 | while (FOREVER) { |
44 | readstat = Read(0, buffer); |
44 | readstat = Read(0, buffer); |
45 | if (readstat <= 0) |
45 | if (readstat <= 0) |
46 | break; |
46 | break; |
47 | nargs = ReadParse(buffer, args, " \t;"); |
47 | nargs = ReadParse(buffer, args, " \t;"); |
48 | if (nargs == 0) { |
48 | if (nargs == 0) { |
Line 193... | Line 193... | ||
193 | Print(4095, "Illegal move: %s\n", args[0]); |
193 | Print(4095, "Illegal move: %s\n", args[0]); |
194 | } else |
194 | } else |
195 | Print(4095, "unrecognized/illegal command: %s\n", args[0]); |
195 | Print(4095, "unrecognized/illegal command: %s\n", args[0]); |
196 | } |
196 | } |
197 | } |
197 | } |
198 | } |
198 | } |
199 | if (log_file) |
199 | if (log_file) |
200 | fflush(log_file); |
200 | fflush(log_file); |
201 | } |
201 | } |