add I/O library, gdb command file and terminal cursor