Miscellaneous > Programming & Networking
Unix menu program
Kintaro:
because somone might press x instead of c (being right next to the x key) so you have to hold shift for it.
flap:
This:
--- Code: ---
--- End code ---
would be better written as a for loop:
--- Code: ---
--- End code ---
You could do all this more easily as a shell script btw.
Kintaro:
I might make a curses port but then I also plan on using it on a line printing terminal.
But I think I'll to a curses port of it.
1 reason why its not a shell script is that if its compiled I can stop users from adding certain things to the menu, and exploiting it as easily.
If I wanted I could take the shell option out and the mc option limiting users ability to fiddle with the system (Windows style security really).
There was a few other reasons, but now I might start work on a curses port.
Kintaro:
quote:Source Originally posted by matthew : /dev/urandom:
--- Code: ---
--- End code ---
[/b]
--- End quote ---
--- Code: ---
--- End code ---
That would be better.
slave:
http://www.insanebaboon.netfirms.com/cmenu.tgz
I added color and some other junk.
I fixed a bug where calling bash didn't exit curses mode so the bash terminal was kinda funky. Some silly file stuff too, just for fun.
Download it!!
[ March 29, 2003: Message edited by: Linux User #5225982375 ]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version