ÜÜÜÜÜÜ ÜÜÜÜÜÜ ÜÜÜÜÜ ÜÜÜÜÜÜ ÜÜÜÜÜÜÜ (tm) ÝÝ ß ÝÝ ß ÝÝ ßÛ ß ÝÝ ß ÝÝ ß ßßßßÛÛ ÛÛßß ÝÝ Û ÝÝ ÝÝ Ü ÞÞ ÝÝ Ü ÝÝ ÜÛ ÝÝ Ü ÝÝ ßßßßßß ßßßßßß ßßßßß ßßßßßß ßßß v1.10 SEDIT, Copyright (c) 1992-94, J.E. Smith, All rights reserved. TABLE OF CONTENTS Introduction ...................................................... 1 Features .......................................................... 2 Distribution ...................................................... 3 Quick Start Installation .......................................... 4 Configuring SEDIT ................................................. 5 SE-CFG.EXE Program ........................................... 5 Internal Settings ............................................ 6 Static Key Commands ............................................... 8 Help System/Status Line............................................ 10 Hot-Keys .......................................................... 11 Field Editing ..................................................... 12 File Menu ......................................................... 13 Edit Menu ......................................................... 15 Window Menu ....................................................... 18 Locate Menu ....................................................... 19 Block Menu ........................................................ 21 Print Menu ........................................................ 23 Macro Menu ........................................................ 24 Spell Menu ........................................................ 25 Other Menu ........................................................ 26 Select File Window ................................................ 29 Select Word Window ................................................ 30 Mouse Support ..................................................... 31 Technical Support and Upgrade Policy .............................. 32 Kudos ............................................................. 33 License Agreement and Other Legal Matters ......................... 34 INTRODUCTION SEDIT v1.10 pg. -1- --------------------------------------------------------------------------- Welcome to SEDIT (Smith-EDIT)! SEDIT is a text editor originally designed to compose and edit messages while using an offline mail reader such as SPEED READ. However, its use is not limited to just offline mail. It provides all the features needed to create small to medium size text documents. Major features included are multi-file editing (up to 4 files), search and replace, block commands (copy, move, etc.), printing, keyboard macros, user-defined wordwrap, paragraph/quoted text reformatting and a spelling checker with a 50,000 word dictionary. SEDIT was designed with ease of use in mind. Most commands are available via pull-down menus. An extensive, on-line, context-sensitive, hyper-text, help system is always available by pressing (F1). Many new features are planned for future versions of SEDIT. However, they can only be implemented with your support. The registered version of SEDIT removes the beginning and ending screens. The cost of SEDIT is $25 (US funds). Include $5 shipping and handling for orders outside the United States. Add $5 if you require SEDIT on a 3-1/2" disk. A completed and signed order form MUST accompany each order. The order form is found in the file ORDER.FRM, or you can print one by pressing (ALT-O) on the opening/closing screen. MC/VISA accepted. Orders are processed as they are received. Generally, they are shipped within 7 days. However, please allow 2-8 weeks for delivery from the time your order is mailed. To ensure the fastest delivery and the lowest cost, please use the program ORDER.EXE to complete the order form. ORDER.EXE guarantees you the lowest price and eliminates delays due to illegible handwriting. A lot of thought and time went into the design of SEDIT. I think you will find it both intuitive and easy to use. FEATURES SEDIT v1.10 pg. -2- --------------------------------------------------------------------------- SEDIT was not designed as a "do all" or "be everything" editor. There are plenty of other editors available for the "power-user". Instead SEDIT was designed for small to medium sized editing tasks such as replying to messages using an off-line mail reader, editing batch files, writing quick memos, etc. SEDIT's emphasis is on ease of use and user comfort. As such, SEDIT has the following limitations: * 5,000 lines per file maximum. Additional lines are truncated. * 1,024 column maximum. Additional columns are truncated. * 4 concurrently opened files. Major features include: - Direct support for 25/28/43/50 line mode. - Indirect support for other line modes (33/36/60 etc). - Auto-executing macro command line switch. - Convenient pull-down menus. - Most command key-strokes can be reconfigured. - 10 user-defined keyboard macros. - Option to swap out to XMS/EMS/DISK before running external programs. - 5k delete/undelete buffer. - Word wrap. - Paragraph and quoted text reformatting. - Support for editing up to four files simultaneously. - Resizeable windows. - Single key to toggle between vertical/horizontal split windows. - Search and replace functions. - Block functions: copy, delete, move, to clipboard, from clipboard. - Print functions. - Spelling checker with a 50,000 word dictionary. - Option to spell-check as you type. - Extensive, on-line, context-sensitive, hyper-text help system. - Autoindent option. - Strip trailing spaces option. - User definable TAB size. - DOS shell and DOS command option. - Ability to change and save most settings within SEDIT. - Limited mouse support. - ...and much more. DISTRIBUTION SEDIT v1.10 pg. -3- --------------------------------------------------------------------------- SEDIT is distributed as shareware. It is *NOT* public domain, freeware or "free software". You may evaluate SEDIT for 30 days, after which you must either register it or stop using it. Registration is required for use in a home, business, government or institutional setting. Unaltered copies of SEDIT's *original* shareware distribution archive may be freely copied and shared with others as long as no fee is charged to do so. It may be uploaded to local and national BBSs. SEDIT may be distributed via subscription BBSs as long as no inference is made that the subscription in any way pays for the use or evaluation of SEDIT. QUICK START INSTALLATION SEDIT v1.10 pg. -4- --------------------------------------------------------------------------- SEDIT and its accompanying files should reside in the same directory. Though it is not necessary, it is convenient if the directory is included in the path statement. It is not necessary for SEDIT to be in its own directory. For a list of directories included in the path type PATH at a DOS prompt. If you have registered SEDIT, make sure your CONFIG.SE file is in the same directory where SE.EXE is located. The general syntax for SEDIT is: SE {filename1 .. filename4} {switches} Start SEDIT by typing: SE (ENTER) Press any key to bypass the shareware screen (this is not present in registered versions). Next you are shown a list of files in the current directory. You may edit the Filespec and press (ENTER) to change the file list or press (TAB) to move the highlight bar to the file list. Select the file you want to edit and press (ENTER) to load it. If you know the name of the file you want to edit before starting SEDIT you can specify the name on the command line (up to four files). For example: SE file1.txt file2.txt file3.txt file4.txt (ENTER) This will load file1.txt file2.txt file3.txt file4.txt into four separate windows and allow you to edit each of them. If you do not know the exact name of the file but know the extension you can start SEDIT using DOS valid wildcards. For example: SE *.TXT (ENTER) This will start SEDIT and display a list of files in the current directory matching the file selection argument of *.TXT. You can also specify a full path name when using wildcards or a specific name. For Example: SE D:\DOC\*.TXT (ENTER) SE D:\DOC\SE.DOC (ENTER) SEDIT will read and try to adjust to the number of displayed lines when it is started. If you want SEDIT to change the number of displayed lines on an EGA/VGA monitor, start SEDIT with the /nn switch where 'nn' is the number of displayed lines. Valid arguments are 25, 28, 43, or 50 (i.e. /25, /28, /43 and /50). This option should come after all filenames and may not work with all video cards. **> NOTE <** When used with an offline mail reader, it is usually necessary to swap the mail reader to disk, EMS or XMS before running SEDIT. Due to SEDIT's spelling checker, online help and other features it requires more memory than a standard text editor. CONFIGURING SEDIT SE-CFG.EXE PROGRAM SEDIT v1.10 pg. -5- --------------------------------------------------------------------------- Most of SEDIT's settings can be changed and saved from within the program. Two notable exceptions are the color selection and key bindings. These are changed with the SE-CFG.EXE configuration program. Custom settings are stored in the file SE.CFG. If SEDIT can find this file at startup, the settings, as defined in SE.CFG, are used instead of the default. KEY BINDINGS SE-CFG.EXE option (1). This screen allows you to define the keystrokes used to execute SEDIT commands. Use the following keys to change the key bindings: (ARROWS) Move highlight bar. (PGDN/PGUP) Move down/up five places. (HOME/END) Move to the first/last item. (SPACE) Tag an active key. Once tagged it will begin to blink. (ENTER) Move a tagged (blinking) key to highlighted key. (F2) Save displayed key bindings in SE.CFG file. (TAB) Display alternate list. Use (SPACE) and (ENTER) as defined above to change key bindings. (ALT-X) Save settings and exit. (ESC) Exit program, no save. COLOR SELECTION SE-CFG.EXE option (2). From this screen you can change the colors used by SEDIT. Use the (UP-ARROW) and (DOWN-ARROW) to select which item to change. Use the (LEFT-ARROW) and (RIGHT-ARROW) to change the color of the highlighted item. Sample screens are provided to let you view your selections. Other valid keys are: (D) Toggle through various default settings. (F2) Save the displayed colors as the default colors. (ALT-X) Save settings and exit. (ESC) Exit program, no save. CONFIGURING SEDIT INTERNAL SETTINGS SEDIT v1.10 pg. -6- --------------------------------------------------------------------------- The following settings can be changed and saved within SEDIT using the pull down menus. LEFT MARGIN -- PRT MENU The Left Margin command (ALT-I, by default) allows you to define the number of spaces each line is indented when the file or a block is sent to a text printer. LINES PER PRINTED PAGE -- PRT MENU The Lines/page command (ALT-H, by default) allows you to define the number of lines printed on each page. SPELL CHECK -- SPELL MENU The Spell Check command (which is only accessible via the menus) toggles the auto checking On or Off. If the auto checking is On, the words are checked as you type them in. A beep sounds if SEDIT cannot find the word in the dictionary. You may then either continue typing or look the word up with the Check Word command. See also the SELECT WORD WINDOW section. AUTOINDENT -- OTHER MENU The Autoindent command (which is only accessible via the menus) toggles the auto indenting On or Off. If the auto indenting is On, the next line indents the same number of spaces as the previous line when (ENTER) is pressed or word wrap occurs. STRIP TRAILING SPACES -- OTHER MENU The Strip Spaces command (which is only accessible via the menus) toggles the stripping of trailing spaces On or Off. If strip spaces is On, any trailing spaces are removed whenever the line is active then you move to another line. WORD WRAP -- OTHER MENU The Word Wrap command (CTRL-W, by default) allows you to define the column in which word wrap will take place. To disable word wrap set set this item to 0. Word wrap is the process of ensuring a maximum length for each line. Text is automatically moved to the next line when a character is entered beyond the column defined in this setting. If a line becomes too long as a result of inserting characters at its beginning, the line/paragraph is adjusted with the Reformat command. CONFIGURING SEDIT INTERNAL SETTINGS -- continued SEDIT v1.10 pg. -7- --------------------------------------------------------------------------- TAB SIZE -- OTHER MENU The Tab Size command (ALT-T, by default) allows you to define the width of the TAB stops. The default setting is eight. Each time (TAB) is pressed the cursor moves to the next TAB stop (e.g. column 8, 16, 24, etc). SWAP SEDIT TO MEMORY OR DISK -- OTHER MENU When this option is toggled On, SEDIT is moved out of conventional memory before external programs, including DOS shells, are executed. This frees more memory for the external program. SEDIT will attempt to swap itself to high memory first. If there is not enough memory, it will attempt to swap itself to disk. Toggle this option by pressing (ENTER). The advantage to swapping, as stated above, is the increased memory capacity afforded the external program. However, it will take longer to execute the program because of the time needed to remove SEDIT from conventional memory. Disk swaps will take longer than memory swaps. Therefore, if your applications will run without swapping, it is to your advantage to leave this option toggled Off. SAVE SETTINGS -- OTHER MENU The Save Settings command (which is only accessible via the menus) will save the various settings to the file SE.CFG. STATIC KEY COMMANDS SEDIT v1.10 pg. -8- --------------------------------------------------------------------------- KEY COMMANDS Some commands have a static or hard-coded keystroke associated with it. These keystrokes cannot be changed via the configuration program. Generally, these are common default keystrokes for most editors and most also have a user-definable keystroke associated with it. Most commands allow you define or assign a key to that particular function. Since the keystrokes are subject to change the online help and the manual will only refer to them by function and default keystroke. MOVEMENT The following keys are used to move within a text file. These keys are not user-definable. (LEFT/RIGHT) Move one space to the left/right. (CTRL-LEFT/RIGHT) Move one word to the left/right. (UP/DOWN) Move to previous/next line. (HOME/END) Move to the beginning/end of current line. (CTRL-HOME/END) Move to first/last line of displayed screen. (PGUP/PGDN) Previous/next screen. (CTRL-PGUP/PGDN) First/last screen and line. (ENTER) Move to beginning of the next line. (TAB) Jump predefined number of spaces. STATIC KEY COMMANDS -- continued SEDIT v1.10 pg. -9- --------------------------------------------------------------------------- CTRL-K The CTRL-K commands are primarily block commands. They closely follow the industry standard. These keys are not user-definable. (CTRL-K B) Mark beginning of block. (CTRL-K K) Mark end of block. (CTRL-K H) Hide/unhide block. (CTRL-K G) Goto beg. of block. (CTRL-K Y) Delete block. (CTRL-K C) Copy block. (CTRL-K V) Move block. (CTRL-K S) Save file. (CTRL-K R) Read block. (CTRL-K W) Write block. (CTRL-K A) Print all. (CTRL-K P) Print block. (CTRL-K M) Set lines per page. (CTRL-K L) Set left print margin. (CTRL-K T) Copy block to clipboard. (CTRL-K F) Copy block from clipboard. (CTRL-K 1..0) Set bookmark. (CTRL-Q 1..0) Goto bookmark. CTRL-Q The CTRL-Q commands are primarily control commands. They closely follow the industry standard. These keys are not user-definable. (CTRL-Q C) Center line. (CTRL-Q D) Insert date and time. (CTRL-Q L) Restore line. (CTRL-Q Y) Clear to end of line. (CTRL-Q F) Find string. (CTRL-Q A) Find and replace. (CTRL-K 1..0) Set bookmark. (CTRL-Q 1..0) Goto bookmark. OTHER KEYS Below is a list of other keys that are not user-definable. (INS) Toggle Insert/Overwrite mode. (DEL) Delete character at cursor. (BACKSPACE) Delete previous character and backup 1 column. (ALT-1 to ALT-4) Jump to window number 1 to 4. HELP SYSTEM/STATUS LINE SEDIT v1.10 pg. -10- --------------------------------------------------------------------------- HELP SYSTEM SEDIT contains an on-line, context-sensitive, hyper-text help system. At any time, you can view a help screen relating to your specific position in SEDIT by pressing (F1). The importance of using (F1) throughout the program cannot be over-emphasized. SEDIT's help system is rich with specific and detailed information on all aspects of the program. Nearly as much time went into the help screens as the actual program. Much of this manual was compiled using information from the help screens. Presented below is a summary of the valid commands while in the help system. (ARROW KEYS) Select a topic by moving the highlight bar with any of the arrow keys. (ENTER) View the help screen relating to the highlighted topic. (ANY LETTER) Jump to the next selection beginning with that letter. (HOME) Move the highlight bar to the first selection. (END) Move the highlight bar to the last selection. (PGUP) Move the highlight bar 1/10 back in the list. (PGDN) Move the highlight bar 1/10 forward in the list. (ESC) or (-) Leave the help system and return to program. STATUS LINE SEDIT displays a status line on the bottom of the screen. A sample status line looks like this: SEDIT | R: 529 | C: 26 | 36% | Buf: 26366 | * | D:\SE\SE.DOC | 1 R: 529 -- Currently active row/line. C: 26 -- Currently active column. 36% -- Relative percentage through the document. Buf: 26366 -- Amount of free bytes in buffer. * -- * if the file has changed since last save. D:\SE\SE.DOC -- Name of file being edited. 1 -- Active window number. HOT-KEYS SEDIT v1.10 pg. -11- --------------------------------------------------------------------------- Hot-Keys are key combinations that are available to you anytime SEDIT is waiting on a key to be pressed. Valid Hot-Keys include: (F1) Context-sensitive help. (see HELP SYSTEM) (ALT-M) Available memory and other key information. (ALT-S) Shell to DOS, return to SEDIT by typing EXIT. Presented below is detailed information on selected Hot-Keys: (ALT-M) SYSTEM INFORMATION Key system information is available to you anytime by pressing (ALT-M). The following information is displayed. NEAR FREE Amount of free memory on the near heap. This number is really not useful to you, since you cannot control it. FAR FREE Amount of free memory that SEDIT and other programs can use. When you shell to DOS or SEDIT runs other programs, this is the memory that is used. NEAR/FAR HEAP Test to check the near/far heap. (ALT-S) DOS SHELL Pressing (ALT-S) will allow you to shell to DOS without exiting SEDIT. This allows you to perform DOS related functions such as formatting disks, copying files or any other needed activity. When you are finished just type EXIT and you will immediately return to SEDIT exactly where you were when you shelled to DOS. If Swapping is turned Off, SEDIT is left in conventional memory. This will limit the amount of free memory while in DOS. If you get errors such as 'Program too big to fit in memory' or 'Out of memory' try turning Swapping on before shelling to DOS. To change the Swap setting press (ALT-O) for the Other menu, then press (P) to toggle the setting. If you want to make the setting permanent, press (V) to saVe the settings. FIELD EDITING SEDIT v1.10 pg. -12- --------------------------------------------------------------------------- When entering certain text information, such as a search key, you may use the following field editing commands: (HOME) Move the cursor to the beginning of the line. (END) Move the cursor to the end of the line. (LEFT) Move the cursor one space to the left. (RIGHT) Move the cursor one space to the right. (CTRL-LEFT) Move the cursor one word to the left. (CTRL-RIGHT) Move the cursor one word to the right. (DEL) Delete one character at the cursor. (BACKSPACE) Move the cursor one space to the left and delete one character. (INS) Toggle between the insert and over-type mode. While in the insert mode the cursor's height will increase and new characters are inserted by shifting all remaining text one position to the right of the cursor. Toggling back to the over-type mode will restore the cursor to its normal size and characters entered will replace those at the cursor. (F5) Convert all the text to upper case. (F6) Convert all the text to lower case. (F7) Make the first letter of each word upper case. (F8) Reverse the character's case at the cursor. (PGUP) Enter control character (i.e. ALT-027, ALT-007, etc.) (PGDN) Reverse all changes and continue editing. (ESC) Reverse all changes and quit. (ENTER) Accept all changes and quit. In some instances, the input line will appear with text already in it. This is either the default or the last entered text. Pressing any character will erase the line and allow you to enter new text. You may choose to edit the text by first pressing a control key. A control key is any valid non-alphanumeric key such as (INS) or (LEFT). FILE MENU SEDIT v1.10 pg. -13- --------------------------------------------------------------------------- The pull-down File menu is accessed by pressing (ALT-F, by default). It provides easy access to most of the disk/file related functions in SEDIT. The following functions are supported via the menu. Save File - Save active file. Save All - Prompt and save all files. Load New - Load a new file. Close File - Close active file. Import - Import another file into the active file. Export - Export the marked block of text to a file. Rename - Rename the active file. DOS Shell - Temporarily shell to DOS, Type EXIT to return. Quit - Close all files and exit SEDIT. Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. SAVE FILE The Save File command (F2, by default) will save the current/active file to disk. This is an unconditional save (the file is saved each time whether or not it needs to be saved). Whenever a file is changed and is unsaved the status bar will show an '*' instead of a 'ú' after the "Buf:" field. SAVE ALL The Save All command (ALT-F2, by default) will save all changed files to disk. This is a conditional save (the file is only saved if it has changed since the last time it was saved). Whenever a file is changed and is unsaved the status bar will show an '*' instead of a 'ú' after the "Buf:" field. LOAD NEW The Load New command (F3, by default) will display a list of files and allow you select the desired one to load. Once selected SEDIT will automatically open a new window and display the file in it. If there is insufficient memory to load the file or all 4 windows are in use, SEDIT will abort the operation. CLOSE FILE The Close File command (ALT-F3, by default) will close the active file. If the file has been changed since the last time it was saved, SEDIT will ask you if you want to save the file before closing it. FILE MENU -- continued SEDIT v1.10 pg. -14- --------------------------------------------------------------------------- IMPORT The Import command (CTRL-Z, by default) will display a list of files and allow you to select the desired one to import. The selected file will be combined into the active file beginning where the cursor is located when the command is issued. EXPORT The Export command (CTRL-X, by default) allows you to create a text file containing whatever is marked in the active file. RENAME The Rename command (F4, by default) allows you to rename the active file. Future saves will use the new name. Note that this does not affect files previously saved under the old name. DOS SHELL This command (ALT-S, by default) allows you to shell to DOS without exiting SEDIT. You can then perform DOS related functions such as formatting disks, copying files or any other needed activity. When you are finished, type EXIT and you will immediately return to SEDIT exactly where you were when you shelled to DOS. If Swapping is turned off, SEDIT is left in conventional memory. This will limit the amount of free memory while in DOS. If you get errors such as 'Program too big to fit in memory' or 'Out of memory' try turning Swapping on before shelling to DOS. To change the Swap setting press (ALT-O) for the Other menu, then press (P) to toggle the setting. If you want to make the setting permanent, press (V) to saVe the settings. QUIT The Quit command (ALT-X, by default) prompts you to save unsaved files then exits SEDIT. EDIT MENU SEDIT v1.10 pg. -15- --------------------------------------------------------------------------- The pull-down Edit menu is accessed by pressing (ALT-E, by default). It provides easy access to many editing functions in SEDIT. The following functions are supported via the menu. Restore Line - Undo changes to line. Erase EOL - Erase from cursor position to end-of-line. Delete Line - Delete current line. Undelete Line - Restore last deleted line. Delete Word - Delete word at cursor. Insert Line - Insert a new line. Expand TABs - Convert all TAB characters into spaces. Control Code - Insert control code into text. Reformat - Reformat current paragraph or quoted text. Line Draw - Draw lines and boxes using the cursor. Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. RESTORE LINE The Restore Line command (ALT-U, by default) will undo all the changes to the active line and restore it to its original state. This command is only available for the current line. Once you leave a line, SEDIT is no longer able to reverse your changes. ERASE EOL The Erase EOL command (CTRL-E, by default) will delete all characters from the cursor to the end of the current line. DELETE LINE The Delete Line command (CTRL-Y, by default) will delete the current line and place it in the undelete buffer. You can retrieve a deleted line with the Undelete Line command. UNDELETE LINE The Undelete Line command (CTRL-U, by default) will undelete the last line deleted or the last line placed in the undelete buffer. Lines are placed in the undelete buffer with the Delete Line, Delete Block or To Clipboard commands. INSERT LINE The Insert Line command (CTRL-N, by default) will insert a blank line directly above the cursor. EDIT MENU -- continued SEDIT v1.10 pg. -16- --------------------------------------------------------------------------- CONTROL CODE The Control Code command (CTRL-O, by default) allows you to enter control codes directly into the file you are editing. The control code is the ASCII value associated with the particular character you want to enter. Refer to the ASCII chart included in the on-line help for specific values. EXPAND TAB The Expand TABs command (SHIFT-TAB, by default) will convert all TAB characters into the proper number of spaces. The number of spaces is set with the Tab Size command. DELETE WORD The Delete Word command (CTRL-T, by default) will delete one word (consisting of alpha-numeric characters) at the cursor and any trailing spaces. If the cursor in on a non-alpha-numeric character, then SEDIT will delete characters until the next alpha-numeric character is reached. REFORMAT PARAGRAPH The Reformat command (CTRL-CR, by default) reformats the current paragraph from the cursor position to the paragraph's end. This is accomplished by wrapping lines longer than the Wordwrap length to the next line. Indention is preserved during the reformation. REFORMAT QUOTED TEXT The Reformat Quote command (CTRL-\, by default) reformats quoted text from the cursor position to the last quoted line. This is accomplished by wrapping lines longer than the Wordwrap length to the next line while leaving the quote characters in place. The number of quote characters is determined by the cursor position when the command is issued. If the starting column position is greater than eight or the character preceding the cursor is alpha-numeric, you are asked to confirm the command. EXAMPLE: JS> To reformat this quote place the cursor on the letter JS> "T" in the word "To" on the first line and press CTRL-\. EDIT MENU -- continued SEDIT v1.10 pg. -17- --------------------------------------------------------------------------- LINE DRAW The Line Draw command (ALT--, by default) allows you to select a drawing mode. Once a mode is selected SEDIT will draw lines and boxes simply by moving the cursor. The following modes are valid: Off - No lines are drawn, normal edit mode. Single - All lines use a single frame character. Double - All lines use a double frame character. Double Horizontal - Horizontal lines use double frame characters, vertical lines use single frame characters. Double Vertical - Vertical lines use double frame characters, horizontal lines use single frame characters. Erase - Characters and lines are erased as the cursor is moved. WINDOW MENU SEDIT v1.10 pg. -18- --------------------------------------------------------------------------- The pull-down Window menu is accessed by pressing (ALT-W, by default). It provides easy access to multi-file windowing functions in SEDIT. The following functions are supported via the menu. Zoom/unzoom - Toggle to/from full screen presentation. Next Window - Jump to the next window. Toggle Split - Toggle horizontal/vertical split of windows. Resize - Enlarge or shrink active window. Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. ZOOM/UNZOOM WINDOW The Zoom/Unzoom command (F5, by default) expands the window to occupy the full screen (Zoom) or returns it to its normal size (Unzoom), depending on its current state. When a window is not Zoomed it will have a border around it. NEXT WINDOW The Next Window command (F6, by default) makes the next valid window/file in the que the active window/file. If no valid windows/files are found before the end of the que, SEDIT will search from the beginning of the que up to the current window/file. (ALT-1 thru ALT-4) will allow you to jump directly to any valid window/file without having to cycle through all the other windows/files. For example, if you are editing 4 files at once and the active file is #3 (see the bottom right hand corner of the status bar) and you want to go to the 2nd window/file, simply press (ALT-2). TOGGLE SPLIT The Toggle Split command (F7, by default) toggles how multiple files/windows are displayed. They are displayed either horizontally (on top of each other from top to bottom) or vertically (next to each other from left to right). RESIZE WINDOW The Resize Window command (CTRL-F5, by default) allows you to change the size of the active window when multiple windows are displayed. The windows are resized by moving the bottom border up or down for horizontally displayed windows, and the right border left or right for vertically displayed windows. Note the adjoining window must have sufficient room to be expanded into. LOCATE MENU SEDIT v1.10 pg. -19- --------------------------------------------------------------------------- The pull-down Locate menu is accessed by pressing (ALT-L, by default). It provides easy access to search and replace functions in SEDIT. The following functions are supported via the menu. Find - Find specified string. Replace - Find specified string and replace with another. Next Match - Find next match of previously specified string. Goto Line - Goto a specified line number. Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. FIND STRING The Find command (CTRL-F, by default) allows you to search for a specific string as defined in the "Search For:" field. "Ignore Case" when toggled to No will only find a match if the case is the same. For example, "sedit", "Sedit", "SEDIT" are considered different strings when this field is set to No, but are considered the same string when this field is set to Yes. "Range:" determines the scope of the search. "from Cursor" begins the search at the cursor and continues to the end of the file. "from Beginning" searches the entire file. "Marked block" limits the search to highlighted block. Use (SPACEBAR) to toggle options, or press the capitalized letter to go directly to an option. (TAB) to begin a search. (ESC) Quit. SEARCH & REPLACE The Replace command (CTRL-R, by default) searches for the string defined in "Search For:" and replaces it with "Replace With:". "Ignore Case" when toggled to No will only find a match if the case is the same. For example, "sedit", "Sedit", "SEDIT" are considered different strings when this field is set to No, but are considered the same string when this field is set to Yes. "Range:" determines the scope of the search. "from Cursor" begins the search at the cursor and continues to the end of the file. "from Beginning" searches the entire file. "Marked block" limits the search to highlighted block. If the "Prompt:" option is set to No, then all matches are automatically changed, else you are prompted before each change. Use (SPACEBAR) to toggle options, or press the capitalized letter to go directly to an option. (TAB) to begin a search. (ESC) Quit. LOCATE MENU -- continued SEDIT v1.10 pg. -20- --------------------------------------------------------------------------- NEXT MATCH The Next Match command (CTRL-L, by default) continues a previously defined search. If no more matches are found a beep will sound. GOTO LINE The Goto Line command (CTRL-G, by default) allows you to jump directly to the specified line. BLOCK MENU SEDIT v1.10 pg. -21- --------------------------------------------------------------------------- The pull-down Block menu is accessed by pressing (ALT-B, by default). It provides access to most of the block related functions in SEDIT. The following functions are supported via the menu. Mark Beg. - Begin marking block. Reset Beg. - Reset the beginning of a marked block. Mark End - Define the end of a marked block. Copy - Copy marked block. Move - Move marked block. Delete - Delete marked block. Goto Beg. - Move cursor to beginning of marked block. Hide/unhide - Hide/unhide marked block. To Clipboard - Copy marked block to clipboard. From Clipbd. - Get text from clipboard. Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. MARK BEGINNING OF BLOCK The Mark Beg. command (F9, by default) sets the current cursor position as the beginning and end of the block. Until the Mark End command is issued, the end of the block follows the current cursor position. This allows you to define a block by simply moving the cursor to where you want the block to end. RESET BEGINNING OF BLOCK The Reset Beg. command (ALT-F9, by default) resets the block's beginning to the current cursor position. This command allows you to change the beginning of a marked block. Unlike the Mark Beg. command the end-of-block marker is not affected. MARK END BLOCK The Mark End command (F10, by default) sets the block's end to the current cursor position. After issuing a Mark End command the block end setting will no longer follow the current cursor position. COPY BLOCK The Copy command (ALT-C, by default) copies the marked block to the current cursor postition. The copied block is inserted and does not overwrite existing text. BLOCK MENU -- continued SEDIT v1.10 pg. -22- --------------------------------------------------------------------------- MOVE BLOCK The Move command (ALT-V, by default) copies the marked block to the current cursor postition, and then deletes the original block. The moved block is inserted and does not overwrite existing text. DELETE BLOCK The Delete Block command (ALT-Y, by default) removes the marked block from the document and places it in the undelete buffer. It can be recovered 1 line at a time with the Undelete Line command. GOTO BEGINNING OF BLOCK The Goto Beg. command (CTRL-F9, by default) moves the cursor position to the beginning of the marked block. HIDE/UNHIDE BLOCK The Hide/unhide command (ALT-F10, by default) hides or unhides the marked block, depending the the blocks current state. The block is hidden by changing its highlighted color to the default text color. It is unhidden by resetting its color to the highlighted color. TO CLIPBOARD The To Clipboard command (ALT-D, by default) copies the highlighted/ marked text to the undelete buffer. It can be retrieved using the From Clipboard command. This command, along with the From Clipboard command, is used to move text from one file to another. FROM CLIPBOARD The From Clipboard command (ALT-G, by default) copies a previously saved block of text from the undelete buffer. Text can be saved using the To Clipboard command. This command, along with the To Clipboard command, is used to move text from one file to another. PRINT MENU SEDIT v1.10 pg. -23- --------------------------------------------------------------------------- The pull-down Prt menu is accessed by pressing (ALT-R, by default). It provides access to the print functions in SEDIT. The following functions are supported via the menu. Print Block - Print only the marked block. Print All - Print entire file. Form Feed - Send form-feed to printer. Left Margin - The number of spaces to indent when printing. Lines/page - The number of printed lines per page. Page Break - Enter a hard page break (decimal char code 012). Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. PRINT BLOCK The Print Block command (CTRL-B, by default) sends the marked block to the printer (lpt1). A form feed is NOT sent after the block. PRINT ALL The Print All command (CTRL-D, by default) sends the entire active file to the printer (lpt1). A form feed is NOT sent after the file. FORM FEED The Form Feed command (which is only accessible via the menus) sends sends a form feed to the printer (lpt1). A form feed is often needed after printing a block or file to instruct the printer to eject the last page. LEFT MARGIN The Left Margin command (ALT-I, by default) allows you to define the number of spaces each line is indented when the file or a block is sent to a text printer. LINES PER PRINTED PAGE The Lines/page command (ALT-H, by default) allows you to define the number of lines printed on each page. PAGE BREAK The Page Break command (CTRL-P, by default) allows you to force a page break when printing by inserting a form feed character directly into the text. MACRO MENU SEDIT v1.10 pg. -24- --------------------------------------------------------------------------- The pull-down Macro menu is accessed by pressing (CTRL-C, by default). It provides access to the macro functions in SEDIT. The following functions are supported via the menu. Record Macro - Begin/end recording session. Execute Macro - Execute previously recorded macro. Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. RECORD MACRO The Record Macro command (CTRL-], by default) allows you to assign a predefined sequence of keystrokes to a single keystroke. When the Record Macro command is issued, you are asked to select a key you want to assign the keystrokes to. Then you are asked to enter a short description of the macro. The description will appear in the maCro menu. Once the description is entered, a beep will sound to let you know the recording has begun. Enter the key sequence as you normally would. When finished, press the Record Macro command once again. A series of beeps will acknowledge that the key sequence was saved. SEDIT allows up to 10 macros with each storing up to 250 keystrokes. EXECUTE MACRO The Execute Macro commands (SHIFT-F1 thru SHIFT-F10, by default) allows you execute a previously defined macro. To replay the sequence of keystrokes, press the key to which they were assigned. In addition to the Execute Macro commands, you can automatically execute a macro upon starting SEDIT by using the /macro# command line option. Replace # with the macro's number 0 to 9. A failed search terminates the active macro. This can be used as simple IF logic (i.e. if "|| To:" is found then do ...) SEDIT allows up to 10 macros with each storing up to 250 keystrokes. SPELL MENU SEDIT v1.10 pg. -25- --------------------------------------------------------------------------- The pull-down Spell menu is accessed by pressing (ALT-P, by default). It provides easy access to the spell check functions in SEDIT. The following functions are supported via the menu. Check To EOF - Spell Check from current position to end of file. Check Word - Check word at cursor. Spell Check - Toggle automatic spell checking On or Off. Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. CHECK TO EOF The Check To EOF command (CTRL-A, by default) checks the spelling of the current file, beginning where the cursor is positioned to the file's end. To terminate the spell check, press (ESC). CHECK WORD The Check Word command (ALT-A, by default) checks the spelling of the word at the cursor. If the word is found in the dictionary, a distinctive tone will sound, otherwise a list of similar words is provided for you to select the correct spelling. See also the SELECT WORD WINDOW section. AUTO SPELL CHECK The Spell Check command (which is only accessible via the menus) toggles the auto checking On or Off. If the auto checking is On, the words are checked as you type them in. A beep sounds if SEDIT cannot find the word in the dictionary. You may then either continue typing or look the word up with the Check Word command. See also the SELECT WORD WINDOW section. OTHER MENU SEDIT v1.10 pg. -26- --------------------------------------------------------------------------- The pull-down Other menu is accessed by pressing (ALT-O, by default). It provides access to several general functions in SEDIT. The following functions are supported via the menu. Help - Online, context sensitive, hyper-text help. Autoindent - Indent same as previous line. Strip Spaces - Strip blank spaces at the end of a line. Insert - Toggle insert/over-write mode. Word Wrap - Wrap to next line when right margin is reached. TAB Size - Set number of spaces represented by TAB key. Swapping - Swap SEDIT out of memory before running program. DOS Command - Execute DOS command from within SEDIT. Memory - Display free memory, system date/time, etc. Save Settings - Save custom settings to active .CFG file. Functions with a key combination displayed can be directly accessed via the key combination without using the pull-down menu. AUTOINDENT The Autoindent command (which is only accessible via the menus) toggles the auto indenting On or Off. If the auto indenting is On, the next line indents the same number of spaces as the previous line when (ENTER) is pressed or word wrap occurs. STRIP TRAILING SPACES The Strip Spaces command (which is only accessible via the menus) toggles the stripping of trailing spaces On or Off. If strip spaces is On, any trailing spaces are removed whenever the line is active then you move to another line. INSERT The Insert command (the (INS) key, is NOT user-definable) toggles between over-write and insert mode. When in the insert mode characters are inserted by pushing trailing text to the right. While in the over-write mode characters at the cursor are replaced when a new one is entered. The cursor is three times larger in the insert mode than when in the over-write mode. OTHER MENU -- continued SEDIT v1.10 pg. -27- --------------------------------------------------------------------------- WORD WRAP The Word Wrap command (CTRL-W, by default) allows you to define the column in which word wrap will take place. To disable word wrap set set this item to 0. Word wrap is the process of ensuring a maximum length for each line. Text is automatically moved to the next line when a character is entered beyond the column defined in this setting. If a line becomes too long as a result of inserting characters at its beginning, the line/paragraph is adjusted with the Reformat command. TAB SIZE The Tab Size command (ALT-T, by default) allows you to define the width of the TAB stops. The default setting is eight. Each time (TAB) is pressed the cursor moves to the next TAB stop (e.g. column 8, 16, 24, etc). SWAP SEDIT TO MEMORY OR DISK When this option is toggled On, SEDIT is moved out of conventional memory before external programs, including DOS shells, are executed. This frees more memory for the external program. SEDIT will attempt to swap itself to high memory first. If there is not enough memory, it will attempt to swap itself to disk. Toggle this option by pressing (ENTER). The advantage to swapping, as stated above, is the increased memory capacity afforded the external program. However, it will take longer to execute the program because of the time needed to remove SEDIT from conventional memory. Disk swaps will take longer than memory swaps. Therefore, if your applications will run without swapping, it is to your advantage to leave this option toggled Off. OTHER MENU -- continued SEDIT v1.10 pg. -28- --------------------------------------------------------------------------- DOS COMMAND The DOS Command (F8, by default) allows you to execute a DOS command without exiting SEDIT. You can perform DOS related functions such as formatting disks, copying files or any other needed activity. Enter the command in the prompt window just like you would from a DOS prompt. When the operation is finished, you are automatically returned to SEDIT. If Swapping is turned off, SEDIT is left in conventional memory. This will limit the amount of free memory while executing the DOS command. If you get errors such as 'Program too big to fit in memory' or 'Out of memory' try turning Swapping on before shelling to DOS. To change the Swap setting press (ALT-O) for the Other menu, then press (P) to toggle the setting. If you want to make the setting permanent, press (V) to saVe the settings. SYSTEM INFORMATION Key system information is available to you anytime by pressing (ALT-M, by default). The following information is displayed. NEAR FREE Amount of free memory on the near heap. This number is really not useful to you, since you can not control it. FAR FREE Amount of free memory that SEDIT and other programs can use. When you shell to DOS or SEDIT runs other programs, this is the memory that is used. NEAR HEAP and FAR HEAP are integrity checks for the memory that SEDIT uses. Also displayed is the system time and date. SAVE SETTINGS The Save Settings command (which is only accessible via the menus) will save the various settings to the file SE.CFG. SELECT FILE WINDOW SEDIT v1.10 pg. -29- --------------------------------------------------------------------------- This window allows you to select a file from a list of files as defined in the Filespec field. The following keys are valid: (TAB) - Jump between the Filespec and Files field. (SHIFT-TAB) - Jump to Filespec field (useful when writing macros). (ESC) - Leave window without selecting a file. (F9) - Create/load Filespec. (Filespec field). (ENTER) - Filespec field: Display new file list. Files field: Select file. (CTRL-BACKSPACE) - Delete highlighted file (Files field). (ARROW KEYS) - Move cursor, scroll when necessary (Files field). (PGDN/PGUP) - Next/previous screen (Files field). (HOME/END) - Move cursor to first/last item (Files field). While in the Files section, the highlighted file's name, size, date and time is displayed above the file list. SELECT WORD WINDOW SEDIT v1.10 pg. -30- --------------------------------------------------------------------------- When the spelling checker is unable to find a word in the dictionary, a window pops up with a list of similar words. The questionable word is shown as the window's title with the closest match highlighted as the first item in the list. The following keys are valid while in this window: (ENTER) - Select highlighted word as the correct spelling. (F10) - Add word to personal list. (F2) - Edit misspelled world. (TAB) - Skip the questionable word and continue on. The word will be automatically skipped each time thereafter. (ESC) - Leave window and terminate spelling check. (DOWN/UP) - Move cursor down/up one item. (PGDN/PGUP) - Next/previous screen. (HOME/END) - Move cursor to first/last screen. (CTRL-HOME/END) - Move cursor to first/last displayed item. To search for a specific word, move to another line to clear the best guess, then begin typing the word. Use (BACKSPACE) if you enter an incorrect letter. MOUSE SUPPORT SEDIT v1.10 pg. -31- --------------------------------------------------------------------------- SEDIT employs a simple mouse interface. Each of the buttons and movements have the following default settings: Left Button - (ENTER) Move Up - (UP) Right Button - (ESC) Move Down - (DOWN) Center Button - (TAB) Move Left - (LEFT) Left+Right Button - (F10) Move Right - (RIGHT) Some of the default actions above are redefined in various areas. For example, when editing a file, the first time the left button is pressed it marks the beginning of a block. The second time it is pressed marks the end of a block. To enable the mouse SEDIT must be started with the /MOUSE command line option. TECHNICAL SUPPORT SEDIT v1.10 pg. -32- --------------------------------------------------------------------------- Questions or comments about this product should be directed to: Jim E. Smith 344 Observatory Drive Birmingham, AL 35206 Internet: jim.smith@lunatic.com I also monitor several national networks such as ILink, U'NI Net, etc. You may leave me mail, addressed to JIM SMITH, in the Shareware, Offline or SPEED Conferences of any of these networks. In addition to the above, registered users are provided with my home phone number for immediate technical support. UPGRADE POLICY - Open-ended promises are easy to make, but difficult to keep. In the end, the user usually feels cheated. - I want to offer free updates as long as it is economically feasible and other circumstances do not preclude it. - By "economically feasible", I mean, for example, as long as enough new orders are coming in to cover the cost of continued development. - By "other circumstances do not preclude it", I mean, for example, if someone hacks and distributes the key file scheme, it will have to be changed and new key files mailed out on a subsequent upgrade. In this example, the registered user would have to pay a small upgrade fee to cover the postage and handling. - In addition, all registered users are eligible to beta test the latest version. This will give the loyal supporters first crack at anything new, and provide me with an experienced pool of SEDIT users. Betas versions can be downloaded from: Lunatic Fringe (214)-235-5288 conference #169 The MATRIX (205)-252-5566 FS A-SPEED R K SE200 (CR) R (CR) Y (CR) Invention Factory (212)-274-8110 conference #326 McMeier & Son BBS +41-1-761-27-94 conference #0, dir #3 The Parthenon (205)-678-9676 conference #193 The latest versions of all of my products are available via anonymous ftp from ftp.wwa.com, in the pub/msdos/speed directory. You may access the SPEED/SEDIT conference on your first call. I reserve the right to withdraw this at any time, with no forewarning. KUDOS SEDIT v1.10 pg. -33- --------------------------------------------------------------------------- No successful program is the result of only one person's labor. This program is no exception. I would like to thank all the people who have registered SEDIT. If you had not done so, SEDIT would have ceased to exist long ago. I would like to give a special thanks to the registered users who chose to help beta test the latest version of SEDIT. SEDIT's original beta team was made up of several registered SPEED READ users. Though too numerous to list, each of these people have earned a special heartfelt thanks. This product uses the SPAWNO routines by Ralf Brown to minimize memory use while shelling to DOS and running other programs. LEGAL SEDIT v1.10 pg. -34- --------------------------------------------------------------------------- LICENSE AGREEMENT SEDIT (the software) is licensed to you. The author, J.E. Smith, retains sole ownership of the software. You may try the shareware version for no more than 30 days, after which you must either register it or quit using the program. Registered users may only use the software on one computer at a time. At no time should more than one copy of software be running on different computers at the same time. Registered users are permitted to make a backup copy of the CONFIG.SE file for their own use in case the original disk becomes defective. All other copies of this file are prohibited. The CONFIG.SE file should not be loaned, given away or otherwise used by anyone other than the licensee. You may NOT alter, decompile or disassemble the software or any of the supporting files other than what occurs during the natural use of the program. You may NOT assign, sublicense, or transfer the program or any rights under this License to anyone else. This License Agreement is NOT transferable, and can only be revoked by the user if he or she destroys ALL copies of the program. DISCLAIMER OF ALL WARRANTIES AND LIABILITY SEDIT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. YOU ASSUME THE ENTIRE RISK OF USING THE PRODUCT. THE AUTHOR WILL NOT BE LIABLE FOR, BUT NOT LIMITED TO, DIRECT, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY DEFECT IN, OR USE OF, THE SOFTWARE. OTHER Throughout this document mention is made of other companies' products and trademarks. This is for reference purposes only. In no way does the author of SEDIT imply any relationship to these companies or trademarks. The trademarks mentioned are the property of their respective owners.