This is an old revision of the document!
External Programs Section
The xtrn_sec.js
module provides the “External Programs” (doors) menu for the Terminal server users.
Install
This module is normally installed in stock command shells by default, but to install into a command shell, replace the line(s) in exec/*.src
:
xtrn_section
with:
exec_bin xtrn_sec
Configure
The xtrn_sec
module supports the following configuration options in the [xtrn_sec]
section of the ctrl/modopts.ini
file:
Option | Default | Description |
---|---|---|
multicolumn | true | Use a multiple-column program list when there are more than 10 items |
sort | false | Re-sort (alphabetically) the list of programs and program sections before displaying to the user |
autoexec | false | Automatically execute a section's program when there is only one program available within that section |
clear_screen_on_exec | false | Clear the screen before executing any/all programs |
eval_before_exec | Evaluate the specified JavaScript expression before executing any/all programs | |
eval_after_exec | Evaluate the specified JavaScript expression after executing any/all programs |
Fonts
This module uses the fonts.js library
and fonts.ini file to optionally load door-specific fonts before executing an external program and restore the default font upon returning from the external program.