VDE
VDE
VDE
DOC
-------
Instructions for the VDE Editor:
version 1.65C (01 Jun 1993)
(c)1987-93, E. Meyer
(For use of the VINST installation utility, see the file VINST.REF.)
=============================== 1. ABOUT VDE ===============================
There has been a growing trend among retail word processors to emulate
desktop publishing software, making elaborate provisions for font variations
and page layout, and trying to present a graphic representation of the printed
result on screen. These hybrid programs consume lots of disk space and
memory, and have sluggish response times even on the fastest computers; their
design ignores the fundamental fact that writing and page layout are two
completely different processes. Of course computers can make both tasks
easier, but apparently not with the same software.
NOTE: VDE 1.65 is no longer the most recent version of the program. It
is being kept available for users who require its ability to run on any MSDOS
system supporting ANSI screen controls. As of version 1.7, VDE runs on IBM PC
near-compatibles only. If you have such a computer, you will want the latest
version of VDE, which now offers an integrated spelling checker to registered
users. You can indicate your choice on the order form.
Shareware works when users give program authors useful feedback, and most
of all, when users support authors by registering their programs. This makes
it possible for quality shareware to continue to develop and improve. VDE
would not have become what it is now without this kind of support. Please
support shareware by registering any programs that you use.
The use and distribution of VDE are governed by the "COPYRIGHT AND
LICENSE" information below. Please read this carefully!
Be sure you have all the files which should be included in this package:
VDEOPT.DAT - Optional data file for EGA/VGA screen size changes (AltE).
WS4.VDF - Function key definitions for compatibility with WordStar.
WP.VDF - Function key definitions for compatibility with WordPerfect.
EXAMPLES.VDK - Several macro key definitions from the examples in VDE.REF.
CTRLCAPS.COM - Utility to let [CapsLock] key act as [Ctrl] (see CONTROL KEY).
COPYRIGHT AND LICENSE INFORMATION
PERSONAL USE. If you find VDE valuable and continue to use it, you are
encouraged (but not required) to register, and help support the
development of high-quality, affordable software:
INDIVIDUAL REGISTRATION ..... $35 (US)
Registered users receive several benefits:
* A copy of the latest version of VDE (and other useful
programs) on disk direct from the author.
* Support. You can get help with any questions or
problems you encounter in using VDE. Future upgrades can
be ordered on disk when desired.
* Your registration verifies the legality of your
personal use of VDE at your workplace as well.
SITE LICENSES. Any company or institution wishing to use VDE in the course of
its business MUST purchase a SITE LICENSE. The cost of the license is
quite modest, and varies according to the number of computers on which VDE
may be in use in the workplace:
Up to 5 copies................. $50 (US)
Up to 10 copies............... $100
Additional copies over 10....... $5 each
The purchaser of a site license receives several benefits:
* A copy of the latest version of VDE (and other useful
programs) on disk direct from the author.
* Support. You can get help with any questions or
problems you encounter in using VDE. Future upgrades can
be ordered on disk when desired.
* A license documenting the legality of your company's
use of VDE.
* Your employees can use VDE at home and share it with
friends without raising issues of software piracy.
COMMERCIAL SALE. Any software dealer or library may offer VDE for sale, as
long as the price charged for the disk containing VDE does not exceed US
$6. With this single exception, the sale of VDE, either alone or together
with other software or hardware, requires a licensing agreement. Please
write for terms.
ORDERING AND SOURCES. Site licenses and individual registrations may be
ordered directly from the author (see address below), by check or money
order in US currency; purchase orders are also accepted.
CREDIT CARD ORDERS ONLY (VISA,MC,AmEx,Discover), including
international, for licenses and registrations may be made through the
Public Software Library: phone (800)242-4775 or (713)524-6394, FAX
(713)524-6398, CompuServe [71355,470]. Mention item #10303. (There is a
$5 surcharge for this service.)
VDE is distributed widely through "shareware" channels. Users with a
modem can download the latest version as the archive file VDExxx.ZIP,
available from either of the two primary distribution points:
(1) Glendale Litera BBS - Glendale, CA (818)956-6164.
(2) On CompuServe, in download library 1 (DL1) of the IBMAPP forum.
In addition, VDE is available on a variety of other remote systems,
and by mail from many good software libraries, including the Public
Software Library, P.O. Box 35705, Houston TX 77235. (Disk #1933)
FOREIGN USERS. VDE has a growing number of users elsewhere in the Americas,
Europe, and the Far East. In many countries, retail software is scarce or
expensive, and shareware is an even more attractive alternative.
Registrations from overseas are warmly encouraged, and users receive full
support, including disks by airmail, at no extra charge. Payment can be
made by international credit card through Public Software Library; or you
can send money orders in US currency, drawn on a US affiliate bank,
directly to the author. Modest amounts of US cash ($50 or less) can also
be sent safely by registered mail.
The author would also like to hear from anyone interested in
collaborating to produce a foreign language version of VDE.
Please write for further information about VDE. Address correspondence to:
Eric Meyer
3541 Smuggler Way CompuServe: [74415,1305]
Boulder, Colorado 80303 USA Internet: 74415.1305@compuserve.com
INSTALLATION
Most users will have an IBM compatible computer, and can begin editing
with VDE straightaway. Before long, though, you should use the VINST program
to customize the display and many other options to your tastes. (Once you
have done this to your copy of VDE.COM, the welcome/copyright screen that
displays when you first enter VDE will no longer appear.) For example, VDE
operates by default in MenuBar mode. If you dislike menus, or want easier
access to the macro/programming Esc-key commands, you must change this with
VINST (or select {Misc:Command mode} each time you enter VDE). You will
eventually discover the settings you prefer for the many other options and
defaults, as you become more familiar with VDE. [See VINST.REF for details.
Comments below in brackets "[]" point out various uses of VINST.]
(1) MenuBar mode guides you straightforwardly to the functions you need.
Suppose you want to underline a string of text in your file. Just press
[Esc], and the main "menu bar" will appear:
------------------------------------------------------------------------------
File Block Delete sEarch formaT stYle Set sCreen Print Misc User
------------------------------------------------------------------------------
Underlining is a matter of type "stYle", so type "Y" (the highlighted letter)
to bring up the style menu bar, which gives choices "Underline", "Bold", etc.
Finally, select "U" for underline; the code will be inserted in the text.
In the text below, MenuBar commands will be referred to in the following
manner: {stYle:Underline}
This designates selecting st"Y"le, then "U"nderline from the menu bar sequence
(you actually type Esc,Y,U). Most, though not all, of VDE's functions are
available from the menu bars. [Others can be added to the User menu bar.]
You can also begin learning the VDE command set in MenuBar mode, since
the standard commands (such as ^PS for underlining) also work.
HELP
ON-LINE HELP: You can get a brief reminder of the command set anytime you
like by pressing ^J or [F1] for help. A summary of the simple control-key
commands will appear; press [PgUp/Dn] or [^/v] to page through other commands,
or press A, E, K, O, P, or Q to display the Alt-key, Esc-key, ^K, ^O, ^P, or
^Q-commands instead (or F for a list of file modes, or J to return to the
original screen). Once you have found the information you needed, press [Esc]
or [Space] to exit from the help menu.
THE MANUAL: if you need more extensive help while learning to use VDE,
turn to the manual (the three .DOC and .REF files). It is distributed on
disk, rather than in printed and bound form, for two reasons:
(1) It's easier to search for help electronically than to flip through a
printed index. Simply edit the file with VDE and use the find command (^QF or
{sEarch:Find}) to locate the information you need instantly. You can even
load VDE.REF as an additional file along with your own writing work. Then, if
you can't recall, say, how to get a word count, one keystroke can take you to
the manual to search for the phrase "word count".
(2) It saves trees, the pollution of paper production, and the choking of
landfills with waste paper. Not everyone will need or want a printed copy of
the manual. Of course, if you do, you can use VDE to print out any portion of
it that you desire, to have for reference at your desk.
---------------- B. STARTING AND ENDING AN EDITING SESSION -----------------
Let's suppose that you have VDE.COM in a directory called C:\EDIT. The
simplest way to run VDE is to type its name at the DOS prompt:
C:\EDIT>vde
When you do this, you will be presented with an empty work area, called
"untitled", to write in. Feel free to type in some text, use the arrow keys
to move around, or experiment with any of the commands described below.
If you already have a disk file that you would like to review or modify,
you simply need to provide its name, for example:
In the first example, the file MY.DOC is found in the current directory
(C:\EDIT), and is loaded in the default file mode, which is "/D", or document.
In the second example, the file AUTOEXEC.BAT is found in the root directory of
drive C: (note the "\"), and the following option "/N" loads it as a NON-
document (a file consisting of fixed lines, rather than paragraphs of text).
You can also specify other files to edit concurrently, and data files (key
definition, printer driver, etc) to load. (See SYNTAX.)
VDE can edit many different types of files: nondocuments, such as batch
files or program source code; or documents with formatted text, in either pure
ASCII or formats compatible with WordStar, WordPerfect, XyWrite, NotaBene,
Microsoft Word, and other word processors. (See FILE MODES, COMPATIBILITY.)
The maximum individual file size is roughly 80k (80,000 characters). If an
existing file is too large to edit with VDE, it can be divided up (see
SPLITTING FILES).
VDE gives you an informative "header line" at the top of the screen,
including the file name, the current position (by Page, Line, and Column), and
cryptic little "flags" showing the status of various editing options. (For
details see HEADER.) At times, further information may be provided below this
by various menus or error messages. If any commands require user input, a
"prompt" line (like "New value:") will appear below the header. Press [Esc]
to remove any menu or prompt; errors will clear by themselves.
You can change the name and/or file mode associated with your current
work (which are visible in the header) at any time with the command:
^KE or {File:Rename}
(If you issue a command to save "untitled" work to disk, VDE will automati-
cally prompt you to rename it first.)
^KX or {File:Exit}
and ^KQ or {File:Quit}
The first saves your work, and is the normal way to end your editing session;
the second does not save, in case you've made mistakes and don't wish them
saved as modifications to the file you were working on. Both commands will
return you to the DOS prompt. (Others allow you to remain in VDE to edit
another file; see SAVE/EXIT.)
"Backup files" are a good way to guard against losing earlier work. When
you save changes to MY.DOC, the original version of the file is not lost: it
is renamed MY.BAK. Thus, if you decide that the recent changes were a
mistake, you can recover the previous text from the BAK file. [If you prefer
to save disk space, you can choose not to preserve BAK files.]
------------------------- C. TYPING AND CORRECTING -------------------------
^V or [Ins]
Some people like to use overstrike mode (which is most like a typewriter)
when writing a first draft, and insert mode when revising; others prefer to
remain in insert mode all the time. You will discover which approach suits
your own writing habits.
You will often need to correct mistakes, and the computer makes this very
easy. Besides simply overtyping, there are many commands to remove unwanted
text from the file (see DELETING). The most commonly used are:
Another command, useful for deleting larger amounts of text, removes the
entire line that the cursor is on:
^Y or {Delete:Line}
^U or {Delete:Undelete}
Use this command immediately after the deletion accident. If you deleted a
block, it will be replaced. If you were deleting lines, words, or characters,
or overtyping characters, you can press ^U repeatedly to recover each previous
deletion in order.
--------------------------- D. MOVING THE CURSOR ---------------------------
Obviously, you need to be able to move the cursor around, in order to add
or delete text at different places in the file. The simplest way is with the
"arrow keys" on the IBM keyboard (or the WordStar "cursor diamond"),
[^] ^E
[<] [>] or ^S ^D
[v] ^X
which will move the cursor (as you might expect) up, down, left, or right.
Notice that the cursor moves within the TEXT, not simply at will on the
SCREEN: if you move to the right past the end of a line, you will find
yourself at the start of the next. If you move up or down to a shorter line,
the cursor will wind up at the end of the line, not beyond it. To advance
beyond the current end of a line, you must add text (for example, spaces).
Remember that the screen is a window into the text, and that window
shifts when necessary. If you move the cursor beyond the edge of the display,
it will "scroll" (horizontally or vertically) to show the text you moved to.
Once you have a sizable amount of text, there are many further commands
to allow you to move around more rapidly (see MOVING AROUND). The most common
are:
^A and ^F or ^[<] and ^[>]
to move the cursor back and forth an entire word at a time; and
These commands move the cursor up and down through the text by about one
screenful, causing the display to scroll. In addition,
may be used to move instantly to the top or the end of the file, respectively.
------------------------ E. THE SCREEN AND WINDOWS -------------------------
VDE normally presents you with a header line and a screen full of text,
24 lines of 80 columns. There are many things you can do to change the size
(on EGA/VGA systems) or appearance of this display, or to cause it to
"scroll", showing a different portion of the text (see SCREEN CONTROLS).
^OT or {Set:rUler}
This adds a "ruler line" below the header, indicating margins, tab stops, and
the current cursor column. (See RULER.)
If you think of the screen as a "window" into your text, you can imagine
splitting it in half and having windows into two different portions of text at
once. This is a very powerful tool for comparison, revision, and other
purposes (see WINDOWS). There are two commands to produce such a split
window:
^OW or {sCreen:Split}
and AltW or {sCreen:Dual}
The first allows you to examine two areas of the SAME file at once; the second
shows you two DIFFERENT files. In either case, once you have two windows on
screen, the command:
is used to move the cursor back and forth from one window to the other. (An
imitation "cursor" remains in the inactive window to mark your place.) Like
many other VDE commands, the window commands are "toggles": if you want to get
rid of the split window, use the same command a second time to remove it.
--------------------------- F. TEXT FORMATTING -----------------------------
The fundamental thing, of course, is to keep the text within the desired
margins. The left and right margin columns can be set with the commands:
Typical margins are 1, 66 for pica type, or 1, 78 for elite; you can vary them
as desired, however, and mix different formats in a single file.
This left margin command is ordinarily used only for indenting portions
of a text. To specify the physical margin that should always be left at the
edge of the paper when printing, see the left margin setting in PRINTER
INSTALLATION.
Once margins are set, WORDWRAP occurs automatically. If you type past
the right margin, the word will be moved to the next line; if you type outside
the left margin, the cursor will advance to it. If you need to type outside
the current margins, change them or RELEASE them with the command:
Wordwrap will format your text properly as you type; but notice that if
you go back to make additions or deletions afterward, these will often leave
short or overlong lines, disrupting the flow of the paragraph. There is a
simple command to fix this:
^B or {formaT:Reform}
This will cause the entire paragraph to be reformatted. Note that you can
also use this command after changing margins or spacing, to reshape the text
to the new format. The first line of a paragraph may be indented in any way
desired, and reformatting will preserve this.
If you prefer, however, VDE can make the reformatting process completely
automatic, with the command:
When this is on, the "AF" flag appears in the header, and manual reformatting
is no longer necessary: VDE will continually reformat while you work; if you
change the margins or edit text, you will instantly see the result.
With auto format, you need to be a bit careful about mixing different
formats, since there will be a tendency for edited text to get reformatted to
the CURRENTLY set margins and spacing, which may differ from those in effect
when it was written. (If you goof and allow this to happen, simply reset
things as they should have been to restore the format before continuing.)
^OA or {formaT:autoIndent}
You will see the "AI" flag in the header, and the behavior of wordwrap (and
the [Enter] key) will be changed in order to preserve the indentation and
structure of existing text. Each time the cursor wraps over to the next line,
it will indent automatically to match the previous line of text.
(Auto indent does work in nondocuments as well; see AUTO INDENT.)
You may find it useful to know a little about how VDE handles text. Many
word processors store special hidden codes in a file to indicate paragraph
boundaries or changes of format, and calculate the result each time the text
is to be displayed or printed. VDE, however, uses no such codes; it just
formats the text according to your request, and stores it that way as a simple
text file.
Therefore, VDE's ability to reformat text in a document depends upon a
subtle distinction: when wordwrap occurs, a space is left at the end of the
line, which indicates that the CR (Carriage Return) is "SOFT", introduced (and
later removable) for formatting purposes. On the other hand, when you
actually hit [Enter] to end a paragraph, you get a CR with no preceding space,
which means it is "HARD", a permanent boundary for formatting the paragraph.
(A little arrow appears on screen to indicate this.) Exercise care when
typing at the end of a line: you can change a hard CR into a soft one, or vice
versa, by deleting or adding a space at the end of the line.
(Note: this means that [Enter] is NOT a key to use simply to move
downward through the file. It will do that, but will harden all the CRs as
well, obstructing future reformatting.)
---------------------- G. SEARCHING AND REPLACING --------------------------
You will be asked for the string to find (and then, any options desired); the
cursor will move to that location in the file. (You may instead see an error
message if the string cannot be found.) You will find yourself using this
command constantly, for example to look up information, or to move to a
desired location in the file.
^QA or {sEarch:Replace}
You will be asked for the string to find, and then the string to replace it
with. The cursor will be placed in succession on each occurrence of the
string, starting at the cursor location. (You will see the prompt "Chg?" in
the header.) To change this instance, press "Y"; pressing "N" skips to the
next with no change. To change all further instances without being asked
individually, press "*" instead. [Esc] cancels at any time.
There are several options for find and replace; after you enter the text
string(s), you will be prompted to select them. Just press [Enter] again to
skip the options for now -- or, if you want to experiment, try one of these:
"B" = search Backward through the file, instead of forward.
"U" = case insensitive search - ignores Upper/lower case, so
"corp" will match "Corp", "CORP", etc.
For further details, see FIND/REPLACE.
If you want to continue the last find or replace operation without typing
the strings in all over again, you can use the simpler command:
^L or {sEarch:rePeat}
This can be used, for example, repeatedly to find the particular occurrence of
a string that you want.
--------------------------- H. BLOCK OPERATIONS ----------------------------
When the first marker is placed, you will see it as a bracket "{}" in the
text. When both are in place, the block is properly "marked", and its text
will be shown in a contrasting color (on IBM compatibles). You are now ready
to operate on the block with a wide variety of commands (see BLOCK COMMANDS,
AUTO NUMBER, PRINTING, UPPER/LOWERCASE). Actually, most of these will work
even if you've only marked one end of the block, by assuming the current
cursor position as the other end -- so you don't have to type the other block
mark command first.
The most common commands are to copy, move, or delete the block. Copying
or moving a block can be initiated with:
AltC or {Block:Cut}
A copy of the text within the block is now in an internal buffer. You can now
place this text anywhere else you like, by moving the cursor there and using:
AltP or {Block:Paste}
If you want to delete the marked block, you can use the command:
You can move a block by cutting it, pasting it somewhere else, then
deleting the original. Alternatively, you can copy and move blocks within a
single file a little more efficiently using the block copy/move commands, ^KC
and ^KV (which are not on the Block MenuBar).
-------------------------- I. GETTING A PRINTOUT ---------------------------
The first thing to know about printouts is how to avoid unnecessary ones.
Computers were supposed to reduce the use of paper in offices, by storing
information electronically; instead they have enormously increased paper
consumption. VDE is designed to minimize the need for printing drafts of your
work; you can move around the file and make corrections so quickly that it is
easier to edit at the keyboard in the first place than to mark up printed copy
by hand, then type in the corrections. It also offers a simple command to
check the alignment and pagination of text on screen before printing, to avoid
mistakes:
^OD or {Print:preView}
In preview mode, you can scroll through the file, examining it as it will
print: printer codes are hidden to show the actual alignment of text columns,
and pagebreaks are shown as dotted lines. (See PRINT PREVIEW.)
^KP or {Print:File}
There are many options available to select header text, number location,
the portion of the file to print, and so on (see PRINTING). You can print on
any size paper or label, or address an envelope (see ENVELOPES). But for now,
just ignore all this -- turn your printer on, press [Enter] at the prompt, and
see what happens! (If you don't like the results, or if it's a long file and
will take forever, simply press [Esc] to interrupt and cancel.)
There are various "printer codes" that you can place in your file to
produce different effects. One that's particularly useful is:
(Watch the page/line counts in the header as you do this; you will see that a
new page now begins there.)
In addition, two of the printer "toggles" will work with any printer
driver, including SIMPLE:
These toggles must be inserted pairwise, to mark the beginning and end of the
affected text; for example,
The toggle displays onscreen as a highlighted letter "S"; in the printout, the
word will actually be underlined. Similarly, further effects such as
boldface, italic, and super/subscripts, are possible with more specialized
printer drivers. (See PRINTER CODES.)
----------------------- J. EDITING ADDITIONAL FILES ------------------------
AltL or {File:Open}
After doing this you will see the flag "+" in the header, to remind you that
more than one file is being edited. Think of these files as waiting in line
for your attention; to bring a different file onto the screen (or current
window), use:
AltB, AltN or {File:Prev, Next}
VDE has a variety of commands that take advantage of the ability to edit
more than one file at once. For example, you can divide the screen into two
windows to show two different files (see WINDOWS), compare the text in the two
files (see MATCHING FILES), or conduct find and replace operations across all
files (see FIND/REPLACE). There is also a convenient "file browser" that
allows you to view and select files from a directory listing (see FILES).
--------------------------- K. WHAT IS A MACRO? ----------------------------
But you can define a macro that does exactly that, and then store it to a key
for use whenever you need it! So try out the Macro Record command:
(NOTE: the Esc" command won't work in MenuBar mode.) You will see a quote-
mark flag (") appear at the right side of the header. Now type exactly the
sequence of margin commands above, using either control-key commands or
MenuBars, while VDE is recording. (Be careful not to make any typos; if you
do, quit and start over.) When finished, issue the Macro Record command a
second time to end recording.
VDE asks "Use now or Store?" and you reply:
"S" (since you want to "Store" this to a key for later use)
VDE asks "Make Quiet, No-repeat, Both?" and you reply:
"B" ("Both" sounds nice, doesn't it? See MACROS to learn why)
VDE asks "Store to key:" and you press:
[F2] (for example)
You just defined a macro and stored it to a function key! Now every time
you press [F2] the margins will be instantly reset to 10, 58. Obviously you
could do the same thing for margins 1, 66, and store that on another key; and
you'd be all set to change from one set to the other with a single keystroke.
If you were going to be writing this sort of document all the time, you would
eventually want to use VINST to define those keys permanently in your copy of
VDE.COM.
VDE macros can get a lot more complicated than this, but those most often
used are of exactly this simple sort. Now that the concept has been
demystified, here is some further explanation:
A "macro" is a string of VDE commands and/or text that you can type in
once and then have repeated automatically. The "macro definition" command
Esc[ lets you type in such a string quickly and directly; the "macro record"
command Esc" memorizes the string while you use it as you normally would in
editing. A "function key" is a macro stored to one of the [F1]...[F12]
function keys, while a "macro key" is a macro stored to a key combination
Esc0...9 or EscA...Z; these can all be defined temporarily while editing, or
permanently with VINST. "Macro programming" involves the use of special
commands which perform more complex operations including loops, tests, and
jumps, much like a programming language. (See MACROS.)
Macros execute EXACTLY as though you had typed the given keys yourself;
this means that every keystroke, including answers to prompts, [Enter]s, and
so on, must be properly included, so plan ahead carefully, with pen and paper
if necessary. (Exception: confirmation warnings like "Abandon(Y/N)?", which
may or may not occur in normal usage of commands affecting disk files, do NOT
occur when a macro is running, so never include a confirming "Y".)
You can use virtually any commands in macros, though for a start you
could experiment with text phrases and simple formatting changes (try creating
a personalized letterhead on a macro key).
VDE's 84 user-definable macros allow you to customize it for any task,
such as the formatting requirements of specialized professional writing, or
many programming languages. (See MACRO and FUNCTION KEYS.)
================================ 3. SYNTAX ================================
Now it is time for the complete details of using VDE, starting with
command line syntax:
To run VDE, you can just type "VDE", with no arguments; or, you may
specify a list of up to 8 filenames. Any filename may include wildcards, a
DOS directory, line number, and/or mode option. Spaces or a comma may be used
to separate filenames. Optional data file(s) may also be specified at the end
of the command line, following a semicolon ";".
"/m" or " m" - optional choice of file modes: "m" can be "D"ocument,
"A"SCII text, "W"ordstar, WordStar "5", Word"P"erfect, "X"yWrite/NotaBene,
"M"icrosoft Word, or "U"nformatted document; or "C"-source or "N"ondoc-
ument. Normally defaults to "/D". Must be separated from filename by
slash and/or space.
";name.VD_" - optional VDE data file(s) to load, must have file type
.VDF, VDK, .VDP, .VDC, .VDG, or .VDI. Files must reside in the specified,
current, or VDE directory. See DATA FILES.
=========================== 4. COMMAND SUMMARY =============================
SPECIAL KEYS
Press [Esc] to call up the main menu bar; select a sub-menu by typing the
capitalized, highlighted letter, then select a command from it. The [Esc] key
can be used to return to the main menu, or (from the main menu) to return to
editing. For explanation of any selection, look up its command equivalent:
II. FILE AND BLOCK COMMANDS: first press ^K, then the key shown.
III. QUICK COMMANDS: first press ^Q, then the key shown.
IV. ONSCREEN COMMANDS: first press ^O, then the key shown.
^OR,^OL = set Right, Left margin. ^OX = toggle Margin Release on/off.
^OC = Center text on line. ^OF = make line Flush right.
AltC,P = Cut and Paste a block from one place or file to another.
AltM = Match up the two files on screen, showing differences.
AltX = eXit (^KX) from all files. AltQ = Quit (^KQ) from all files.
AltR = Run DOS command (or shell). AltS = Split up a large file.
VI. ESC-KEY COMMANDS: first press [Esc], then the key shown.
(In MenuBar mode, access via {Misc:Esc}.)
VDE-SP (by Fred Haines) is a set of key definitions designed to make VDE
a word processor dedicated to writing stage or screen scripts.
RJ (by Tom Kallal) is a utility that can right-justify any text file
before printing. This could be convenient for those who want right-
justified printouts of text that wasn't formatted that way in VDE.
CONTROL KEY (CTRLCAPS) - Like other programs that make extensive use of the
[Ctrl] key, VDE's commands may be awkward for users with "enhanced" or
nonstandard keyboards which put it in a less accessible location, and
[CapsLock] in the home row instead. Some keyboards can be reconfigured;
if yours cannot, the included CTRLCAPS utility can be used to give the
[CapsLock] key a dual function.
With CTRLCAPS active, you can press and release [CapsLock], and it
will function as it normally does; but if you hold down [CapsLock] while
pressing another key, it will function as [Ctrl] instead. This makes all
VDE's WordStar-style commands (^A, etc) easy to type once again.
To use CTRLCAPS (version 1.1), you can type:
CTRLCAPS for status report (and help if not installed)
CTRLCAPS ON to install (or reenable) this dual-function key
CTRLCAPS OFF to temporarily disable it
CTRLCAPS is a tiny memory-resident utility (TSR), and remains
installed until you reboot; do not load it from within another program or
shell. Once installed, you may change its status at any time.
DIRECTORIES - At any VDE filename prompt, you can always specify a directory
as well. Otherwise, the default directory assumed by the file commands
(^KL,^KR,^KE,^KF,^KJ; AltL) is that of the current file; when editing
multiple files, this can differ from one to the next. The directory does
not display in the header, but is shown by the ^KI and ^KF commands.
The current DOS directory remains unchanged, and is shown by the AltR
command, for which it is the default directory. (It can be changed at the
AltR prompt.) You will return to this directory upon exiting VDE.
You can use the DOS "SET" command to define an environment variable
designating a special "VDE directory" where associated files (VDEOPT.DAT,
*.VDx) can be kept, for example:
C:\>SET VDE=C:\UTIL
(This command can be put in your AUTOEXEC.BAT.) If such files are
referenced on the command line (see SYNTAX) or with the AltU command (see
DATA FILES), with no directory specified, VDE will look for them in this
directory before checking the current one. If you have not set the VDE
environment variable, the "VDE directory" defaults to the root directory
on the current drive.
FILE MODES - VDE has many "file modes", each designated by a different letter
code, for editing documents in simple ASCII text, documents in various
word-processor formats, and nondocuments (BAT or SYS files, program source
code, etc). For a list, press ^JF.
The file mode option can be specified along with the filename at any
VDE file function prompt (such as "Read in file:"), allowing you to read
or write text in whatever format needed. [The default mode is /D, but
this can be changed, and exceptions declared, with VINST.] In general,
the document modes support word-processing features like wordwrap,
pagination, variable tabs, and print styles; nondocument modes do not.
Many VDE users will need only the /D mode for documents, and /N mode
for Nondocuments. But there are other variants for special needs: /U mode
is an Unformatted document, with carriage returns only at the ends of
paragraphs, a format used by some other software; it can also be useful
for editing on 40 column screens, since it will reformat to the current
margin settings when loaded for editing. /A mode is for "plain ASCII"
documents, differing from /D only by not interpreting control codes as
printer commands, so you can use it to view and print files that use codes
00-1F as IBM graphics. And /C mode is a nondocument, but differs from /N
by providing variable tabs and auto-indentation suitable for structured
programming languages like C or Pascal. All these modes use a simple file
format which is compatible with virtually all software (DOS, compilers,
database, telecom, etc).
The remaining document file modes /W,/S,/P,/F,/X,/M allow VDE to read
and write WordStar (version 3-4 or 5-7), WordPerfect (4 or 5),
XyWrite/NotaBene, and Microsoft Word files (see COMPATIBILITY).
CONVERSION: You can easily use VDE to mix text from several
different formats, or to convert a file from one format into another.
Just specify the appropriate mode with each file loaded or read in, or
change to the appropriate mode (with ^KE) before saving. (Note limits on
supported features in each format.)
PROMPTS - First, VDE has several simple prompts requiring you to confirm an
action by typing "Y" or "N". These warning messages appear on line 1
(though they are NOT given when a macro is running):
"Abandon changes?" - a file you want to quit has been changed.
"Unchanged; save?" - a file you want saved hasn't been changed.
"File exists; overwrite?" - such a file already exists and will be lost.
SPELLING CHECKERS. VDE 1.65 does not offer an integrated spelling checker,
which is available to registered users with VDE 1.7. However, VDE will
work with many different speller/thesaurus packages, including such retail
products as Webster's Professional, American Heritage Dictionary, Turbo
Lightning (Borland), MicroSpell (Trigram), and Wordfinder (Microlytics),
as well as shareware programs such as ShareSpell. Any speller will work
faster if you keep its dictionary files on a RAM or hard disk.
These programs can interface with VDE in one of two ways:
(1) The program may work in a stand-alone mode (at the DOS prompt),
taking the name of your text file as an argument. To use such a program
while editing, you need to save your file to disk, use the AltR command to
run the speller on the disk file, and then use ^KL to reload the corrected
file. The following macro key definition (store as no-repeat) makes this
operation simple; assuming the speller is SPELL.COM:
^KS AltR SPELL_^PF^PM Esc ^KL^PF^PM ("_"=space)
You need to make sure the file is in the format expected by the program;
if in doubt, ASCII (/A mode) is probably best. ShareSpell has no problem
handling VDE's printer control codes in /A files.
Note that if such a program makes changes to your text, you may need
to reformat the affected paragraphs afterwards with VDE.
(2) The program may be loaded as a TSR (resident program) before
running VDE; you then activate it with a "hot key" while editing in VDE,
and it checks spelling either while you type, or by reading the text that
is on screen. Most TSR programs require configuration before use with
VDE, though installation should be similar to that for use with WordStar.
Some TSR programs, including Turbo Lightning, will not work while
editing in VDE unless you choose the VINST option "XT keyboard type" [see
INSTALLATION].
More notes for Turbo Lightning users: The recommended "environment"
for VDE in TL has both "Backspace keys" set to NONE, and the "Delete key"
set to CtrlG. You will also need to use the "Insert/Overwrite setup" to
locate the "Ins" toggle in VDE's header. Do not invoke TL when VDE's
header is off or the screen size is other than 80x25, because it will get
confused. To avoid flagging printer codes as spelling errors, enter
preview mode (^OD) before using TL's "Check screen" function.
================================[end VDE.DOC]=================================