Category : Printer + Display Graphics
Archive   : CADET.ZIP
Filename : CADET.DOC

 
Output of file : CADET.DOC contained in archive : CADET.ZIP
















ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³
³ C A D E T ³
³ the CAD text EdiTor ³
³ ³
³ User's Manual ³
³ Version 2.0 ³
³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ



Copyright 1990 Steve Waskow
Wasco Technical Software

ALL RIGHTS RESERVED




Steve Waskow
Wasco Technical Software
1211 Grand Junction Dr.
Katy, Texas 77450

CompuServe 72020,2031





_______
____|__ | (tm)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER







.







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ DISCLAIMER AND LIMIT OF LIABILITY ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

STEVE WASKOW AND WASCO TECHNICAL SOFTWARE MAKES NO WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE, WITH RESPECT TO THIS SOFTWARE AND
ACCOMPANYING DOCUMENTATION.

IN NO EVENT SHALL STEVE WASKOW OR WASCO TECHNICAL SOFTWARE BE
LIABLE FOR ANY DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS
PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION,
OR OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
INABILITY TO USE THIS SOFTWARE, EVEN IF STEVE WASKOW OR WASCO
TECHNICAL SOFTWARE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ COPYRIGHT NOTICE AND TRADEMARKS ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

The CADET software programs and the CADET documentation are:

Copyright 1990 Steve Waskow
Wasco Technical Software

All rights to the CADET software programs and this document
are reserved by Steve Waskow and Wasco Technical Software.


AutoCAD & AutoLISP are registered trademarks of Autodesk, Inc.

IBM XT, AT and PS/2 are registered trademarks of the
International Business Machines Corporation.

MS/DOS is a trademark of Microsoft Corporation.

CompuServe and EasyPlex are registered trademarks of
CompuServe, Inc.

The ASP logo is a trademark of the Association of Shareware
Professionals.









CADET User's Manual ii Copyright/Disclaimer







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ TABLE OF CONTENTS ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ


INTRODUCTION ............................................... 1

SHAREWARE - "USER SUPPORTED" SOFTWARE ...................... 2

CADET AS SHAREWARE ......................................... 2

SYSTEM REQUIREMENTS ........................................ 4

SUPPORT .................................................... 4

INSTALLATION ............................................... 5
Typematic Rate Accelerator and CHKSPEED .................. 5
Symbol Translation ....................................... 5
Configuration Variables .................................. 6
Automated Installation ................................... 7
Manual Installation (Optional) ........................... 8
First Time Users ......................................... 9

EDITING OR EXPORTING TEXT WITH CE.LSP ..................... 10

CREATING NEW TEXT WITH CC.LSP ............................. 11

IMPORTING A TEXT FILE WITH CI.LSP ......................... 15

USING THE CADET EDITOR .................................... 18
Sorting Order ........................................... 20
View Relative Text Positions ............................ 21
Zoom Toggle ............................................. 21
Inserting and Deleting Text Lines ....................... 21
Block Operations (Cut and Paste) ........................ 23
Search and Replace, Find Text ........................... 26
Changing Height, Case and Style ......................... 27
Exporting Text ...........................................27
Leaving CADET When Done ................................. 28

CADET EDITOR COMMAND REFERENCE ............................ 29
Cursor Movements ........................................ 29
Special Symbols ......................................... 29
Editing Keys and Commands ............................... 30
Pull-Down Menu .......................................... 34

PROBLEMS AND ERROR MESSAGES ............................... 35

INDEX ..................................................... 36









CADET User's Manual iii Table of Contents







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ INTRODUCTION ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

CADET is a professional software system which allows you to
create and edit text and attributes in AutoCAD drawings.
CADET works within AutoCAD to provide users the text editing
tools that AutoCAD lacks. The CADET system is made up of
several programs, including an automated installation program.
The program CE.LSP (CADET- Edit) retrieves text to edit or
export. CC.LSP (CADET-Create) collects information for
creating new text and tables. Both CE and CC are "front-end"
AutoLISP interfaces to the CADET editor. Once you complete
your work in the editor, these Lisp programs update your
drawing. Another AutoLISP program, CI.LSP (CADET-Import),
imports ASCII text files into AutoCAD.

CADET.EXE, the editor itself, is a line-oriented full-screen
editor with many functions. Like a word processor, you can
view and edit a full screen of text at once. You can freely
move around with the cursor movement keys, making editorial
changes as needed. CADET shares one similarity with line
editors - it treats each line as an individual entity. This
allows CADET to interface smoothly with AutoCAD, but doesn't
restrict the full-screen operation.

You can edit up to 99 lines of text and attributes at once,
with each line up to 255 characters in length. CADET provides
vertical and horizontal scrolling of the screen. Your text is
automatically sorted into horizontal rows and vertical
columns. You can change the order in which the text is
displayed - by columns or by rows - with a single keystroke.

CADET has an easy to use pull-down menu system with optional
shortcut command keystrokes. For quick reference, a help
screen is available. You can move quickly around the screen
with cursor shortcuts. Cursor speed is further enhanced with
a typematic rate accelerator. Status lines display cursor
position and speed, insert mode, text height and style, block
and attribute information, and sort order.

Among the editing tools CADET provides is search-and-replace,
find-text and block operations (cut-and-paste). CADET has the
ability to change text height, style and case on a line-by-
line or global basis. You can insert, delete, copy, move or
swap lines of text. Type in either insert or overwrite mode.
There are several ways to delete characters, words, portions
of and full text lines.

With CADET you can export text to a disk file - sorted by rows
or columns. If you have a VGA or EGA monitor, you can zoom to
and from their 50 and 43 line display modes. View, enter and
edit AutoCAD's special characters for degrees, plus or minus,
and circle diameter symbols - without the %% codes. You can
easily add and edit overscores and underscores as well. Read
on for more detail of the installation and usage of CADET.


CADET User's Manual 1 Introduction







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ SHAREWARE - "USER SUPPORTED" SOFTWARE ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

Shareware, sometimes called "user supported" software, is a
distribution method, not a type of software. It is "try
before you buy" software. The essence of user supported
software is to provide computer users with quality software
without high prices, and yet provide incentive for programmers
to continue to develop new products.

Copyright laws apply to shareware and commercial software
alike. Shareware authors, however, grant you specific rights
to copy and distribute the software. These rights vary with
different authors and programs, but serve to give you and
others a chance to try the software before buying it.

The shareware concept depends on the support of its users.
After a specified trial period, if you decide to keep using a
shareware program, you are expected to send in the requested
payment to register with the author. These funds reward the
authors for their valuable work, and fuels their future
endeavors - support, new programs, new and better features.

With shareware, you get the ultimate money-back guarantee - if
you don't use the product, you don't pay for it.


ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ CADET AS SHAREWARE ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

Wasco Technical Software has released this version of CADET as
shareware. You may take up to 21 days to try out CADET. The
evaluation period is free. Can CADET make your AutoCAD text
entry and editing faster and simpler? Try it. Edit some
drawing notes. Create a few tables or bills of material. Be
sure and try out the attribute editing capabilities as well.

Wasco Technical Software requires a registration fee of $25
U.S. for the continued use of CADET after the evaluation
period. The $25 fee will license one copy for use on any one
computer at any one time. Site-license arrangements and
discounts for qualifying AutoCAD User's Groups are available.
Upon registration you will receive a registration code via
mail. Once installed, the code eliminates the display of
CADET's shareware notice screen. For a small additional fee
you can receive the latest version of CADET on diskette with
the AutoLISP source code for CE.LSP, CC.LSP, and CI.LSP.

To register, print out and complete the accompanying User
Registration Certificate. Mail it to Wasco Technical Software
along with your check or money order. You will find the
certificate in the accompanying file named REGISTER.CAD, and
again at the end of this documentation.



CADET User's Manual 2 Shareware








As updates of CADET become available, previously registered
users may upgrade for just a fraction of the registration fee.
Registered users also receive product support from the author.

As shareware, the CADET software may be copied and passed
around, but only in its complete, original, and unaltered
form. Feel free to share CADET with your friends and
associates, and encourage them to register their copy if they
find that they can use it. Registered users may not disclose
CADET registration codes to others. Please, do not bundle
CADET as part of a system, service or sale without permission
from Wasco Technical Software. Registered users may not
disclose their registration codes or the AutoLISP source code
received on their registered diskettes to others.

Anyone distributing CADET for any kind of remuneration must
first contact Wasco Technical Software for authorization.
This authorization will be automatically granted to
distributors recognized by the Association of Shareware
Professionals as adhering to its guidelines for shareware
distributors, and such distributors may begin offering CADET
immediately (However, we must still be advised so that the
distributor can be kept up-to-date with the latest version of
CADET).

There are two locations where you can always find the latest
version of CADET: the CompuServe Autodesk forum (!GO ADESK),
library 8 or 9, and the CIME-ISE bulletin board, directory 18
or NEW. If you are interested in joining CompuServe, you can
call CompuServe Customer Service at 800-848-8990 (614-457-8650
in Ohio and outside the US). CIME-ISE, the bulletin board of
the American Society of Mechanical Engineers, may be reached
via modem at 608-233-3378 (8/N/1). CIME-ISE is a 24 hour free
access board, with no preregistration required.
























CADET User's Manual 3 Shareware







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ SYSTEM REQUIREMENTS ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

CADET requires an IBM XT, AT, PS/2 or true IBM compatible
with 640K RAM and a hard disk drive. CADET works within
AutoCAD Release 9 or higher, ADE3 with AutoLISP, running under
MS/DOS 3.1 or higher. To support a full 99 lines of text,
CADET requires an AutoCAD shell space of 95000 bytes. The
CADET program runs in text mode on either monochrome or color
displays. Additional support is provided for optional EGA and
VGA display systems, and AT and PS/2 class machines.


ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ SUPPORT ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

We provide support by mail and electronic mail to registered
CADET users for a minimum of three months from the date of
registration. Write to the address below, leave an EasyPlex
message to Steve Waskow 72020,2031 on CompuServe, or leave a
message to Steve Waskow on the CIME-ISE bbs at 608-233-3378.
We check for electronic messages once a week, if not more
frequently.

If you have encountered a problem, please try to give us
enough information to verify or duplicate it. Explain in
detail the keystrokes executed and what you perceive the
problem to be. It is also important to describe the hardware
you are using, the AutoCAD version, and any TSR programs or
other AutoLISP programs you may have loaded. We attempt to
find and remedy any CADET software problems, but cannot
promise compatibility with all hardware or software
environments.

