Agon-MOS-Tools icon indicating copy to clipboard operation
Agon-MOS-Tools copied to clipboard

Feature Request: Download .BAS files in snail

Open astralaster opened this issue 1 year ago • 2 comments

Hi,

when I open a .BAS file with snail it displays the content. It would be great if there was an option to save it to disk.

astralaster avatar Jan 24 '24 11:01 astralaster

It shows only cause it have plain text data-type. If it will have binary data type it will be downloaded.

But It's possible add routine for handling bas files as binary files.

nihirash avatar Jan 24 '24 14:01 nihirash

You may be able to add a line like :bas=9 to your gophermap file. This would should make the gopher server set that file type to download instead of display. I chose not to use it on my server for .bas files proving them for viewing and the .bbc files for downloading the files.

eightbitswide avatar Jan 29 '24 00:01 eightbitswide

You can find version that supports saving current buffer to disk here: https://github.com/nihirash/agon-snail

This issue is the same as: https://github.com/nihirash/Agon-MOS-Tools/issues/6

nihirash avatar Jul 05 '24 20:07 nihirash