• ansiview - add ability to download file

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Sun Dec 12 00:54:29 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/313

    Some text files are rather long and a user could use up their time reading it. Suggestion: Add download = to the .ini file which could either accept "yes" to allow download of all files, or a list of extensions that someone could download. For example you may allow download of .txt but not .ans for example. You'd need to use a period prefix incase someone decided to have .yes files (never seen 'em, but don't put it past anyway).For those files that someone is reading, the prompt could have a "press D to download or any key to continue". It would then transfer using their favorite transfer method.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Jan 26 23:00:14 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/313#note_2237

    scroll support will aslo cool feature...
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to GitLab note in main/sbbs on Fri Nov 24 07:08:32 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/313#note_4490

    I intentionally left scrolling graphics as a feature to be provided by the end-user's terminal.

    We could use frame.js for this, but it is painfully slow at scrolling screenfuls of content, so I'd rather not.

    I did write a much faster frame.js alternative, but it is incomplete. I'll consider using it here if i return to work on it.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to GitLab note in main/sbbs on Fri Nov 24 07:21:07 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/313#note_4491

    I'm fine with something like:

    allow_download = yes/no

    Allow-listing extensions is problematic here. A lot of art-pack content contains ANSI files with extensions other than .ans, especially when the release group had a three-letter initialism for a name.

    There is already a 'hide' configuration key which ostensibly acts as a deny-list to keep certain files out of the menu.

    If the download prompt only appears while viewing a file, the user has already effectively downloaded it; we're just offering another transfer method.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Fri Nov 24 07:51:37 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/313#note_4492

    I know, I tried to use bullshit but the scrolling is very slow, it's true.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)