On Thu, Jun 18, 2020 at 10:19 AM John Baldwin <[email protected]> wrote:
>
> On 6/17/20 5:48 PM, Conrad Meyer wrote:
> > db_printf checks the pager, via db_putc.
>
> It doesn't break out of the loops for you though (e.g. via setjmp or the
> like).  Commands still have to check db_pager_quit directly if they wish
> to abort early to honor a user entering 'q' at the pager prompt.

It does for Ctrl-C, but not 'q', true.  It could easily do the same
for 'q' as Ctrl-C: db_error(NULL) => kdb_reenter_silent().
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to