[Bashburn-info] bbmenu is now modified
Brought to you by:
bashburn
|
From: Steven W. O. <st...@sy...> - 2008-09-09 23:39:39
|
to operate the same way as bbconfmenu. Nick, I don't know what the problem was that you had previously described. I saw it so I know you're not hallucinating, but when I made the change to bbmenu, the problem seemed to have been eliminated. PLEASE let me know if you find any problems. Marcus: At the bottom of BashBurn.sh is a variable assignment: bb_main_menu=MAIN We need to add that to the lang files. It is now no longer legal to pass a string value as the title arg to bbmenu. It must now be the name of a variable. One interesting construct was in dealing with a changing value for BBLANG. The apply function for configure (config_apply) calls set_descriptors, which is a nested function inside bbmenu. But config_apply can't reset the values for its caller which is where the main menu originates. So instead of BashBurn calling bbmenu for the main menu, I caused the action for the invocation of the configure menu to make a return. [BTW, I'm painfully aware that what I'm writing is probably not intelligble. More docs will be needed.] Anyways, the main menu now has to be called in an infinite loop so that the main menu will reinitialize the evaluation of the main menu. -- 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 |