home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
utilities
/
utilss
/
showfile
/
!ShowFile
/
!Help
< prev
next >
Wrap
Text File
|
1995-03-05
|
6KB
|
144 lines
ABOUT THIS PROGRAM
---------------------------------------------------------------------------
Name : ShowFile
Version : 1.01 (13 Feb 1995)
Purpose : *Type/List/Dump files
Author : Andrew Berry
Licence : Freeware. Please see conditions at the end of this file.
PURPOSE
---------------------------------------------------------------------------
This program is designed to display files of any type using the * commands
Type, List and Dump. Why can't this be done from the command line? Well, it
can, only this way is easier. It has the following advantages over the
command line:
- A specified mode can be entered, the file displayed, and
then the original desktop mode re-entered. This means that even if
you normally use mode 27 for the desktop you can set the program to
display files in a wide screen mode, eg 39, then return to mode 27.
- Options are selected from a window.
- Files are selected by dragging instead of typing long filenames.
USING THE PROGRAM
---------------------------------------------------------------------------
Three types of display can be selected. These are Type, List and Dump, and
are described in detail later.
The main window is opened by clicking on the ShowFile icon on the icon bar.
It contains four options. These are:
Mode : This selects the mode which will be entered before
displaying the file. If the mode specified is unsuitable
then an alternative will be suggested, or a reason given as
to why it is unsuitable.
Tab expand : This can only be used with the Type and List options, and
becomes unselectable if Dump is chosen. It has the effect
of replacing ASCII 9 characters with 8 spaces when
selected.
Offset : When selected, this specifies the offset from the beginning
of the file from which to dump the data. Can only be used
with Dump.
Start : This can only be used if the 'Offset' option is ticked and
is otherwise greyed out. When selected, it displays the
file as if it were in memory starting at the specified
address.
Both the offset and start addresses must be entered in hexadecimal.
Files are displayed by dragging from the filer window onto either the
ShowFile icon on the icon bar or the options window. Use Ctrl, Shift and
Scroll Lock as normal to look through the file slowly.
All options take effect as soon as they are altered and are not (currently)
saved to disc.
TYPES OF DISPLAY [RISC OS 3 PRM's page reference]
---------------------------------------------------------------------------
Type : This displays the file using the configured DumpFormat. [2-190]
List : As Type, but each line is numbered. [2-171]
Dump : Displays the file in hexadecimal and ASCII codes. [2-162]
HISTORY
---------------------------------------------------------------------------
1.00 (21 Jan 1995) - • The first version, fully working. Type, list, dump,
specify mode, tabexpand, offset and start addresses.
---------------------------------------------------------------------------
1.01 (13 Feb 1995) - • Bug fix. Pressing Escape when a file was being
displayed brought up an empty error box on return
to the desktop.
THINGS TO DO
---------------------------------------------------------------------------
• Include option for *Print. This is more complicated as all characters are
sent to the VDU and some can cause 'unwanted screen effects' and need to
be filtered out.
• Option for paged scrolling (a serious omission at the moment)
• Save options to disc
LEGAL BIT
---------------------------------------------------------------------------
This program is Freeware, NOT public domain. This means that I retain the
copyright but give everyone the right to distribute it by any means,
anywhere, as long as all files are supplied and I am fully credited.
Although this program has been fully tested, I (the author) cannot be held
responsible for any loss or damage caused my the use or misuse of this
program. It is used entirely at your own risk.
CONTACT
---------------------------------------------------------------------------
Please feel free to write to me at the address below. Let me know if you
can think of any ways to improve the program, or if you find any bugs. Any
donations will be greatly appreciated, and you can obtain the latest
versions of all my programs by sending either:
a) A cheque for £1.00
or b) A disc of PD, a first class stamp and a suitable method of returning
your disc. (If you send me the disc in a Jiffy bag then I can re-use
it to send the disc back).
Currently (5/3/1995) my other programs are as follows:
- DiscComp 1.06 (23 Feb 1995) : Compact discs from the desktop, various
options.
- LoseCaret 1.12 (23 Feb 1995) : Force applications to lose the caret.
Useful if the app. doesn't pass on
unknown keypresses.
- PinExtend 1.14 (23 Feb 1995) : Easy method of putting sprites on the
backdrop, lots of options, load backdrop
on startup, etc.
- DirOpen 1.01 (04 Feb 1995) : Drag directories and apps to icon bar to
open them. Reopen last dir from icon bar - IconSprit 1.10 (28 Jan 1995) : IconSprites, ToolSprites, save RAM and
ROM sprites to disc
- TidyApp 1.01 (04 Mar 1995) : Rename !Boot, !Run, etc. in application
directories (to correct wrong case,
e.g. !boot)
- TextInfo 1.12 (05 Mar 1995) : Counts words/sentences etc in text files.
Please write to:
Andrew Berry
39 Lancaster Avenue
Sandiacre
Nottingham
NG10 5GW
---------------------------------------------------------------------------