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?