Subject: Re: run ddb(4) in "batch mode"
To: None <>
From: Valeriy E. Ushakov <>
List: current-users
Date: 03/28/2007 17:50:36
On Wed, Mar 28, 2007 at 15:45:02 +0200, Jukka Salmi wrote:

> This didn't really work as expected because the ddb.commandonenter
> commands caused ddb to print more than ddb.lines (24) lines of output;
> thus ddb waited for user input to print the next page of output, and
> didn't execute the `reboot' command automatically...
> To fix this problem I added a new variable `batchmode', accessible via
> sysctl(3) as the other built-in ddb variables.

Uhm.  What's wrong with ddb.lines=0 (except that 0 being magic is not
documented in ddb(4))?

SY, Uwe
--                         |       Zu Grunde kommen          |       Ist zu Grunde gehen