Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

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 [2019/06/04 09:51] – [Spell checker and dictionaries] Included more information about dictionary filenames, including the language name and localizations and use of -supplemental in the filename nightfoxmodule:slyedit [2024/02/12 09:43] (current) – [UTF-8 support] 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 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:\\
 \\ \\
 Behavior settings Behavior settings
Line 23: Line 27:
 | 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. | | 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. |
 +| saveColorsAsANSI                | Whether or not to save message color/attribute codes as ANSI (if not, they will be saved as Synchronet attribute codes).  Normally, this should be false, since Synchronet does not word-wrap messages with ANSI codes and is able to convert Synchronet attribute codes to ANSI for other BBS systems as needed.  This option was added in version 1.80. |
 | allowCrossPosting               | Whether or not to allow cross-posting.  Valid values are true and false.  This setting is enabled by default.  This option was added in version 1.20. | | allowCrossPosting               | Whether or not to allow cross-posting.  Valid values are true and false.  This setting is enabled by default.  This option was added in version 1.20. |
 | enableTextReplacements          | Whether or not to enable text replacements (AKA macros).  Valid values are false (disabled), true (enabled with basic/literal text matching), and regex (enabled using regular expressions). | | enableTextReplacements          | Whether or not to enable text replacements (AKA macros).  Valid values are false (disabled), true (enabled with basic/literal text matching), and regex (enabled using regular expressions). |
Line 34: Line 40:
 | indentQuoteLinesWithInitials    | When prefixing quoted messages lines with the previous author's initials, this setting specifies whether or not to indent quoted lines with a space.  Valid values are true and false.  Defaults to true.  This setting serves as the default for user settings, which each user can change for themselves.  If not specified in SlyEdit.cfg, this setting is disabled by default. | | indentQuoteLinesWithInitials    | When prefixing quoted messages lines with the previous author's initials, this setting specifies whether or not to indent quoted lines with a space.  Valid values are true and false.  Defaults to true.  This setting serves as the default for user settings, which each user can change for themselves.  If not specified in SlyEdit.cfg, this setting is disabled by default. |
 | allowEditQuoteLines             | Whether or not to allow the user to edit quote lines.  Valid values are true and false.  Defaults to true.  This was added in version 1.52. | | allowEditQuoteLines             | Whether or not to allow the user to edit quote lines.  Valid values are true and false.  Defaults to true.  This was added in version 1.52. |
 +| 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. |
  
Line 52: Line 59:
 ===== Color theme configuration files ===== ===== Color theme configuration files =====
 The color theme configuration files (located in the ''[[dir:ctrl]]'' directory) are regular text files.  Each setting has a name=value format.  Comments can be added on their own line starting with a ; (semicolon) character.  The color settings use Synchronet's ''[[custom:ctrl-a_codes]]''.\\ The color theme configuration files (located in the ''[[dir:ctrl]]'' directory) are regular text files.  Each setting has a name=value format.  Comments can be added on their own line starting with a ; (semicolon) character.  The color settings use Synchronet's ''[[custom:ctrl-a_codes]]''.\\
 +\\
 +The color theme files are plain text files that can be edited with a text editor.  For each color setting, you can specify color attribute characters as specified in the Synchronet documentation for ''[[custom:ctrl-a_codes]]'' Note that you don't need control (Ctrl-A) characters for the color settings; just the attribute characters (As of SlyEdit 1.81 (2022-11-26)).  A couple examples of specifying colors:\\
 +High green: **gh**\\
 +Normal cyan: **c**\\
 +\\
 \\ \\
 The following are the default Ice-style theme files included with SlyEdit: The following are the default Ice-style theme files included with SlyEdit:
Line 169: Line 181:
 | Ctrl-Z                          | Save the message | | Ctrl-Z                          | Save the message |
 | Ctrl-A                          | Abort the message | | Ctrl-A                          | Abort the message |
 +| Ctrl-Q                          | Quote the previous message (for use when replying to a message - Opens the quote line selection window) |
 +| Ctrl-S                          | Change subject (supported with Synchronet 3.17c development builds from July 21, 2019 or newer) |
 | Ctrl-D                          | Delete a line | | Ctrl-D                          | Delete a line |
-| Ctrl-                         Quote the previous message (for use when replying to a message - Opens the quote line selection window) |+| Ctrl-                         Select/set text color | 
 +| Ctrl-G                          | Input graphic character | 
 +| Ctrl-L                          | Help screen: List command keys | 
 +| Ctrl-R                          | Spell checker | 
 +| Ctrl-C                          | Cross-post message area selection | 
 +| Ctrl-T                          | List the text replacements configured for SlyEdit | 
 +| Ctrl-U                          | Configure user settings | 
 +| Ctrl-W                          | Word/text search |
 | Ctrl-N                          | Find the next occurrence of text (text search) | | Ctrl-N                          | Find the next occurrence of text (text search) |
 | Ctrl-O                          | Import a text file from the BBS machine (sysop only) | | Ctrl-O                          | Import a text file from the BBS machine (sysop only) |
 | Ctrl-X                          | Export message to a file on the BBS machine (sysop only) | | Ctrl-X                          | Export message to a file on the BBS machine (sysop only) |
-| Ctrl-G                          | General help | 
-| Ctrl-P                          | Command key help | 
-| Ctrl-R                          | SlyEdit program information | 
-| Ctrl-C                          | Cross-post message area selection | 
-| Ctrl-T                          | List the text replacements configured for SlyEdit | 
-| Ctrl-U                          | Configure user settings | 
 | ESC                             | Toggle command menu | | ESC                             | Toggle command menu |
 | INS (Insert) or Ctrl-I          | Toggle insert/overwrite mode | | INS (Insert) or Ctrl-I          | Toggle insert/overwrite mode |
 | Home                            | Move cursor to the beginning of the line | | Home                            | Move cursor to the beginning of the line |
 | End                             | Move cursor to the end of the line | | End                             | Move cursor to the end of the line |
-| PageUp                          | Page up | +| Arrow keys                      | Navigate (set cursor position) in the message | 
-| PageDown                        | Page down |+| PageUp                          | Move up one page in the message 
 +| PageDown                        | Move down one page in the message |
  
 ==== Quote Mode ==== ==== Quote Mode ====
Line 229: Line 245:
 \\ \\
 ===== Slash Commands ===== ===== Slash Commands =====
-Synchronet also supports the following slash commands, to be used on a blank line by themselves (they are not case-sensitive):+SlyEdit also supports the following slash commands, to be used on a blank line by themselves (they are not case-sensitive):
 ^ Command                         ^ Description^ ^ Command                         ^ Description^
 | /S                              | Save the message | | /S                              | Save the message |
Line 237: Line 253:
 | /T                              | List the text replacements configured for SlyEdit | | /T                              | List the text replacements configured for SlyEdit |
 | /U                              | Configure user settings | | /U                              | Configure user settings |
 +| /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.
  
 \\ \\
Line 272: Line 293:
 ===== See Also ===== ===== See Also =====
   * [[:module:|module index]]   * [[:module:|module index]]
 +  * [[howto:editor:index|Install Message Editors]]
 {{tag>}} {{tag>}}