Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just need to develop a menu based Administration tools in LINUX similar like SAM - HP and SMIT - AIX , should be in a position to work with tab and space bar and arrow keys , can any one suggest how to start...should i write a code in c language only or i can implement the same in shell script itself.
Anyway assuming you want something with all the bells and whistles, as already suggested, you can start by looking at yast. Get the source and explore it (be careful to check its licence though).
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
just a guess but MS= master of science and of course the dissertation is the final step of earning a masters degree or doctorate degree
and yes i would start by looking at the source code of something like yast
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
Quote:
Originally Posted by jiml8
There is also webmin
yes but his point is he wants to WRITE something for his project
and webmin is an web based interface, not a text based
there is also linuxconf http://www.solucorp.qc.ca/linuxconf/
which is a horribly outdated text based configuration tool for linux systems, but could be a good starting point as to figure out how it does certain things since the source code is readily available
The challenge will be not to destroy some user configured data in the config file. You need to parse and update the files without overwriting them with your value. Otherwise it will not be usable in real life. The advantages of config file over user interface is the fine grained control without bloated interface. The Unix philosophy dict that everything should be a file and every application do one thing, but do it right. User interface based configuration tools have so far failed to gain traction on Unix/Linux because they lack the flexibility and completeness of a comprehensive and well documented config file.
About how to do it, forget C, it is not really good for parsing text. C++ or higher level languages are recommanded. Bash is fine for parsing, but it will be hard to manage the data you are working with, so the code will become a mess sooner than later. An object oriented String implementation is what I would use. I don't really like when languages implement it as a base type. For the menu, if you want to go command line, use ncurse or just pring text. If you want to go graphical, GTK2 or Qt4 are for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.