Commit Graph

30 Commits

Author SHA1 Message Date
garbled
25a0bdc99a Fix handling of the backspace and delete keys when editing a field. 2001-02-01 08:43:46 +00:00
garbled
aa592358be Add a popup message telling users how to use the multiple selection and
list field types, so users aren't mystified when they encounter one.
2001-02-01 08:29:46 +00:00
garbled
305f1af6ff Major cleanup:
Add new form keyword, iscript, which allows script generated integer fields.
This uncovered a whole host of bugs, which uncovered a whole host of memory
leaks, which hopefully I've fixed most of now (in this file at least).
2001-01-31 09:35:42 +00:00
garbled
18d0882a77 Add a function to fetch a list of different package categories that are
available to the user to install binary packages with.

Modify the function API so it can handle preforms like it is supposed to.
2001-01-24 09:30:30 +00:00
garbled
1dc7842166 Deal with null returns from script entry field types in a semi-sane manner 2001-01-24 08:29:56 +00:00
garbled
18e0c94727 Fix an off-by one error in run.c having to do with the down arrow, and fix
some minor display glitches in the form routines.
2001-01-24 07:46:23 +00:00
garbled
69f61c7f62 Fix the editing popup window so it's actually readable. 2001-01-24 07:23:51 +00:00
garbled
fdb7bdb2c0 Fix some bugs pointed out by Brett Lymn where I wasn't checking the return
value of field_buffer.
2001-01-24 07:17:10 +00:00
garbled
73ffa92b18 Fix one of the bugs in the TODO list, sushi would die with a bad endpoint
if you hit enter on one of the blank lines in the main menu.
2001-01-22 07:12:49 +00:00
garbled
b0ee440a2f Update the TODO list a little bit. Add a few items that were brought to
my attention.
2001-01-19 07:50:20 +00:00
cgd
f762cf8294 for linking, libraries should be named _after_ the libraries that need them.
In this case, curses should come after cdk & form.
2001-01-16 02:34:14 +00:00
garbled
3c1becf72b Fix a buffer overrun in the parsing of the searchpaths, and check the return
values of some curses functions I overlooked.
Pointed out by Brett Lymn in private email.
2001-01-14 21:23:23 +00:00
christos
b420e5eb3e don't include bsd.nls.mk; bsd.prog.mk does it for us. 2001-01-14 06:26:56 +00:00
garbled
b4aac50fda Changes to sushi to allow users to bind different keys to the various
built-in functions.  This allows users to change F1 to say, ^X, in the case
where a function key might not be available, or perhaps is bound to a window
manager.

problem noted by Nathan Williams
2001-01-10 10:00:29 +00:00
garbled
ee3a00e29e de-lint 2001-01-10 03:05:48 +00:00
garbled
259b42afe7 Some cleanups in how help is handled. Now print a dialog box saying that
help could not be found when no help files are available.  When the help
window dissapears, redraw the screen so the menu isn't invisible.
2001-01-09 21:38:53 +00:00
garbled
009ea1962a Fix a segfault when the user hits ESC inside the F4 selection box for a
list field.
2001-01-09 19:32:35 +00:00
garbled
f6177aaaba When dropping out to a shell for the user via F9, use $SHELL if it's
available, rather than hardcoding /bin/sh.  Problem noted by itojun on
tech-userlevel
2001-01-09 19:01:57 +00:00
augustss
d56c24a854 Make this compile again.
(Compile before commit...)
2001-01-09 17:08:47 +00:00
garbled
4ce5fb6f63 Handle finding help for F1 better in the toplevel menu.
TODO: print a dialog message if help cannot be found.
2001-01-09 09:41:41 +00:00
garbled
74db0945af Backout the addition of timeout(). This did not have the desired effect
at all.  problem noted by itojun on tech-userlevel.
2001-01-09 08:06:22 +00:00
garbled
a2633f6a37 Add better handling of a failure to find any menus at all for sushi to
process.  Document the ability to use "quicknames" in the sushi manpage.
2001-01-08 21:19:31 +00:00
garbled
ff9d32a832 Add a bug that I forgot about in here.. so that I don't forget to fix it. 2001-01-08 08:33:24 +00:00
garbled
5a95f8151c Add the sushi manpage to the makefile. 2001-01-08 08:24:17 +00:00
garbled
729ebd2d8e Write a manpage for sushi. Closes PR 11902 by Lennart Augustsson. 2001-01-08 08:12:54 +00:00
veego
df22eba7da len is size_t and not int.
Fixes compile problem on alpha.
2001-01-06 15:04:05 +00:00
jdolecek
4723e61556 rename sushi.msg.en to C.msg
build and install message catalog
2001-01-06 14:00:33 +00:00
thorpej
33191e72a1 Use ${PRINTOBJDIR}. 2001-01-05 19:01:59 +00:00
thorpej
8463038876 Fix some things that were missed when this program was renamed to
"sushi".
2001-01-05 18:57:25 +00:00
garbled
fbbe4d12db Initial import of sushi.
Sushi is an interactive, menu-based program that is designed to aid
the user or administrator with administrative and complex tasks on thier
machines.

Sushi provides a menu of various functions that the user can perform on
his or her machine.  Once the user selects a desired function, the
function is either performed outright, or in most cases, the user is
asked to fill in a simple form with required and option information,
which is then processed by sushi, and the action occurs.

The programming interface for sushi is very simple.  There are
directories containing various files, such as menu indexes, or forms for
the user to fill out.  These files are interpreted by sushi to generate
the menus the user sees on his/her screen.  When the form is filled out
by the user, the entries are passed as command-line arguments to a
program, or script contained in one of the subdirectories.  In this way,
it is possible to add new entries to the sushi menu structure, by simply
adding a new menu item, form and script, the binary does not need to be
recompiled to take advantage of this new menu.
2001-01-05 01:28:33 +00:00