Synchronet v3.20d-Win32 (install) has been released (Mar-2025).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
module:slyedit [2025/01/26 19:28] – Removed the input timeout settings, as it now uses the system configured timeout nightfoxmodule:slyedit [2025/05/07 20:01] (current) – New meme configuration options nightfox
Line 18: Line 18:
 Alternately, you can specify the .js filename extension if you want to: Alternately, you can specify the .js filename extension if you want to:
   jsexec slyedcfg.js   jsexec slyedcfg.js
-You can also edit the configuration file manually. The configuration file, SlyEdit.cfg (located in the ''[[dir:ctrl]]'' directory), is a regular text file.  It is split up into 3 sections - Behavior, Ice colors, and DCT colors.  These sections are designated by [BEHAVIOR], [ICE_COLORS], and [DCT_COLORS], respectively.  Each setting has a name=value format.  Comments can be added on their own line starting with a ; (semicolon) character.  The settings for SlyEdit.cfg are described below:\\+You can also edit the configuration file manually. The configuration file, SlyEdit.cfg (located in the ''[[dir:ctrl]]'' directory), is a regular text file.  It has 4 sections - Behavior, Strings, Ice colors, and DCT colors.  These sections are designated by [BEHAVIOR], [STRINGS], [ICE_COLORS], and [DCT_COLORS], respectively.  Each setting has a name=value format.  Comments can be added on their own line starting with a ; (semicolon) character.  The settings for SlyEdit.cfg are described below:\\
 \\ \\
 Behavior settings Behavior settings
Line 40: Line 40:
 | allowSpellCheck                 | Whether or not the spell check feature is allowed.  Valid values are true and false; it defaults to true if not specified.  You might want to disable spell check if, for instance, the spell check feature causes an "out of memory" error on your system.  This option was added in version 1.71. | | allowSpellCheck                 | Whether or not the spell check feature is allowed.  Valid values are true and false; it defaults to true if not specified.  You might want to disable spell check if, for instance, the spell check feature causes an "out of memory" error on your system.  This option was added in version 1.71. |
 | dictionaryFilenames             | A comma-separated list of filenames for dictionaries, for the spell checker feature.  The filenames are in the format dictionary_<language>.txt, where <language> is the language name.  For dictionaryFilenames, you can also just specify the language names if you want.  The dictionary filenames will be looked for in sbbs/mods, sbbs/ctrl, and then the directory where SlyEdit.js is located.  Note that the dictionary files must be sorted for proper word matching, and the words in the dictionary must be all lower-case, since SlyEdit does case-insensitive matching via all lower-cased words.  This was added in version 1.64. | | dictionaryFilenames             | A comma-separated list of filenames for dictionaries, for the spell checker feature.  The filenames are in the format dictionary_<language>.txt, where <language> is the language name.  For dictionaryFilenames, you can also just specify the language names if you want.  The dictionary filenames will be looked for in sbbs/mods, sbbs/ctrl, and then the directory where SlyEdit.js is located.  Note that the dictionary files must be sorted for proper word matching, and the words in the dictionary must be all lower-case, since SlyEdit does case-insensitive matching via all lower-cased words.  This was added in version 1.64. |
 +| memeMaxTextLen | For appending a 'meme' to a message, this specifies the maximum text length for a meme. |
 +| memeDefaultWidth | The default width for memes |
 +| memeStyleRandom | For appending a meme to a message, whether or not to choose a random style (border style & color) for the meme. The user will still be able to change it. Valid values are true and false. If this is true, the border & color settings will be ignored. |
 +| memeDefaultBorder | Default border for posting a meme. This can be one none, single, mixed1, mixed2, mixed3, double, ornate1, ornate2, or ornate3. This can also be a number between 1 and the maximum number of meme border styles. You can refer to sbbs/exec/load/meme_lib.js - Near the top, there are definitions such as BORDER_NONE, BORDER_SINGLE, etc., up to BORDER_COUNT (which is the number of border styles supported). |
 +| memeDefaultColor | For appending a meme to a message, this is a number that specifies the coloring for the meme. This can be between 1 and the maximum number of coloring options supported by sbbs/exec/load/meme_chooser.js. You can refer to sbbs/exec/load/meme_chooser.js. At the time of this writing, under "function main" in that file, there is an array of attribute codes, declared via "var attr", and there are are 7 of them as of now. |
 +| memeJustify | For appending a meme to a message, this specifies the text justification. Valid values are center, left, and right. |
 +
 +\\
 +Strings settings
 +----------------
 +^ Setting                         ^ Description^
 +| stringsFilename                 | The name of the file containing text strings displayed in SlyEdit. The default is SlyEditStrings_En.cfg, which is located in sbbs/ctrl - You can copy this to sbbs/mods and keep a modified copy there if you want. The strings in this file can contain Synchronet attribute codes (prefixed with \x01). |
  
 \\ \\
Line 53: Line 65:
 ^ Setting                         ^ Description^ ^ Setting                         ^ Description^
 | ThemeFilename                   | The name of the color theme file to use for DCT-style colors. If no theme file is specified, then default colors will be used. | | ThemeFilename                   | The name of the color theme file to use for DCT-style colors. If no theme file is specified, then default colors will be used. |
 +
 +\\
 +Strings configuration file
 +--------------------------
 +^ Setting                         ^ Description^
 +| areYouThere                     | Specifies a string to display for the input timeout warning (like item 668, AreYouThere in text.dat). The reason SlyEdit has its own version of this string is in case you decide to change the one in text.dat; for SlyEdit, it should be a string that can fit on one line on the screen. |
  
 \\ \\
Line 251: Line 269:
 | /T                              | List the text replacements configured for SlyEdit | | /T                              | List the text replacements configured for SlyEdit |
 | /U                              | Configure user settings | | /U                              | Configure user settings |
 +| /M                              | Add a meme to the message |
 | /UPLOAD (or /UL)                | Upload a message contained in a text file | | /UPLOAD (or /UL)                | Upload a message contained in a text file |