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:fseditor [2018/03/01 12:21] – old revision restored digital manmodule:fseditor [2024/02/15 11:58] (current) – [Configure] Update example config (Auto-Quote: None, Native: Yes) - though these aren't really important digital man
Line 1: Line 1:
-====== FSeditor ======+====== Full Screen Editor ======
  
 ''fseditor.js'' is a Full Screen Editor (FSE) written by [[person:Deuce]] in JavaScript((the first of its kind)) for the Synchronet [[server:Terminal]] Server. ''fseditor.js'' is a Full Screen Editor (FSE) written by [[person:Deuce]] in JavaScript((the first of its kind)) for the Synchronet [[server:Terminal]] Server.
Line 5: Line 5:
 ===== Download ===== ===== Download =====
  
-The newest version of fseditor can always be download from: +The newest version of fseditor can always be download from 
-[[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/exec/fseditor.js]]+[[https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/fseditor.js|Git]]
  
-===== Installation =====+===== Install =====
 ''fseditor.js'' is normally installed into the Synchronet ''[[dir:exec]]'' directory. ''fseditor.js'' is normally installed into the Synchronet ''[[dir:exec]]'' directory.
  
Line 14: Line 14:
  
 To add ''fseditor.js'' to your FSE list, use the following settings in [[util:SCFG]]->External Programs->External Editors: To add ''fseditor.js'' to your FSE list, use the following settings in [[util:SCFG]]->External Programs->External Editors:
 +<file>
 +╔════════════════════════════════════════════════════════════════════╗
 +║                       Deuce's FSEditor Editor                      ║
 +╠════════════════════════════════════════════════════════════════════╣
 +║ │Name                       Deuce's FSEditor                       ║
 +║ │Internal Code              FSEDITOR                               ║
 +║ │Command Line               ?fseditor %f                           ║
 +║ │Access Requirements        ANSI                                   ║
 +║ │I/O Method                 Socket                                 ║
 +║ │Native Executable/Script   Yes                                    ║
 +║ │Use Shell or New Context   No                                     ║
 +║ │Record Terminal Width      Yes                                    ║
 +║ │Word-wrap Quoted Text      Yes, for terminal width                ║
 +║ │Automatically Quoted Text  None                                   ║
 +║ │Editor Information Files   WWIV EDITOR.INF/RESULT.ED              ║
 +║ │Expand Line Feeds to CRLF  Yes                                    ║
 +║ │Handle Soft CRs            N/A                                    ║
 +║ │Strip FidoNet Kludges      No                                     ║
 +║ │Support UTF-8 Encoding     Yes                                    ║
 +║ │BBS Drop File Type         None                                   ║
 +╚════════════════════════════════════════════════════════════════════╝
 +</file>
  
-  Name                            FSEditor.js v1.73             +==== Command Line ====
-  Internal Code                   FSEDITOR                      +
-  Command Line                    ?fseditor %f                  +
-  Access Requirements             ANSI                          +
-  Intercept I/O                   No                            +
-  Native Executable               No                            +
-  Use Shell to Execute            No                            +
-  Word Wrap Quoted Text           No                            +
-  Automatically Quoted Text       All                           +
-  Editor Information Files        WWIV EDITOR.INF/RESULT.ED     +
-  Expand Line Feeds to CRLF       No                            +
-  Strip FidoNet Kludge Lines      No                            +
-  BBS Drop File Type              None                         +
  
-Note: as of v1.75, FSeditor saves auto-wrapped lines with a so-called "soft linebreak", identified with a sole line-feed (ASCII 0x0A) character in the file (contrasted with "hard linebreak" identified by a CRLF pair).+The first argument to fseditor.js must be the path/name of the file to edit (specified as ''%f'' in SCFG).
  
-If posting on FidoNet networksyou may want to set ''Expand Line Feeds to CRLF'' to ''Yes'' so that the soft linebreaks are actually stored as hard linebreaks (CRLFin the Sychronet message base and FidoNet nodes which do not auto-wrap long lines can view your message as you intended when exported via [[util:SBBSecho]].+Optionally''-utf8'' may be passed as a secondary argument to enable UTF-8 message support. 
 + 
 +==== modopts.ini ====  
 + 
 +The ''[[dir:ctrl]]/[[config:modopts.ini]]'' file may contain an ''[fseditor]'' section with the following keys: 
 + 
 +^ Key             ^ Default  ^ Description ^ 
 +| utf8_support    | false    | Enable UTF-8 message support (experimental at this time
 +| default_tabstop | 8        | Specify the default interval of tab-stops (can be overridden and saved per-user) | 
 +| soft_cr         | false    | Soft carriage-returns are included in saved files |
 ===== Key Bindings ===== ===== Key Bindings =====
  
Line 40: Line 59:
 In edit mode, the following CTRL keys function: In edit mode, the following CTRL keys function:
 ^CTRL-Key  ^Action^ ^CTRL-Key  ^Action^
 +|@   |Colour/Attribute (Same as CTRL-A)|
 |A   |Colour/Attribute| |A   |Colour/Attribute|
 |B   |Home cursor (Beginning of line)| |B   |Home cursor (Beginning of line)|
Line 52: Line 72:
 |L   |Insert line| |L   |Insert line|
 |M   |Carriage Return| |M   |Carriage Return|
-|  |Page Up+|  |Page Down
-|P   |Page Down| +|P   |Page Up|
-|T   |Change the title|+
 |Q   |Quick abort| |Q   |Quick abort|
 |R   |Redraw screen| |R   |Redraw screen|
 +|S   |Edit Subject|
 +|T   |Change Tab Size|
 |U   |Quote| |U   |Quote|
 |V   |Toggle insert mode| |V   |Toggle insert mode|
Line 62: Line 83:
 |Y   |Delete Line| |Y   |Delete Line|
 |Z   |Save and exit| |Z   |Save and exit|
 +|%%\%%   |Edit Subject (Same as Xon CTRL-S)|
 |]   |Move left| |]   |Move left|
 |%%^%%   |Move up| |%%^%%   |Move up|
Line 74: Line 96:
 |CTRL-J |Down one line| |CTRL-J |Down one line|
 |CTRL-K |List keybindings| |CTRL-K |List keybindings|
-|CTRL-|Page Up+|CTRL-|Page Down
-|CTRL-P |Page Down|+|CTRL-P |Page Up|
 |CTRL-Q |Quick abort... FLOW CONTROL CHAR!!!| |CTRL-Q |Quick abort... FLOW CONTROL CHAR!!!|
 |CTRL-R |Redraw screen| |CTRL-R |Redraw screen|
Line 96: Line 118:
 The breakdown is as follows: The breakdown is as follows:
   * Keepers:  ''ABCEFGHIJLMRWZ''   * Keepers:  ''ABCEFGHIJLMRWZ''
-  * Lukewarm: ''KOPVY'' +  * Lukewarm: ''KSTVY\]'' 
-  * Changers: ''QU'' +  * Changers: ''@NPQU_''
- +
-The reason ''O'' and ''P'' are in lukewarm instead of changers is that PgUp/PgDn should +
-be both close together and enterable with one hand in my opinion.+
  
-The following CTRL keys are currently unused: ''DNPSTX\''+The following CTRL keys are currently unused: ''DOX[''
  
 CTRL-Q and CTRL-S I do *not* want to use without alternates as they are the CTRL-Q and CTRL-S I do *not* want to use without alternates as they are the