• src/sbbs3/ans2asc.c

    From rswindell@1:103/705 to CVS commit on Fri Jan 11 04:16:26 2019
    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).

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Aug 4 20:59:50 2019
    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.


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Aug 5 01:32:02 2019
    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.


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Apr 19 22:41:12 2020
    src/sbbs3 ans2asc.c 1.14 1.15
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv1743

    Modified Files:
    ans2asc.c
    Log Message:
    Add '-ice' command-line option treat to ANSI "Blink" sequences as bright-background (iCE colors) using the new (to v3.17c) Ctrl-AE sequence rather than Ctrl-AI.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat May 9 16:17:43 2020
    src/sbbs3 ans2asc.c 1.15 1.16
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv20649

    Modified Files:
    ans2asc.c
    Log Message:
    Changed the "home cursor" Ctrl-A code from ` (backtick) to ' (single-quote) to make room for strict hot-spots. Hopefully nothing was actually using this Ctrl-A code. I did some searches and couldn't find anything.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Apr 24 18:32:23 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/ee41c8b6d100a3154f599541
    Modified Files:
    src/sbbs3/ans2asc.c
    Log Message:
    Fix new GCC 9.3 warnings.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sun Jun 18 12:40:35 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/b4f9d84bf22652d2d32377e5
    Modified Files:
    src/sbbs3/ans2asc.c
    Log Message:
    Add -esc option for C-literal escaping/encoding of output (e.g. for JS/.ini)<phigz> what would you convert ansi to so it displays right when written out from a .js file?Now, you can use 'ans2asc -esc' for this purpose. --- 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 Jun 28 17:10:43 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/0bdc22680db7a56b6df50de2
    Modified Files:
    src/sbbs3/ans2asc.c
    Log Message:
    Fix GCC warningwarning: format not a string literal and no format arguments [-Wformat-security]<nelgin> gcc version 9.4.0
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)