Re: Using 'dialog'

2000-03-02 Thread Cameron Matheson
I kind of understand this (is it C?), but I still don't know how to use the answer I get from the user when they select an option from the menu. Please help, Thanks everyone, Cameron matheson John Hasler wrote: > > This GPL: > > # include the user interface functions > > # Global options >

Re: Using 'dialog'

2000-03-02 Thread Cameron Matheson
John Hasler wrote: > > This GPL: > > # include the user interface functions > > # Global options > # The variable $BACKTITLE specifies the back title. > # The variable $DIALOG_OPTIONS, initialized here to --clear, provides > # options you want on the command line of each dialog invocation. > # T

Re: Using 'dialog'

2000-03-02 Thread John Hasler
This GPL: # include the user interface functions # Global options # The variable $BACKTITLE specifies the back title. # The variable $DIALOG_OPTIONS, initialized here to --clear, provides # options you want on the command line of each dialog invocation. # The variable $DIALOG_TEST can be se

RE: Using 'dialog'

2000-03-02 Thread Wim Kerkhoff
On 01-Mar-2000 Cameron Matheson wrote: > Hey, > > I'm trying to write a script that asks you which ROM you want to start > up with snes9x (along with sound and joystick options). Right now I > have the following: > > dialog --backtitle "Super Nintendo" --title "Snes9x Options" --shadow > --menu

Re: Using 'dialog'

2000-03-02 Thread Matheson
sorry, I don't know how to read from the file. Thanks, Cameron Matheson Carl Mummert wrote: > A simple solution (though not very robust): > > Append the string '2> /tmp/choice' to the dialog line, then look > in /tmp/choice to see the data. stderr is file descriptor 2, > and the 2> file synta

Re: Using dialog

1998-08-04 Thread Mike Schmitz
On Sun, Aug 02, 1998 at 07:20:57PM -0500, [EMAIL PROTECTED] wrote: > *- Johann Spies wrote about "Using dialog" > | I want to try out dialog and have read the man page. But I still do not > | know how to use it. Can somebody send me an example please? > | > > The dunc package requires it so you

Re: Using dialog

1998-08-03 Thread servis
*- Johann Spies wrote about "Using dialog" | I want to try out dialog and have read the man page. But I still do not | know how to use it. Can somebody send me an example please? | The dunc package requires it so you could install that package and look at its scripts. There is dialog replacemen

Re: Using dialog

1998-08-02 Thread Dominik Rothert
On Sat, Aug 01, 1998 at 10:28:23PM +0200, Johann Spies wrote ... > I want to try out dialog and have read the man page. But I still do not > know how to use it. Can somebody send me an example please? #!/bin/sh # dialog --ckear -msgbox 'An example for\na message box\n.' 7