[LBBS-6] Add MenuScript, a menu system scripting engine
Add a scripting engine (akin to dialplan in Asterisk) that can be used in menus.conf to allow the sysop to customize menu operation to a far greater extent than is currently possible. For example, things like:
- adding a welcome message, prior to the main menu
A number of provided "primitives", will need to be provided, including (but not limited to):
- Sleep for x ms
- Set foreground/background colors
- Set if input is echoed or not
- Send bell/alert
- Set emulated terminal speed
- Execute external program, e.g. for ZMODEM download
- Conditional logic
- More ANSI support at login, e.g. https://youtu.be/n0OwGSX2IiQ?t=1099
- e.g. https://bbs.bottomlessabyss.net/
- ability to restrict ANSI art to a minimum bps / emulated bps, since it can take FOREVER at slow speeds (300/1200)
- Anything else that can be done in other BBS packages but isn't currently doable in LBBS
Once we do this, we can make it possible to adjust execution priority from the "menu plan", e.g.:
Set(EXEC_PRIORITY()=20)
Exec(foobar.sh)
(This example is for isoexec, will also want to ensure the priority can't be modified from within the container, at least as the host sees it)
Comments
You must be logged in to leave a comment.