EDT.TXT v1.2 [9/24/90] (c)1990 David P. Hoekstra Help file for EDT.LSP Ver 1.2 (c) 1990 ------------------------------------------------------------------- If you find EDT.LSP easy and convenient to use, a registration of $25 would be appreciated. If you send $35, you will receive a fully documented, expanded copy of the latest version of this program. The contents of this program, whole or in part, cannot be distributed for commercial purposes without the written consent of the author. Please send check or money order to the following address: David Hoekstra 3278 S. Dudley Dr. Lakewood, CO 80227, Ph (303) 989-1160. Please do not distribute this unless all of the three following files are included: EDT.LSP - The main program file EDST.LSP- Separate subroutines to be loaded into and out of memory. EDT.TXT - Help file and instructions ------------------------------------------------------------------ INSTALLATION ~~~~~~~~~~~~ To get the program into memory, type: (load "edt") at the AutoCAD 'Command:' prompt, or put that statement into your ACAD.LSP file. You must have the file EDST.LSP where AutoCAD can find it (ie. in the main ACAD directory). In order for EDT to use the cursor keys, it uses ANSI escape sequence to remap those keys to values readable by the GRREAD function. This requires that the ANSI.SYS must be installed in the CONFIG.SYS file, as in device=c:\ansi.sys and that the program be able to write to the ANSI driver. AutoCAD can do so if it is the TEXT screen. I have only tried this on a single screen configuration with standard screen drivers. If this does not work for your system (the cursor will stop blinking and the cross hairs will start to move) give me a call and we will figure a way to temporarily remap the cursor keys another way. It is the remapping of the cursor keys that causes the screen to flash briefly when entering and exiting EDT (unfortunately) The rate of the cursor blinking is entirely dependent on the speed of your system. To change the rate of cursor blinks, use a text editor or EDLIN if you must, and edit the line near the beginning of the LISP portion (Lost In Silly Parenthesis), right after the initial header in the EDT.LSP file (all those lines starting with ';') that looks like this: (setq CURSRBLINK 10) 10 is the rate at which it blinks, a smaller value (whole numbers only PLEASE) will cause it to blink faster, a larger number will cause it to blink slower. Change this value to suit yourself for each system. OPERATION ~~~~~~~~~ After installing, type 'EDT' at the command prompt, and the program will ask for the entities to edit, EDT will skip by any non-text entities, so feel free to use window or crossing commands. Any method of selection acceptable to AutoCAD will suffice. The program will optionally unload and load up a number of routines from disk to free up space when not in use. This will slow things down when it starts up. To enable unloading of the routines, type EDTMEM This will change the value of the global variable EDTM, which if nil, cause the program to remove as much from memory as it can when it is finished. This value will remain for the duration of the current drawing session. Typing EDTMEM will toggle the value of EDTM between nil and 1. Added in Version 1.2 is a large line length adjustment, the text will now scroll when presented with a line longer than 80 characters. The control keys used by EDT are; Right or Left Cursor Keys move the cursor one letter right or left CTRL Right or Left Cursor Keys move the cursor one word right or left CTRL Home Key moves the cursor to the first letter of the text CTRL End Key move the cursor to the last letter of the text Backspace Key performs a destructive backspace on the letter before the cursor Delete Key will delete letter at cursor location CTRL Backspace Key will delete from the cursor to the end of the line CTRL Pageup Key will make word at the cursor location all uppercase CTRL Pagedown Key will make the word at the cursor location all lowercase All ASCII letters are inserted at the cursor location Return will replace the text line with the new one in the AutoCAD database and advance to the next text entity. CTRL Return will replace the text line with the new one in the AutoCAD database and proceed with the PREVIOUS text entity CTRL C key to abort the entire program, but all text entities previous replaced will remain ESC will return the current string being edited to the original string, works up until a Return or CTRL Return is pressed If you have something else you would like to see in the program, write me a note and I'll see if I can shoehorn it in and give it back to you. Enjoy this program and please distribute it unmodified (except as discussed above) to others free of charge.