open
https://gitlab.synchro.net/main/sbbs/-/work_items/1402
2026-11-23 12:52:28 -0800
SixelView (`xtrn/sixelview`) has no `install-xtrn.ini`, so a sysop has to add the program by hand in SCFG, as described in readme.txt under "ADDING IT TO YOUR MENUS". With an installer, it would install with:
```
jsexec install-xtrn ../xtrn/sixelview
```
(or `;exec ?install-xtrn ../xtrn/sixelview` from the terminal).
Proposed `xtrn/sixelview/install-xtrn.ini`:
```ini
; SixelView installer data for install-xtrn.js
Name: SixelView Library
Desc: Browse and view PDFs, pictures, ANSI art and text files (Sixel)
By: nelgin
Cats: Main
Subs: Files, Viewers, JavaScript
Inst: 2026/11/23
[copy:settings-example.ini]
dest = settings.ini
[prog:SXLIB]
name = SixelView Library
cmd = ?sixelviewlibrary.js
settings = XTRN_MULTIUSER
required = true
note = Define the libraries (directories) users can browse in settings.ini: none are defined until you do (see readme.txt)
```
- The `[prog:]` entry matches the readme's manual instructions (code SXLIB, `?sixelviewlibrary.js`, multiple concurrent users).
- `[copy:]` seeds `settings.ini` from `settings-example.ini`. An existing `settings.ini` is kept (the sysop is asked; an unattended `-auto` install keeps it).
- The note is on the `[prog:]` section because install-xtrn.js does not print a `note` on `[copy:]` sections.
And a new `xtrn/sixelview/.gitignore`, so the sysop's live config and the online-archive download cache don't show as untracked files in a git checkout:
```gitignore
# Live sysop-edited config, seeded from settings-example.ini by install-xtrn. /settings.ini
# Downloads from online archives (hooks), generated at run time.
/.cache/
```
Tested with `install-xtrn -auto` against scratch copies of `ctrl/` and the door directory: it added `[prog:MAIN:SXLIB]` with `startup_dir=../xtrn/sixelview/` to `xtrn.ini` and created `settings.ini`.
The readme's "ADDING IT TO YOUR MENUS" section could then mention the installer as the easiest of the ways to add it. Setting it as the Text Section loadable module stays a manual alternative; the installer can't do that.
_Authored by Claude (Claude Code), on behalf of @rswindell_
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net