We are interested in hearing comments from anyone who tries
CADET. We want CADET to meet all your text and attribute
editing needs. We value your suggestions and try to implement
as many as we can.
Steve Waskow
Wasco Technical Software
1211 Grand Junction Dr.
Katy, Texas 77450


ASP Notice: Steve Waskow is a member of the Association of
Shareware Professionals (ASP). ASP wants to make sure that
the shareware principle works for you. If you are unable to
resolve a shareware-related problem with an ASP member by
contacting the member directly, ASP may be able to help. The
ASP Ombudsman can help you resolve a dispute or problem with
an ASP member, but does not provide technical support for
members' products. Please write to the ASP Ombudsman at P.O.
Box 5786, Bellevue, WA 98006 or send a Compuserve message via
easyplex to ASP Ombudsman 70007,3536.


CADET User's Manual 4 System/Support







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ INSTALLATION ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

There are two methods you can use to install CADET. First, a
simple installation program can do the work for you. The
second method involves installing CADET manually with DOS and
a text editor. The second method is only for the experienced
- but may be necessary for some AutoCAD installations with
unusual directory access structures. Prior to getting in to
the mechanics of installation, we discuss a couple of the
options available.


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
TYPEMATIC RATE ACCELERATOR and CHKSPEED
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

CADET has a built-in typematic rate accelerator, which serves
to speed up the cursor movement on late model IBM AT and PS/2
class computers - including most 286, 386 and 486 compatibles.
CADET determines, to the extent possible, if your system
supports the accelerator. If so, acceleration is enabled by
default, otherwise a safeguard disables acceleration.

It is not always possible to determine the computer type
precisely, so the CADET installation procedure does allow you
to override the disabling safeguard. The installation process
also allows you to disable the accelerator if you already use
a resident typematic rate accelerator or if you discover
unanticipated hardware incompatibility.

We have provided a small program named CHKSPEED.EXE which you
should run prior to CADET installation. Just log onto the
CADET disk and type "CHKSPEED" at the DOS prompt. The program
is self-explanatory and will safely determine if your system
can support the accelerator. CHKSPEED first determines what
information it can from your system, then performs a short
test of the accelerator. Although it is not expected, at
worse case an incompatible system may freeze up during the
test. If this should happen, simply reboot your system and be
sure to disable the accelerator when you install CADET.


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
SYMBOL TRANSLATION
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

The CADET editor translates %%d, %%p and %%c character codes
(degree, plus/minus and circle diameter) into the true
symbols. AutoCAD's dimensioning feature produces a different
set of codes - ASCII codes 127, 128 and 129 - which also
produce degree, plus/minus and circle diameter symbols.
Normally, CADET will also translate these ASCII codes as well.
For uniformity, both the %% codes and the ASCII codes are
translated back as %%d, %%p and %%c codes.


CADET User's Manual 5 Installation







This back-translation of the ASCII 127, 128 and 129 codes to
%% codes is not desirable with some third party fonts which do
not support AutoCAD's definitions, since incorrect symbols may
result. This portion of the translation can be disabled by
the installation program or the manual installation procedure.


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
CONFIGURATION VARIABLES
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

MEMORY MANAGEMENT:

The CADET AutoLISP programs CE.LSP, CC.LSP and CI.LSP use a
memory management scheme by default. The Lisp programs are
normally called by their "autoloading" routines which are
installed in your ACAD.LSP file. These small routines take
little memory. When you enter CE, CC or CI from the command
line, the autoloading routines display a loading message and
load the main routines into memory from disk.

Having two or three of the main routines loaded at once can
degrade their performance. The memory management scheme works
by having each of the three routines reset the autoloading
routines of the other two - effectively removing them from
memory. This ensures that only one of the main routines is
loaded at any one time. The unloaded routines will still load
automatically as you need them.

If you switch between CADET applications often, and want to
sacrifice a bit of performance to avoid the loading times, you
can disable CADET's memory management. A Lisp variable
"CADETM" controls it. To disable the memory management, set
CADETM to true or to any value other than nil. For example:
(SETQ CADETM T)

SORTING COORDINATES:

Another CADET configuration variable controls which text
coordinates are used for row and column sorting. When editing
text, CE.LSP defaults to using the "insert" point of center,
middle and right justified text for the sorting coordinates.
If you desire, you can have CE use the text's lower left
coordinates instead (CE Version 1.0 used this method). A Lisp
variable "CADETS" controls it. Set CADETS to true or to any
value other than nil to have CE use the lower left
coordinates. (CE uses the default insert point when CADETS is
absent or set to nil). For example: (SETQ CADETS T)

You can set CADET's configuration variables from the AutoCAD
command line, using AutoLISP, but then they are active for
only the current drawing session. A more permanent method is
to set them in your ACAD.LSP file which automatically loads
each drawing session. Both the CADETIN installation program
and the manual installation procedure have provisions to allow
you to set configuration variables within your ACAD.LSP file.


CADET User's Manual 6 Installation







ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
AUTOMATED INSTALLATION
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

CADETIN.EXE is CADET's automated installation program. Before
you start, determine the name of your AutoCAD system directory
- the drive and directory where your AutoCAD executable
program files are located. To install CADET, log onto the
CADET disk, type "CADETIN" at the DOS prompt and press
[Enter]. You will be prompted to enter the AutoCAD system
directory you determined earlier. Once you type in the drive
and directory name (for example, C:\ACAD), press [Enter] and
all necessary CADET files are transferred. CADETIN verifies
that the destination is the correct one. A running status of
the installation will be shown at the bottom of the screen.

You are next asked to supply your CADET registration code.
Just press [Enter] if you don't yet have one. You can add it
later once you have registered your copy of CADET.

Following that, you are asked if you want to disable the
translation of ASCII 127-129 codes. If you use the text fonts
supplied by AutoDESK, you can leave it enabled.

CADET sorts text into rows and columns, and normally defaults
to column order at start-up. Inside the editor, you can
toggle the order as needed. The installation program asks if
you want to change the start-up default to row order. Choose
the mode that best suits the majority of the work you do.

The installation program next determines, nearly as possible,
if CADET can accelerate your typematic rate. If acceleration
is possible, you have the option of disabling it. If your
system appears unsuitable for acceleration, you are asked if
you want to enable it regardless, by overriding the safeguard
which otherwise prevents its implementation.

If you use the typematic rate accelerator, you are prompted to
enter the typematic speed (slow, medium or fast) which CADET
will default to at start-up.

The program now checks to see if you have an ACAD.LSP file
and, if so, if it is encrypted. If your file is encrypted,
CADETIN will not be able to install the following options.

As explained previously, CADET uses a memory management scheme
by default. You are given the option of disabling it.

Following that, you have the option to define which set of
text coordinates CE.LSP uses for sorting text into rows and
columns - the "insert" point or the lower left point. The
default "insert" point method generally works the best.

Last, CADETIN asks if you want to add autoloading functions
for CE, CC and CI into your ACAD.LSP file. We recommend that
you use these functions, along with the memory management.


CADET User's Manual 7 Installation







ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
MANUAL INSTALLATION (OPTIONAL)
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

If you're an experienced DOS user and wish to install CADET
manually instead of using the CADETIN installation program,
here are the steps. Skip this section if you used CADETIN.

1. Use the DOS COPY command to copy the files CADET.EXE,
CE.LSP, CC.LSP and CI.LSP into the drive/directory in
which your AutoCAD executable program files are kept.

2. Use a ASCII text editor to edit the ACAD.PGP file in your
AutoCAD directory. Create one if none exists. Add one
line into the file as shown (options shown in square
braces):

CADET!,CADET [/T /S /Fx /R RegistrationCode],95000,,0

The optional /T parameter disables the translation of
ASCII 127-129 codes. Read about this option in the
SYMBOL TRANSLATION section above.

The /S and /F parameters both affect the typematic rate
accelerator - which speeds the cursor of AT and PS/2
class machines. Read the TYPEMATIC RATE ACCELERATOR and
CHKSPEED section before proceeding. The /F parameter has
two purposes. One, should CHKSPEED prove the accelerator
functions on your system, and CADET refuses to implement
it by default, use the /F parameter to override the
safeguard and implement acceleration.

The second use of the /F parameter is to set a default
typematic rate speed for CADET at start-up. There are
three speeds you can toggle between once in the CADET
editor. Add a speed number behind the /F parameter to
have CADET always start in your favorite speed. Choose 1
for slow, 2 for medium, or 3 for fast speed. For
example, /F3 sets CADET's default to fast speed. If no
speed number or an invalid speed number is added, CADET
defaults to slow speed.

The /S parameter disables the typematic rate accelerator.
Use this if you already use a resident keyboard utility
which performs this function. Obviously, the /S and the
/F parameters are mutually exclusive.

Use the /R parameter to change CADET's default sort order
from column order to row order. More detail on sort
order is given in a later section of the manual, SORTING
ORDER, in the USING THE CADET EDITOR chapter.

If you have registered CADET, add the optional CADET
registration code. Separate any parameters you add and
your registration code with spaces.



CADET User's Manual 8 Installation







Here are examples of valid ACAD.PGP CADET installations:

CADET!,CADET,95000,,0
CADET!,CADET /T /F3,95000,,0
CADET!,CADET /r /s MyCode,95000,,0

3. The final (and optional) part of manual installation is
to add the CADET configuration variables and autoloading
functions for CE, CC and CI to your ACAD.LSP file. If
you do not have an ACAD.LSP file, create one. The
variables and autoloading functions are contained in the
supplied file CADET.LSP. Use an ASCII text editor to
insert CADET.LSP into ACAD.LSP. You can edit the CADET
configuration variables if you wish. (See CONFIGURATION
VARIABLES). To disable CADET's memory management, remove
the leading semicolon from the line (SETQ CADETM T). To
have CE.LSP use the lower left text corner instead of its
insert point for row and column sorting, remove the
leading semicolon from the line (SETQ CADETS T).

NOTE: do not attempt to edit your ACAD.LSP file if it is
encrypted. If you are unsure, use the DOS TYPE command
to list your ACAD.LSP file to the screen. If you see the
message "AutoCAD PROTECTED LISP file", it is encrypted.
Instead, manually load CE, CC or CI as needed.

