Something for people who like to test new (beta) stuff.
As everyone knows, the SDX CAR: device contains a program called LESS.COM, which does what its name suggests (= mimics to an extent the behaviour of the Unix program called "less"). That program is commonly used (among those who read the documentation
) as the pager for the manual reader MAN.COM
The standard LESS.COM has one shortcoming, namely it only uses the main memory for the text buffer, so its use is limited to files not exceeding 32 KB very much.
So here is another program like this (a text file viewer, that is), which overcomes this limitation: it uses the ext RAM for the text buffer.
The other operation should be less or more as in the old LESS.COM, with one exception: the XLESS.COM cannot (for the time being) serve as a text converter. It does not understand PC text files either (you should convert them before, using a separate program, e.g. the AAC).
The new program can replace the old one as the MAN pager. To accomplish that, do this:
1) copy XLESS.COM to your HDD. Let us assume that you keep it as D3:>SDX>XLESS.COM.
2) add this line to your CONFIG.SYS: SET PAGER=C:>SDX>XLESS.COM;/C;
3) reboot (COLD from the CP)
The new viewer's operation differs slightly from the operation of the old one. Notably, it first does the "formatting" of the text loaded to the memory. Note that for very long files this operation may take considerable amount of time, for example, an 84k file will be getting formatted for about 7 seconds. And any longer files will occupy proportionally more time. So if you fed it with a 500k file, do not assume easily that it has hanged in the process
The program is rather fresh (the attached version compiled today, 4:31am), so please report any spotted misbehaviour.
Edited by drac030, Wed Aug 9, 2017 8:11 AM.