Implements sys_read system call and device-dependent routine sys_read>_keyboard.