home *** CD-ROM | disk | FTP | other *** search
- What is CSE?
-
- CSE is a tiny editor for MSDOS. It is designed to take the place of the line
- editor, EDLIN, that comes with DOS, by providing a full screen text editor
- that is both smaller then EDLIN and far more powerful.
-
- CSE is:
- small - CSE is under 13K in size, small enough in fact to fit well on a ram
- disk, where it can be found no matter what disk in your dirve on
- floppy based systems!
-
- efficient - CSE is written in 8088 structured assembler to run as fast as
- possible
-
- powerful - CSE uses all the memory available to DOS (generally 640K) and
- can edit files up to this size or multiple files (up to 16) that
- total a size less than this memory size
- CSE can move, copy, blank, fill, or convert case on blocks of
- data that it is editing
- Keys used to command functions in CSE can be reprogrammed easily
- by the user to make CSE emulate your favorite mainframe editor
- Can handle record lengths up to 255 bytes!
-
- versatile - CSE can be used to edit programs, data files, dBase command
- procedures, .BAT files, or any ASCII data
-
- BUT CSE IS NOT A WORD PROCESSOR! CSE lacks formatting, word wrap,
- justification, printing, and other attributes of a Word Processor. CSE
- is useful for editing any file that EDLIN would be useful for... if you
- want a Word Processor buy Wordstar!
-
- MOST OF ALL - CSE IS PUBLIC DOMAIN
-
- You may use CSE for any application that you would normally use EDLIN... and
- in fact CSE is free software while EDLIN is a product of Microsoft, which
- requires the purchase of DOS.
-
- What do I need to run CSE?
-
- CSE will run on any machine running MSDOS 2.0 or above. It will work on
- a monochrome system in black and white, and a color system in color.
-
- Configuring CSE
-
- If CSE and the file PROFILE.CSE are in the current directory, then CSE can
- be invoked by typing the command CSE filename, where filename is the name
- of the file you want to edit.
-
- However, you will probably want to put CSE in a subdirectory that is pathed
- such as C:\DOS or C:\BIN. In fact, CSE can be placed and invoked from any
- directory that is listed in the PATH statement found in your AUTOEXEC.BAT.
- But in order for CSE to find it's key command profile and it's help file
- you must set the environment variable CSE equal to the fully qualified path
- to CSE and it's files.
-
- If you placed CSE.COM, CSE.HLP, and PROFILE.CSE in your C:\DOS directory then
- you need to add the following statement to your AUTOEXEC.BAT:
-
- SET CSE=C:\DOS
-
- You will then be able to invoke 'CSE filename' from any prompt or drive on
- your system.
-
- CSE may also be installed on a RAM drive. This is particularly useful when
- running on a lap top or other machine without a hard disk. Simply install
- the ram disk from your boot disk, and then from your autoexec.bat:
-
- copy a:cse.com c:
- copy a:cse.hlp c:
- copy a:profile.cse c:
- PATH C:\
- SET CSE=c:\
-
- This of course assumes that your ram disk installed as C: ... Using CSE in
- this fashion only requires a 16K ram disk and gives you instant access to
- CSE at any time!
-
- Using CSE
-
- As mentioned before typing 'CSE filename' will read the file 'filename' into
- CSE and display that file in the edit window. Typing 'CSE' without a filename
- will create an unnamed file and place it in the edit window. From then on
- the file may be edicse on the screen.
-
- Here are the components of the CSE screen:
-
-
- ┌───────────────────────────────────────────────────────────────────────────┐
- │ │
- │ │
- │ │
- │ │
- │ │
- │ │
- │ EDIT WINDOW │
- │ │
- │ │
- │ │
- │ │
- │ │
- │ │
- │ │
- ├───────────────────────────────────────────────────────────────────────────┤
- │ COMMAND AREA │
- ├───────────────────────────────────────────────────────────────────────────┤
- │ STATUS LINE │
- │filename │ line # │ Column # │ Insert/Replace mode │ Bytes free│
- ├───────────────────────────────────────────────────────────────────────────┤
- │ MESSAGE LINE │
- └───────────────────────────────────────────────────────────────────────────┘
-
- CSE begins with the file specified (or the new blank file if none was specified
- in the edit window and the cursor in the COMMAND AREA. A blinking cursor in
- the edit window tells you where the edit cursor is located. You may toggle
- back and forth from the EDIT WINDOW to the COMMAND AREA by hitting the ESC key.
- While in the COMMAND AREA there are several command you may enter:
-
- C or CHANGE /search/replace/
-
- search and replace are strings encased in slashes (the delimiter) for CSE to
- search and replace! You will be prompcse to confirm any change before it is
- performed by hitting the CONFIRM key (F10)
-
- DEFINE keyname = [function] 'literal'
-
- This can be used to change the definition of any key. A document listing the
- names of all keys and the name and function of all commands will be sent to
- any registered user who requests it!
-
- This command is typically used in the PROFILE.CSE file to reconfigure keys
-
- DOS
-
- Loads and Executes a copy of COMMAND.COM, allowing you to break out of
- CSE temporarily to run another program. You may return to CSE by typing
- EXIT at any DOS prompt.
-
- DIR
-
- Displays a file named DIR.DIR that contains a copy of the default directory.
-
- E or EDIT filename
-
- This will clear the screen and load the specified document into the editor.
- Multiple files can be switched into and out of the EDIT WINDOW with the
- SWITCH FILES key.
-
- L or LOCATE /search/
-
- Works similar to CHANGE except no replace string is needed and no change
- if performed... but the edit cursor is moved to the location of the found
- string.
-
- MACRO filename - used to define keys
-
- Used to load and execute a macro file containing commands or settings...
- The creation of a macro file is covered in the document ADVANCED.DOC which
- is available only to registered users.
-
- NAME filename - used to change name
-
- Changes the name of a file so that when it is saved it has a different name!
- Required if you invoked CSE without a file name and want to save what you
- typed!
-
- SET setting = 'litteral'
-
- Various options such as color, tab settings, and save options may be set
- with the SET command. This usually occurs in the PROFILE.CSE macro or in
- a macro invoked with the macro command. This command and it's use is also
- discussed in ADVANCED.DOC which is available only to registered users!
-
- The following function keys and command keys have been set by the macro file,
- PROFILE.CSE, which loads and executes everytime CSE is run:
-
- A+ = ALT + C+ = CTRL+
-
- ╔════╗ ╔════╗ ╔════╗ ╔════╗ ╔════╗ ╔════╗ ╔════╗ ╔════╗ ╔════╗ ╔════╗
- ║ F1 ║ ║ F2 ║ ║ F3 ║ ║ F4 ║ ║ F5 ║ ║ F6 ║ ║ F7 ║ ║ F8 ║ ║ F9 ║ ║ F10║
- ╚════╝ ╚════╝ ╚════╝ ╚════╝ ╚════╝ ╚════╝ ╚════╝ ╚════╝ ╚════╝ ╚════╝
- HELP SAVE FILE QUIT EDIT SWITCH DOS DIR EXECUTE CONFIRM
- C+ MARK MARK LINE COPY MOVE DELETE FILL UPCASE LOWCASE UNMARK
- A+ +LINE ERASE ERASE END -LINE SPLIT JOIN REDRAW ESCAPE
-
- Backspace = Delete char to left Up = Up
- Tab = Move cursor to next stop Down = Down
- Shift-Tab = Move cursor to prev stop Left = Left
- Insert = Toggle insert/replace Right = Right
- Esc = Toggle command/edit mode Home = Top of Screen
- Delete = Delete current character End = Bottom of Screen
- PgUp = Move back one screen Ctrl-PgUp = Top of File
- PgDown = Move forward one screen Ctrl-PgDown = Bottom of File
-
- Alt-B = Mark corner of block
- Alt-L = Mark line of block
- Alt-C = Copy marked block
- Alt-D = Delete marked block
- Alt-F = Fill Block
- Alt-U = Unmark block
- Alt-I = Add line after this line
- Alt-S = Split line at cursor
- Alt-J = Join line with next line
-
- Block Editing
-
- There are two ways to mark blocks in CSE. The top and bottom of a block may be
- marked with Ctrl-F1 or Alt-B... this square block may or may not contain all
- of a line, and will only cover a portion of a line when moved or copied. The
- Ctrl-F2 or Alt-L keys will mark a single entire line or a range of lines. When
- Alt-L is first hit it marks the start of a block and when it is hit again it
- marks the end of the block and all lines in between will be marked as selected!
-
- Whenever a block has been marked it must be unmarked (Ctrl-F10 or Alt-U) before
- another block may be marked!
-
- Marked blocks may moved or copied between files by marking them in one file,
- switching to the other file with the SWITCH key, and copying or moveing.
-
- -------------------------------------------------------------------------------
-
- While CSE may be used for any editing application, and may be distributed
- freely to your freinds, coworkers, and anyone else who needs an editor you
- may not distribute it for money, you may not charge even a copying fee for
- CSE... CSE is and must remain specifically FREE for all. If you desire to
- distribute CSE with your application, feel free... but do not charge anymore
- for CSE!
-
- CSE may be freeware, but it is still copyrighted material. You may not know
- who I am, but if I find you using CSE for your own material gain, then you
- will certainly hear from my attorney.
-