summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_output.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r272958, r273006:pfg2014-10-181-1/+1
| | | | | | ddb: space/tab fixes and ANSI-fy function declarations. No functional change.
* Fixed formatting of printing of command tables. WIth the default maxbde2006-10-081-1/+1
| | | | | | | | | | | | | | | output width of 79, only 6 columns of width 12 each fit, but 7 columns were printed. The fix is to pass the width of the next output to db_end_line() and not assume there that this width is always 1. Related unfixed bugs: - 1 character is wasted for a space after the last column - suppression of trailing spaces used to limit the misformatting, but seems to have been lost - in db_examine(), the width of the next output is not know and is still assumed to be 1.
* Simplify the pager support in DDB. Allowing different db commands tojhb2006-07-121-0/+2
| | | | | | | | | | | | | | | | install custom pager functions didn't actually happen in practice (they all just used the simple pager and passed in a local quit pointer). So, just hardcode the simple pager as the only pager and make it set a global db_pager_quit flag that db commands can check when the user hits 'q' (or a suitable variant) at the pager prompt. Also, now that it's easy to do so, enable paging by default for all ddb commands. Any command that wishes to honor the quit flag can do so by checking db_pager_quit. Note that the pager can also be effectively disabled by setting $lines to 0. Other fixes: - 'show idt' on i386 and pc98 now actually checks the quit flag and terminates early. - 'show intr' now actually checks the quit flag and terminates early.
* Start each of the license/copyright comments with /*-imp2005-01-061-1/+1
|
* Remove __P.alfred2002-03-201-3/+3
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Completed function declarations and/or added prototypes.bde1995-11-241-6/+7
| | | | | | Removed `extern' from prototypes. Sorted prototypes. Uniformized idempotency ifdefs.
* Remove trailing whitespace.rgrimes1995-05-301-8/+8
|
* Woops, wrong solution to the problem. Backed out previous fix to ddb.h, anddg1994-09-271-2/+1
| | | | | | | nuked the db_printf() declaration from db_output.h. Reviewed by: Submitted by: Obtained from:
* Makes gcc silent in sys/ddb.phk1994-09-271-1/+2
|
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andwollman1993-11-251-2/+1
| | | | add same (sans -Werror) to Makefile for future compilations.
* Make all headers idempotent. All incorrect common data moved out of headerwollman1993-11-071-1/+5
| | | | files and into a related source file.
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, somergrimes1993-10-161-14/+2
| | | | minor cleanup. Added $Id$ to files that did not have any version info, etc
* Initial import, 0.1 + pk 0.2.4-B1rgrimes1993-06-121-0/+53
OpenPOWER on IntegriCloud