home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 110
/
af110sub.adf
/
Aread.lzx
/
aread
/
ARead.doc
< prev
next >
Wrap
Text File
|
1998-05-16
|
7KB
|
260 lines
ARead v1.3
(6/3/1998)
By Cliff Earl.
(cee@voyager.co.nz)
© 1998 Cliff Earl.
Introduction.
I only have a lowly 68000 in my old A2000. Now if I have a
little textfile that is only 1k or so in size, it seems to take
forever for multiview to load and display it. I created ARead
to rectify this problem.
If you double clicked the ARead.doc icon (the little itty
bitty one) straight from the distribution drawer and if you did
not notice already, ARead is being used to read this document
:^)
As of v1.2 Aread will change TABS and CR (peecee style)
characters into spaces. It just makes things look a little
nicer.
Please note that when you see a version number in brackets
eg.. (v1.2) then this feature was added to ARead at that
version.
ARead as mentioned above is made for reading small textfiles
like aminet .readme files and file_id.diz files. A few things
to remember when using ARead are..
- ARead will load any sized file but will not display more
than 16000 lines.
- ARead will NOT wordwrap any lines in the textfile.
- ARead does not like lines of text that are longer than 254
characters. Strange behaviour may occur :^)
- ARead does not like multi coloured text (ANSI).
As you can see ARead is not such a powerful text reader, I
made it only to suit my own needs. If you think ARead has
potential and would like to see more options and features added
then please contact me with your requests. I am only too happy
to add things to ARead for you, you just have to let me know
what you want.
you want search function?
you want wordwrap?
you want xpk support?
you want menus?
you want iconify?
you want a rexx port?
you want multicolour support?
you want filerequesters? - ADDED AS OF V1.1
you want drag'n'drop?
what do you want?
I want a new Amiga :^)
Enjoy..
********************************************
Installing ARead.
- copy ARead to C: or somewhere in your path. Or for lazy
people you can just use the installer script.
********************************************
Using ARead.
Before the real meat here are what key combo's do what things
when ARead is running..
CURSORUP..............previous line
CURSORDOWN............next line
SHIFT+SPACE...........previous page (v1.2)
SHIFT+CURSORUP........previous page
SHIFT+CURSORDOWN......next page
SPACE.................next page (v1.2)
CONTROL+CURSORUP......first page
CONTROL+CURSORDOWN...last page
ESCAPE................quit
Using ARead from Workbench.
First change the default tool of the project you want ARead
to read on to C:ARead (or wherever you put it. Next add some
tooltypes to get ARead looking how you want it. You don't have
to add tooltypes if you want the default values. Here are the
tooltypes that ARead will understand.
PUBSCREEN
Name of the public screen that you would like ARead to open on.
If the screen is not open then ARead will fallback to the
default public screen (usually Workbench).
FONTNAME
Name of the font that you want ARead to use when displaying
text. Default=font of screen ARead opened on.
FONTSIZE
Height of the font you specified. Default=8.
LEFT
X-Position of ARead window. Default=0
TOP
Y-Position of ARead window. Default=16
WIDTH
Width of ARead window. Default=640
HEIGHT
Height of ARead window. Default=240
Using ARead from Shell/CLI.
I'm getting tired, so we will just put an example here..
ARead docs:aread.doc FONTNAME=xen.font FONTSIZE=11
Easy huh? The arguments that ARead can understand are
exactly the same as the tooltypes above, and the default values
are also the same.
If the font you specified is not available then ARead will
attempt to use the font of the screen it opened on (sc_Font).
If this also fails then ARead will use the system default font
(gb_DefaultFont).
As of V1.1, you don't have to specify a filename when running
ARead from CLI/Shell. If no name was specified then ARead will
open an ASL FileRequester so you can choose which file you want
to read. You can also just double click on the Aread icon from
Workbench and the FileRequester will open as well.
********************************************
Legal Crap.
This program is FreeWare. You don't have to send money and
stuff but you can if you like. I take no responsability for
any damage caused to whatever by using the programs in this
distribution. You can give the program to any old human but
you are not allowed to charge money for it. Magazines are not
allowed to distribute the programs without prior permission of
the author (that's me) or they must send me a free copy of the
magazine/coverdisk that contains the programs.
********************************************
How To Contact Me.
You can send me stuff by post to..
Cliff Earl,
P.O Box 159,
Otaki,
Wellington 6471,
New Zealand.
You can EMail (suggestions, bug-reports, whatever) to..
cee@voyager.co.nz
Still no WWW page, I'm so lazy and my poor old Ami can't handle
the InterNet except for EMail & FTP :^(
********************************************
Credits.
- written and assembled with -
ASM-One v1.30
By T.F.A
no copyright?
********************************************
History.
v1.0 (21/2/1998)
- first public release
v1.1 (4/3/1998)
- Added ASL FileRequest if no name specified from shell or if
ARead is not started from WB as the default tool of a
project. (Requested by Nils Goers, thanks for the example
ASL code Nils).
- Added ability to open on specified PubScreen (Requested by
Nils Goers).
- Changed fallback font from topaz.font to default system font
(Requested by Nils Goers).
v1.2 (5/3/1998)
- Changed fallback font code again. Now if no font is
specified or if the specified font cannot be opened then
ARead will try to use the font of the screen it opens on.
If this too fails then you get the default system font ala
graphics library gb_DefaultFont. (Requested by Nils Goers).
- Changed some dcb.b data to ds.b bss to save some space and
keep ARead under 4kb in size.
- Added code to formatter to make ARead replace CR and TAB
characters into spaces.
v1.3 (6/3/1998)
- Corrected small feature when ARead is run from CLI with no
arguments. Previously ARead would open it's file requester
in the SYS: directory. Now ARead opens the requester in
the current directory.