home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
info
/
dostrain.arc
/
STRIP.DOC
< prev
next >
Wrap
Text File
|
1986-02-07
|
5KB
|
133 lines
TEXT FILE HIGH-BIT STRIP ROUTINE
Version 2.1
***********************
SPECIAL NOTE:
If you have Version 1.0 of STRIP, note the difference in the
use of switches (they are now appended to the filespecs), the
fact that /d has been added, and that the switches now turn off
the options rather than turning on the option.
***********************
PURPOSE:
WordStar and other text editing software can use the eigth
bit for special purposes that cause the text file to print to
the screen in an unacceptable manner. This program strips off
the high bit so that one can use the power of full text
editing and still have a usable document for teleprocessing to
CIS.
HOW:
Either enter the name STRIP at the DOS prompt and answer the
questions or enter some or all of the information at the command
line:
STRIP [source file[/s/d] [destination file[/s/d]]]
where:
1) the source file must be a text file. If omitted,
the program will prompt for both the source and
destination files.
2) the destination file cannot be specified unless the
source is given. If omitted, the program will
prompt for it.
3) /s is a switch that tells the program to suspend
the listing of statistics. The default is ON
meaning that statistics will be given. Because
this option slows the process somewhat, it is
suggested that statistics not be shown on long
files unless required.
4) /d is a switch that tells the program to suspend
the display of both the original and new document
files. The default is ON meaning that the
documents will be displayed. Because this option
slows the process somewhat, it is suggested that
the switch be set, turning off the display, on long
files.
5) File names support disk name, path, and file name.
6) Switches, if used, MUST be appended to either or
both filespecs and either on the command line or
during the interactive specification. They will
not cancel, so redundancies do not matter.
1
STRIP v2.1
FEATURES:
1) WINDOWS allow you to view both the source and destination
files as they are read and created, both at the same time.
2) The top line of the screen displays the two files selected
and displays the direction of flow.
3) Statistics gives the current text line being read, the
character in the line being read, and the byte count of the
source file.
EQUIPMENT:
STRIP.PAS is written in Turbo Pascal. It should work on any
IBM or compatible with PC/MS DOS 2.0 or higher.
FILES:
The following are included:
1. STRIP.COM is the compiled ready to run program.
2. STRIP.DOC is what you are reading now.
3. STRIP.PAS is the source code.
4. STRIP.TST is the DOC file in WS format. Use this as a
sample to test STRIP. WARNING: do not specify STRIP.DOC
unless you are sure that you wish to overwrite the file
provided here!
RULES FOR DISTRIBUTION:
None, however, altered programs should not be distributed. Any
suggestions for improvements or changes will be considered.
Please report any bugs to the author. Use E-MAIL if you prefer.
AUTHOR:
Russell J. Wintner, Compuserve [74736,2255]
VERSIONS:
V1.0 January 27, 1986
First release.
V2.0 February 4, 1986
1) Add /D switch to suppress display of document
2) Switch /S now suppresses statistics instead of the reverse.
3) The default state is display ON | stats ON.
4) Specifying /D/S effectively speeds up execution. Even /S
is a dramatic improvement over V1.0.
5) Switched may now be specified affixed to either filespec,
on the command line, by prompt, or both.
V2.1 February 7, 1986
1) Correct version number on screen display.
2) Correct statistics (line and column were reporting 2
times actual).
---end.
2