Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2003 12:31:39 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        arch@freebsd.org
Subject:   Re: Make long ddb not suck
Message-ID:  <XFMail.20030731123139.jhb@FreeBSD.org>
In-Reply-To: <20030731182956.T5869@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 31-Jul-2003 Bruce Evans wrote:
>> I have a patch that adds a simple paging facility to ddb at the
>> db_printf() level using a one-shot callback mechanism.  It includes
>> a simple paging callback that rearms itself based on the users
>> input (space does another page, enter another line).  I've used this
>> facility to replace the hand-rolled paging in 'ps', 'show pci', and
>> 'show ktr'.  The patch is at http://www.FreeBSD.org/~jhb/patches/ddb.patch
>>
>> Comments?
> 
> I like it.  It also needs to have some idea of line lengths, so that
> 20-line pages with too-long lines don't scroll off 25-line terminals.

That's harder. :)  That might can be added in the future however.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030731123139.jhb>