- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Menu programming
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 01:30 AM
тАО12-19-2005 01:30 AM
what is the best way to programm a menu like the SAM. in which language is SAM programmed?
I prefer Perl or KSH. exists in Perl a module for a menu.
I saw in KSH exist something like:
select what in "Point1" "Point2"; do
case $REPLY in
1)
echo "foo bar"
break
;;
2)
echo "foo bar 1"
break
;;
esac
done
but exist something who looks more professional than that?
Thanks & Regards
Solved! Go to Solution.
- Tags:
- select
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 02:08 AM
тАО12-19-2005 02:08 AM
Re: Menu programming
If you add a new in SAM, it is shell script based.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 02:14 AM
тАО12-19-2005 02:14 AM
Re: Menu programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:08 AM
тАО12-19-2005 03:08 AM
Re: Menu programming
examples are in /usr/dt/examples/dtksh
- Tags:
- dtksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:17 AM
тАО12-19-2005 03:17 AM
Re: Menu programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:30 AM
тАО12-19-2005 03:30 AM
Re: Menu programming
it uses a undocumented library called libObam which does curses or X11 depending if DISPLAY is defined. In any case it is not usable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:54 AM
тАО12-19-2005 03:54 AM
Re: Menu programming
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 07:04 PM
тАО12-19-2005 07:04 PM
Re: Menu programming
@Geoff: that's what I searched
the dtksh is also nice, but i need a textbased menu. I found this thread for dtksh:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=101310
has someone an idea whether exists also something in perl?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 07:15 PM
тАО12-19-2005 07:15 PM
Re: Menu programming
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 07:24 PM
тАО12-19-2005 07:24 PM
Re: Menu programming
http://search.cpan.org/~corliss/CursesWidgets-1.997/Widgets/Menu.pm
-Arun
- Tags:
- Perl