Scroll 0.96
===========
Scroll is a scrolling textfile reader. You can scroll upwards and
downwards through text files of any length. Extended View highlight codes
as used by *lp and *lpS are acted on to give bold, italics, superscript,
wide, subscript and underline effects. These can be turned off to give
plain View extensions of *bold* and underline.
If there is enough memory, Scroll uses shadow mode 0, otherwise mode 3 is
used. Unless a command line file is given, Scroll shows the current
directory and asks for a filename. At this prompt you can also give
*commands to change directory, etc. Once a file is given, it is loaded
and displayed.
The keys are simple. Cursors move up and down. Pressing Shift will jump
one screen at a time. Pressing Ctrl will jump to the ends of the file.
Pressing COPY will flip between extended highlights and plain highlights.
Pressing Escape will leave.
Pressing P and RETURN will let you print out the file. Before you press
RETURN a prompt appears telling you the name of the default printer
command. You can change this here by deleting it and typing in another
comand. The recommended default command *lp comand is created with the
MakeLP program.
Scroll will take command line arguments when run as a *command or passed
via the keyboard buffer. The parameters are:
*Scroll <afsp> (-quit (*)<name>)
The <afsp> is the file to display. The -quit option gives a file to run
on exit. If the name starts with a *, then it is called as a *Command,
otherwise it is CHAINed. The -quit option must be in lower case, and only
the first letter is significant.
So, for instance, to call Scroll from another program, you could use the
following:
OSCLI "KEY0 |@"+name$+" -quit Menu"
*FX138,0,192
CHAIN "Scroll"
This would run Scroll and display the file name$, and on exit would return
to the program Menu.
Scroll consists of the following files:
Scroll - The program
disp - Controls screen output giving display effects
T/Scroll - This text file.
NB: The current version will only display files which have each line
terminated with CR.