home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
utilities
/
utilst
/
textinfo
/
!TextInfo
/
!Help
< prev
next >
Wrap
Text File
|
1995-03-05
|
7KB
|
146 lines
ABOUT THIS PROGRAM
---------------------------------------------------------------------------
Name : TextInfo
Version : 1.12 (05 Mar 1995)
Purpose : Text file information
Author : Andrew Berry
Licence : Freeware. Please see conditions at the end of this file.
PURPOSE
---------------------------------------------------------------------------
TextInfo is a program to give information on text files. It will count the
number of characters, words, sentences and lines in a file and display the
results in a window. The processes used for doing this are (at the moment)
limited, and the results may not be 100% accurate.
USING THE PROGRAM
---------------------------------------------------------------------------
To examine a text file drag it to the TextInfo icon on the icon bar. A
window will open showing the size of the file and the estimated time that
the counting will take. The hourglass will appear and the file will be
analysed. When this process is complete a window will open showing the
details. If the window is already open (from a previous count) then it will
be updated and brought to the front. Please note that the estimated time
is for a file on hard disc with ARM250. It may be slightly wrong for a
floppy disc or other versions of the ARM chip, and this may be corrected in
future versions.
Pressing Escape during counting will abort the process and display the
results so far, including an indication of how far the operation had
progressed when Escape was pressed. Counting cannot then be continued. This
could be used to make an estimate of the results for the whole file.
Any file can be counted, although the program is specifically designed
for text files. A warning is given if the file is not typed as text (&FFF)
but it can still be counted.
OPTIONS
---------------------------------------------------------------------------
TextInfo currently supports three options. The options window is accessed
by clicking on the icon bar. The options are:
1) Include CR/LF in character count: Selecting this will cause all
&0A and &0D codes to be treated as characters. As they are not
'true' characters (i.e. they are not printable) this option is
off by default.
2) Percentage hourglass: This will show the progress while the
file is being counted. This option is off by default as it
roughly doubles the time taken to examine a file!
3) Beep when finished: If this is selected then the bell will be
sounded when a count has finished.
HISTORY
---------------------------------------------------------------------------
1.00 (21 Dec 1994) : • First version - fully working, no options.
---------------------------------------------------------------------------
1.10 (22 Dec 1994) : • Added options window
- Count CR/LF as characters
- Show progress as percentage
- Beep when finished
• File size and estimated count time displayed during
file examination
• Escape enabled during examination
• Display 'results so far' if examination is aborted
---------------------------------------------------------------------------
1.12 (05 Mar 1995) : • Bug fix - Escape was being left enabled after an
examination had been interrupted, now fixed.
• Minor internal alterations
• Improved documentation
• Changed licence to freeware.
THINGS TO DO
--------------------------------------------------------------------------- • More options
• Save options to disc
• Better rules for counting (will take into account !, ?, etc.)
• More accurate time estimates for media other than hard disc and different
ARM chips
• Add filename to results window
• Option to turn off query if file is not text
• Interrupting the examination before the file is fully counted will display
an estimate of the results for the whole file, based on the percentage
already examined
• Speed increase?!
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
- ShowFile 1.01 (13 Feb 1995) : Display files using *Type/List/Dump,
various options.
- TidyApp 1.01 (04 Mar 1995) : Rename !Boot, !Run, etc. in application
directories (to correct wrong case,
e.g. !boot)
Please write to:
Andrew Berry
39 Lancaster Avenue
Sandiacre
Nottingham
NG10 5GW
---------------------------------------------------------------------------