Arrow keys in GDB (window mode) not working with TERM=xterm

0

First, this is not the history size problem.

(gdb) show history size
The size of the command history is 70000000.

Second, it happens in xterm and not in vt100 and I don't want vt100 because of weird color schemes and stuff.

Is there any way to tweak xterm to allow arrow keys as to go through the list of previous commands?

tcpip

Posted 2016-06-27T07:04:49.173

Reputation: 51

Answers

0

With TERM=xterm, the cursor-keys are defined for application mode, which doesn't work for applications which don't initialize the terminal. You could set TERM=xterm-noapp (if you have the full terminfo database), which doesn't use application mode.

Further reading:

Thomas Dickey

Posted 2016-06-27T07:04:49.173

Reputation: 6 891