handle keys F5-F10 at gdb prompt