From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas_Karagas@cirilium.com To: insight@sourceware.cygnus.com Subject: prompt in console window Date: Wed, 14 Jun 2000 13:02:00 -0000 Message-id: X-SW-Source: 2000-q2/msg00265.html Hello, Insight gurus... I've recently come across a problem using the console window in Insight. In ordinary GDB, if the number of lines printed exceeds the 'height' parameter, then the debugger will issue the prompt '---Type to continue, or q to quit---'. However, this apparently doesn't work in the Insight console, as the call to readline (readline.c:337) from prompt_for_continue (utils.c:1619) always returns 0x0, and never shows the prompt in the console window. I imagine that this is because readline expects everything to be going to and from stdout (since it doesn't require a stream as a parameter). Is there a quick fix for this that doesn't involve fiddling with readline, and therefore binutils (I think that's where it lives)? Thanks in advance. Nicholas Karagas Associate Software Engineer Cirilium Corporation Tempe, AZ (480) 317-1144