[Bashburn-info] New menu system is now checked in.
Brought to you by:
bashburn
|
From: Steven W. O. <st...@sy...> - 2008-08-24 21:08:56
|
It seems to work. Let me know what bad things you find. You'll notice that the configure menu is left intact. I did that because it's special with the extra items at the end. I'll deal wit hthat one seperately via options to bbmenu. The install script still has a lot of cruft in it but some of it was looked at. You'll notice that the menu definitions are all done as global variables in something called define_global_menus(). The invocation of the action in bbmenu ended up requiring eval because of the action potentially having multiple words. Everyone should be *very* careful WRT quoting in bbmenu. Almost every single quote, double quote, and lack of any quote mark is very deliberate. One thing that needs to be looked at are exits. Because bb is no longer multiple processes, a call to exit will no longer terminate the sub process; instead it will terminate all of bb. Let me know if you have any questions. -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net |