• xtrn/ansiview/ansiview.js

    From rswindell@1:103/705 to CVS commit on Thu Jan 4 00:42:19 2018
    xtrn/ansiview ansiview.js 1.12 1.13
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv14777

    Modified Files:
    ansiview.js
    Log Message:
    Use the printfile() mode flag P_CPM_EOF, so that SAUCE tags aren't printed

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Jan 8 19:30:03 2018
    xtrn/ansiview ansiview.js 1.15 1.16
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv25646

    Modified Files:
    ansiview.js
    Log Message:
    Use Graphic().draw() to solve the problem of viewing 80 col ANSIs on
    terminals > 80 columns in width (can't depend on line-wrapl).
    Still using console.printfile() for ANSIs that scroll.
    For SyncTERM, hide the cursor while viewing the ANSI.
    Change the calls to console.pause() to just console.getkey() as the
    [Hit a Key] prompt would interfere with the display of some art.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Jan 18 14:02:45 2018
    xtrn/ansiview ansiview.js 1.16 1.17
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv23624

    Modified Files:
    ansiview.js
    Log Message:
    If Graphic.load() throws an error, fall back on console.printfile().
    (ANS, BIN, and ASC extensions are all well and good, but many artists
    used their group's initialism as a file extension. This made a huge
    chunk of my local archive inaccessible.)


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Jan 18 14:22:12 2018
    xtrn/ansiview ansiview.js 1.17 1.18
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv25616

    Modified Files:
    ansiview.js
    Log Message:
    Avoid using Graphic for files that didn't have cols and rows in the SAUCE. Graphic's default height means we'll only see the bottom 24 rows of longer drawrings.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Feb 3 02:27:16 2018
    xtrn/ansiview ansiview.js 1.18 1.19
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv13941

    Modified Files:
    ansiview.js
    Log Message:
    Use cterm_lib.js and xbin_lib.js to add support for displaying BIN (*.bin) and XBin (*.xb) files. The display dimensions of the files may be larger (wider and longer) than the terminal window. You can use the arrow keys/home/end/num-pad equivalent (including diagnals) to move the display window around.
    If you have a recent SyncTERM 1.1b build, you'll get palette redefinitions
    and (any version of SyncTERM 1.0 and later) you'll get the custom fonts too. Note: the entire Bin/XBin file is loaded into JavaScript arrays/objects, so very large files may require increaisng your JavaScript heap size considerably.

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Feb 3 17:58:38 2018
    xtrn/ansiview ansiview.js 1.19 1.20
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv27507

    Modified Files:
    ansiview.js
    Log Message:
    When there is fontdata in the XBin file and it doesn't match the current detected screen mode, display a warning, but still display the file.
    Many times, traditional .xb files (not xbimages) will look fine when
    ignoring the embedded font data.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Feb 4 22:00:50 2018
    xtrn/ansiview ansiview.js 1.20 1.21
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv19940

    Modified Files:
    ansiview.js
    Log Message:
    Display a warning there's a palette defined in an XBin file and the
    terminal doesn't support loadable palettes.
    If fonts aren't supported in the terminal and there's fonts in the XBin, display a warning about that too.
    Updated paren style to match ec's, being polite an' all.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Feb 25 19:43:10 2018
    xtrn/ansiview ansiview.js 1.21 1.22
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv8901

    Modified Files:
    ansiview.js
    Log Message:
    Allow pause enabbled by default when 'pause=true' in the global/root
    section of settings.ini.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Sun Feb 25 19:52:33 2018
    xtrn/ansiview ansiview.js 1.22 1.23
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv9724

    Modified Files:
    ansiview.js
    Log Message:
    Clobber DM's change.
    Allow pause 'enabbled' by default when pause=true/yes/on/1 in root of settings.ini.
    Use 'top_level' setting from root of settings.ini, if present, in place
    of 'Gallery Menu' text.
    Removed my handle from the top of the screen, good buddy. Other people
    have stuck their fingers in this thing.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Sun Feb 25 20:22:26 2018
    xtrn/ansiview ansiview.js 1.23 1.24
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv13233

    Modified Files:
    ansiview.js
    Log Message:
    Let File.iniGetObject figure out the truthiness for us.
    Do it in one line, because some people would use two lines instead.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Sun Jul 29 16:10:00 2018
    xtrn/ansiview ansiview.js 1.25 1.26
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv9649

    Modified Files:
    ansiview.js
    Log Message:
    Handle extensionless files. Untested, totally fine I'm sure.


    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to echicken on Sun Jul 29 19:58:14 2018
    echicken wrote:
    xtrn/ansiview ansiview.js 1.25 1.26
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv9649

    Modified Files:
    ansiview.js
    Log Message:
    Handle extensionless files. Untested, totally fine I'm sure.

    Tested and works. Thanks.

    ---
    ■ Synchronet ■ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Fri Dec 21 23:07:49 2018
    xtrn/ansiview ansiview.js 1.26 1.27
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv18707

    Modified Files:
    ansiview.js
    Log Message:
    Fixed busted screen pause in throttled display for non-cterms.
    Don't delete non-property 'image' variable; set it to undefined instead. Removed some convoluted and extraneous things I did years ago.
    Various non-functional formatting things since I'm bored.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Sat Dec 22 09:28:53 2018
    xtrn/ansiview ansiview.js 1.27 1.28
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv19070

    Modified Files:
    ansiview.js
    Log Message:
    Ditched isSyncTerm(); cterm_lib exists now.
    Reinstated root directory variable, it actually helps in some cases.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Feb 18 18:27:06 2019
    xtrn/ansiview ansiview.js 1.28 1.29
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv19323

    Modified Files:
    ansiview.js
    Log Message:
    Resolve reported error (guessing when settings.ini does not exist):
    !JavaScript /sbbs/xtrn/ansiview/ansiview.js line 313: TypeError: settings is null


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Feb 18 22:35:15 2019
    xtrn/ansiview ansiview.js 1.29 1.30
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv13164

    Modified Files:
    ansiview.js
    Log Message:
    Fix !JavaScript /sbbs/xtrn/ansiview/ansiview.js line 316:
    TypeError: settings is undefined
    Presumably, when settings.ini doesn't exist.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Mon Feb 18 23:10:04 2019
    xtrn/ansiview ansiview.js 1.30 1.31
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv16681

    Modified Files:
    ansiview.js
    Log Message:
    Use js.exec_dir; js.startup_dir may be absent or something else entirely.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)