• src/sbbs3/ans2asc.c

    From rswindell@VERT to CVS commit on Friday, January 11, 2019 12:16:00
    src/sbbs3 ans2asc.c 1.11 1.12
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv30378

    Modified Files:
    ans2asc.c
    Log Message:
    Stop parsing/converting when reading a Ctrl-Z (CPM EOF char): used to mark
    the beginning of a SAUCE record and the end of very old MS-DOS text files. Added support for ESC[1;1f/H (home cursor) and ESC[0J (clear to EOS) sequences (converted to the equivalent in Ctrl-A codes).
    Output Ctrl-A characters in uppercase, as they were documented and as is
    common practice.
    Covert ESC[xB and ESC[xD to the appropriate Ctrl-A sequences rather than converting to ASCII ctrl chars (CR, LF, BS).


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 05, 2019 03:59:50
    src/sbbs3 ans2asc.c 1.12 1.13
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    ans2asc.c
    Log Message:
    Add '-space' option to use space characters for cusor-right movement. Ctrl-A/0x80+ is no longer supported in message nets (by my decree) so just
    use spaces for ultimate compatibility. Synchronet's .asc/.msg file display routines (e.g. putmsg) will still display Ctrl-A/0x80+ codes just fine.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 05, 2019 08:32:02
    src/sbbs3 ans2asc.c 1.13 1.14
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    ans2asc.c
    Log Message:
    New options:
    -<columns> insert conditional-newlines to force wrap (e.g. -80)
    -newline append a newline (CRLF) sequence to the output filea

    The -<columns> option allows you to take "80-column ANSIs", artwork which
    uses 80 columns and assumes the cursor will wrap to the next line automatically, and insert Ctrl-A/ (conditional-newline) which allows the
    file to be viewed nicely on wider terminals. Very cool.

    Also added -newline (which can be used multiple times) to append one
    (or more) newline sequences to the output file.

    Use uppercase for Ctrl-AN and Ctrl-AL when -clear is used.



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