cvs commit: src/sys/ddb db_command.c db_output.c ddb.h
John Baldwin
jhb at FreeBSD.org
Thu Jul 31 10:27:53 PDT 2003
jhb 2003/07/31 10:27:52 PDT
FreeBSD src repository
Modified files:
sys/ddb db_command.c db_output.c ddb.h
Log:
Add a one-shot callout facility to db_printf() that executes the registered
callout when a specified number of lines have been output. This can be
used to implement pagers for ddb commands that output a lot of text. A
simple paging function is included that automatically rearms itself when
fired.
Reviewed by: bde, julian
Revision Changes Path
1.51 +1 -0 src/sys/ddb/db_command.c
1.29 +66 -0 src/sys/ddb/db_output.c
1.34 +8 -0 src/sys/ddb/ddb.h
More information about the cvs-src
mailing list