This is a revision of a patch originally from 1999: http://sources.redhat.com/ml/gdb-patches/1999-q2/msg00093.html I'm not sure if the patch in top.c does anything, since I don't know when/if readline is called from command_line_input. OK to check in? With or without the top.c change? -- --Per Bothner per@bothner.com http://www.bothner.com/per/