42,7 → 42,7 |
k.flag = CNTL_BIT; |
k.scan = KEY_C; |
k.status = KEY_PRESSED; |
k.ascii = 'C'; |
k.ascii = 'c'; |
keyb_hook(k, esci,FALSE); |
k.flag = CNTR_BIT; |
k.scan = KEY_C; |
52,7 → 52,7 |
|
k.flag = CNTL_BIT; |
k.scan = KEY_A; |
k.ascii = 'A'; |
k.ascii = 'a'; |
k.status = KEY_PRESSED; |
keyb_hook(k, augprog,FALSE); |
k.flag = CNTR_BIT; |
78,7 → 78,7 |
// cprintf("uploader 2\n"); |
|
bytes = tftp_usedbuffer(handle); |
/*!*/sprintf(msg, "buffer %d ", bytes); |
/*!*/sprintf(msg, "buffer %5d ", bytes); |
/*!*/puts_xy(BASE_X, 18, WHITE, msg); |
|
// cprintf("uploader 3\n"); |
101,7 → 101,7 |
tftp_put(handle2, msg, strlen(msg)); |
|
bytes = tftp_usedbuffer(handle2); |
/*!*/sprintf(msg, "buffer2 %d ", bytes); |
/*!*/sprintf(msg, "buffer2 %5d ", bytes); |
/*!*/puts_xy(BASE_X, 38, WHITE, msg); |
i++; |
|
147,6 → 147,9 |
exit(1); |
} |
|
cprintf("NOTE: if you use a Linux TFTP server, remember that the two files\n"); |
cprintf(" to be written MUST exists on the server,\n"); |
cprintf(" and must have the right permissions\n"); |
cprintf("Ctrl-A to proceed *** Ctrl-C to stop\n"); |
wait(); |
clear(); |