[gnu.gdb.bug] Highly annoying output behaviour of gdb 3.1

jkh@pcsbst.UUCP (jkh) (03/12/89)

Actually, it's probably been around since 2.0, but anyway...

There are 4 files in gdb (main.c, infcmd.c, infrun.c and symtab.c) that
like to put up messages of the form "---- Type Return to see more ----"
so that interactive users can catch up to the output. However, this
feature is not only useless when you're running gdb as an inferior of
some more sophisticated front end, it's a real pain in the ass. In my case,
I'm using an X11 based front-end that really doesn't want to see messages
like that pop up and gets confused. At first I thought "Oh, there's probably
some option to turn those off.." Nope. They're hardwired in.

My suggestion is that they all be replaced with one function "break_page()"
that prints that message out only if "isatty()" indicates that gdb is
being run interactively.

This is what I've done in my copy of gdb, but I'd rather see an official
fix as my X11 front end is going to depend on things being this way
and it won't work when I release it if everyone's gdb is still printing
out this garbage..

					Jordan Hubbard
					pyramid!pcsbst!jkh