Add scripting and logging toggles to sushi under a new directory hierarchy.

This commit is contained in:
garbled 2001-03-07 07:02:20 +00:00
parent e4e43b585b
commit f283024f81
7 changed files with 50 additions and 0 deletions

11
share/sushi/util/Makefile Normal file
View File

@ -0,0 +1,11 @@
# $NetBSD: Makefile,v 1.1 2001/03/07 07:02:20 garbled Exp $
SUBDIR= scripting logging
FILES= help index
FILESDIR=${BINDIR}/sushi/util
MKOBJ= no
.include "../../Makefile.inc"
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

18
share/sushi/util/help Normal file
View File

@ -0,0 +1,18 @@
This submenu provides access to utilities within sushi. Most of these
affect the run time behavior of sushi.
Scripting will turn on or off the scripting functionality of sushi. When on,
sushi will record all commands executed in a file called "sushi.script"
placed in the current working directory where you executed sushi. This
file can be executed as a shell script to completely replay the entire
session. This can be useful when configuring multiple identical machines.
Logging will turn on or off the logging functionality of sushi. When on,
sushi will record a log of all commands executed in a file called "sushi.log"
placed in the current working directory where you executed sushi.
The current status of logging or scripting can be seen at the bottom of your
screen in the help bar. Changes made here to logging or scripting are only
effective for the current execution of sushi.
$NetBSD: help,v 1.1 2001/03/07 07:02:20 garbled Exp $

3
share/sushi/util/index Normal file
View File

@ -0,0 +1,3 @@
# $NetBSD: index,v 1.1 2001/03/07 07:02:20 garbled Exp $
scripting scripting Toggle scripting of all commands
logging logging Toggle logging of all commands

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2001/03/07 07:02:21 garbled Exp $
FILES= func
FILESDIR=${BINDIR}/sushi/util/logging
MKOBJ= no
.include "../../../Makefile.inc"
.include <bsd.prog.mk>

View File

@ -0,0 +1 @@
log_do,on

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2001/03/07 07:02:21 garbled Exp $
FILES= func
FILESDIR=${BINDIR}/sushi/util/scripting
MKOBJ= no
.include "../../../Makefile.inc"
.include <bsd.prog.mk>

View File

@ -0,0 +1 @@
script_do,on