A final note: If you've ordered the CADET diskette with the
CE, CC and CI AutoLISP source code, you have another
installation option. You can insert the CE, CC and CI
AutoLISP source code directly into your ACAD.LSP file, rather
than their autoloading functions. (The ACAD.LSP file must not
be encrypted). The functions will be instantly available,
without the loading time you otherwise get the first time you
call them. On the negative side, ACAD.LSP itself takes longer
to load, you must have adequate lisp heap and stack space, and
CADET's memory management is defeated. ACAD.LSP loaded
functions use memory resources in every drawing session,
whether the functions are used or not.


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
FIRST TIME USERS
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

Although no trouble is anticipated, in keeping with the spirit
of "better safe than sorry", we suggest you save your drawing
prior to executing CADET the first few times you use it. This
is especially wise if you are using an unusual or highly
customized system, or if you have overridden CADET's typematic
rate accelerator safeguard without the prerequisite testing.

If other programs work for you through AutoCAD's SHELL
function, you should have no trouble with CADET, properly
installed. Once it becomes apparent to you that no system
incompatibilities exist, the act of saving the drawing first
is not necessary.


CADET User's Manual 9 Installation







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ EDITING OR EXPORTING TEXT WITH CE.LSP ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

CE (short for CADET-Edit) is the lisp function you use to
select text and attributes to edit or export. Enter AutoCAD
in the usual way by loading an existing drawing or beginning a
new drawing. If you did not install CE's automatic loading
function in your ACAD.LSP file, you must load CE.LSP at the
AutoCAD command prompt. (Unnecessary with automatic loading).

Command:(LOAD"CE")

Once loaded, CE becomes an active AutoCAD command similar to
the built-in drawing and editing commands. As supplied, the
command must be invoked at the keyboard, not from your menus.
Just enter "CE" at the command prompt.

Command:CE

You will now see the CADET-Edit version number and copyright
notice, and a prompt to pick the text and attributes.

Select objects:

This is AutoCAD's general interactive selection mechanism.
Use object snaps, Window, Crossing, Last, Previous, Remove and
Add, etc. to select the text. You can select up to 99 lines
of text or attributes. Don't worry if non-text entities are
accidentally picked into the selection set. CE safely filters
them out.

Once you have completed picking the text, press [Enter] and
you will see the following message.

Writing to editor...

If you've picked a lot of text, or if you have included a lot
of non-text entities for CE to filter out, this may take a
moment. If you have picked more than the maximum of 99 text
entities, a message is printed and the program aborts. If
this happens, run CE again and pick Previous then Remove to
take out some of the items to do later.

Once CE finishes writing, CADET appears with the selected
text, sorted by rows and columns. You can optionally use a
variable "CADETS" to determine which text coordinates CE will
use for sorting. Read the INSTALLATION chapter for details.

Use CADET to edit the text as necessary. To export the text
to a disk file, use the [Ctrl-X] command. Exit CADET with
either the [Ctrl-Q] (abandon and quit) or the [Ctrl-E] (save
and end) command. After exiting CADET, you are returned to
the AutoCAD graphics screen. If you exited CADET with
[Ctrl-E], CE will update any text which has changed and report
the total number of lines changed.


CADET User's Manual 10 Editing/Exporting Text







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ CREATING NEW TEXT WITH CC.LSP ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

CC (short for CADET-Create) is the lisp function you use to
create new text - such as notes and tables - with the CADET
editor. Enter AutoCAD in the usual way by loading an existing
drawing or beginning a new drawing. If you did not install
the CC automatic loading function in your ACAD.LSP file, you
must enter the instruction to load CC.LSP at the AutoCAD
command prompt. If you have installed the automatic loading
function in your ACAD.LSP file this step is unnecessary.

Command:(LOAD"CC")

CC is now an active AutoCAD command similar to the built-in
drawing and editing commands. As supplied, the command must
be invoked at the keyboard, not from your menus. Just enter
"CC" at the command prompt.

Command:CC

You will now see the CADET-Create version number and copyright
notice, and are prompted to enter the starting point (left
text justification) of the first column (column A) or specify
a different text justification. CADET letters columns A, B, C
and so forth.

Starting point of column A or Center/Middle/Right:

This is similar to AutoCAD's TEXT command prompt. If you want
center, middle or right justification, enter "C", "M" or "R"
prior to supplying the corresponding point. Otherwise simply
supply a starting point.

Use your pointing device to pick the point or enter the point
in X and Y coordinates. All new text is placed at the current
elevation, so a Z coordinate is not necessary. CC always
places new text horizontally, regardless of your zero degree
orientation. (You can always rotate the text after it has
been placed).

This first text insertion point you've entered also defines
the vertical (Y coordinate) origin of any subsequent columns,
simplifying multiple column definition.

Next, if the current text style is not defined at a fixed
height, CC prompts you to supply a text height.

Text height :

The default is your default height for new text -
generally, the height last used to draw text. Respond with
the height you need, or press [Enter] to accept the default.
Like AutoCAD's TEXT command, you may use your pointing device
to drag the height from the point of origin.


CADET User's Manual 11 Creating New Text







In the next series of prompts CC will ask for column and row
information. Use multiple columns to produce a table or bill
of materials. Columns arrange text horizontally, you can
either evenly space the columns or specify nonuniform spacing.
You can also specify the text justification for each column,
so building neat tables is easy. Multiple columns are
optional, so CC is also useful to create just a single column
of text for notes or other purposes.

You will be prompted for the number of columns first.

Number of text columns (|||) <1>:

Enter the number of columns needed, or press [Enter] for the
default of 1 if you only need a single column of text. CADET
handles a maximum of 99 entities, which is the maximum number
of columns you can define. If you enter a greater value, CC
defaults to 99. Keep in mind that the number of columns you
define limits the number of rows you may create, so if you are
creating a large table you may need to build it in sections.

Next you receive a prompt for the number of rows.

Number of text rows (---) per column :

The default X represents the maximum full text rows allowed
per column. This is the quotient of 99 divided by the number
of columns you defined. You can either enter the number of
rows you actually need, or press [Enter] to accept the default
maximum. If you enter a value over the maximum, CC defaults
to the maximum. You may be composing text as you go and not
know how many rows you will need. In such cases you should
accept the default maximum. The number of rows defined just
sets up space in the editor, you do not have to fill each row.

If you have chosen more than a single row you will be prompted
to supply the row spacing.

Distance between rows or Auto:

This requests the vertical spacing between each text row or
entity. The default equals 1.619 times the text
height you've selected - equivalent to the spacing many of
AutoCAD's furnished text fonts produce when used with the
DTEXT command. Entering a constant value will assure that
adjacent columns align, and CC can place the text faster in
this mode than it can using "Auto". To enter a constant
value, either press the [Enter] key to accept the default,
type in a new distance, or use your pointing device to define
the distance by picking two points.

Enter "A" or "auto" for automatic spacing. With CADET you can
change the text height of entities individually, so CC's Auto
row spacing uses a special function to ensure mixed text
heights are vertically spaced adequately to avoid overlapping.
Because Auto is specialized, there can be disadvantages.


CADET User's Manual 12 Creating New Text







Auto will vertically space each line of text based on its
height, stepping off the "last" text entity similar to the way
AutoCAD works when you respond to a text starting point prompt
with a carriage return. In empty rows between text items,
since each row of text must step off the preceding row, a
temporary entity is first drawn, then erased - you can observe
this on the screen. Also, since the vertical spacing will
vary, you cannot maintain uniform column alignment when using
Auto with mixed text heights and multiple columns. CC's Auto
mode is best for single columns of text of varying height.

The next prompt, if you have chosen two or more columns, is a
request for the origin and, optionally, the text justification
of the second column (Column B). CC defaults to the text
justification you selected for the preceding column, so the
wording of the prompt varies accordingly.

Starting point of column B or Center/Middle/Right:
Center point of column B or Middle/Right/Start:
Middle point of column B or Center/Right/Start:
Ending point of column B or Center/Middle/Start:

If you need to change the justification, enter "C", "M", "R"
or "S" prior to supplying the point. The requested point is
the horizontal orientation of the second column of text.
Either type in point coordinates (X, Y) or pick a point with
your pointing device. Although you input a point, CC only
uses the horizontal (X coordinate) component. CC will
automatically align this column with column A. Since you only
need to be concerned with the X coordinate, this serves to
simplify your point entry.

If you have chosen three or more columns, you receive further
prompts.

Starting point of column C or Center/Middle/Right/Equal:

This prompt is essentially the same as the prompt for column
B, and, like the previous prompt, will vary in wording
according to the default text justification. Again, the point
will only be used for horizontal (X coordinate) positioning.

Added to the prompt for column C and following columns is the
option Equal. Selecting Equal will cause the current column
and all remaining columns to be spaced equally, the spacing
matching the last defined column offset and each column having
the default text justification.

Enter "E", or "equal" if it suits you, otherwise supply the
column's orientation point (optionally entering a new text
justification first). Again, you may pick a point with your
pointing device or type in the point coordinates (X, Y).
Unless you have chosen Equal, similar prompts repeat for each
column's horizontal orientation and text justification, or
until you choose to equally space the remaining columns.



CADET User's Manual 13 Creating New Text







Now that the rows and columns have been defined, AutoCAD
flips to the text screen, and the CADET editor appears. The
editor will accommodate the number of columns and rows you
specified. The default text height will be that which you
supplied or the fixed height text, if so defined. The
designated text style will be the default text style from your
AutoCAD drawing.

Once in the CADET editor, you may change the text's height and
style on either a line-by-line or global basis. We cover the
functions of the CADET text editor in the next section of this
manual. Once you have entered the text in the editor, press
[Ctrl-E] to end. AutoCAD will flip to the graphics screen and
draw the text you created.

Reading in text... Done.

If you need to make any changes to the text you have created,
use CE. Should you need to orient the text at some angle
other than horizontal, use AutoCAD's ROTATE command after the
text has been drawn.





































CADET User's Manual 14 Creating New Text







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ IMPORTING A TEXT FILE WITH CI.LSP ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

CI (short for CADET-Import) is the lisp function you use to
import a ASCII text file from a disk into your drawing. An
ASCII text file is one of plain text, without the special
formatting characters some word processors create. Most word
processors can create an ASCII text file however, with a
special save or print-to-disk command. To check if a file is
ASCII, print it to the screen with the DOS TYPE command, for
example: TYPE MyFile. If the text is legible as it prints on
the screen, with no strange looking characters, it is ASCII.

Enter AutoCAD in the usual way by loading an existing drawing
or beginning a new drawing. If you did not install the CI
automatic loading function in your ACAD.LSP file, you must
enter the instruction to load CI.LSP at the AutoCAD command
prompt. If you have installed the automatic loading function
in your ACAD.LSP file this step is unnecessary.

