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 [2022/11/27 11:49] – [Color theme configuration files] In color configuration files, only the attribute characters need to be specified now (no control-A characters) Nightfoxmodule:slyedit [2025/02/09 21:31] (current) – [SlyEdit configuration (and configuration file)] New strings settings, with areYouThere Nightfox
Line 13: Line 13:
 SlyEdit is normally installed into the Synchronet ''[[dir:exec]]'' directory.  Its configuration files are normally located in the ''[[dir:ctrl]]'' directory.  See ''[[howto:editor:slyedit]]'' for SCFG installation instructions for SlyEdit. SlyEdit is normally installed into the Synchronet ''[[dir:exec]]'' directory.  Its configuration files are normally located in the ''[[dir:ctrl]]'' directory.  See ''[[howto:editor:slyedit]]'' for SCFG installation instructions for SlyEdit.
  
-===== SlyEdit configuration file ===== +===== SlyEdit configuration (and configuration file===== 
-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:\\+There is a menu-driven configuration script you can use to configure the options for SlyEdit.  To use it, open a command prompt, change to your sbbs/exec directory, and run this command:\\ 
 +  jsexec slyedcfg 
 +Alternately, you can specify the .js filename extension if you want to: 
 +  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 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 20: Line 24:
 ^ Setting                         ^ Description^ ^ Setting                         ^ Description^
 | displayEndInfoScreen            | Whether or not to display the info screen when SlyEdit exits.  Valid values are true and false.  If this option is not specified, this feature will be enabled by default. | | displayEndInfoScreen            | Whether or not to display the info screen when SlyEdit exits.  Valid values are true and false.  If this option is not specified, this feature will be enabled by default. |
-| userInputTimeout                | Whether or not to use an input timeout for users.  Valid values are true and false.  Note: The input timeout is not used for sysops.  If this option is not specified, this feature will be enabled by default.  This option was added in version 1.08. | 
-| inputTimeoutMS                  | The amount of time (in milliseconds) to use for the input timeout.  If this option is not specified, this option will default to 300000.  This option was added in version 1.08. | 
 | reWrapQuoteLines                | Whether or not to re-wrap quote lines. Valid values are true and false.  This feature is enabled by default.  With this feature enabled, SlyEdit will re-wrap quote lines to still be complete and readable after the quote prefix character is added to the front of the quote lines.  SlyEdit is able to recognize quote lines beginning with > or 2 letters and a > (such as EO>).  If this feature is disabled, quote lines will simply be trimmed to make room for the quote prefix character to be added to the front.  This option was added in version 1.15, replacing the older option splitLongQuoteLines. | | reWrapQuoteLines                | Whether or not to re-wrap quote lines. Valid values are true and false.  This feature is enabled by default.  With this feature enabled, SlyEdit will re-wrap quote lines to still be complete and readable after the quote prefix character is added to the front of the quote lines.  SlyEdit is able to recognize quote lines beginning with > or 2 letters and a > (such as EO>).  If this feature is disabled, quote lines will simply be trimmed to make room for the quote prefix character to be added to the front.  This option was added in version 1.15, replacing the older option splitLongQuoteLines. |
 | allowColorSelection             | Whether or not to let the user change the text color. This option was added in version 1.80. | | allowColorSelection             | Whether or not to let the user change the text color. This option was added in version 1.80. |
Line 38: 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. |
 +
 +\\
 +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 51: Line 59:
 ^ 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 181: Line 195:
 | Ctrl-D                          | Delete a line | | Ctrl-D                          | Delete a line |
 | Ctrl-K                          | Select/set text color | | Ctrl-K                          | Select/set text color |
-| Ctrl-G                          | General help |+| Ctrl-G                          | Input graphic character |
 | Ctrl-L                          | Help screen: List command keys | | Ctrl-L                          | Help screen: List command keys |
 | Ctrl-R                          | Spell checker | | Ctrl-R                          | Spell checker |
Line 250: Line 264:
 | /U                              | Configure user settings | | /U                              | Configure user settings |
 | /UPLOAD (or /UL)                | Upload a message contained in a text file | | /UPLOAD (or /UL)                | Upload a message contained in a text file |
 +
 +\\
 +===== UTF-8 support =====
 +As of version 1.88b (2024-02-11), SlyEdit is able to accept UTF-8 character/text input.
  
 \\ \\