• exec/filearea-lb.js

    From nightfox@1:103/705 to CVS commit on Sat Mar 10 12:23:07 2018
    exec filearea-lb.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12685

    Modified Files:
    filearea-lb.js
    Log Message:
    Added a V command to the file directory list to allow viewing a file. This is done by reading ctrl/file.cnf (based on the read_file_config function in src/sbbs3/scfglib2.c), matching the filename extension in the list, and if found, it runs the file view command using bbs.exec().

    If possible, it would be useful to add the ability for sysops to move and delete files from this file lister (as in the stock file lister), but I'm not sure how feasable that would be right now.

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to CVS commit on Sat Mar 10 13:20:36 2018
    Re: exec/filearea-lb.js
    By: nightfox to CVS commit on Sat Mar 10 2018 12:23 pm

    exec filearea-lb.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12685

    Modified Files:
    filearea-lb.js
    Log Message:
    Added a V command to the file directory list to allow viewing a file. This is done by reading ctrl/file.cnf (based on the read_file_config function in src/sbbs3/scfglib2.c), matching the filename extension in the list, and if found, it runs the file view command using bbs.exec().

    Forgot to mention, I also added a command-line parameter to specify an internal directory code so this script can optionally start up listing files in a directory rather than from the file library chooser. That way, it can be added to a command shell's file menu for listing files in the current directory.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nightfox@1:103/705 to CVS commit on Sat Mar 10 16:30:37 2018
    exec filearea-lb.js 1.2 1.3
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9481

    Modified Files:
    filearea-lb.js
    Log Message:
    The main function now updates bbs.node_action to NODE_LFIL to indicate that the
    user is listing files. bbs.node_action is restored to the previous value upon exit of the main function.
    Also I forgot to mention in my last commit that I added an optional command-line argument to specify a file directory internal code so that this script can (optionally) start at the file list for a file directory rather than
    the file group chooser. This allows a command shell to run this script for the
    'List files in directory' command (with bbs.curdir_code as the first argument).

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nightfox@1:103/705 to CVS commit on Sat Mar 10 17:24:50 2018
    exec filearea-lb.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv29403

    Modified Files:
    filearea-lb.js
    Log Message:
    Made use of cnflib.js to load file.cnf to get the viewable file types information. This requires the latest cnflib.js (and cnfdefs.js) in the load directory. Also, in the file listing, changed the info command from Enter to I. This saves a little space on the help bar at the bottom, and I think it's more consistent with using letters for the other commands. (I also wanted to be able to use the enter key for something else, which I might do as my own custom mod on my BBS, as I make it look & work more like my Baja file lister mod.)

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nightfox@1:103/705 to CVS commit on Sat Mar 10 17:57:28 2018
    exec filearea-lb.js 1.4 1.5
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv834

    Modified Files:
    filearea-lb.js
    Log Message:
    Fixed a typo in one of the comments

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Jan 16 18:05:33 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/38962e8acd16cbadc39b6ee1
    Modified Files:
    exec/filearea-lb.js
    Log Message:
    Merge branch 'eugeneso/filearealb' into 'master'Migrate filearea-lb.js to use FileBaseSee merge request main/sbbs!240
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eugene So@1:103/705 to Git commit to main/sbbs/master on Mon Jan 16 18:05:33 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/85239c308ad96e149b2d98b7
    Modified Files:
    exec/filearea-lb.js
    Log Message:
    Migrate filearea-lb.js to use FileBase
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)