Command:(LOAD"CI")

CI is now an active AutoCAD command similar to the built-in
drawing and editing commands. As supplied, the command must
be invoked at the keyboard, not from your menus. Just enter
"CI" at the command prompt.

Command:CI

You will now see the CADET-Read version number and copyright
notice, and are prompted to enter a file name.

File name of text file to import:

Enter the file name, including the drive and subdirectory if
different from the default, and file extension if any. If CI
cannot find the file in the specified subdirectory, it will
show an error message and repeat the prompt for a file name.

Next, you are prompted to enter the starting point (left text
justification) of the first column (column A) or specify a
different text justification. CADET letters columns A, B, C
and so forth.

Starting point of column A or Center/Middle/Right:

This is similar to AutoCAD's TEXT command prompt. If you
want center, middle or right justification, enter "C", "M"
or "R" prior to supplying the corresponding point. Otherwise,
just supply a starting point. Use your pointing device to
pick the point or enter the point in X and Y coordinates. All
new text is placed at the current elevation, so a Z coordinate
is not necessary. CI always places the text horizontally,
regardless of your zero degree orientation. (You can always
rotate the text after it has been placed).


CADET User's Manual 15 Importing a Text File







This first text insertion point you've entered also defines
the vertical (Y coordinate) origin of any subsequent columns,
simplifying multiple column definition.

Next, if the current text style is not defined at a fixed
height, CI prompts you to supply a text height.

Text height :

The default is your default height for new text -
generally, the height last used to draw text. Respond with
the height you need, or press [Enter] to accept the default.
Like AutoCAD's TEXT command, you may use your pointing device
to drag the height from the point of origin.

In the next series of prompts CI will ask for column and row
information. Multiple columns are optional, columns are used
to arrange text horizontally, you can either evenly space the
columns or specify nonuniform spacing. You can also specify
the text justification for each column. You will be prompted
for the number of columns first.

Number of text columns (|||) <1>:

Enter the number of columns you desire, or press [Enter] for
the default of 1 if you want to read the text into a single
column. If you have chosen more than one column, you will
receive a prompt for the number of rows.

Number of text rows (---) per column:

Enter the number of rows per column you wish to see. If the
number of text lines from the file you import exceed the array
size you have defined (the product of the number of columns
times the number of rows), the balance will continue to be
placed below the final column. Similarly, the number of text
lines from the file you import need not fill the column and
row array - CI will terminate the pattern when it reaches the
last line of the file.

If you have chosen more than a single row you will be prompted
to supply the row spacing.

Distance between rows or :

This requests the vertical spacing between each text row or
entity. Enter "A", "auto" or press the [Enter] key for the
default automatic spacing. Auto spaces the text according to
its height and style, at the same pitch that AutoCAD's DTEXT
command uses. Unlike CC.LSP, there is no performance penalty
for using CI's Auto option since text heights are uniform.

Optionally, you can enter a constant value to control the
spacing to whatever pitch you desire. To enter a constant
value, type in a distance or use your pointing device to
define a distance by picking two points.


CADET User's Manual 16 Importing a Text File







The next prompt, if you have chosen two or more columns, is a
request for the origin and, optionally, the text justification
of the second column (Column B). CI defaults to the text
justification you selected for the preceding column, so the
wording of the prompt varies accordingly.

Starting point of column B or Center/Middle/Right:
Center point of column B or Middle/Right/Start:
Middle point of column B or Center/Right/Start:
Ending point of column B or Center/Middle/Start:

If you need to change the justification, enter "C", "M", "R"
or "S" prior to supplying the point. The requested point is
the horizontal orientation of the second column of text.
Either type in point coordinates (X, Y) or pick a point with
your pointing device. Although you input a point, CI only
uses the horizontal (X coordinate) component. CI will
automatically align this column with column A. Since you only
need to be concerned with the X coordinate, this serves to
simplify your point entry.

If you have chosen three or more columns, you receive further
prompts.

Starting point of column C or Center/Middle/Right/Equal:

This prompt is essentially the same as the prompt for column
B, and, like the previous prompt, will vary in wording
according to the default text justification. Again, the point
will only be used for horizontal (X coordinate) positioning.

Added to the prompt for column C and following columns is the
option Equal. Selecting Equal will cause the current column
and all remaining columns to be spaced equally, the spacing
matching the last defined column offset and each column having
the default text justification.

Enter "E", or "equal" if it suits you, otherwise supply the
column's orientation point (optionally entering a new text
justification first). Again, you may pick a point with your
pointing device or type in the point coordinates (X, Y).
Unless you have chosen Equal, similar prompts repeat for each
column's horizontal orientation and text justification, or
until you choose to equally space the remaining columns.

Once the rows and columns have been defined, CI begins reading
in the text form the specified file, drawing it in your
drawing as it goes.

Reading in text... Done.

If you need to make any changes to the text you have created,
use CE. Should you need to orient the text at some angle
other than horizontal, use AutoCAD's ROTATE command after the
text has been drawn.



CADET User's Manual 17 Importing a Text File







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ USING THE CADET EDITOR ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

The CADET.EXE text editor is activated by CE.LSP and CC.LSP,
and is the heart of the CADET system. You can cursor freely
around the screen, entering and editing text as necessary.
CADET supports a dual level command interface. At the expert
level one can execute CADET commands by pressing the
appropriate "shortcut" key - a control/letter key combination.
Pressing [F1] brings up a help screen. For new users, CADET
has an easy to use "pull-down" menu system.

Activate the main pull-down menu bar at the top of the editing
screen by pressing the [F10] function key. Select a sub-menu
by either moving the selection bar to the appropriate heading
with the cursor keys and pressing [Enter] or [Down], or by
pressing the highlighted "hot-key" letter in one of the
headings. The bottom line of the screen displays information
on each of the sub-menus as you cursor through the headings.

Once selected, sub-menus drop down and display available
commands. Choose a command by either moving the selection bar
over it and pressing [Enter], or by pressing its highlighted
hot-key. As the cursor moves through the commands, the bottom
of the screen displays help information about the command and
its optional shortcut key. To move to an adjacent sub-menu,
just press [Left] or [Right]. To return to the top level menu
bar, press [Esc] or cursor up to the top line. Pressing [Esc]
at the top level menu bar returns you to the editor. The
manual's COMMAND REFERENCE section details the menu system.

We represent the shortcut keys in the manual with "control"
abbreviated to "Ctrl" followed by a dash and the letter key,
like so: [Ctrl-A]. The menu equivalent is listed with [F10]
followed by a dash, the sub-menu hot-key, another dash and the
command hot-key, for example: [F10]-E-A.

In normal edit mode, a status line is displayed at the top of
CADET's screen. Shown, from left to right, is the following.

1. Drawing name for which text is being edited.
2. Text height of text at cursor line.
3. Text font style of text at cursor line.
4. Current editor sort order (by row or by column).
5. Editor line position of cursor.
6. Editor column position of cursor.
7. Typematic rate speed (slow, medium or fast).
8. Editing insert mode (insert or overwrite).

A second status line is located on the next to last row of the
screen. If the text at the cursor line is an attribute, this
status line displays the block name, the attribute tag and the
attribute prompt - the same prompt you received when you
entered the block which contains the attribute. CADET prompts
and messages are shown at the bottom of the screen.


CADET User's Manual 18 Using the CADET Editor







In this manual we refer to separate text entities as "text
lines" since each occupies one line in the editor. We refer
to the body of text in the editor as the "set" or "set of text
lines". Several of the commands work on either the cursor
"line" (locally) or the "set" (globally) at your option.

The cursor keys are the basic method of moving around the
screen. There are also special keys to move through the text
even more quickly. [Ctrl-Right] and [Ctrl-Left] move the
cursor a word at a time right and left respectively. The
[Tab] and [Shift-Tab] keys move the cursor right and left 8
spaces. Move the cursor to the beginning and end of the line
with the [Home] and [End] keys. The [Page Up] and [Page Down]
keys moves vertically one screen depth, and [Ctrl-Page Up] and
[Ctrl-Page Down] moves to the beginning and end of the set.
CADET scrolls the screen vertically and horizontally as
required when the cursor moves to reach positions off screen.

If you are using CADET on an IBM AT, PS/2, or 286, 386 or 486
compatible, you can further enhance the cursor speed. CADET
has a typematic rate accelerator which can move the cursor up
to three times faster than normal. To change speeds, use the
[Ctrl-T] (or [F10]-M-T) command. This toggles the accelerator
from Slow to Medium to Fast speed.

You have two modes available when typing in text: insert and
overwrite mode. Insert mode is nondestructive, characters are
inserted at the cursor position and displace any text which
exists above and to the right of the cursor. In overwrite
mode, characters entered overwrite any existing characters.
Pressing the [Ins] key toggles the insert mode.

There are a number of ways to delete text besides the familiar
[BackSpace] and [Delete] keys. To delete words, use [Ctrl-W]
(or [F10]-E-W). Use [Ctrl-End] (or [F10]-E-E) and [Ctrl-Home]
(or [F10]-E-H) to delete to the end and beginning of the line
respectively. Erase a complete line of text quickly by
pressing [Ctrl-A] (or [F10]-E-A). Delete a marked block of
text with the [Ctrl-M] (or [F10]-B-M) command. These methods
of deleting text are local commands. So long as you do not
move your cursor off the line or use a global command function
first, pressing [Esc] can undo the deletion. We discuss
another deletion command, [Ctrl-D] (or [F10]-E-D), which has
global effects later in the manual.

You may enter AutoCAD's special symbols directly into your
text without the %% codes. Just press the appropriate Alt key
combination. The preferred mnemonic Alt-O, U, D, P and C keys
are new to CADET version 2.0. The older numbered keystrokes
are still supported, but will be dropped in a future release.

[Alt-O] or [Alt-6] Overscore toggle (%%o)
[Alt-U] or [Alt-7] Underscore toggle (%%u)
[Alt-D] or [Alt-8] Degrees symbol (%%d)
[Alt-P] or [Alt-9] Plus/minus symbol (%%p)
[Alt-C] or [Alt-0] Circle dia. symbol (%%c)


CADET User's Manual 19 Using the CADET Editor







CADET performs character code to symbol translation, to and
from AutoCAD. A portion of this translation can be disabled,
see the INSTALLATION chapter for details.


