cancel
Showing results for 
Search instead for 
Did you mean: 

Menuing System

Chrise3112
Occasional Advisor

Menuing System

Good afternoon all,

Does anyone know of a menuing system that will run on HP-UX 11iv3 which will allow us to have multiple ways of viewing the same menus. Eg.: text based menus via telnet/ssh, html via a web browser or X based menus.

These would then call scripts or programs on the unix box.

I was hoping that the SMH custom menus may allow us this but they don't

Thanks
Chris.
6 REPLIES
Michael Steele_2
Honored Contributor

Re: Menuing System

#!/usr/bin/ksh
#

echo "enter num:\c"
read num1

case $num1 in
1) /home/user/script1;;
2) /home/user/script2;;
3) /home/user/script3;;
*) ;;
...
esac

????

Please elaborate from this.
Support Fatherhood - Stop Family Law
Chrise3112
Occasional Advisor

Re: Menuing System

That would work great on a terminal session... but not so good from a web page.

I am after something that will work from multiple front ends. Character for a terminal session, X for those with X terms (these 2 could possibly be the same) and also a web front end to present to more users.

Chris
OldSchool
Honored Contributor

Re: Menuing System

there used to be a commercial package based to tk/tc that did Xwindows and terminals. I don't recall the name, and nothing in google rang a bell.

There is TkMenu stuff for perl that looks interesting.

Finding ONE package that does ALL THREE (terminal, XWindows and html) is probably going to be a problem. as I noted, I've seen a package that does two of the three, but not all of them.

You might want to google "perl tk menus" if you're up for writing your own....
Chrise3112
Occasional Advisor

Re: Menuing System

Thanks,

That is a good starting point... it might be that we write a CGI script as well as the perl/tk one to achieve it.

I was just being lazy ;)

C.
Olivier Masse
Honored Contributor

Re: Menuing System

There used to be dialog/xdialog that had identical front-ends to generate both a curses-based and X-based interface. But the issue will be the same as what was said previously, I don't know of any me too that will add in a web interface.

Good luck
Chrise3112
Occasional Advisor

Re: Menuing System

Nor me... but I thought I would ask :)