Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Address kern/36526. Note, contrary to the PR, ...



details:   https://anonhg.NetBSD.org/src/rev/f7a7fe150807
branches:  trunk
changeset: 773660:f7a7fe150807
user:      sborrill <sborrill%NetBSD.org@localhost>
date:      Sun Feb 12 12:43:51 2012 +0000

description:
Address kern/36526. Note, contrary to the PR, ; command separator works as
documented in ddb(4)
Document ddb.commandonenter sysctl. Note, commandonenter is not available
as a variable:
db{0}> print $onpanic
       1
db{0}> print $commandonenter
Unknown variable
So document the sysctl elsewhere, not in the variables section.

diffstat:

 share/man/man4/ddb.4 |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r b1a2a55026e5 -r f7a7fe150807 share/man/man4/ddb.4
--- a/share/man/man4/ddb.4      Sun Feb 12 11:18:04 2012 +0000
+++ b/share/man/man4/ddb.4      Sun Feb 12 12:43:51 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ddb.4,v 1.148 2012/01/12 22:22:10 skrll Exp $
+.\"    $NetBSD: ddb.4,v 1.149 2012/02/12 12:43:51 sborrill Exp $
 .\"
 .\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -56,7 +56,7 @@
 .\" any improvements or extensions that they make and grant Carnegie Mellon
 .\" the rights to redistribute these changes.
 .\"
-.Dd January 12, 2012
+.Dd February 12, 2012
 .Dt DDB 4
 .Os
 .Sh NAME
@@ -198,6 +198,17 @@
 if
 .Cm DDB
 is configured.
+.Pp
+Commands can be automatically run when
+.Nm
+is entered by using
+.Cd options DDB_COMMANDONENTER
+or by setting
+.Ar ddb.commandonenter
+with
+.Xr sysctl 8 .
+Multiple commands can be separated by a semi-colon.
+
 .Sh COMMAND SYNTAX
 The general command syntax is:
 .Bd -ragged -offset indent



Home | Main Index | Thread Index | Old Index