home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
filutl
/
tsf2cm15.arc
/
TSF2CM.INF
< prev
next >
Wrap
Text File
|
1989-01-15
|
5KB
|
114 lines
- 1 -
15th January, 1989
About TSF2CM in General
=======================
Apply question mark ? with the program call for a brief description of a
program.
This package may be used and distributed freely for NON-COMMERCIAL,
NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in any way.
No part of this package may be distributed separately. No charge for the
programs is allowed without an explicit consent of the author.
The programs are under development. Comments and contacts are solicited. If
you have any comments, please do not hesitate to use electronic mail for
communication.
Funet address: VAKK::SALMI
Internet address: SALMI@VAKK.UWASA.FI
Bitnet address: SALMI@FINFUN
FidoNet address: 2:515/1 (Micro Maniacs Opus, To: Timo Salmi)
The author shall not be liable to the user for any direct, indirect or
consequential loss arising from the use of, or inability to use, any program
or file howsoever caused. No warranty is given that the programs will work
under all circumstances.
Timo Salmi
Professor of Accounting and Business Finance
School of Business Studies, University of Vaasa
P.O. BOX 297, SF-65101 Vaasa, Finland
ABSTRACT:
Searching Archive: B:TSF2CM15.ARC - More file utilities by T.Salmi
Filename Comment Date Time
-------- -------------------------------- ---- ----
FILECOMP.EXE Compares two text files 01-15-89 09:15:58
FILEQLPC.EXE Converts deficient end-of-lines 08-25-88 11:56:48
TSF2CM.INF Document 01-15-89
TSPROG.INF List of PD programs from T.Salmi 12-19-88 14:32:02
---- ------ ------ -----
0004 67677 49580 27%
- 2 -
Timo Salmi File 2nd CoMmand release 1.5 (TSF2CM15) includes the following
* * * * * * * *
programs for handling files:
The TSF2CM package is a sequel to TSFCOM, which now has grown rather large.
It is useful, but not necessary to have TSFCOM, to utilize the programs in
TSF2CM (and vice versa).
FILECOMP (Ver. 1.4)
==================
Compares the contents of two (text) files.
There are two modes in the program. Fast mode is for ordinary text files,
and slow mode for files with special characters in them, such as .com and .exe
files.
The program is mainly intended for comparing ordinary text files in the
fast mode. If you use the slow mode, it is advisable first to copy the target
files ramdisk. The slow mode will be slow even then. Note that applying fast
mode to files containing special characters will FAIL to detect many of the
differences in such files.
FILECOMP is written in Turbo Pascal 4.0, and demonstrates the possibility
of using several windows SIMULTANEOUSLY on a PC. Lack of true window
facilities and lack of multitasking are clear weaknesses of MS-DOS personal
computers, even compared to some low-priced home computers. What's worse,
the upcoming OS2 system may be too complicated for us amateur programmers.
(The news so far is discouraging.)
Release Notes 1.1: Since version 1.1, the screen can optionally be slowed
down.
Release Notes 1.2: Version 1.2 uses buffered input making the program
considerably faster. Also the directory facility has been improved.
Release Notes 1.3: Version 1.3 adds the option of two different ways of
calling the program:
FILECOMP
or: FILECOMP <first file> <second file>
Release Notes 1.4: The fast mode of comparison has been renamed text mode
and the slow mode is now called the other mode. The other mode has been
rewritten to increase its speed drastically. This was achieved by handling
the files as untyped in Turbo Pascal 5.0 and using fast BlockRead routines
and buffering for reading.
Read-only files no longer should cause a problem, but can be compared as
they should. (The reason for the problem was that by default Turbo Pascal
cannot find read-only files as missing unless special programming measures
are taken. Hidden files cannot be compared, although even this could be
arranged.)
The files to be compared are given as parameters. If the files are not
found, version 1.3 required exiting the program. This has now been corrected.
The file names are expanded by version 1.4 to show the complete path.
- 3 -
FILEQLPC (Ver. 1.2)
In ASCII transfer from Sinclair QL to PC the end-of-line code transmitted
by QL is <CR> i.e. ASCII 13, while it should be <CR><LF> i.e. ASCII 13, 10.
FILEQLPC performs the conversion on a file transferred from the QL.
This program is not, however, limited to adjusting QL --> PC files, but
any text files, where the end-of-line sequence is <CR> or <LF> instead the
ordinary <CR><LF> sequence.