*BSD News Article 51342


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!vtc.tacom.army.mil!news2.acs.oakland.edu!jobone!newsxfer.itd.umich.edu!news.mathworks.com!tank.news.pipex.net!pipex!howland.reston.ans.net!usc!sdd.hp.com!hp-pcd!news1.boi.hp.com!dragon
From: dragon@boi.hp.com (The Green Dragon)
Subject: Re: Shell Menu, and other questions...
Sender: news@boi.hp.com (Boise Site News Server)
Message-ID: <DEtyqB.7pn@boi.hp.com>
Date: Wed, 13 Sep 1995 06:15:47 GMT
Reply-To: dant@hpbs1847.boi.hp.com
References: <DE2Eo0.DG4@boi.hp.com> <DEqAty.7J8@boi.hp.com> <434u0v$4mj@ccshst05.cs.uoguelph.ca>
Nntp-Posting-Host: hpbs1847.boi.hp.com
Organization: Hewlett-Packard / Boise, Idaho
X-Newsreader: TIN [version 1.2 PL0.9]
Lines: 38

DYE JOB (bbarber@uoguelph.ca) wrote:
> hmmm.  Really, a shell script should do the trick.  It has nothing
> to do with your OS.  Learn to use "case" in your (bash) shell scripts.
> ie:

> read answer
> case $answer in

> 	p) passwd;;
> 	l) lynx;;
> 	e) echo "enter a filename: "; read namofile; vi $nameofile;;
> ...

Yea, I got that far and did write a shell script.  I guess I wasn't
communicating well.  I wanted a little more.

For example, I got a program off of sunsite called "dialog" that allows you
to create popup dialogs in a shell window.  It uses curses (or ncurses if 
your OS supports it), to make some really nice looking Menus.  It could do
percentage guages, input boxes, text boxes, and lots of other things.  I just
couldn't get it to compile.

I had found about 3 menu utilities that allow a more professional look then
just a cheesy shell script, but none compiled.  I can't remember what they
were, but I also tried 2 other non-menu C programs to compile, neither worked
also.  So I was 0 for 5.  I gave up.

To be fair, our systems were set up, includeing the mailhost, web server, DNS,
and news feed, by two guys who have never touched a UNIX box in thier lives.
Both are avid Mac users.  But that seemed to be the end of it's "features".
If you just wanted it to setup and run, it would probably keep going forever.
I didn't find it easy to add new things to it, and couldn't find anyone to
help.

I'm getting plent of responces now that I decided to switch to another OS :)

Dan "still running BSD on 2 boxes" Thibadeau