ÄÄÄÄÄÄÄÄÄÄÄÄÄ
SORTING ORDER
ÄÄÄÄÄÄÄÄÄÄÄÄÄ

The CADET editor displays multiple text entities in a linear
list, with each entity occupying one line of the text screen.
The order in which the text entities are presented is
important. Regardless of the order in which the text is
picked, CADET sorts into rows and columns based on each
entities X and Y coordinates. The entities elevation in the Z
plane is ignored. For row and column definition, CADET uses
1/3rd the default text height as a vertical tolerance, and the
full default text height as a horizontal tolerance.

When editing text, CADET defaults to using the "insert" point
for the sort coordinates of center, middle and right justified
text, rather than the text's lower left coordinates. If you
want to change this behavior, see the INSTALLATION chapter for
instructions on setting the "CADETS" variable.

Drawing notes and some tables are easier to read when viewed
in column order. Other tables make more sense in row order.
CADET allows you to toggle the sort order with the [Ctrl-O]
(or [F10]-D-O) command. Consider the following examples, each
has two columns, each word is a left-justified text entity:

Example #1 (in AutoCAD) ³ Example #2 (in AutoCAD)
³
PENCIL TABLE ³ DOOR WINDOW
PEN CHAIR ³ CAT DOG
PAPER COUCH ³ SPOON FORK

CADET's default sort order is by columns (you can change the
default to rows when you install CADET). For identification,
the editor letters the columns and numbers the rows similar to
a spreadsheet. Example #1 is easier to read in the editor's
default column sort order. Example #2, however, is more
suited to the editor's row sort order. Pressing [Ctrl-O]
changes the display of example #2 to the row sort shown below.

Here are the examples shown as you would see them in CADET:

Example #1 (in CADET) ³ Example #2 (in CADET)
(column order) ³ (row order)
³
1a PENCIL ³ 1a DOOR
2a PEN ³ 1b WINDOW
3a PAPER ³ 2a CAT
1b TABLE ³ 2b DOG
2b CHAIR ³ 3a SPOON
3b COUCH ³ 3b FORK


CADET User's Manual 20 Using the CADET Editor







ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
VIEW RELATIVE TEXT POSITIONS
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

You can view the position of text entities relative to one
another with the [Ctrl-V] (or [F10]-D-V) command. While you
cannot edit the text when in this view, it should quickly give
you orientation on the row and column sorting scheme. See the
following COMMAND REFERENCE section for more details.


ÄÄÄÄÄÄÄÄÄÄÄ
ZOOM TOGGLE
ÄÄÄÄÄÄÄÄÄÄÄ

CADET's zoom function is for VGA and EGA compatible monitors
only. VGA monitors are capable of displaying text screens 80
columns wide by 50 lines high in addition to the normal 80
column by 25 line mode. Likewise, EGA monitors have a 80
column wide by 43 line high mode. Use the [Ctrl-Z] command
(or [F10]-D-Z) to make CADET switch into these condensed
modes, displaying more of your text on screen. [Ctrl-Z] is a
toggle, use it again to switch back and forth between modes.


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
INSERTING and DELETING TEXT LINES
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

[Ctrl-D] (or [F10]-E-D) is the delete line command. Unlike
erasing a line with the [Ctrl-A] command, using [Ctrl-D] pulls
up the text following it to fill the gap. The [Ctrl-I] (or
[F10]-E-I) command inserts lines. When you insert a line with
the [Ctrl-I] command, any following text is moved a position
down the set. Both [Ctrl-D] and [Ctrl-I] are global in
nature as they affect other text lines as well as the one at
the cursor. [Esc] cannot undo changes made by these commands.

The [Ctrl-D] delete line command can be used in two ways. If
the cursor is positioned at the beginning or anywhere in the
body of a line of text, the entire line of text will be
deleted. If the cursor is positioned past the right-hand end
of the text, however, only the ending "carriage return"
(abbreviated CR) is deleted. With the CR deleted, the text
from the line immediately below is merged to the end of the
text at the cursor position.

With either of the above applications, [Ctrl-D] gives you the
choice to delete the line from the set or from the column/row.
If you are sorted by row order, your choice is Set or Row.
With column sort order your choice is Set or Column. Your
choice determines which line empties as the others are pulled
up toward the deleted line. The position of the deleted line
is filled as all lines in the specified group (column, row or
set) below are pulled up one position. The last line of the
group becomes empty.


CADET User's Manual 21 Using the CADET Editor







Lets look at column ordered example #1 and row ordered example
#2 once again. If your cursor is at the 1a position under the
text and you delete by column in example #1 and delete by row
in example #2, you will have the following results.

Example #1 (in CADET) ³ Example #2 (in CADET)
(before) (after) ³ (before) (after)
³
1a PENCIL 1a PEN ³ 1a DOOR 1a WINDOW
2a PEN 2a PAPER ³ 1b WINDOW 1b
3a PAPER 3a ³ 2a CAT 2a CAT
1b TABLE 1b TABLE ³ 2b DOG 2b DOG
2b CHAIR 2b CHAIR ³ 3a SPOON 3a SPOON
3b COUCH 3b COUCH ³ 3b FORK 3b FORK


Example #1 ³ Example #2
(as redrawn in AutoCAD) ³ (as redrawn in AutoCAD)
³
PEN TABLE ³ WINDOW
PAPER CHAIR ³ CAT DOG
COUCH ³ SPOON FORK

Lets work the examples again, this time positioning the cursor
one space past the end of the word. Pressing [Ctrl-D] now
deletes only the CR, causing the line below to merge upward.


Example #1 (in CADET) ³ Example #2 (in CADET)
(before) (after) ³ (before) (after)
³
1a PENCIL 1a PENCIL PEN ³ 1a DOOR 1a DOOR WINDOW
2a PEN 2a PAPER ³ 1b WINDOW 1b
3a PAPER 3a ³ 2a CAT 2a CAT
1b TABLE 1b TABLE ³ 2b DOG 2b DOG
2b CHAIR 2b CHAIR ³ 3a SPOON 3a SPOON
3b COUCH 3b COUCH ³ 3b FORK 3b FORK

(as redrawn in AutoCAD) ³ (as redrawn in AutoCAD)
³
PENCIL PEN TABLE ³ DOOR WINDOW
PAPER CHAIR ³ CAT DOG
COUCH ³ SPOON FORK

In all cases, if you delete from the set, the last line of the
set (position 3b in the examples) will become empty.

CADET's [Ctrl-I] (or [F10]-E-I) insert command works in a
fashion similar to [Ctrl-D]. [Ctrl-I] inserts a new line or
CR into the group at the cursor position, pushing the existing
text down. If the cursor is at the beginning of the text, the
line of text is pushed down. If the cursor is someplace in
the middle of the text, the text will break at the cursor
position and the text to the right is moved down. A new blank
line is inserted a line below the cursor if the cursor is past
the right-hand end of the text.


CADET User's Manual 22 Using the CADET Editor







You have the choice of inserting into the set or inserting
into the column/row. Existing text moves non-destructively,
so [Ctrl-I] requires there first be an empty line somewhere in
the specified group below the cursor. The last blank line in
the group will be filled as text descends from above. A
warning is printed if an insert is not possible.

We will use the previously modified example #1 to show the
various ways [Ctrl-I] may be used. We will describe three
cases, each of which have the cursor in the first line (line
1a). In case A, the cursor is at the home position under the
"P" in "PENCIL". In case B, the cursor is under the "I" in
"PENCIL". Case C has the cursor at the end of the line - one
space past the "N" in "PEN". We are inserting into the
column. In this particular example inserting into the set
would have the same effect, since the only empty line below
happens to also be in the same column.

Example #1 Case A Case B Case C
(before) (after) (after) (after)

1a PENCIL PEN 1a 1a PENC 1a PENCIL PEN
2a PAPER 2a PENCIL PEN 2a IL PEN 2a
3a 3a PAPER 3a PAPER 3a PAPER
1b TABLE 1b TABLE 1b TABLE 1b TABLE
2b CHAIR 2b CHAIR 2b CHAIR 2b CHAIR
3b COUCH 3b COUCH 3b COUCH 3b COUCH


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
BLOCK OPERATIONS (CUT and PASTE)
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

CADET's block operations allow four primary functions:

1. Delete selected portions of words or text lines.
2. Move or copy selected text from one line to another.
3. Swap selected text between any two lines.
4. Store often used words and phrases in the copy buffer.
You can copy the buffer's contents into your text with a
single keystroke - a limited but useful macro feature.

The marking mechanism of the block operations is the [Ctrl-M]
(or [F10]-B-M) command. First, move your cursor to one end of
the text you wish to block then press [Ctrl-M]. The character
above the cursor position will highlight. You then use the
horizontal cursor keys (or [Ctrl-Right], [Ctrl-Left], [Home],
[End], [Tab] or [Shift-Tab]) to highlight the remaining
portion of text you wish to block. Press [Enter] when you are
done. You are then given the option of copying the block into
the copy buffer, moving the block into the copy buffer,
swapping the block with the buffer contents, or deleting the
block.

The simplest block operation is to delete the block. Mark the
text, press "D", and it is deleted.


CADET User's Manual 23 Using the CADET Editor







To do cut-and-paste operations, mark the text with the
[Ctrl-M] command as described above. You have three "cutting"
options: copying the marked text, moving the marked text or
swapping the marked text. These operations use a temporary
holding place called the copy buffer to store the text you've
blocked. Any previous contents of the copy buffer will be
overwritten with the new block of text.

The default is copy, if you press the [Enter] key or press
"C", the block remains and a copy of it is placed in the copy
buffer. If you press "M" for move, the marked block is
deleted as it is moved into the buffer. Pressing "S" for swap
causes the marked block and the copy buffer contents to be
exchanged.

You can undo any changes made by the block operations by
pressing [Esc] before moving the cursor off the line where the
block was marked, and before using a global command function.

View or edit the contents of the copy buffer by pressing
[Ctrl-B] (or [F10]-B-B). The copy buffer will be displayed at
the CADET prompt line. An almost complete subset of editing
functions are available for editing the contents. Edit as
required and press [Enter] to return to the editor, or press
[Esc] to exit back with the contents unchanged.


To complete the cut-and-paste operation, first move your
cursor to the position you want to "paste" the block. You
have two options. If you just want to insert the block, press
[Ctrl-C] (or [F10]-B-C). The block will be inserted at the
cursor position, and any text to the right will be displaced
to the right of the newly inserted block. If you want to swap
a block of text with the copy buffer contents, use the
[Ctrl-M] command again to mark the new block of text, and
press "S" for swap.

