- May 25, 2024
-
-
Rob Swindell authored
Thanks for the reminder, Keyop
-
Rob Swindell authored
If this key doesn't exist, the default value is used So it's not a big deal if your ctrl/attr.ini file is missing or doesn't have any particular key in it.
-
Rob Swindell authored
For Nelgin
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
For controlling the UIFC/CIOLIB properties (scaling, modes, etc.)
-
Rob Swindell authored
-
Rob Swindell authored
Copied from read_scfg_ini() in scfg.c
-
Rob Swindell authored
Fix issue #760 UINT_TO_JSVAL automatically handles the storage as the necsesary underlying type in the JS engine. Values > 0x7fffffff (2147483647) will still be stored (and re-written) as doubles and could be problematic.
-
Rob Swindell authored
Fix issue #759
-
Rob Swindell authored
New key "rainbow" in ctrl/attr.ini New Ctrl-A codes: 'X' to turn on repeating/wrapping rainbow attributes, 'x' to turn on non-repeating/wrapping rainbow attributes. New @-code: RAINBOW:x to set the list of (comma-separated) rainbow attribute values (in same form as attr.ini). When used in a display file, the rainbow attribute change is temporary. Ever wanted to add alternating attributes to @-code expanded text in display files? Now you can. Also can be used to easily/quickly create display files with repeating elements (e.g. commands/options) using alternating attributes.
-
Rob Swindell authored
-
Rob Swindell authored
-
- May 23, 2024
-
-
Rob Swindell authored
Previously, we only cleared hotspots when executing any external from the external program section (doors menu). This means that invoking a script or external program (e.g. via JS bbs.exec()) from anywhere else, any current mouse hotspots would remain active. Disable those. This fixes issue #758
-
- May 22, 2024
-
-
Rob Swindell authored
-
Rob Swindell authored
The extra characters (comments) are ignored when parsing this particular file, so though this is not how we normally add comments to .ini files, it still works fine in this case.
-
Rob Swindell authored
Another legacy config file replaced with .ini file (for easier editing and future extensibility). No longer dynamically allocate scfg_t.colors (no need). There's really no reason why this is still an array, but leave as is for now. Also, I noticed JS console.color_list (also an array) is not enumerable (or documented) - that should be fixed.
-
- May 18, 2024
-
-
Rob Swindell authored
This was a loop-hole that caused Denn (OUTWEST) some confusion, those his QWKnet account could post polls, it could not post messages due to having the P-restriction.
-
- May 16, 2024
-
-
Rob Swindell authored
client_t.protocol is no longer a pointer. Warnings reported by gcc (Debian 12.2.0-14) 12.2.0
-
Rob Swindell authored
... rather than calling textmode() after. This solves the problem of black bars above and below the UIFC window in echocfg and SCFG on ChromeOS, at least.
-
Rob Swindell authored
All keys are now in the root/global section and they are now: video_mode (default: 42) uifc_mode (default: 0) ciolib_mode (default: 0) scaling (default: 0) lines (default: 25) insert (default: false) esc_delay (default: 25)
-
Rob Swindell authored
These global variables weren't actually used for any purpose.
- May 14, 2024
-
-
Rob Swindell authored
If a sysop wants to override the default user interface/console I/O library behavior of SCFG without using command-line arguments, they can create a ctrl/scfg.ini file with the following optional [section] keys: [uifc] mode (advanced uses, e.g. disabling mouse support) height (in lines) insert (keyboard insert mode, not overwrite) esc_delay (ESC-key delay) [ciolib] mode (advanced uses) scaling (fractional values, e.g. 1.5, supported) height (in pixels) width (in pixels) Command-line arguments take precedence over scfg.ini settings (if set). The scfg.ini file is read *before* parsing command-line args, so if a ctrl directory is specified on the command-line (e.g. rather than via environment variable), the scfg.ini file won't be read from that specified location but rather the default (/sbbs/ctrl) or the SBBSCTRL env var value. Another attempt to make Nelgin happy and close out issue #749, though no, this doesn't auto-save the current parameters (you'll have to create/edit the scfg.ini file by hand).
-
Rob Swindell authored
Fix issue #754
-
- May 13, 2024
-
-
Rob Swindell authored
SlyEdit: In SlyEdit_Misc.js, check to see that xtrn_area.editor[user.editor] is an object before using it. Should help with #755. See merge request !436
-
- May 12, 2024
-
-
Eric Oulashin authored
SlyEdit: In SlyEdit_Misc.js, check to see that xtrn_area.editor[user.editor] is an object before using it. Should help with #755.
-
- May 06, 2024
-
-
Rob Swindell authored
I'm not clear why Walnut Creek would list files (e.g. readme.txt) in these lists of "directories", but don't create file areas for them. Less clean-up required after import.
-
Rob Swindell authored
I usually use the hostname for the name of the dialing entry and got tired of always having to type the hostname twice when creating a new entry. If the name looks like a hostname or IP address (includes a dot but no spaces) and the connection type is appropriate, make the name the default string for the address (easily over-ridden if wrong, by just typing the correct address). This time-saving feature doesn't work for single-word hostnames (e.g. "localhost") or IPv6 addresses.
-
Rob Swindell authored
-
- May 05, 2024
-
-
Rob Swindell authored
SlyEdit: Don't line-wrap poll messages for quoting. Also, minor fix for the 'to' name length in DCT mode. See merge request !435
-
SlyEdit: Don't line-wrap poll messages for quoting. Also, minor fix for the 'to' name length in DCT mode.
-
- May 04, 2024
-
-
Rob Swindell authored
Comparing an array to null is not useful: "client->protocol == NULL", since the test will always evaluate as true. or will always evaluate as *false* (the array won't ever be NULL). <shrug>
-
Rob Swindell authored
getfname() just returns the last path element, so can't use that here.
-
Rob Swindell authored
The dirnum and subnum are used for the next/previous (left and right) arrow nav through sub-boards and directories. For message groups or file libs that are configured to auto-sort the sub-boards or directory list, when importing an unsorted list, the dirnum and subnum values would then be wrong after the qsort() at the end of the import thus making the left/right nav thing broken (jump to other groups/libs and such). This fixes that. Could I have fixed this by passing an index value to the next/prev_dirnum() and _subnum() functions and returning the next/previous index value instead of relying on the subnum/dirnum elemment to be correct? Maybe. <shrug> Do I like second guessing myself? Not really.
-
Rob Swindell authored
The fallback to external extractors/archivers didn't really work unless a libarchive function (called from extract_files_from_archive) actually failed and the return value was < 0. A return value of 0 would mean the external file extractor would never be used. This was discovered when trying to import DIZ from old ZIP files (from 1992) that used "Implode" compression method for the FILE_ID.DIZ, which is a compression method *not* supported by libarchive. This is a reason why sysops might want to leave Info-zip's 'unzip' as a configured Extractable File Type handler (in SCFG) for 'zip' files. Don't call the external archiver 3 times for the 3 DIZ filenames supported. Just call the external archiver once, and pass all 3 filesnames. This also means that the call to system() can return non-zero (e.g. Info-zip 'unzip' will return 2 if any of the files aren't present in the archive, even if one is) - so ignore this return value from system(). This speeds up bulk import (e.g. using addfiles.js). Unfortunately, I couldn't really find a nice cross-platform way to suppress the unzip "caution: filename not matched" message sent to stderr. That's a bummer and a little annoying. Ignore 0-length DIZ files.
-
Rob Swindell authored
Fix observed crash when shutting down services server where the client_t protocol was pointing to a freed service's protocol description string. This was the last pointer in client_t and should resolve the last race conditions (memory ownership issues) with its data members. This also resolves a small memory leak in getnodeclient() where the last client "gotten" would have its heap-duplicated protocol string leaked.
-
- May 03, 2024
-
-
echicken authored
-
- May 01, 2024
-
-
Rob Swindell authored
Though the FILES.BBS might have filenames with dashes, the filenames actually have underscores. Consider converting any other valid DOS filename characters that are not allowed in ISO 9660 filenames as well (but to what?). More logging of missing and renamed files (e.g. fixed case, dashes replaced with underscores).
-
- Apr 30, 2024
-
-
Rob Swindell authored
SlyEdit quote line wrapping update: When re-wrapping quote lines, use the quote wrap settings from xtrn.ini, or default to 79 columns, as many terminals are 80 columns wide. See merge request !434
-