On Friday 05 December 2003 00:50, Ciprian Popovici wrote: > > Adding XML *WILL* add a dependency somewhere, and right now we work with > > just X and C++ libs. But that is not a great reason. The only place I > > see this being of any benefit is the menu format (which vanR and others > > are using as a config format). Now, perhaps we need to re-evaluate that > > format. > > The absolute only thing that bugs me about the curent menu is being unable > to include the output of another program in it on the fly. Then again, > with the menu being re-parsed all the time, that could mean a performance > hit. >
Why do you want this? A common reason is to keep the menu up to date with program additions / removals. Debian and other package based distributions solve this by parsing a group of files and simply writing out the whole menu file or some part of it (there is an include option). This include option could also be your solution. Perhaps a cron job can run an app every N minutes / hours, whatever. Another possibility would be to have the ability to exec programs but not to exec them on every re-parse. Perhaps run them every N re-reads, or on a timer or something. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