Keep in mind that after "pasting", the block still exists in
the copy buffer. It remains there until edited out with
[Ctrl-B] or overwritten by another [Ctrl-M]. So, to copy the
same block again in another position, just move the cursor and
press [Ctrl-C] again.

That, in essence, is the macro-like function of the copy
buffer. Suppose you are writing a set of notes where your
company name "International Computer Aided Drafting Services,
Inc." appears several times. That's a lot of typing. Just
press [Ctrl-B] to bring up the copy buffer, press [Ctrl-A] to
erase its contents if necessary, and type in the company name.
Press [Enter] to return to the editor. Now, whenever you get
to a place in the notes where the company name is required,
press [Ctrl-C] and the name is inserted.

You can find other uses for the block operations - just use
your imagination. The ability to edit the copy buffer and
hold data after a copy offers you a lot of flexibility.



CADET User's Manual 24 Using the CADET Editor







Lets try an example using the cut-and-paste operation. When
used with the insert line and delete line functions, you can
rearrange the order of lists. Suppose you have the following
list of text and want to rearrange it in alphabetical order:

(original list)

1a Borden
2a Adams
3a Cooper
4a Edwards

We can do this a couple of different ways, in the first
exercise we will use the swap feature of the block operations.
Take the following steps:

1. Cursor to line 1a and mark "Borden" with [Ctrl-M]. Now
press "M" to move the block into the copy buffer. Line
1a becomes a blank line.

2. Cursor down to line 2a and use [Ctrl-M] to mark "Adams",
then press "S" to swap the marked "Adams" with the copy
buffer contents, "Borden".

3. Move back to line 1a and press [Ctrl-C] to copy the
"Adams" from the copy buffer into the line.

(after step 1) (after step 2) (after step 3)

1a 1a 1a Adams
2a Adams 2a Borden 2a Borden
3a Cooper 3a Cooper 3a Cooper
4a Edwards 4a Edwards 4a Edwards

For the second exercise we will use the [Ctrl-I] insert line
command along with the block operations. Return to the
original list and take the following steps:

1. Cursor to line 2a and mark "Adams" with [Ctrl-M]. Now
press "M" to move the block into the copy buffer. Line
2a becomes a blank line.

2. Cursor up to line 1a and to the home position. Press
[Ctrl-I], then "C" to insert a line into column "a".
The original contents of line 1a "Borden" is pushed down
into the empty line 2a.

3. Press [Ctrl-C] to copy the "Adams" from the copy buffer
into line 1a.

(after step 1) (after step 2) (after step 3)

1a Borden 1a 1a Adams
2a 2a Borden 2a Borden
3a Cooper 3a Cooper 3a Cooper
4a Edwards 4a Edwards 4a Edwards


CADET User's Manual 25 Using the CADET Editor







ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
SEARCH AND REPLACE, FIND TEXT
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

Search and replace is a fast, powerful and easy to use tool.
You can use search and replace to replace one text string with
another. The text string can be anything from a single
character to a word, phrase or complete line of text. All
text in the editor can be searched, and you can selectively
pick and choose the matches you wish to replace.

Press [Ctrl-R] (or [F10]-S-R) to start the search and replace
function. You are prompted to enter an old text string at the
CADET prompt line. This is the string you wish to replace.
Enter the text string in either upper, lower, or mixed case -
the search function is insensitive to case. An almost
complete subset of the normal editing functions are available
when entering search strings. Press [Enter] once you're done.

Next you must enter the new text string. This string must be
entered exactly as you want it to appear in your text, case is
important here. If you simply want to delete all occurrences
of the old string, don't type in anything. Again, press the
[Enter] key once you're done.

Now the search begins. At each match found, a large blinking
block cursor will draw your attention to the match. Sometimes
a match may be found that you did not want to replace. For
instance if you are looking for the word "to", the function
will also consider the letters embedded in "Tool" and "stop"
to be matches. This is not a problem however, since at each
match the function pauses and presents you with options.

Replace? Yes/No/Quit/All [Y/n/q/a]

Pressing "N" for no causes the old text to be skipped without
change and the search continued. The default "Y" response
(you may just press [Enter]) for yes causes the old text to be
replaced by the new text. Again, the search will be resumed.
If you want to abort the search, press "Q" for quit. If you
want all matches to be replaced, press "A" for all and no
further questions will be asked. Use care when using the "A"
option. There is no undo function available for replaces.

To simply find a character, word or phrase, use the [Ctrl-F]
(or [F10]-S-F) find text function. It works much like the
search and replace function. Enter the string you're looking
for as the find text string. As matches are found you are
presented an option.

Find another? Yes/No [Y/n]

Pressing "N" aborts the search. The default "Y" response (you
may just press [Enter]) for yes continues the search for more
matches.



CADET User's Manual 26 Using the CADET Editor







ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
CHANGING HEIGHT, CASE AND STYLE
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

You can quickly change your text height, text style, or text
case on a line-by-line or global basis. These commands all
work similarly - they first ask if you want to perform the
change to the line or set. If you choose the default "L" (you
can just press [Enter]) for line, the change is made only to
the line at the cursor position. If you press "S" for set,
the change is made globally to the entire set of text lines in
the editor. You can undo a change to the line by pressing
[Esc], but not a global change to the set.

The current text height of the line at the cursor position is
always displayed on the status line. To change text height,
press [Ctrl-H] (or [F10]-C-H) and respond to the prompt for
line or set. You then enter the new text height as a real
(decimal) number (no architectural units or fractions). If
you should enter an invalid number, the entry is cleared and
the prompt repeats. Press [Enter] when you've finished your
entry. [Ctrl-H] will not allow you to change the height of
text set to a fixed height text style.

Changing the case of the text is simple, press [Ctrl-U] (or
[F10]-C-U) to change to upper case, or [Ctrl-L] (or [F10]-C-L)
to change to lower case and answer the prompt for line or set.

The current text font style of the line at the cursor position
is always shown on the status line. To change the text font
style, press [Ctrl-S] (or [F10]-C-S) and respond to the prompt
for line or set. A prompt appears with the current text style
highlighted. Press the [Up] or [Down] keys to cycle through
the available text styles (styles previously defined in your
drawing), presented in alphabetical order. The [Space] bar
performs the same function as the [Down] key). When the style
you want is highlighted, press [Enter].


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
EXPORTING TEXT
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

You can export text from your AutoCAD drawing to a disk file,
through the CE.LSP interface and the CADET editor. Press
[Ctrl-X] (or [F10]-M-X) for eXport. You are prompted to
supply a name for the disk file which will be written.
Optionally, you may add a drive and path to the file name. If
you name an existing file, you will be asked if you want to
overwrite it.

The entire contents of the editor are written out in the
current sort order, so sort the text to your liking with the
editor's [Ctrl-O] command before exporting it. Any special
characters found will be translated to the appropriate %%
codes as the text is written out to the file.


CADET User's Manual 27 Using the CADET Editor







When you use the editor just for the purpose of exporting
text, it is simplest to exit CADET with the [Ctrl-Q] quit
command. That way CE will not have to inspect each line of
text for changes.


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
LEAVING CADET WHEN DONE
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

Once you've finished editing or entering text in the CADET
text editor, the normal method of leaving is to press [Ctrl-E]
(or [F10]-X-E) for End. The text is immediately written to a
transfer file, the editor ends, and the AutoCAD graphics
editor returns under the control of CE.LSP or CC.LSP for
updating the drawing.

Another method of leaving the editor is to press [Ctrl-Q] (or
[F10]-X-Q), for Quit. Quit will abort any changes or entries
you have made, and no change will take place to your drawing
as control is returned to AutoCAD. This is similar to
AutoCAD's quit command, you will be prompted to confirm that
you really want to abandon your work.



































CADET User's Manual 28 Using the CADET Editor







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ CADET EDITOR COMMAND REFERENCE ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

This section is a reference to the CADET text editor's editing
keys, special symbols, and command functions:

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
CURSOR MOVEMENTS
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

[Left] .......... Move cursor left one space.

[Right] ......... Move cursor right one space.

[Up] ............ Move up the set one line.

[Down] .......... Move down the set one line.

