User Config is one of the sysop-configurable loadable modules: the module executed to display and change a user's settings (sometimes called “user defaults”) for the Terminal server users. The stock module is exec/user_settings.js (Synchronet v3.21 and later).
The stock module needs no installation: user_settings is the default value of SCFG->System->Loadable Modules->User Config.
Being a loadable module, it is easily replaced by a module of the sysop's choosing:
With a different module configured, the remainder of this page applies only so far as that module implements it.
The configured User Config module runs whenever the Baja USER_DEFAULTS function or the JS bbs.user_config() method is invoked, e.g. by a command shell's User Settings command. It is passed the number of the user whose settings are to be changed; the stock module changes the current user's settings when given none.
The module lists the user's settings, each with a command key that changes it, until the user quits (Q or Enter):
| Key | Setting | Listed |
|---|---|---|
T | Terminal Mode: runs the terminal settings module (user_terminal.js) | always |
K | Command Shell | when more than one command shell is configured |
L | Language | when more than one language is installed |
E | External Editor | when an external message editor is configured |
A | Temporary/QWK Archive Type | always |
X | Expert Menu Mode | always |
P | Screen Pause | always |
H | Hot Keys | only when its text string is set (it is blank by default) |
S | Spinning Cursor: on, off, or at the pause prompt only | always |
C | Clear Screen Between Messages | always |
N | Ask For New Message/File Scan | always |
Y | Ask For Your Un-read Msg Scan | always |
F | Automatic New File Scan | always |
R | Remember Current Sub-board | always |
B | Batch Download File Flagging | always |
M | Forward Mail (to a network address) | when the system's Allow Forwarding to NetMail option is enabled |
D | Default to Quiet Mode | for users with the Q exemption |
Z | Default Download Protocol, and whether to hang up after a transfer | always |
W | Change Personal Information: runs the personal information module (user_personal.js). In v3.22 and later, this includes a Mail Signature item (when the system's Include Signatures in E-mail option is enabled): a signature for e-mail only, shared with WebMail and used instead of the general signature | except for users with the G (edit defaults) restriction, e.g. Guest |
Each item is also a mouse hot-spot for its key.
The user_settings module supports the following configuration options in the [user_settings] section of the ctrl/modopts.ini file:
| Option | Default | Description |
|---|---|---|
| prompt | the UserDefaultsWhich text string | The prompt displayed below the list of settings |
| choose_protocol_or_none | "Choose a default file transfer protocol (or [ENTER] for None):" | Displayed above the list of file transfer protocols (Z) |
| ProtocolOrQuit | the ProtocolOrQuit text string | The protocol prompt (Z) |
| HangUpAfterXferQ | the HangUpAfterXferQ text string | The “hang up after file transfer” question (Z) |
The heading is the UserDefaultsHdr text string and each setting's line is its own string (UserDefaultsTerminal, UserDefaultsCommandSet, UserDefaultsLanguage, UserDefaultsXeditor, UserDefaultsArcType, UserDefaultsMenuMode, UserDefaultsPause, UserDefaultsHotKey, UserDefaultsCursor, UserDefaultsCLS, UserDefaultsAskNScan, UserDefaultsAskSScan, UserDefaultsANFS, UserDefaultsRemember, UserDefaultsBatFlag, UserDefaultsNetMail, UserDefaultsQuiet, UserDefaultsProtocol and UserDefaultsPassword), customized in the ctrl/text.ini file.
Removing a setting: a setting whose text string is blank is neither listed nor accepted, so setting a string to blank in text.ini removes that item from the menu.