DescribeNotes
HomePage>>SourceCode>>ExternalSource>>C Programs>>Start up menu in C
This system is set up for HPUX 11.0 & worked in 10.2 and one earlier.
Sample of code from .profile where process is called to start Universe; replace each instance of where uv is called with the following:
exec /usr/local/bin[[/MercyMenu]]
MercyMenu reads in a text file "/usr/bin/main.menu" for the menu items and the locations to run. After a user makes a choice, a script is run to change to that account and starts up Universe. Setting permissions to the VOC in the account will control which menu items are presented to the user. Only the accounts that the user has read / write access will be offered to be logged into.
See SampleOne for main.menu text file.
See SampleTwo for several scripts for starting up Universe in selected account.
See C program for the MercyMenu.c program.