• Files and Descriptions

    From Psi-Jack@VERT/DECKHVN2 to All on Thursday, July 18, 2019 05:42:53
    So, I had an issue when I migrated my BBS from one server to another, when I re-added all the files using addfiles, all the files' descriptions never got the long description as from the FILE_ID.DIZ, so I have a lot of one-line descriptions all crumpled up.

    I'm trying to fix this, and would like to know how the best means to do this would be so I can get them all done properly. This is is a current build of Synchronet 3.17 (CVS) for Linux.

    Any thoughts on how to "reprocess" the files to pull in the extended descriptions properly?

    )))[Psi-Jack -//- Decker]

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Digital Man@VERT to Psi-Jack on Thursday, July 18, 2019 16:10:39
    Re: Files and Descriptions
    By: Psi-Jack to All on Thu Jul 18 2019 05:42 am

    So, I had an issue when I migrated my BBS from one server to another, when I re-added all the files using addfiles, all the files' descriptions never got the long description as from the FILE_ID.DIZ, so I have a lot of one-line descriptions all crumpled up.

    I'm trying to fix this, and would like to know how the best means to do this would be so I can get them all done properly. This is is a current build of Synchronet 3.17 (CVS) for Linux.

    Any thoughts on how to "reprocess" the files to pull in the extended descriptions properly?

    There were bugs w/DIZ importing in addfiles revs 1.55 through 1.57, now fixed.

    digital man

    This Is Spinal Tap quote #2:
    Nigel Tufnel: Well, this piece is called "Lick My Love Pump".
    Norco, CA WX: 84.3øF, 48.0% humidity, 14 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Psi-Jack@VERT/DECKHVN2 to Digital Man on Thursday, July 18, 2019 21:01:19
    Re: Files and Descriptions
    By: Digital Man to Psi-Jack on Thu Jul 18 2019 04:10 pm

    So, I had an issue when I migrated my BBS from one server to another,
    when I re-added all the files using addfiles, all the files'
    descriptions never got the long description as from the FILE_ID.DIZ,
    so I have a lot of one-line descriptions all crumpled up.

    I'm trying to fix this, and would like to know how the best means to
    do this would be so I can get them all done properly. This is is a
    current build of Synchronet 3.17 (CVS) for Linux.

    There were bugs w/DIZ importing in addfiles revs 1.55 through 1.57, now fixed.

    Thank you so much for helping with this. When I have time, I may end up trying to see what I can do to make a javascript solution for this to ultimately replace addfiles.c with addfiles.js. At least start with it, anyway. ;)

    )))[Psi-Jack -//- Decker]

    ---
    þ Synchronet þ Decker's Heaven -//- bbs.deckersheaven.com
  • From Digital Man@VERT to Psi-Jack on Thursday, July 18, 2019 19:19:42
    Re: Files and Descriptions
    By: Psi-Jack to Digital Man on Thu Jul 18 2019 09:01 pm

    Re: Files and Descriptions
    By: Digital Man to Psi-Jack on Thu Jul 18 2019 04:10 pm

    So, I had an issue when I migrated my BBS from one server to another,
    when I re-added all the files using addfiles, all the files'
    descriptions never got the long description as from the FILE_ID.DIZ,
    so I have a lot of one-line descriptions all crumpled up.

    I'm trying to fix this, and would like to know how the best means to
    do this would be so I can get them all done properly. This is is a
    current build of Synchronet 3.17 (CVS) for Linux.

    There were bugs w/DIZ importing in addfiles revs 1.55 through 1.57, now fixed.

    Thank you so much for helping with this. When I have time, I may end up trying to see what I can do to make a javascript solution for this to ultimately replace addfiles.c with addfiles.js. At least start with it, anyway. ;)

    Until there's a FileBase object (similar to the JS MsgBase object), a solution in pure JS probably isn't that practical (not impossible, just not practical). Otherwise, I'd have already done it I think. :-)

    digital man

    Synchronet/BBS Terminology Definition #20:
    DOS = Disk Operating System (as in PC-DOS and MS-DOS)
    Norco, CA WX: 75.4øF, 55.0% humidity, 6 mph ENE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Thursday, July 18, 2019 20:59:11
    Re: Files and Descriptions
    By: Digital Man to Psi-Jack on Thu Jul 18 2019 07:19 pm

    Until there's a FileBase object (similar to the JS MsgBase object), a solution in pure JS probably isn't that practical (not impossible, just not practical). Otherwise, I'd have already done it I think. :-)

    A while ago, I noticed echicken (and I think Deuce too) put together some filebase access scripts in JS. In exec, there's filearea-lb.js (for changing & listing file areas in JS), and in load, there's filebase.js, filebrowser.js, filedir.js, and file_size.js. I think they do some trickery to parse the binary filebase files to provide that information to JS scripts.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From echicken@VERT/ECBBS to Nightfox on Friday, July 19, 2019 00:39:49
    Re: Files and Descriptions
    By: Nightfox to Digital Man on Thu Jul 18 2019 20:59:11

    A while ago, I noticed echicken (and I think Deuce too) put together some filebase access scripts in JS. In exec, there's filearea-lb.js (for changing & listing file areas in JS), and in load, there's filebase.js, filebrowser.js, filedir.js, and file_size.js. I think they do some trickery to parse the binary filebase files to provide that information to JS scripts.

    IIRC filedir.js was some quick thing I hacked together to read the file library stuff. filebase.js is a
    more efficient one that Deuce made; I think I fixed a bug or two in it later on.

    filebrowser.js might actually be a filesystem browser. I think it's a library. I believe it's used as
    the browser module in ANSIView.

    filearea-lb.js would be the thing that actually browses file libraries/directories. I think it's okay
    but needs some stuff added to it. Kind of a 90% finished project, but usable.

    I believe file_size.js is for converting file sizes to more human-friendly strings (1Mb, 100Kb, etc.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to Nightfox on Friday, July 19, 2019 00:35:35
    Re: Files and Descriptions
    By: Nightfox to Digital Man on Thu Jul 18 2019 08:59 pm

    Re: Files and Descriptions
    By: Digital Man to Psi-Jack on Thu Jul 18 2019 07:19 pm

    Until there's a FileBase object (similar to the JS MsgBase object), a solution in pure JS probably isn't that practical (not impossible, just not practical). Otherwise, I'd have already done it I think. :-)

    A while ago, I noticed echicken (and I think Deuce too) put together some filebase access scripts in JS. In exec, there's filearea-lb.js (for changing & listing file areas in JS), and in load, there's filebase.js, filebrowser.js, filedir.js, and file_size.js. I think they do some trickery to parse the binary filebase files to provide that information to JS scripts.

    Yeah, and they're going to be obsolete pretty soon. :-(

    digital man

    Synchronet "Real Fact" #65:
    Synchronet can dynamically compress and uncompress message bases (using LZH). Norco, CA WX: 62.6øF, 86.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs

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