From: Heiko Z. <hz...@pr...> - 2003-06-10 15:30:29
|
On 06/10/2003 10:07:51 AM Bruce Smith wrote: >> > Or, I can add a single line of text on the bottom line of the menu= >that >> > automatically changes as the person arrows to the different items.= >> >> I guess we will see if 80 characters are enough or not. I can't say >> for now. > >What I'm thinking now is we'll need another file for help variables. >i.e. In the scripts/* files, in addition to: > >echo "INSTALL_$MYNAME=3Dno" >> $SOFTWAREFILE >echo "START_$MYNAME=3Dno" >> $CONFIGFILE > >We'll also add in each script: > >echo "HELP_$MYNAME=3D\"one line of help text\"" >> $HELPFILE > >So "setup", and other programs, can source that file too. > >Unless you can think of a better way to handle it? I think this is the simplest way. Why not start going this road and we = can change it later. Just make sure you use functions and make it modular, that safes you a = lot of pain later. Also, make sure the setup script doesn't run into an error when there's= no help available. You could. i.e. use the text "no help available" as standard. Heiko = |