339b82e10c
Completely removes: * The kernel terminal (both VGA and graphical) * The kernel ANSI parser (obviously) * kgets() function * Dozens of other functions that were made useless Adds: * Userspace terminal that should work (relatively) well * Keyboard device driver (implemented with a "pipe" object) * Stabalized interrupt interface * `clear` uses the c library * All panic screens and kprintf() output goes to the serial line ONLY * The kernel boots directly into /bin/terminal (no arguments, unless you want to add them (such as -f))
8 lines
111 B
C
8 lines
111 B
C
#include <stdio.h>
|
|
|
|
int main(int argc, char ** argv) {
|
|
printf("\033[H\033[2J");
|
|
fflush(stdout);
|
|
return 0;
|
|
}
|