home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR21
/
LED12.ZIP
/
LED.DOC
next >
Wrap
Text File
|
1993-08-22
|
9KB
|
188 lines
Lan EDit version 1.2, Copyright 1993 Gary Myers
Introduction
The purpose of Lan EDit is to simplify a process that all Dos
users must eventually face. Making changes to the system's startup
files is not something we do on a daily basis, but when the need
arises to do so, it can be a very frustrating experience. The lack
of a friendly interface to Dos can be intimidating to the novice,
and even the old timers can get their blood pressure up when a
simple typo causes system failure and lost work time. The task can
be even more difficult to accomplish when you are working with an
inexperienced user over the phone. Lan EDit's origins are in such
an environment.
Lan EDit is not a replacement for your favorite word processor,
or even a simple text file editor. It's features are specific to
Dos batch file syntax, trying to fill in the gap between simple text
editor and an intelligent Dos interface. Here's a list of what Lan
EDit can do:
* Quickly load the 7 most frequently edited files on the network.
* Automatically rename and restore configuration files for testing
the system without them.
* Set up a "vanilla" Dos environment with just a few key presses
for testing the system without TSR's loaded.
* Insert a PAUSE after each command in a batch file with
ECHO set to on so you can single step through the file looking
for errors. Restore the original with a few key presses.
* Get information about the Dos and Network versions, and other
settings. Also displays network drive and server connections.
* Add or remove the network drivers from the Setver table if
using Dos 5.0 or higher. (See the on-line help for why.)
* View the Dos memory report (Dos 5.0 & up) with a single key.
* Easily change the location of the 7 preset files to another
disk drive, or even another Server on the network. You can
override the default directories of WINDOWS and LANTASTIC with
environment variables (LAN_CFG and WIN_CFG).
* Keeps a History of up to 64 previously edited files without
duplicates. Can load these files from a menu, or scroll though
them from hot keys (ALT+B and ALT+N).
* Can load "Other" files from a menu system that can search the
PATH for files, load from other Servers, and filter file types
to keep it simple.
* If the current file runs another batch file, you can JUMP to the
2nd one with a single key press (F4 with cursor on the command).
* Context sensitive help in all Menus and most error messages.
* Help on Dos and Net commands. While editing a file simply press
F1 to get syntax help for the command. You can even edit the
current line while viewing the help.
* An index to help for Dos commands.
* LED is a line editor only. To some this may be cumbersome at
first, but it is critical to preventing typo errors. You must
select a line to edit first, and if you make so many errors that
you get lost, simply press ESC to restore the line.
* F-Keys when editing a line to enter slashes, back slashes and
pipe symbols. These keys can be very difficult for the novice
to locate.
* Lines are limited to 127 characters, the most Dos can use. You
can edit batch files up to 64k is size.
* Move a line within or between files with a single F7 key.
* REMark/unREMark, Loadhigh/unLoadhigh and Duplicate with one key.
* Paste the current network connections into the batch file with
a single key (ALT+C).
* Enter basic NET commands from a menu system to prevent typos (F12).
* Standard editor feature such as COPY, CUT, PASTE a line or block
of lines within or between files. Also has FIND, SEARCH & REPLACE,
GOTO line, and PRINT options.
Installing Lan EDit
Simply copy the files LED.EXE, LED.HLP, and LED.DOS to any
directory in your PATH. You only need the EXE file, but all three
are required to get on-line help. If your network and Windows
directories are not the default ones, LED your Autoexec.bat and
add these commands:
SET LAN_CFG=<network drive\directory>
SET WIN_CFG=<windows drive\directory>
Examples:
SET LAN_CFG=C:\NETWORK
SET WIN_CFG=D:\WIN
In order to get on-line help for NET commands, the NET.HLP
file from the network software must also be in the PATH. Lan EDit
will add LAN_CFG (or the default) to it's own PATH environment if
your PATH doesn't already have it.
Lan EDit requires Dos 3.1 or higher. Enough disk space for
backup copies of files edited and a small temp file when viewing
Setver or Memory reports is also required. To use the network
features, the network REDIR.EXE program must be running. Lan EDit
can run in as little as 114k of memory. You must have about 274k
free to use the Memory and Setver commands. If you have less
than 224k free, Lan EDit will reduce the size of it's text buffer
and clipboard to use what memory is available.
Using Lan EDit
To start the program simply type LED and press enter. You
can override the default drive for preset files and file open
menus with LED <drive:>, where <drive:> is the new default.
Example: To preset the files on drive G:, use LED G:
To edit a file without the main menu use LED <path\filename>
where <path\filename> is the file you want to edit.
The program is very easy to use. Help is available for all
menus, and a tip line at the bottom of the screen reminds you of
most valid key presses. When getting syntax help on Dos and Net
commands the line is searched from left to right for matches. Press
the space bar if the first match isn't what you need. Press ENTER
to edit the current line while viewing the help. ESC will abort
most commands, and warn you of unsaved changes. The file you are
currently editing is displayed on line 2. If the file is on another
Server in the network it's network path is shown.
Edited files are automatically saved with an extension of .OLD
and RENAME, VANILLA and PAUSE commands save the original with an
extension of .LED. The RESTORE command only restores files from
the .LED copy, and after successful restore the .LED file is removed.
The options for Setver Table and Memory Report only show on
the menu if using Dos 5.0 or higher.
* * * * * * * * * * * * * Acknowledgements * * * * * * * * * * * * *
This program was written and compiled using Borland Turbo C++, and
linked with the C library routines from the Lantastic Programmers
Interface.
Artisoft, Lantastic, Dos, Borland, Turbo C++, Microsoft, Central
Point Software and anyone else not mentioned are the trademarks
of their respective companies.
* * * * * * * * * * * * * Warranty * * * * * * * * * * * * *
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY
OF ANY KIND, WHETHER EXPRESSED OR IMPLIED. THE ENTIRE
RISK AS PERTAINING TO THE USE OF THIS SOFTWARE IS COMPLETELY
WITH YOU, THE USER. THE AUTHOR ACCEPTS NO LIABILITY FOR
ANY DAMAGES, INCIDENTAL OR CONSEQUENTIAL, CAUSED BY THE
USE, OR INABILITY TO USE THIS SOFTWARE.
This program is NOT an official Artisoft product. Since
it is basically freeware, there will be no support for this
program. If you have any problems or suggestions you may
send them to the address below, but a response is not
guaranteed.
The author retains all copyrights to Lan EDit and this
documentation. Registration of the program is not required.
However, a donation of $20.00 to encourage further development
and show appreciation for the work that has gone into it
so far may be sent to:
Gary Myers
PO Box 36764
Tucson, AZ 85740
Those who do donate will receive the latest version of the
program without the DISCLAIMER screen.
THANK YOU!