adding pc_terminal.c without fsm