Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share Bye bye sushi config files (moved to othersrc via repo...
details: https://anonhg.NetBSD.org/src/rev/c00f0dd0c2f2
branches: trunk
changeset: 588102:c00f0dd0c2f2
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 08 00:47:29 2006 +0000
description:
Bye bye sushi config files (moved to othersrc via repository copy)
diffstat:
share/Makefile | 4 +-
share/sushi/Makefile | 11 -
share/sushi/help | 35 ----
share/sushi/index | 9 -
share/sushi/info/Makefile | 11 -
share/sushi/info/index | 2 -
share/sushi/info/programming/Makefile | 11 -
share/sushi/info/programming/basics/Makefile | 8 -
share/sushi/info/programming/basics/help | 26 ---
share/sushi/info/programming/execapi/Makefile | 8 -
share/sushi/info/programming/execapi/help | 20 --
share/sushi/info/programming/formapi/Makefile | 8 -
share/sushi/info/programming/formapi/help | 97 -------------
share/sushi/info/programming/help | 7 -
share/sushi/info/programming/helpapi/Makefile | 8 -
share/sushi/info/programming/helpapi/help | 9 -
share/sushi/info/programming/i18n/Makefile | 8 -
share/sushi/info/programming/i18n/help | 25 ---
share/sushi/info/programming/index | 9 -
share/sushi/info/programming/indexapi/Makefile | 8 -
share/sushi/info/programming/indexapi/help | 23 ---
share/sushi/info/programming/scriptapi/Makefile | 8 -
share/sushi/info/programming/scriptapi/help | 41 -----
share/sushi/info/programming/searchpaths/Makefile | 8 -
share/sushi/info/programming/searchpaths/help | 33 ----
share/sushi/install/Makefile | 11 -
share/sushi/install/help | 3 -
share/sushi/install/index | 5 -
share/sushi/install/install/Makefile | 10 -
share/sushi/install/install/form | 3 -
share/sushi/install/install/preform | 2 -
share/sushi/install/install/script | 24 ---
share/sushi/install/install/script1 | 24 ---
share/sushi/install/install/script2 | 12 -
share/sushi/install/installb/Makefile | 10 -
share/sushi/install/installb/form | 3 -
share/sushi/install/installb/preform | 2 -
share/sushi/install/installb/script | 8 -
share/sushi/install/list/Makefile | 8 -
share/sushi/install/list/exec | 1 -
share/sushi/install/remove/Makefile | 10 -
share/sushi/install/remove/form | 4 -
share/sushi/install/remove/script | 12 -
share/sushi/install/remove/script1 | 3 -
share/sushi/network/Makefile | 11 -
share/sushi/network/exports/Makefile | 11 -
share/sushi/network/exports/addexport/Makefile | 11 -
share/sushi/network/exports/addexport/form | 13 -
share/sushi/network/exports/addexport/help | 26 ---
share/sushi/network/exports/addexport/preform | 2 -
share/sushi/network/exports/addexport/script | 53 -------
share/sushi/network/exports/addexport/script1 | 3 -
share/sushi/network/exports/addexport/script2 | 11 -
share/sushi/network/exports/addexport/script3 | 13 -
share/sushi/network/exports/addexport/script4 | 2 -
share/sushi/network/exports/addexport/script5 | 11 -
share/sushi/network/exports/addexport/script6 | 11 -
share/sushi/network/exports/addexport/script7 | 11 -
share/sushi/network/exports/addexport/script8 | 9 -
share/sushi/network/exports/addexport/script9 | 9 -
share/sushi/network/exports/addexport/scripta | 10 -
share/sushi/network/exports/addexport/scriptb | 11 -
share/sushi/network/exports/delexport/Makefile | 10 -
share/sushi/network/exports/delexport/form | 3 -
share/sushi/network/exports/delexport/help | 5 -
share/sushi/network/exports/delexport/script | 24 ---
share/sushi/network/exports/delexport/script1 | 4 -
share/sushi/network/exports/help | 9 -
share/sushi/network/exports/index | 3 -
share/sushi/network/help | 27 ---
share/sushi/network/hostname/Makefile | 10 -
share/sushi/network/hostname/form | 3 -
share/sushi/network/hostname/help | 4 -
share/sushi/network/hostname/script | 26 ---
share/sushi/network/hostname/script1 | 12 -
share/sushi/network/hosts/Makefile | 11 -
share/sushi/network/hosts/addhost/Makefile | 10 -
share/sushi/network/hosts/addhost/form | 4 -
share/sushi/network/hosts/addhost/help | 4 -
share/sushi/network/hosts/addhost/script | 9 -
share/sushi/network/hosts/addv6host/Makefile | 10 -
share/sushi/network/hosts/addv6host/form | 4 -
share/sushi/network/hosts/addv6host/help | 4 -
share/sushi/network/hosts/addv6host/script | 9 -
share/sushi/network/hosts/delhost/Makefile | 10 -
share/sushi/network/hosts/delhost/form | 2 -
share/sushi/network/hosts/delhost/help | 3 -
share/sushi/network/hosts/delhost/script | 19 --
share/sushi/network/hosts/delhost/script1 | 3 -
share/sushi/network/hosts/help | 14 -
share/sushi/network/hosts/index | 7 -
share/sushi/network/hosts/modhost/Makefile | 10 -
share/sushi/network/hosts/modhost/form | 5 -
share/sushi/network/hosts/modhost/help | 4 -
share/sushi/network/hosts/modhost/preform | 2 -
share/sushi/network/hosts/modhost/script | 11 -
share/sushi/network/hosts/modhost/script1 | 4 -
share/sushi/network/hosts/modhost/script2 | 6 -
share/sushi/network/hosts/modv6host/Makefile | 10 -
share/sushi/network/hosts/modv6host/form | 4 -
share/sushi/network/hosts/modv6host/help | 4 -
share/sushi/network/hosts/modv6host/preform | 2 -
share/sushi/network/hosts/modv6host/script | 11 -
share/sushi/network/hosts/modv6host/script1 | 4 -
share/sushi/network/hosts/modv6host/script2 | 6 -
share/sushi/network/index | 7 -
share/sushi/network/interfaces/Makefile | 11 -
share/sushi/network/interfaces/help | 12 -
share/sushi/network/interfaces/index | 3 -
share/sushi/network/interfaces/interface/Makefile | 10 -
share/sushi/network/interfaces/interface/form | 15 --
share/sushi/network/interfaces/interface/help | 7 -
share/sushi/network/interfaces/interface/nwid.sed | 7 -
share/sushi/network/interfaces/interface/preform | 2 -
share/sushi/network/interfaces/interface/script | 106 --------------
share/sushi/network/interfaces/interface/script1 | 6 -
share/sushi/network/interfaces/interface/script2 | 158 ----------------------
share/sushi/network/interfaces/listif/Makefile | 8 -
share/sushi/network/interfaces/listif/script | 23 ---
share/sushi/network/routing/Makefile | 11 -
share/sushi/network/routing/default/Makefile | 10 -
share/sushi/network/routing/default/form | 3 -
share/sushi/network/routing/default/help | 5 -
share/sushi/network/routing/default/script | 15 --
share/sushi/network/routing/default/script1 | 11 -
share/sushi/network/routing/help | 5 -
share/sushi/network/routing/index | 3 -
share/sushi/network/routing/ipv4table/Makefile | 8 -
share/sushi/network/routing/ipv4table/exec | 1 -
share/sushi/network/yp/Makefile | 11 -
share/sushi/network/yp/client/Makefile | 10 -
share/sushi/network/yp/client/form | 3 -
share/sushi/network/yp/client/help | 5 -
share/sushi/network/yp/client/script | 13 -
share/sushi/network/yp/client/script1 | 8 -
share/sushi/network/yp/domainname/Makefile | 10 -
share/sushi/network/yp/domainname/form | 3 -
share/sushi/network/yp/domainname/help | 6 -
share/sushi/network/yp/domainname/script | 14 -
share/sushi/network/yp/domainname/script1 | 8 -
share/sushi/network/yp/help | 11 -
share/sushi/network/yp/index | 6 -
share/sushi/network/yp/master/Makefile | 10 -
share/sushi/network/yp/master/form | 3 -
share/sushi/network/yp/master/help | 5 -
share/sushi/network/yp/master/script | 13 -
share/sushi/network/yp/master/script1 | 8 -
share/sushi/network/yp/slave/Makefile | 10 -
share/sushi/network/yp/slave/form | 4 -
share/sushi/network/yp/slave/help | 5 -
share/sushi/network/yp/slave/script | 13 -
share/sushi/network/yp/slave/script1 | 8 -
share/sushi/procs/Makefile | 12 -
share/sushi/procs/help | 14 -
share/sushi/procs/index | 13 -
share/sushi/procs/restartallprocs/Makefile | 10 -
share/sushi/procs/restartallprocs/form | 2 -
share/sushi/procs/restartallprocs/help | 1 -
share/sushi/procs/restartallprocs/script | 12 -
share/sushi/procs/restartallprocs/script1 | 9 -
share/sushi/procs/restartprocs/Makefile | 10 -
share/sushi/procs/restartprocs/form | 2 -
share/sushi/procs/restartprocs/help | 1 -
share/sushi/procs/restartprocs/script | 12 -
share/sushi/procs/restartprocs/script1 | 9 -
share/sushi/procs/showallprocs/Makefile | 8 -
share/sushi/procs/showallprocs/script | 8 -
share/sushi/procs/showprocs/Makefile | 8 -
share/sushi/procs/showprocs/script | 7 -
share/sushi/procs/startallprocs/Makefile | 10 -
share/sushi/procs/startallprocs/form | 2 -
share/sushi/procs/startallprocs/help | 1 -
share/sushi/procs/startallprocs/script | 12 -
share/sushi/procs/startallprocs/script1 | 9 -
share/sushi/procs/startprocs/Makefile | 10 -
share/sushi/procs/startprocs/form | 2 -
share/sushi/procs/startprocs/help | 1 -
share/sushi/procs/startprocs/script | 12 -
share/sushi/procs/startprocs/script1 | 9 -
share/sushi/procs/stopallprocs/Makefile | 10 -
share/sushi/procs/stopallprocs/form | 2 -
share/sushi/procs/stopallprocs/help | 1 -
share/sushi/procs/stopallprocs/script | 12 -
share/sushi/procs/stopallprocs/script1 | 9 -
share/sushi/procs/stopprocs/Makefile | 10 -
share/sushi/procs/stopprocs/form | 2 -
share/sushi/procs/stopprocs/help | 1 -
share/sushi/procs/stopprocs/script | 12 -
share/sushi/procs/stopprocs/script1 | 9 -
share/sushi/procs/topcpu/Makefile | 8 -
share/sushi/procs/topcpu/script | 4 -
share/sushi/procs/topmem/Makefile | 8 -
share/sushi/procs/topmem/script | 4 -
share/sushi/procs/toptime/Makefile | 8 -
share/sushi/procs/toptime/script | 6 -
share/sushi/system/Makefile | 12 -
share/sushi/system/dailyconf/Makefile | 10 -
share/sushi/system/dailyconf/form | 18 --
share/sushi/system/dailyconf/help | 4 -
share/sushi/system/dailyconf/script | 69 ---------
share/sushi/system/dailyconf/script1 | 10 -
share/sushi/system/dailyconf/script2 | 4 -
share/sushi/system/dailyconf/script3 | 6 -
share/sushi/system/help | 37 -----
share/sushi/system/index | 11 -
share/sushi/system/inetdconf/Makefile | 10 -
share/sushi/system/inetdconf/form | 64 --------
share/sushi/system/inetdconf/script | 87 ------------
share/sushi/system/inetdconf/script1 | 18 --
share/sushi/system/localtime/Makefile | 10 -
share/sushi/system/localtime/form | 3 -
share/sushi/system/localtime/help | 9 -
share/sushi/system/localtime/script | 10 -
share/sushi/system/localtime/script1 | 16 --
share/sushi/system/mailerconf/Makefile | 10 -
share/sushi/system/mailerconf/form | 2 -
share/sushi/system/mailerconf/script | 99 -------------
share/sushi/system/mailerconf/script1 | 39 -----
share/sushi/system/rcconf/Makefile | 10 -
share/sushi/system/rcconf/form | 154 ---------------------
share/sushi/system/rcconf/script | 72 ----------
share/sushi/system/rcconf/script1 | 10 -
share/sushi/system/rcconf/script2 | 4 -
share/sushi/system/rcconf/script4 | 17 --
share/sushi/system/securityconf/Makefile | 10 -
share/sushi/system/securityconf/form | 27 ---
share/sushi/system/securityconf/help | 5 -
share/sushi/system/securityconf/script | 69 ---------
share/sushi/system/securityconf/script1 | 10 -
share/sushi/system/securityconf/script2 | 4 -
share/sushi/system/securityconf/script3 | 6 -
share/sushi/system/sshdconf/Makefile | 10 -
share/sushi/system/sshdconf/defaults | 50 ------
share/sushi/system/sshdconf/form | 54 -------
share/sushi/system/sshdconf/help | 7 -
share/sushi/system/sshdconf/script | 58 --------
share/sushi/system/sshdconf/script1 | 12 -
share/sushi/system/sshdconf/script2 | 19 --
share/sushi/system/sshdconf/script3 | 33 ----
share/sushi/system/sshdconf/script4 | 12 -
share/sushi/system/sshdconf/script5 | 19 --
share/sushi/system/sshdconf/script6 | 19 --
share/sushi/system/sshdconf/script7 | 11 -
share/sushi/system/sysctl/Makefile | 10 -
share/sushi/system/sysctl/form | 4 -
share/sushi/system/sysctl/help | 4 -
share/sushi/system/sysctl/preform | 2 -
share/sushi/system/sysctl/script | 51 -------
share/sushi/system/sysctl/script1 | 4 -
share/sushi/system/sysctl/script2 | 4 -
share/sushi/system/sysctl/sysctls | 145 --------------------
share/sushi/system/usermgmtconf/Makefile | 10 -
share/sushi/system/usermgmtconf/form | 11 -
share/sushi/system/usermgmtconf/help | 7 -
share/sushi/system/usermgmtconf/script | 60 --------
share/sushi/system/usermgmtconf/script1 | 69 ---------
share/sushi/system/weeklyconf/Makefile | 10 -
share/sushi/system/weeklyconf/form | 3 -
share/sushi/system/weeklyconf/help | 4 -
share/sushi/system/weeklyconf/script | 69 ---------
share/sushi/system/weeklyconf/script1 | 10 -
share/sushi/system/weeklyconf/script3 | 6 -
share/sushi/users/Makefile | 12 -
share/sushi/users/addgroup/Makefile | 10 -
share/sushi/users/addgroup/form | 3 -
share/sushi/users/addgroup/script | 13 -
share/sushi/users/adduser/Makefile | 10 -
share/sushi/users/adduser/form | 9 -
share/sushi/users/adduser/script | 32 ----
share/sushi/users/adduser/script1 | 12 -
share/sushi/users/adduser/script2 | 12 -
share/sushi/users/adduser/script3 | 5 -
share/sushi/users/delgroup/Makefile | 10 -
share/sushi/users/delgroup/form | 2 -
share/sushi/users/delgroup/script | 7 -
share/sushi/users/delgroup/script1 | 3 -
share/sushi/users/deluser/Makefile | 10 -
share/sushi/users/deluser/form | 4 -
share/sushi/users/deluser/preform | 2 -
share/sushi/users/deluser/script | 10 -
share/sushi/users/deluser/script1 | 3 -
share/sushi/users/deluser/script2 | 3 -
share/sushi/users/disuser/Makefile | 10 -
share/sushi/users/disuser/form | 2 -
share/sushi/users/disuser/script | 6 -
share/sushi/users/disuser/script1 | 3 -
share/sushi/users/index | 11 -
share/sushi/users/listgroup/Makefile | 8 -
share/sushi/users/listgroup/script | 17 --
share/sushi/users/listuser/Makefile | 8 -
share/sushi/users/listuser/script | 17 --
share/sushi/users/moduser/Makefile | 10 -
share/sushi/users/moduser/form | 9 -
share/sushi/users/moduser/preform | 2 -
share/sushi/users/moduser/script | 26 ---
share/sushi/users/moduser/script1 | 3 -
share/sushi/users/moduser/script2 | 43 -----
share/sushi/users/passwd/Makefile | 10 -
share/sushi/users/passwd/form | 2 -
share/sushi/users/passwd/script | 3 -
share/sushi/users/passwd/script1 | 3 -
share/sushi/util/Makefile | 11 -
share/sushi/util/help | 18 --
share/sushi/util/index | 3 -
share/sushi/util/logging/Makefile | 8 -
share/sushi/util/logging/func | 1 -
share/sushi/util/scripting/Makefile | 8 -
share/sushi/util/scripting/func | 1 -
308 files changed, 2 insertions(+), 4268 deletions(-)
diffs (truncated from 5512 to 300 lines):
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/Makefile
--- a/share/Makefile Wed Feb 08 00:46:13 2006 +0000
+++ b/share/Makefile Wed Feb 08 00:47:29 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2005/10/22 12:31:05 rpaulo Exp $
+# $NetBSD: Makefile,v 1.24 2006/02/08 00:47:29 christos Exp $
# from @(#)Makefile 8.1 (Berkeley) 6/5/93
# Missing: ms
@@ -7,7 +7,7 @@
.if ${MKSHARE} != "no" || \
make(clean) || make(cleandir) || make(distclean) || make(obj)
-SUBDIR= dict doc examples legal man me misc mk sushi \
+SUBDIR= dict doc examples legal man me misc mk \
tabset termcap tmac wscons zoneinfo
.if ${MKNLS} != "no"
SUBDIR+=i18n locale nls
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/Makefile
--- a/share/sushi/Makefile Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2001/12/12 01:49:20 tv Exp $
-
-SUBDIR= info install system users procs util network
-
-FILES= help index
-FILESDIR=${BINDIR}/sushi
-NOOBJ= # defined
-
-.include "../Makefile.inc"
-.include <bsd.prog.mk>
-.include <bsd.subdir.mk>
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/help
--- a/share/sushi/help Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-Welcome to NetBSD sushi. This tool is designed to assist you in the
-everyday tasks of maintaining and administering your machine.
-
-To use this tool, simply select the menu item that you wish to enter, with
-the arrow keys, and hit enter to select it.
-
-You may use any of the function keys listed at the bottom of your screen
-to call certain functions within sushi:
-
-F1: Call up help, if it exists, for the current menu or form.
-F2: Refresh the screen.
-F3: Cancel the current menu, and return to the previous one, or exit sushi.
-F8: Take a screen capture of the current screen and save it to "sushi.image".
-F9: Launch a shell to perform manual tasks.
-F10: Exit sushi immediately.
-ESC: Same as F3, Cancel.
-ENTER: Do.
-
-Once you have selected a function to perform, sushi will do one of two
-things, it will either run the selected task immediately, or, in the case
-of a task which requires user input, present a form to the user. The user
-is expected to fill in the form, and hit enter. Required fields are
-marked with a "*" at the beginning of the line. Any other fields can be
-left unfilled, but should be examined to see if the defaults supplied are
-satisfactory. Once this is done, the user-supplied values will be passed
-to the controlling scripts, and the task will be attempted.
-
-The output of the task will be displayed to the user in a scrolling
-window. Once complete, success or failure will be noted in the status bar
-at the top of the screen, and the user can scroll through the output, or
-simply hit ESC/ENTER to continue. If the task was unsuccessful, the user
-will be returned to the form, to attempt again if he/she should wish,
-otherwise the user is returned to the previous menu.
-
-$NetBSD: help,v 1.1 2001/01/05 02:06:53 garbled Exp $
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/index
--- a/share/sushi/index Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# $NetBSD: index,v 1.6 2004/03/09 20:06:42 garbled Exp $
-install install Software Installation and Maintenance
-system system System Maintenance
-users users Users and Groups
-procs procs Processes and Daemons
-network network Network related configuration
-BLANK BLANK BLANK
-info info Using sushi (information only)
-util util Sushi utilities (logging/scripting)
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/Makefile
--- a/share/sushi/info/Makefile Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2001/12/12 01:49:20 tv Exp $
-
-SUBDIR= programming
-
-FILES= index
-FILESDIR=${BINDIR}/sushi/info
-NOOBJ= # defined
-
-.include "../../Makefile.inc"
-.include <bsd.prog.mk>
-.include <bsd.subdir.mk>
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/index
--- a/share/sushi/info/index Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# $NetBSD: index,v 1.1 2001/01/05 02:06:54 garbled Exp $
-programming NONE Programming menus in Sushi
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/programming/Makefile
--- a/share/sushi/info/programming/Makefile Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2001/12/12 01:49:18 tv Exp $
-
-SUBDIR= basics execapi formapi helpapi i18n indexapi scriptapi searchpaths
-
-FILES= index help
-FILESDIR=${BINDIR}/sushi/info/programming
-NOOBJ= # defined
-
-.include "../../../Makefile.inc"
-.include <bsd.prog.mk>
-.include <bsd.subdir.mk>
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/programming/basics/Makefile
--- a/share/sushi/info/programming/basics/Makefile Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2001/12/12 01:49:18 tv Exp $
-
-FILES= help
-FILESDIR=${BINDIR}/sushi/info/programming/basics
-NOOBJ= # defined
-
-.include "../../../../Makefile.inc"
-.include <bsd.prog.mk>
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/programming/basics/help
--- a/share/sushi/info/programming/basics/help Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-The menus and forms in Sushi are very simple to create. At a minimum,
-they consist of a sub directory, an index file, and an action-file of some
-sort.
-
-To create a new menu item, you would create a directory, edit the "index"
-file in the parent directory, and populate your new directory with the
-appropriate files.
-
-The files are searched and executed in a specific order:
-
-index A file containing definitions for submenus under this one.
-preform A form called before the regular form, to preload it
- with certain values.
-form The actual form definition, which presents the questionaire
- to the user.
-script An executable of some sort.
-exec A file containing the name of a program to run, with
- arguments.
-func Calls a function internal to Sushi.
-help Displays a helpfile, similar to this one.
-
-It is an error to have an "endpoint" (a directory with no additional submenus)
-that contains no files, and upon encountering an empty enpoint, Sushi will
-exit with an error.
-
-$NetBSD: help,v 1.1 2001/01/05 02:06:55 garbled Exp $
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/programming/execapi/Makefile
--- a/share/sushi/info/programming/execapi/Makefile Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2001/12/12 01:49:18 tv Exp $
-
-FILES= help
-FILESDIR=${BINDIR}/sushi/info/programming/execapi
-NOOBJ= # defined
-
-.include "../../../../Makefile.inc"
-.include <bsd.prog.mk>
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/programming/execapi/help
--- a/share/sushi/info/programming/execapi/help Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-When an action file named "exec" is encountered by sushi, it will be read
-for a name of a program to execute. Only the first line of this file is
-read, and no continuations are allowed. Arguments may be passed to the
-program by placing them in the exec file. Additional arguments are passed
-to the program from the contents of the form. These arguments are passed
-in the order they appear in the form.
-
-For example, an exec file might contain the following:
-
-pkg_info -v
-
-And it's preceding form (if any) might contain one field, such as the
-name of a package to get detailed information on. So the actual command
-that might get run, could look something like this:
-
-pkg_info -v fooshi-1.3
-
-Note that all fields are passed as arguments, if you want them to be or not.
-
-$NetBSD: help,v 1.2 2001/08/20 12:00:50 wiz Exp $
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/programming/formapi/Makefile
--- a/share/sushi/info/programming/formapi/Makefile Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2001/12/12 01:49:18 tv Exp $
-
-FILES= help
-FILESDIR=${BINDIR}/sushi/info/programming/formapi
-NOOBJ= # defined
-
-.include "../../../../Makefile.inc"
-.include <bsd.prog.mk>
diff -r 27affc92e5e7 -r c00f0dd0c2f2 share/sushi/info/programming/formapi/help
--- a/share/sushi/info/programming/formapi/help Wed Feb 08 00:46:13 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-The forms in sushi are simple ascii databases of various fields and options
-that are shown to the user, to be later processed by a script or exec action
-item.
-
-The form consists of a field type, followed by it's required arguments,
-and a description of the field. The different field types are listed below.
-
-entry A simple entry field. The only argument is the length of
- the field.
-req-entry A required entry field. This is the same as the entry field
- except that the user must enter a value to proceed.
-escript An escript is an entry field, whose initial value is filled
- in by a script that is run during the form generation. The
- Arguments are: max field length, the name of the script to
- run, and any optional arguments the user wishes to pass to
- the script.
-req-escript A required escript field.
-nescript A no-entry escript. This is the same as an escript, except
- that the user is not allowed to modify the contents of
- the field.
-list A simple list of possible values. The arguments to this
- is a list of valid choices for the user.
-req-list A required list.
-multilist A multilist is the same as a list, except that the user may
- choose multiple items from the list, instead of only one.
-blank A blank item. This is useful for providing additional
- instructions for a particular field.
-func Calls a function internal to sushi. The function presents
- a list to the user. The arguments to func is the name of
- a function (which must be compiled into sushi) and an
- optional string argument to pass to the function.
-req-func A required function field.
-multifunc A function field where the user may make multiple selections.
-script The script field is a list field, where the list of items is
- generated by running a script. The script's only output
- must be a simple list of items, such as 'ls -1' might generate.
- The arguments are the name of the script to be called (which
- must reside in the endpoint directory) and any optional
- arguments to pass the script.
-req-script A required script field.
-multiscript A multiple selection list field.
-noedit An uneditable field. The argument is the value of the field.
-invis An invisible and uneditable field. The argument is the
- value of the field.
-integer An integer field. The arguments are the number of digits,
- the minimum number, and the maximum number allowed. You may
- also supply an optional default for the field.
-req-integer A required integer field.
-iscript An integer field, whose default is set by the invocation
- of a script. The arguments are the number of digits,
- the minimum number, the maximum number, and the name of the
- script to invoke, followed by any number of arguments to pass
- to the script.
-req-iscript A required iscript field.
-ipv4 A simple entry field for IPv4 address types. The only
- optional argument is an initial value for the field.
-req-ipv4 A required IPv4 entry field. This is the same as the IPv4
- entry field except that the user must enter a value to proceed.
-ipv4script An ipv4script is an IPv4 entry field, whose initial value is
- filled in by a script that is run during the form generation.
- The arguments are: the name of the script to run, and any
- optional arguments the user wishes to pass to the script.
-req-ipv4script A required IPv4 script generated entry field.
-ipv6 A simple entry field for IPv6 address types. The only
- optional argument is an initial value for the field.
-req-ipv6 A required IPv6 entry field. This is the same as the IPv6
- entry field except that the user must enter a value to proceed.
-ipv6script An ipv6script is an IPv6 entry field, whose initial value is
- filled in by a script that is run during the form generation.
- The arguments are: the name of the script to run, and any
- optional arguments the user wishes to pass to the script.
-req-ipv6script A required IPv6 script generated entry field.
-
-
-If a description consists of the keyword BLANK, no description will be
-displayed to the user.
-
-An example of a simple form:
-
-script:script1,audio Install which audio pkg?
-invis:audio BLANK
-list:yes,no Are you sure?
-
-The field type is allways the first character on the line. It is followed
-directly by a semicolon, and then the arguments for the field, separated
Home |
Main Index |
Thread Index |
Old Index