Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
module:xtrn_sec [2010/02/24 23:57] – digitalman | module:xtrn_sec [2020/11/11 07:59] – [External Programs Section] add info about pre/post module mlong | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== External Programs Section ====== | ====== External Programs Section ====== | ||
- | FIXME | + | The '' |
+ | |||
+ | The Pre Xtrn Prog module executes common functionality before any external program is launched. This includes things like setting fonts, displaying ANSI screens, clearing screen, and performing the eval_before_exec option. The module defaults to '' | ||
+ | |||
+ | The Post Xtrn Prog module is like the pre module, except it executes after an external program door is run. It performs the eval_after_exec option and defaults to '' | ||
+ | |||
+ | ===== Install ===== | ||
+ | This module ('' | ||
+ | |||
+ | ===== Invoke | ||
+ | |||
+ | The normally expected usage is just to invoke '' | ||
+ | |||
+ | |||
+ | ==== Baja ==== | ||
+ | <code Baja> | ||
+ | exec_bin xtrn_sec games | ||
+ | </ | ||
+ | |||
+ | However, when installed correctly, this module should run whenever the Baja '' | ||
+ | |||
+ | |||
+ | ==== JavaScript ==== | ||
+ | <code JavaScript> | ||
+ | load(' | ||
+ | </ | ||
+ | |||
+ | However, when installed correctly, this module should run whenever the JS '' | ||
+ | |||
+ | ===== Configure ===== | ||
+ | |||
+ | The '' | ||
+ | |||
+ | ^ Option | ||
+ | | multicolumn | ||
+ | | multicolumn_separator | ||
+ | | multicolumn_fmt | ||
+ | | singlecolumn_fmt | ||
+ | | singlecolumn_margin | ||
+ | | singlecolumn_height | ||
+ | | header_fmt | ||
+ | | titles | ||
+ | | underline | ||
+ | | which | text[WhichXtrnProg] | ||
+ | | sort | ||
+ | | autoexec | ||
+ | | clear_screen | ||
+ | | clear_screen_on_exec | ||
+ | | eval_before_exec | ||
+ | | eval_after_exec | ||
+ | | restricted_user_msg | ||
+ | | no_programs_msg | ||
+ | |||
+ | ===== Customize ===== | ||
+ | |||
+ | ==== Display Files ==== | ||
+ | |||
+ | * The auto-generated external program section list can be replaced by creating the optional file '' | ||
+ | * Each program list can have an optional header displayed by creating the file '' | ||
+ | * Each auto-generated program list can be replaced by creating the optional file '' | ||
+ | * Each external program can have an optional file displayed before execution by creating the file '' | ||
+ | |||
+ | ==== Fonts ==== | ||
+ | |||
+ | This module uses the '' | ||
+ | |||
+ | <code ini> | ||
+ | ; Door Sections | ||
+ | ; ------------- | ||
+ | ; Each BBS external online program (e.g. door game) may have its own desired | ||
+ | ; fonts and some programs may even have customized fonts made just for that | ||
+ | ; game (e.g. LORE). | ||
+ | ; | ||
+ | ; These sections are named with the form: ' | ||
+ | ; where < | ||
+ | ; and < | ||
+ | ; | ||
+ | ; Note: you must utilize xtrn_sec.js rev 1.18 or later for this feature: | ||
+ | |||
+ | [xtrn: | ||
+ | normal=lore | ||
+ | high=lore | ||
+ | blink=lore | ||
+ | highblink=lore | ||
+ | |||
+ | [xtrn: | ||
+ | normal=lore | ||
+ | |||
+ | [xtrn: | ||
+ | normal=oldenglish | ||
+ | </ | ||
===== See Also ===== | ===== See Also ===== | ||
- | * [[:module:|module index]] | + | * [[:module:|Modules]] |
+ | |||
+ | {{tag> | ||