[Enter] ......... Move down the set one line and return the
cursor to the home (column #1) position.

[Ctrl-Left] ..... Move cursor left one word.

[Ctrl-Right] .... Move cursor right one word.

[Home] .......... Move the cursor to the home (column #1)
position of the line.

[End] ........... Move cursor to the end of the text line.

[Tab] ........... Move cursor 8 spaces right.

[Shift-Tab] ..... Move cursor 8 spaces left.

[Page Up] ....... Move up the set of text lines one page.

[Page Down] ..... Move down the set of text lines one page.

[Ctrl-Page Up] .. Move to the first text line in the editor.

[Ctrl-Page Down] Move to the last text line in the editor.

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
SPECIAL SYMBOLS
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

[Alt-O] .. Overscore toggle, represented on the screen as a
or bold upward pointing arrowhead. This translates
[Alt-6] to AutoCAD's "%%o" character code when read back
into the drawing, toggling overscore mode on/off.

[Alt-U] .. Underscore toggle, represented on the screen by a
or bold downward pointing arrowhead. This translates
[Alt-7] to AutoCAD's "%%u" character code when read back
into the drawing, toggling underscore mode on/off.


CADET User's Manual 29 Command Reference







[Alt-D] .. Degrees symbol (ø). This appears on the screen as
or the proper symbol, and translates to AutoCAD's
[Alt-8] "%%d" character code when read back into the
drawing.

[Alt-P] .. Plus/minus symbol (ñ). This appears on the screen
or as the proper symbol, and translates to AutoCAD's
[Alt-9] "%%p" character code when read back into the
drawing.

[Alt-C] .. Circle diameter symbol (í). This appears on the
or screen as the proper symbol, and translate's to
[Alt-0] AutoCAD's "%%c" character code when read back into
the drawing.


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
EDITING KEYS AND COMMANDS
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

[F1] ....... Function key [F1] displays the help screen.

[F10] ...... Function key [F10] activates the pull-down menu.

[Ins] ...... (Insert) Toggle insert/overwrite mode. In insert
mode, characters are inserted at the cursor
position. Characters overwrite any existing
characters at the cursor position when in
overwrite mode. The current mode is shown on
CADET's status line as "Ovr" or "Ins".

[Esc] ...... (Escape) An "undo" command. Esc is used to abort
pending control key commands. Esc also can undo
local changes (changes made to text on a single
line basis) - provided the cursor has not left
the text line and no global commands have been
used since editing. The control key commands
which prohibit an undo are: [Ctrl-D], [Ctrl-E],
[Ctrl-I], [Ctrl-L] (on set), [Ctrl-R], [Ctrl-O],
[Ctrl-U] (on set) and [Ctrl-X].

[BkSp] ..... (Backspace) Delete the character to the immediate
left of the cursor.

[Del] ...... (Delete) Delete the character directly above the
cursor.

[Ctrl-End] . Deletes text from cursor position to the end of
the line.

[Ctrl-Home] Deletes text from the beginning of the line to
the cursor.

[Ctrl-A] ... ([F10]-E-A on the menu) Erase All, erases the
entire line of text. Also see command [Ctrl-D].



CADET User's Manual 30 Command Reference







[Ctrl-B] ... ([F10]-B-B on the menu) Edit contents of the
copy Buffer. This command may be used to add
text into the copy buffer or to inspect or edit
text in the copy buffer. You can fill the copy
buffer with text from the cursor line with
[Ctrl-M] mark text command.

[Ctrl-C] ... ([F10]-B-C on the menu) Copy the block of text
from the copy buffer into the text line at the
cursor position (in cut-and-paste terms, this is
the "paste"). The copy buffer must first be
filled using the [Ctrl-B] command or the [Ctrl-M]
command. Any text at and to the right of the
cursor will be displaced to the right of the
inserted text. Any text pushed past the 255th
column will be truncated.

[Ctrl-D] ... ([F10]-E-D on the menu) Delete text line. You
are first prompted to specify from which group
the deletion will take place: column or row
(depending on the current sort order), or the set
of text lines. If the cursor is under the body
of the text, the line is permanently deleted. If
the cursor is past the right end of the text,
only the carriage return is deleted, and the line
below is merged up to the cursor position. All
lines in the specified group (column, row or set)
below are pulled up one position. The last line
of the group becomes empty. Read the chapter
USING THE CADET EDITOR for more detail, also see
[Ctrl-A] and [Ctrl-I].

[Ctrl-E] ... ([F10]-X-E on the menu) End, save all changes
and exit CADET. The drawing is automatically
updated in AutoCAD by CE.LSP or CC.LSP.

[Ctrl-F] ... ([F10]-S-F on the menu) Find text. You are
prompted for a text string to find. The text
string is searched for in a case insensitive
manner. When a match is found, you are prompted:

Find another? Yes/No [Y/n]

The default, Yes, continues searching for another
match. No aborts the search.

[Ctrl-H] ... ([F10]-C-H on the menu) Change text Height. You
are prompted to specify whether to change the
height of the text line at the cursor position or
the entire set of lines. Next you are prompted
for the new height. Enter the height in decimal
format. The status line reflects any change.

[Ctrl-I] ... ([F10]-E-I on the menu) Insert a blank line.
You are prompted to specify into which group the
insertion will take place: column or row


CADET User's Manual 31 Command Reference







(depending on current sort order), or into the
set of text lines. A line is inserted at the
cursor position. Text to the right of the cursor
and all lines in the specified group (column, row
or set) below are pushed down to the last empty
line of the group. If no empty line exists in
the group below, insertion is not performed.
Read the chapter USING THE CADET EDITOR for more
detail, also see [Ctrl-D].

[Ctrl-L] ... ([F10]-C-L on the menu) Change text to Lower
case. You are prompted to specify whether to
change the case of the text in the line at the
cursor position, or to change the case of the
entire set of text lines.

[Ctrl-M] ... ([F10]-B-M on the menu) Mark a block of text to
copy or move into the copy buffer, or to delete
(in cut-and-paste terms, this is the "cut"). The
position of the cursor when the command is
executed anchors one end of the block. The
cursor keys are used to move to the other end of
the block. The marked text is highlighted as the
cursor is positioned. Once the desired section
of text is highlighted, press [Enter] to anchor
the other end of the block. You are then
prompted to specify if the text should be copied
into the buffer, moved into the buffer, swapped
with the buffer contents or deleted. Copy, Move
and Swap causes any text residing in the buffer
to be replaced with the marked block, Delete has
no affect on the buffer. The current line of
text is not affected by Copy, but Move and Delete
erase the marked block, and Swap exchanges the
marked block with the copy buffer contents. The
contents of the copy buffer can later be edited
by using the [Ctrl-B] command, copied into
another position by using the [Ctrl-C] command,
or swapped with another marked block by using
[Ctrl-M] again.

[Ctrl-O] ... ([F10]-D-O on the menu) Toggle the sort Order in
which the set of columns and rows of text lines
are displayed in CADET. The order in which the
lines of text are returned to the drawing is
unaffected. The default sort order is to display
the set of text lines by ordered column grouping.
The alternate sort order is to display the set of
text lines by ordered row grouping. See the
section on sorting for more details.

[Ctrl-Q] ... ([F10]-X-Q on the menu) Quit, leave CADET and
abandon any edited changes. You will be prompted
to verify that you really wish to abort. The
drawing will be left unchanged once control is
regained by AutoCAD.


CADET User's Manual 32 Command Reference







[Ctrl-R] ... ([F10]-S-R on the menu) Search and Replace text.
You are prompted for an old text string, then a
new text string. The old text string is searched
for in a case insensitive manner. When a match
is found, you are prompted:

Replace? Yes/No/Quit/All [Y/n/q/a]

The default, Yes, replaces the old text with the
new text. No skips over the old text without
changing it and continues the search. Quit
aborts the search. All replaces all occurrences
of the old text string with the new text string
without pausing to ask additional questions.

[Ctrl-S] ... ([F10]-C-S on the menu) Change text Style. You
are prompted to specify whether to change the
style of the text in the line at the cursor
position, or to change the style of the entire
set of text lines. Once the scope of change is
defined, press the [Up] or [Down] cursor keys to
cycle through the available text styles, which
are displayed in alphabetical order. Only the
text styles previously defined in the AutoCAD
drawing are available. When the desired style is
displayed, press the [Enter] key.

[Ctrl-U] ... ([F10]-C-U on the menu) Change text to Upper
case. You are prompted to specify whether to
change the case of the text in the line at the
current cursor position, or to change the case of
the text in the entire set.

[Ctrl-T] ... ([F10]-M-T on the menu) Toggles the Typematic
rate accelerator from Slow to Medium to Fast
speed. The accelerator serves primarily to speed
up cursor movement. (Only functional on IBM AT
and PS/2 class computers, including most 286, 386
and 486 compatibles).

[Ctrl-V] ... ([F10]-D-V on the menu) View relative text
locations. Displays a screen with the text lines
located in positions relative to the other text
lines. This is useful to get your orientation on
the row & column mapping and sorting scheme.
Your text may not be displayed in its entirety -
long columns, rows, and text lines which cannot
all fit on the screen at once will appear
truncated. Press [Esc] to return to the edit
mode.

[Ctrl-W] ... ([F10]-E-W on the menu) Delete the Word to the
immediate right of the cursor. If the cursor is
under a word, the portion of the word above and
to the right of the cursor is deleted.



CADET User's Manual 33 Command Reference







[Ctrl-X] ... ([F10]-M-X on the menu) Text eXport. Supply a
disk file name and the entire text contents of
the editor are written into it. Optionally, you
may add a drive and path to the file name. The
text is written out in the current sort order,
and special characters are translated. A warning
is issued when an existing file is overwritten.

[Ctrl-Z] ... ([F10]-D-Z on the menu) Zoom in/out of VGA/EGA
condensed 8x8 font text mode. When used on a VGA
capable video adapter and monitor, CADET is
toggled between a 25 line display and a 50 line
display. When used on an EGA capable video
adapter and monitor, CADET is toggled between a
25 line display and a 43 line display.


ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
PULL-DOWN MENU
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

The main pull-down menu bar is activated by pressing the [F10]
function key. It displays the following seven headings for
sub-menus, hot-keys are capitalized:

Change Editing Search Block Misc. Display eXit

The commands available for each sub-menu are listed below with
hot-keys capitalized, listed to the right are the command's
corresponding shortcut keys:

ÚÄÄÄChangeÄÄÄ¿ ÚÄÄÄÄEditingÄÄÄÄ¿
³ Lower case ³ [Ctrl-L] ³ erase Word ³ [Ctrl-W]
³ Upper case ³ [Ctrl-U] ³ erase All ³ [Ctrl-A]
³ Height ³ [Ctrl-H] ³ erase to End ³ [Ctrl-End]
³ Style ³ [Ctrl-S] ³ erase to Home ³ [Ctrl-Home]
ÀÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ Insert line ³ [Ctrl-I]
³ Delete line ³ [Ctrl-D]
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ


ÚÄÄÄÄÄÄSearchÄÄÄÄÄÄ¿ ÚÄÄÄÄBlockÄÄÄÄ¿
³ Find text ³ [Ctrl-F] ³ Mark text ³ [Ctrl-M]
³ search & Replace ³ [Ctrl-R] ³ edit Buffer ³ [Ctrl-B]
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ


ÚÄÄÄÄMisc.ÄÄÄÄ¿ ÚÄÄÄÄDisplayÄÄÄÄ¿
³ Type speed ³ [Ctrl-T] ³ sort Order ³ [Ctrl-O]
³ eXport text ³ [Ctrl-X] ³ View position ³ [Ctrl-V]
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ Zoom EGA/VGA ³ [Ctrl-Z]
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

ÚÄeXitÄ¿
³ End ³ [Ctrl-E]
³ Quit ³ [Ctrl-Q]
ÀÄÄÄÄÄÄÙ

CADET User's Manual 34 Command Reference







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ PROBLEMS AND ERROR MESSAGES ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

PROBLEMS WITH CE.LSP OR CC.LSP
If you see the message "Insufficient memory -- AutoLISP
disabled." when you execute AutoCAD, you probably have too
many TSR (Terminate and stay resident) programs loaded. You
will need to eliminate one or more of them if you wish to
use AutoLISP programs.

If you are getting messages like "insufficient node space"
or "insufficient string space" when trying to execute the
CADET lisp routines, you have inadequate memory set aside
for the lisp programs you have loaded. In most cases this
can be corrected by either: 1) using CADET's memory
management scheme, 2) placing a (vmon) command near the
beginning of your ACAD.LSP file, 3) reconfiguring your
LISPHEAP and LISPSTACK variables or 4) using Extended
AutoLISP (Release 10 or higher). See your AutoLISP
Programmer's Reference and AutoCAD Installation and
Performance Guide for more information on memory management.

