Both sides previous revisionPrevious revisionNext revision | Previous revision |
module:slyedit [2022/07/08 19:04] – [SlyEdit configuration file] Added a note that saveColorsAsANSI should normally be false Nightfox | module:slyedit [2024/02/12 09:43] (current) – [UTF-8 support] nightfox |
---|
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 |
===== 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: |
| 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 | |
| /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. |
| |
\\ | \\ |