• exec/fseditor.js

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Feb 5 16:46:16 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/66ed218f8a1032c16a674b62
    Modified Files:
    exec/fseditor.js
    Log Message:
    Fix up UTF-8 support enough so Keyop can enter a £.

    This removes the -utf8 option and stores the line strings as unicode
    strings if the terminal supports utf8.

    A shitty inkey() wrapper and a shitty putc() wrapper were added to
    deal with this.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Feb 6 13:32:14 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/bf95f8a8de3a67c0ae535cab
    Modified Files:
    exec/fseditor.js
    Log Message:
    If the terminal is UTF-8 and the to/subject/from is NOT, xlat to
    utf-8 at start.

    This may be the issue Keyop was seeing.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Feb 7 22:39:04 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4677e09239d1a05fa389ec75
    Modified Files:
    exec/fseditor.js
    Log Message:
    Pass K_UTF8 mode flag to console.inkey()

    Since this script supports/expects UTF-8 character sequences for UNICODE characters (not a CP437 translated version of mappable chars).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Feb 14 22:18:04 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1388056c41d00fbaabc4ba63
    Modified Files:
    exec/fseditor.js
    Log Message:
    Some cleanup, no functional change.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Jun 13 18:04:40 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/22f5dd4609a316ef6d1182a3
    Modified Files:
    exec/fseditor.js
    Log Message:
    Open the quote file in "binary" mode (only applicable on Windows)

    If the quote file contained a Ctrl-Z (ASCII 26) char, it would be truncated
    at that point. Some UTF-8 messages that include a "right arrow" unicode code point are translated to ASCII Ctrl-Z (ASCII 26) char, which is interpretted
    by Windows as "EOF" (end of file) marker for files open in "text mode" and
    the file won't be read beyond that char. Open the file in binary mode to
    more closely match the *nix fopen() before.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Dec 5 11:35:58 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/df575843b41b24595c2050cc
    Modified Files:
    exec/fseditor.js
    Log Message:
    Be more n00b-friendly.

    When the currently edited message is completely empty, and you're
    in quote mode, show the quote help, and position the cursor on the
    quote cursor.

    Add a brief SPACE/ENTER help line to the top.

    Suggested by Keyop on IRC.
    --- SBBSecho 3.32-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Dec 5 11:38:18 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/21980aee6d848d4b48bbb1c0
    Modified Files:
    exec/fseditor.js
    Log Message:
    Also, when message is blank, put quote on top, help on bottom.
    --- SBBSecho 3.32-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)