home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
text
/
xmore-1.4.lha
/
xMore
/
xMore.doc
< prev
next >
Wrap
Text File
|
1994-04-11
|
24KB
|
682 lines
xMore 1.4
10 April 1994
Copyright (c) 1993,1994 by Jorma Oksanen. All rights reserved.
xMore is a freely distributable, copyrighted piece of software.
Since xMore is free, it comes with NO WARRANTIES. The author is not
responsible for any loss or damage arising from the use or inability to use
xMore; the user takes all such responsibility.
No charge may be made for xMore, other than a nominal copy fee. xMore may
not be distributed with a commercial product without the author's prior
consent. xMore must be distributed with all documentation intact and
unaltered. Permission is expressly granted to Fred Fish to distribute on
his fine collection of disks.
Although xMore is freeware, DONATIONS WOULD BE GLADLY ACCEPTED, either
money or stuff you've written yourself.
What is it?
-----------
Yet another file reader, you might think, and you are right. I missed
small XPK-understanding file reader with reasonable feature list, but there
was none available. Most ( (c) 1992 by Uwe Röhm) can hardly be called
small (but it surely has 'reasonable' feature list!). I have to admit that
xMore is currently bigger than I planned it to be, but people don't seem to
want small programs, they want features! So, what do you get?
+ light speed search! No loss of speed even if case insensitive
and/or backwards!
+ wildcard search. Searching doesn't slow down if only "?" is
used (in fact it is FASTER when "?" is used).
+ hex mode.
+ FAST scrolling. Should beat Most (pun intended) textreaders
using customized Text() function with custom screen.
+ displays ANSI styles (no colors) and some backspace-styles
+ variable TAB size! (now you can read those funny #?.c
files with too much TABs ;)
+ can start one of the four possible editors.
+ freely definable keys!
+ font sensitivity, user definable font.
+ definable window dimensions, defaults to display size.
+ opens on any public screen or opens it's own screen.
+ multiple files from shell, Workbench and file requester.
+ pipe support.
+ clipboard support.
+ Support for Directory Opus compatibility.
+ character conversion.
+ lots of small details like default zoomed size exactly one
line high. Small things make the difference!
+ can be made resident (has been pure from day one, but who
remembers to mention everything)
+ OS 2.04 required (sorry, v36 users. There just is too much
functions in RKMs with text 'this function is broken in V36'
that I didn't bother dodging them. To pre-2.0 users xMore is
Yet Another Reason To Update. Come on guys, do you use CP/M
at work or what ? ;)
+ Can read files containig more than 65535 lines! With hex mode
this is MUST (256K+ file in narrow window = lots of lines!).
(This would be suitable place to mention certain well-known
directory utility and another XPK-supporting reader which both
assume no-one has REALLY big files, but that could give offence
to JP and UR, so I won't)
- wildcard search only supports "?"
- reads whole file into memory (EVERYBODY has min. 1 Meg today)
Installation
------------
Just copy it! If you want to get Most of it, check that you have in your
LIBS: drawer the following libraries:
asl.library needed for file requester
commodities.library needed for defining keys (more about that later)
diskfont.library needed if you use disk-based font
iffparse.library needed for clipboard cut/copy/paste
xpkmaster.library reason for xMore's existence!
You also need clipboard.device in DEVS: if you intend to use clipboard
(makes sense or what ?).
xMore works just fine (althought slightly limited) without any disk-based
libraries, so it's easy to use with floppy systems and distribution disks.
Usage
-----
From workbench:
Just double-click on xMore's icon and it will open the file requester.
Alternatively you can select one or more text files with extended
selection (RTM) and then double-click on xMore. And ofcourse it works
fine as default tool, too.
If you give a drawer to xMore as one of the arguments, xMore will open
file requester in that drawer.
From shell:
Type "xMore" followed with zero or more file names. xMore acts just as
it would from Workbench: without arguments it opens file requester, if
you give it a directory name, file requester opens there. It makes no
sense to give more than one drawer to xMore.
You can use multiple selection from file requester too. xMore does not
close it's window until you quit the last file you gave to it, but you
can force it to quit without reading rest of files using control-esq (or
whatever key you have binded FORCEQUIT to).
Options
-------
Abbreviations for options (only from shell) are in parenthesis.
xMore silently discards lines it can't parse in settings file.
¹ FILES
Specify files to read (what else?)
² DEFAULTDIR
Specifies directory where xMore opens it's initial filerequester.
³ SETTINGS
Specifies settings file to read. Default is "ENV:xMore/xMore".
³ NOSETTINGS
Inhibits settings file reading. From shell, also inhibits tooltype
parsing.
PUBSCREEN (S)
Name of public screen where xMore opens its windows. xMore will open
screen if it isn't already open. This screen will be closed when xMore
quits. If you have open windows on xMore's screen you will get
requester telling you to close all windows to allow xMore to quit.
SCREENMODE (SM)
Screenmode used to open new public screen. If mode is not specified,
xMore tries to open screen with same screen mode that Workbench uses.
FONT (F)
Name of the font used. Given with format <fontname>/<fontsize>, where
fontname may contain path. xMore does not accept proportional fonts,
fonts higher than 64 points or fonts that are written from right to
left (sorry about that last one ;). If font is not given or it's not
within above limits, system default font will be used.
If you have 68020 or better and the font is 8*8 pixel font, xMore uses
it's own Text() routine whenever possible. On bog standard
A1200/030/50MHz with 10Mb Fast memory this means 200000 chars/second
raw rendering speed.
WINDOW (W)
Position and dimensions of window. Given as left/top/width/height. If
you omit any of the parameters, default will be used. Note that
intuition may move and/or shrink the window to make it fit to screen.
UNIT
Clipboard unit to use. Default is 0.
RMBQUIT
If this switch is given xMore will do FORCEQUIT when right mouse button
is pressed below title bar. To access menus you have to position the
pointer at (or above) title bar.
¹ TEXT/ASCII & HEX
Force filetype to text or hex. If filetype is not given, xMore will
determine type by first bytes of file.
² FILETYPE
Tooltype/setting equivalent of above. Can be TEXT/ASCII or HEX.
TABSIZE (TAB)
Sets TAB size. Default is 8. Maximum is 32.
SPACING (SPC)
Number of extra pixels to insert between lines. Default is 0. Maximum
is 32.
FASTSCROLL
Specifies how many lines SCROLLUP/SCROLLDOWN will scroll at once. This
can be used to speed up scrolling of large windows. Lines scrolled at
once is calculated as MIN(1,(visible_lines-1)*FASTSCROLL/100), so
FASTSCROLL 0 scrolls one line at time, while FASTSCROLL 100 forces
SCROLLUP/SCROLLDOWN to act like PAGEUP/PAGEDOWN. Default is 0.
CONVERT
Specifies conversion file to read. Default is "ENV:xMore/convert".
NOCONVERT
Inhibits conversion file reading.
² EDITOR/XEDITOR/XPKEDITOR/XPKXEDITOR
Specifies program to run when you try to run editor. If window is in
hex mode, XEDITOR is started insted of EDITOR. If current file is
compressed, XPKEDITOR or XPKXEDITOR is used instead, allowing you to
have different editors for packed and non-packed files.
If needed editor is not specified in icon tooltypes or settings file,
one of ENV:Editor, ENV:XEditor, ENV:xMore/Editor or ENV:xMore/XEditor
is tried instead.
Note that you can't start editor if the data ca