• exec/fseditor.js

    From rswindell@VERT to CVS commit on Wednesday, June 06, 2018 06:25:00
    exec fseditor.js 1.88 1.89
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27754

    Modified Files:
    fseditor.js
    Log Message:
    Use the js.on_exit() method of restoring the bbs.sys_status and console.ctrlkey_passthru values. This allows these critical session
    settings to be restored even if/when fseditor.js crashes/abends
    (e.g. exits unexpectedly due to unhandled JS exception).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, November 09, 2018 01:02:00
    exec fseditor.js 1.89 1.90
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3627

    Modified Files:
    fseditor.js
    Log Message:
    Detect if the user disconnects, save the file (draft in-progress) and return
    1 (indication of error).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, April 28, 2019 09:49:00
    exec fseditor.js 1.92 1.93
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv26993

    Modified Files:
    fseditor.js
    Log Message:
    Better support for:
    - terminals with widths > 132 columns (e.g. quote section separator)
    - terminals that don't support CP437 (ex-ASCII) - use console.print()
    - terminals that send 0x7f for the backspace key (when at the end of the line
    treat DEL the same as backspace)



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, May 20, 2019 08:18:00
    exec fseditor.js 1.93 1.94
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28189

    Modified Files:
    fseditor.js
    Log Message:
    FSEditor will now (by default) save messages/files with long-line paragraphs rather than word-wrapped lines, leaving it to the things that display messages to perform any line-wrapping as needed.

    If you want/need the old behavior, set soft_cr=true in the [fseditor] section of your ctrl/modopts.ini file (new feature/section).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to digital man on Monday, May 20, 2019 19:09:00
    On 2019 May 20 01:18:32, rswindell wrote to CVS commit:

    Modified Files:
    fseditor.js
    Log Message:
    FSEditor will now (by default) save messages/files with long-line paragraphs rather than word-wrapped lines, leaving it to the things that display messages to perform any line-wrapping as needed.

    cool!

    If you want/need the old behavior, set soft_cr=true in the [fseditor] section of your ctrl/modopts.ini file (new feature/section).

    i like that... does this also mean that we should set the option in scfg for fseditor so that it also saves the COL control line??

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Gates of Borg: "Resistance is futile. You WILL use Windows."
    ---
    * Origin: (1:3634/12.73)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Monday, May 20, 2019 18:41:00
    Re: exec/fseditor.js
    By: mark lewis to digital man on Mon May 20 2019 12:09 pm


    On 2019 May 20 01:18:32, rswindell wrote to CVS commit:

    Modified Files:
    fseditor.js
    Log Message:
    FSEditor will now (by default) save messages/files with long-line paragraphs rather than word-wrapped lines, leaving it to the things that display messages to perform any line-wrapping as needed.

    cool!

    If you want/need the old behavior, set soft_cr=true in the [fseditor] section of your ctrl/modopts.ini file (new feature/section).

    i like that... does this also mean that we should set the option in scfg for fseditor so that it also saves the COL control line??

    It shouldn't need the COLS control line. That's really only for editors that artificially shorten "paragraphs" due to line-wrapping and fseditor.js now doesn't do that (by default).

    digital man

    This Is Spinal Tap quote #27:
    As long as there's, y'know, sex and drugs, I can do without the rock and roll. Norco, CA WX: 62.5F, 54.0% humidity, 5 mph ENE wind, 0.05 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Digital Man on Tuesday, May 21, 2019 00:35:00
    On 2019 May 20 11:41:12, you wrote to me:

    i like that... does this also mean that we should set the option in
    scfg for fseditor so that it also saves the COL control line??

    It shouldn't need the COLS control line. That's really only for
    editors that artificially shorten "paragraphs" due to line-wrapping
    and fseditor.js now doesn't do that (by default).

    ok... i thought the COLS control line was also to help other readers but yeah, if fseditor doesn't do that any more, i can see where it isn't needed in the same way that golded doesn't...

    are my long line paragraphs, like the one i just wrote above, still coming in with hard CRs in them?

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Cats & Dogs are Household Schedulers
    ---
    * Origin: (1:3634/12.73)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Monday, May 20, 2019 23:06:00
    Re: exec/fseditor.js
    By: mark lewis to Digital Man on Mon May 20 2019 05:35 pm


    On 2019 May 20 11:41:12, you wrote to me:

    i like that... does this also mean that we should set the option in
    scfg for fseditor so that it also saves the COL control line??

    It shouldn't need the COLS control line. That's really only for
    editors that artificially shorten "paragraphs" due to line-wrapping
    and fseditor.js now doesn't do that (by default).

    ok... i thought the COLS control line was also to help other readers but yeah, if fseditor doesn't do that any more, i can see where it isn't needed in the same way that golded doesn't...

    Yeah, it was to assist readers in re-wrapping a message to know whether existing line-breaks were hard or soft (based on the original column width).

    are my long line paragraphs, like the one i just wrote above, still coming in with hard CRs in them?

    Here's a hexdump of your message as stored here:

    190: 20 74 68 6F 75 67 68 74 - 20 74 68 65 20 43 4F 4C thought the COL
    1a0: 53 20 63 6F 6E 74 72 6F - 6C 20 6C 69 6E 65 20 77 S control line w
    1b0: 61 73 20 61 6C 73 6F 20 - 74 6F 20 68 65 6C 70 20 as also to help
    1c0: 6F 74 68 65 72 20 72 65 - 61 64 65 72 73 20 62 75 other readers bu
    1d0: 74 20 79 65 61 68 2C 20 - 0D 0A 69 66 20 66 73 65 t yeah, ..if fse
    1e0: 64 69 74 6F 72 20 64 6F - 65 73 6E 27 74 20 64 6F ditor doesn't do
    1f0: 20 74 68 61 74 20 61 6E - 79 20 6D 6F 72 65 2C 20 that any more,
    200: 69 20 63 61 6E 20 73 65 - 65 20 77 68 65 72 65 20 i can see where
    210: 69 74 20 69 73 6E 27 74 - 20 6E 65 65 64 65 64 20 it isn't needed
    220: 69 6E 20 74 68 65 20 0D - 0A 73 61 6D 65 20 77 61 in the ..same wa
    230: 79 20 74 68 61 74 20 67 - 6F 6C 64 65 64 20 64 6F y that golded do
    240: 65 73 6E 27 74 2E 2E 2E - 0D 0A 0D 0A 61 72 65 20 esn't.......are
    250: 6D 79 20 6C 6F 6E 67 20 - 6C 69 6E 65 20 70 61 72 my long line par
    260: 61 67 72 61 70 68 73 2C - 20 6C 69 6B 65 20 74 68 agraphs, like th

    It contains CRLF (0D 0A) pairs within your long line paragraph. Calling these sequences of characters a "hard CR" seems odd to me, but yeah, they're there.

    digital man

    This Is Spinal Tap quote #31:
    Viv Savage: Quite exciting, this computer magic!
    Norco, CA WX: 66.3F, 53.0% humidity, 12 mph ENE wind, 0.05 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, May 23, 2019 04:43:00
    exec fseditor.js 1.94 1.95
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv15279

    Modified Files:
    fseditor.js
    Log Message:
    When editing an existing file/message, use the current terminal screen width for the word_wrap line length (not the default, 79 cols).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 19, 2019 00:56:14
    exec fseditor.js 1.95 1.96
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19715

    Modified Files:
    fseditor.js
    Log Message:
    Auto-determine maximum printable header field values (columns - 7), rather
    than hard-code to 60 chars - better support for wide terminals.
    Write the newly-defined "3rd line" (editor details) to the result.ed file
    (this is used by latest sbbs for EDITOR msg header field).
    Always write the result.ed file when creating a message, even if the subject was not changed. "edit_top==5" is a strange way to determine that you're editing a message, but okay...



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 19, 2019 00:58:47
    exec fseditor.js 1.96 1.97
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv20332

    Modified Files:
    fseditor.js
    Log Message:
    Typo. :-{



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, August 02, 2019 10:39:45
    exec fseditor.js 1.97 1.98
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7460

    Modified Files:
    fseditor.js
    Log Message:
    Auto-detect ZMODEM upload of message text file. Receive the file, discarding any previously quoted/typed text and save as the final message text (no editing). Useful for upload of pre-written messages or ANSI art or whatever.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 05, 2019 00:05:48
    exec fseditor.js 1.98 1.99
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv30385

    Modified Files:
    fseditor.js
    Log Message:
    Some basic UTF-8 support for message header fields (e.g. Subject) and message text and quoted text. Enabled with the "-utf8" command-line option or by setting utf8_support=true in the [fseditor] section of modopts.ini.
    When UTF-8 support is enabled, the corresponding SCFG toggle option
    ("Support UTF-8 Encoding") should also be set to "Yes".
    This is still a work-in-progress and UTF-8 character input and inserting
    ASCII chars on lines that contain UTF-8 is still problematic.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 19, 2019 23:43:39
    exec fseditor.js 1.99 1.100
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv18310

    Modified Files:
    fseditor.js
    Log Message:
    Added a Ctrl-AN to the end of quoted text blocks. When quoting a message
    which uses Ctrl-A codes, this resets the attributes back to "normal" so the reply text doesn't "inherit" the original message's attributes.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 20, 2019 01:23:03
    exec fseditor.js 1.100 1.101
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv342

    Modified Files:
    fseditor.js
    Log Message:
    Now that the CVS revision is 5 chars (1.10x), this messed up the status line (became a blank/solid blue line).
    Remove one space between "CTRL-K for help" and "Insert/Overwrite Mode" to accommodate the new longer revision. This should work for 898 more revisions.
    < 80 col terminals likely have a different issue wiht the status line
    we should look at as well.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 20, 2019 04:15:01
    exec fseditor.js 1.101 1.102
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28788

    Modified Files:
    fseditor.js
    Log Message:
    Remove the hack from rev 1.100 and fix make_strings() with regards to
    setting normal/lightgray text attributes when saving message text to file: WHITE is 0x0f (high-intensity lightgray). LIGHTGRAY is 0x07.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, August 31, 2019 05:13:58
    exec fseditor.js 1.102 1.103
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv18780

    Modified Files:
    fseditor.js
    Log Message:
    Support default_tabstop setting in [fseditor] section of modopts.ini Store/restore the user's choosen tabstop value (if not the same as the default) in/from user's props file (data/user/####.ini).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net