PROBLEMS WITH CADET.EXE
If the lisp routines seem to function but the CADET editor
does not execute, it could be one of several things. First,
make sure your ACAD.PGP file is available and is not
corrupted. It must include the "CADET!" command line as
described in this document's installation section.

If you see a message like "EXEC failure", try running some
other small program through AutoCAD's SHELL command. If it
too fails your problem may lie elsewhere, reexamine your
memory usage and your system and AutoCAD configuration.
Seek expert assistance if necessary.

If CADET.EXE halts with an insufficient memory error
message, simply increase the size of the memory reserve for
the CADET! command in your ACAD.PGP file from 95000 to some
larger figure. Some versions of DOS take more memory than
others and 95000 bytes may not be enough for a copy of DOS,
CADET.EXE, and 99 lines of text. See Appendix B of your
AutoCAD Reference Manual for more details on external
commands.

DID I CHANGE THAT?
Once in a while you may see CE.LSP report changing a line of
text when you didn't make any changes, and no real change is
evident. This is due to CADET's translation feature, which
translates the common "%%" codes to their appropriate
character symbols, and back. When translating back to "%%"
codes, lowercase is used for the code letters - i.e "%%u".
If you had originally entered the code letter as uppercase,
a change is made. Portions of the CADET translation feature
can be disabled, see the chapters INSTALLATION and USING THE
CADET EDITOR for more information.


CADET User's Manual 35 Problems and Errors







ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ INDEX ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

ACAD.LSP ................................ 6, 7, 9, 11, 15, 35
ACAD.PGP ........................................ 6, 7, 8, 35
accelerator .............................. 5, 7, 8, 9, 19, 33
Alt keys ............................................. 19, 29
Backspace key ........................................ 19, 30
blank lines ...................................... 22, 23, 31
block ................................ 18, 19, 23, 31, 32, 34
buffer ....................................... 23, 24, 31, 32
CADET.EXE ...................................... 1, 8, 18, 35
CADETM variable ........................................ 6, 9
CADETS variable ................................ 6, 9, 10, 20
CC.LSP ......................... 1, 2, 6, 7, 8, 9, 11, 28, 35
CE.LSP ..................... 1, 2, 6, 7, 8, 9, 10, 27, 28, 35
change sort order ............................. 8, 20, 27, 32
change text case ................................. 27, 32, 33
change text height ................................... 27, 31
change text style .................................... 27, 33
character codes ....................... 5, 19, 20, 27, 29, 35
CI.LSP ................................. 1, 2, 6, 7, 8, 9, 15
column .......... 7, 8, 9, 11, 15, 18, 20, 21, 23, 31, 32, 33
commands .................... 7, 8, 9, 10, 11, 15, 18, 29, 30
configuration variables ............................ 6, 9, 35
coordinates .................... 6, 7, 10, 11, 15, 16, 17, 20
copy ...................................... 8, 23, 24, 31, 32
copy buffer .................................. 23, 24, 31, 32
create text ........................................... 1, 11
Ctrl-A (erase All of line) ....................... 18, 19, 30
Ctrl-B (edit copy Buffer) ........................ 24, 31, 32
Ctrl-C (Copy buffer's contents) .................. 24, 31, 32
Ctrl-D (Delete line) ................................. 21, 31
Ctrl-E (End) ................................. 10, 14, 28, 31
Ctrl-F (Find text) ................................... 26, 31
Ctrl-H (text Height) ................................. 27, 31
Ctrl-I (Insert line) ......................... 21, 22, 23, 31
Ctrl-L (Lower case) .................................. 27, 32
Ctrl-M (Mark text) ............................... 19, 23, 32
Ctrl-O (sort Order) .............................. 20, 27, 32
Ctrl-Q (Quit) .................................... 10, 28, 32
Ctrl-R (search & Replace) ............................ 26, 33
Ctrl-S (text Style) .................................. 27, 33
Ctrl-T (Typematic rate speed) ......................... 19, 33
Ctrl-U (Upper case) .................................. 27, 33
Ctrl-V (relative View) ............................... 21, 33
Ctrl-W (delete Word) ................................. 19, 33
Ctrl-X (text eXport) ............................. 10, 27, 34
Ctrl-Z (Zoom) ........................................ 21, 34
Ctrl-End ............................................. 19, 30
Ctrl-Home ............................................ 19, 30
Ctrl-Left ........................................ 19, 23, 29
Ctrl-Page Down ....................................... 19, 29
Ctrl-Page Up ......................................... 19, 29
Ctrl-Right ....................................... 19, 23, 29


CADET User's Manual 36 Index







cursor keys ......................... 1, 5, 8, 18, 19, 29, 33
cut & paste .................................. 23, 24, 31, 32
degrees symbol .................................... 5, 19, 30
delete block ..................................... 19, 23, 32
Delete key ........................................... 19, 30
delete line .......................................... 21, 31
delete word .......................................... 19, 33
diameter symbol ................................... 5, 19, 30
edit text .......................................... 1, 10, 18
elevation ........................................ 11, 15, 20
encrypted file ......................................... 7, 9
end command .................................. 10, 14, 28, 31
End key ........................................... 19, 23, 29
Enter key ................................................ 29
entities .............................. 1, 10, 12, 13, 19, 20
erase ............................................ 19, 30, 32
Esc key ............................... 18, 19, 21, 24, 27, 30
exit .............................................. 28, 31, 34
export text ................................... 1, 10, 27, 34
F1 function key (help) ............................... 18, 30
F10 function key (pull-down menu) ................ 18, 30, 34
find text ............................................ 26, 31
fixed height text style .......................... 11, 14, 27
global ................................... 19, 21, 24, 27, 30
height, text ..................... 11, 12, 16, 18, 20, 27, 31
help .............................................. 1, 18, 30
Home key ......................................... 19, 23, 29
hot-key .............................................. 18, 34
import text ........................................... 1, 15
insert block ..................................... 23, 24, 31
Insert key/insert mode ........................... 18, 19, 30
insert line ...................................... 21, 22, 31
insert point ............................ 6, 7, 9, 11, 16, 20
justification, text ................... 6, 11, 13, 15, 16, 17
line, text ............................................... 19
loading CADET ........................... 6, 7, 9, 10, 11, 15
local .................................................... 19
macro ................................................. 23, 24
mark text ..................................... 19, 23, 32, 21
match ............................................. 26, 31, 33
memory management ........................................ xx
menu ................................. 10, 11, 15, 18, 30, 34
order ............................................ 20, 27, 32
overscore ............................................ 19, 29
overwrite mode ................................... 18, 19, 30
Page-Down key ........................................ 19, 27
Page-Up key .......................................... 19, 27
pick ............................................. 10, 20, 26
plus or minus symbol .............................. 5, 19, 30
prompt ................................................... 18
quit .......................................... 10, 26, 28, 32
rearranging text .......................................... 25
replace .............................................. 26, 33
row .......... 6, 7, 8, 9, 12, 16, 18, 20, 21, 23, 31, 32, 33
scroll ................................................ 1, 19
search and replace.................................... 26, 33


CADET User's Manual 37 Index







set ............................................ 6, 9, 10, 19
shortcut key ......................................... 18, 34
sort order ....................... 6, 7, 8, 9, 18, 20, 27, 32
sorting coordinates ...................................... xx
status line .............................................. 18
style, text .............................. 14, 16, 18, 27, 33
swap ............................................. 23, 24, 32
symbols ............................... 5, 19, 20, 29, 30, 35
Tab keys ......................................... 19, 23, 29
tables ............................................ 11, 12, 20
tolerance, row/column definition ......................... 20
translate ......................... 5, 6, 7, 8, 20, 27, 34, 35
typematic rate accelerator ........... 5, 7, 8, 9, 18, 19, 33
underscore ........................................... 19, 29
undo ................................. 19, 21, 24, 26, 27, 30
video adapter ........................................ 21, 33
view ................................................. 21, 33
zoom ................................................. 21, 34








































CADET User's Manual 38 Index







ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
CADET - the CAD text EdiTor USER REGISTRATION CERTIFICATE
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ V2.0 ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

Cadet users must accept the DISCLAIMER AND LIMIT OF LIABILITY
and CADET AS SHAREWARE restrictions presented in the CADET
User's Manual. Each CADET registration licenses one copy of
CADET for use on any one computer at any one time. Site-
license multiple installations by registering each copy per
the discounts below. Inquire for installations of 51 or more.
Upon registration you will receive a registration code via
mail. Allow 1-2 weeks for delivery. Once installed, the code
eliminates the display of the CADET editor's closing shareware
notice screen. Previously registered users may upgrade their
license and registration code to Version 2.0 at the upgrade
rates shown below (free if you registered after May 15, 1990).

1 to 5 registrations: Qty._____ @ $25 US ea.= $_________
6 to 10 registrations: Qty._____ @ $20 US ea.= $_________
11 to 25 registrations: Qty._____ @ $18 US ea.= $_________
26 to 50 registrations: Qty._____ @ $16 US ea.= $_________
* 1 to 5 CADET diskettes: Qty._____ @ $10 US ea.= $_________
* 6 to 50 CADET diskettes: Qty._____ @ $ 8 US ea.= $_________
Upgrade registration: Qty._____ @ $ 6 US ea.= $_________
* Upgrade with diskette: Qty._____ @ $10 US ea.= $_________
Total Due: $_________

* Optional, 5-1/4" floppy diskette containing the latest CADET
version with AutoLISP source code. You may order up to one
diskette per registration. Allow 2-3 weeks for delivery.

The above discount rates also apply to AutoCAD User's Groups.
To qualify, mail one package containing all fees and
Registration Certificates, and proof of the group's identity.
Each registering member must complete their individual
certificate as usual, except substitute the collective
discount rate for the rate which would normally be applied.
We will mail each member their materials individually.

Name:______________________________ Title:____________________

Company Name:_________________________________________________

Address:______________________________________________________

City:____________________________ State:______ Zip:___________

Phone: (____)_____-________ Fax: (____)_____-________

Signed:___________________________________ Date: _____________

Where did you acquire CADET ? ________________________________

Remit check or money order to: Steve Waskow
Wasco Technical Software
1211 Grand Junction Drive
Katy, Texas 77450

THANK YOU FOR REGISTERING. WE VALUE COMMENTS AND SUGGESTIONS.





  3 Responses to “Category : Printer + Display Graphics
Archive   : CADET.ZIP
Filename : CADET.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/