• src/sbbs3/ans2asc.c

    From rswindell@VERT to CVS commit on Saturday, January 04, 2014 18:34:15
    src/sbbs3 ans2asc.c 1.7 1.8
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25995

    Modified Files:
    ans2asc.c
    Log Message:
    Enhancement for access_d: command-line option (-delay <interval>) to insert 1/10th second delays at specified byte interval in output file.
    Also added -clear (insert a clear-screen code at beginning of output file)
    and -pause (append pause/hit-a-key code at end of output file) options.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 04, 2014 21:20:45
    src/sbbs3 ans2asc.c 1.8 1.9
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28399

    Modified Files:
    ans2asc.c
    Log Message:
    Let's just not use stricmp() and let the options be case sensitive to be unixy.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, November 25, 2015 04:32:41
    src/sbbs3 ans2asc.c 1.9 1.10
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv20527

    Modified Files:
    ans2asc.c
    Log Message:
    Added comment.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, October 18, 2017 00:52:22
    src/sbbs3 ans2asc.c 1.10 1.11
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv9838

    Modified Files:
    ans2asc.c
    Log Message:
    Send error messages to stderr when unsupported (non-ANSI) color codes are
    found in the input file.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, January 11, 2019 04:16:26
    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 Sunday, August 04, 2019 20: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 01: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
  • From rswindell@VERT to CVS commit on Sunday, April 19, 2020 22:41:12
    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.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, May 09, 2020 16:17:43
    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.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, April 24, 2021 18:32:23
    https://gitlab.synchro.net/main/sbbs/-/commit/ee41c8b6d100a3154f599541
    Modified Files:
    src/sbbs3/ans2asc.c
    Log Message:
    Fix new GCC 9.3 warnings.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sunday, June 18, 2023 12:40:35
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, June 28, 2023 17:10:43
    https://gitlab.synchro.net/main/sbbs/-/commit/0bdc22680db7a56b6df50de2
    Modified Files:
    src/sbbs3/ans2asc.c
    Log Message:
    Fix GCC warning

    warning: format not a string literal and no format arguments [-Wformat-security]
    <nelgin> gcc version 9.4.0

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