As emerged from a discussion on the ZX Spectrum Next facebook group related to dot commands, apparently there is no text file viewer allowing backwards scrolling, so I decided to code my own and called it “README”.
In order to install, just download and extract the archive (see below) and copy the “README” file to “BIN” directory of your SD card and if you want to set it as the default text file viewer in NextOS file browser, simply change the following line:
TXT:copy"|"to screen$
to:
TXT:.readme |
in “browser.cfg” file, located in “NEXTOS” directory.
Usage is quite simple: from NextOS (or ESXDOS), type .readme followed by the name of the text file you want to display. The program shows a blue top bar, displaying the name and percentage of the file, followed by actual file content. You can scroll to the next page by pressing the Enter key, and to the previous one by pressing the 0 or Delete key. Space key will close the program and exit to OS.
Currently, README is a quick&dirty program tha could (and hopefully will) be improved in several ways, such as:
- add proportional fonts and/or 64 (or more?) columns mode,
- extended ASCII (UNICODE/UTF8?) characters,
- TABulator management,
- faster text rendering;
by the way, I hope that someone can find it useful! If you want to try, you can download it here.