Subject: dialog version 0.15
From: [email-masked]
Date: 22 Dec 1993 01:08:01 +0200
Newsgroups: comp.os.linux.announce

I've uploaded to sunsite.unc.edu the files:

    /pub/Linux/Incoming/dialog-0.15.lsm
and /pub/Linux/Incoming/dialog-0.15.tar.gz

Here is the README:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

dialog - Display dialog boxes in shell script (version 0.15)
============================================================

This is a program that will enable you to present a variety of questions
or display messages using dialog boxes in a shell script. There are five
types of dialog boxes: yes/no box, menu box, input box, message box,
checklist box. The idea of writing this program came from the fact that
most questions asked in a shell script (and many interactive programs
as well) can be classified into these few types:

1) One that requires the user to answer either yes or no.
2) One that presents a number of options for the user to choose.
3) One that requires the user to input a string.
4) One that displays a message and wait for a key press before continuing.
5) One that presents a list of options that can be turned on or off.

The program 'dialog' can, say for example, be called in a shell script to
present the first type of questions like this:

if dialog --yesno <question text> <height> <width>
then
  ...
fi

e.g. if dialog --yesno "Do you want to continue?" 7 51
     then
       echo "Continuing..."
     else
       echo "Aborting..."
     fi

I've included a sample shell script for each type of boxes in the directory
samples. The program requires ncurses to compile. Running 'dialog' without
arguments will display the usage.

FEATURES
	- Friendly dialog box interface with buttons, etc.
        - Auto wrap around of question text if it's too long to fit on
          one line.
        - "\n" can be inserted in question text to control line breaking
          explicitly.

WHAT'S NEW SINCE VERSION 0.1?
        - menu will now scroll if there are more items than can fit
          on the screen.
        - added 'checklist', a dialog box with a list of options that
          can be turned on or off. A list of options that are on is
          returned on exit.

INSTALLATION
	1. Edit Makefile and remove -DUSE_SHADOW from CFLAGS if you
           don't want shadowed dialog boxes.
	2. 'make install' will compile and install the binaries in
           /usr/local/bin (change BINDIR in Makefile if you want to
	   install elsewhere)

Comments and bug reports welcome.

- Savio Lam ([email-masked])

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Regards,
Savio Lam.
Email: [email-masked]

--
Mail submissions for comp.os.linux.announce to: [email-masked]
PLEASE remember Keywords: and a short description of the software.