mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: May 27 2007,14:20 |
|
Quote | the more I wondered how could there *not* be something like this already? | There actually was already a similar tool in DSL, named Lua-FLTK. Unfortunately it was apparently a one-shot project that was created six years ago and never updated. MurgaLua, on the other hand, is active and is already quite far beyond what Lua-FLTK was..
Quote | Did you put together the example windows in those screenshots? | No. Shortly after murgaLua was released and added to DSL I just started messing around with it and posting the tests here. I guess since there weren't many existing murgaLua demos at the time, some of what I came up with ended up being added to the package. I've never experimented with it outside of Linux, but I assume that as long as you don't depend on os-specific applications the scripts should be portable [for example, use os.date() rather than os.execute("date")]. I'm not sure about how line breaks are handled, though. You may need to use a lot of semicolons =o)
Quote | Yeah, I didn't realize that was Lua | It isn't Lua. Whiptail is a self-contained application which is independent of the shell, so it could be used with Lua, or Bash, or Perl, or whatever. It's simply a way to create menus and buttons in a console/xterm, from a script, without the need to program with ncurses.
Quote | No, I'm thinking of Xvesa setup, one of the items referenced from DSL Setup. *That's* Lua, right? | Correct. Or more specifically, it's Lua and FLTK...Lua being the language that does all the work, and FLTK being the buttons.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|