[Bug cli/33149] One pressed key after --Type <RET> for more, q to quit, c to continue without paging-- should be sufficient
aburgess at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jul 15 09:58:45 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33149
--- Comment #3 from Andrew Burgess <aburgess at redhat dot com> ---
(In reply to Tom de Vries from comment #2)
> (In reply to Andrew Burgess from comment #1)
> > Suggestions for an improved message would be great, though ideally we'd like
> > to keep the text to a single line, which means there's a maximum length of
> > around 70ish characters.
>
> This is 69 chars:
> ...
> diff --git a/gdb/utils.c b/gdb/utils.c
> index 10d3d51e481..0e19a7d961d 100644
> --- a/gdb/utils.c
> +++ b/gdb/utils.c
> @@ -1450,8 +1450,9 @@ pager_file::prompt_for_continue ()
> m_stream->puts (("\n\032\032pre-prompt-for-continue\n"));
>
> strcpy (cont_prompt,
> - "--Type <RET> for more, q to quit, "
> - "c to continue without paging--");
> + "\
> +--Type <RET> (more), q<RET> (quit), or c<RET> (continue, no paging)--");
I'd have no objections to such a change.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list