Category : Word Processors
Archive   : MEDIT.ZIP
Filename : MEDIT.DOC

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



















Medit

User's Manual

By Mike Tyson



What is Medit:

Medit, which stands for Mike's Editor, is a full-screen text
editor for the IBM PC and compatible computer. Medit was intended
to be used as a programmers editor, for use in creating and
maintaining program source code, although it could be used to write
any other document as well.

Features of Medit:

- Line lengths of up to 255 characters to accommodate
almost any computer language.
- Direct video output for lightning fast screen updates.
- Small program size for fast loading and low memory
consumption. While in memory it takes up about 35k.
- Takes advantage of all remaining conventional memory
giving you, on most machines, up to 520k for your text
file.

Editing a file with Medit:

To begin editing a file with Medit, type Medit and the name of
the file you are going to be editing and press enter:

medit somefile.txt

or just type medit and you will be prompted for a filename to be
edited:
medit

If you just typed medit the screen will be cleared and a box will
appear at the top of the screen requesting a filename to be edited.
In this box just type the name of the file to be edited. In either
case at this point Medit will check the filename to see that a
valid filename was given. If an error occurred with the filename
Medit will display an error message indicating what has occurred,
once you have read the message, press enter and you will be
prompted for another filename. Once a valid filename is entered
Medit will display a message in the center of the screen indicating
that it is loading the file.

Once the file has been loaded the screen will clear and the
text file will be displayed starting at the top of the file. This
is the editing screen and is where all text entry is done. If you
look at the top line you will notice several indicators and some
text:

L:1 C:1 502k C:\MEDIT\somefile.txt Ins

The first indicator is the current line the cursor is on, which
always starts at 1. The next indicator is the current column the
cursor is in, which also starts at 1. The next indicator is the
current amount of memory that is free in kilobytes, this should be
watched on large files so that you are sure not to run out of
memory, even though the program catches such errors and prevents
any crashes some machines might not be as reliable as others. The
next bit of text is the drive, path and filename of the current
file in memory. The next indicator is the insert mode indicator
which will remain on while in insert mode and will be erased if the
insert key is pressed.

Below the top line the text of the file being edited will be
displayed. From this point on you can edit any of the text any
where on the screen with the normal keyboard editing keys. The
following is a list of valid keys and their effect on your text
file:

insert - will toggle insert mode on and off. While in insert
mode the cursor will change to a large blinking block
and the insert indicator in the top status line will
come on.
delete - when pressed will delete the character that the
cursor is sitting on and will move the entire line
ahead of the cursor position back one space. This
will not delete empty lines.
end - when pressed will place the cursor after the last
character in the current line.
home - when pressed will place the cursor in column one of
the current line.
page up - when pressed will move the cursor up to 24 lines
above the current position. If on the first screen
the cursor will be placed on line 1.
page down - when pressed will move the cursor up to 24 lines
below the current position. If on the last screen
the cursor will be placed on the last line.
tab - when pressed will move the cursor up to 8 characters
right of the current position. If insert mode is on
the text on the current line starting at the original
cursor position will be shifted right.
backspace - when pressed will move the cursor back one space
erasing whatever character was in that position. If
insert mode is on the text in the current line in
front of the cursor will be brought back one space
also.
enter - when pressed in the middle of the text file it will
add any changes made to the current line, at the end
of the file it will add new lines. If insert mode is
on and enter is pressed while the cursor is in column
2 through 255 a line will be inserted after the line
that was just entered, if the cursor is in column 1
then a line is inserted before the current line. As
of now enter will not split a line into two.
Alt-x - when the combination of alt and x is pressed this
indicates to Medit that you wish to exit the program.
If any changes have been made to the file since it
was last saved, you will be asked if you want to
exit and loose your changes, at which time you can
cancel the exit.
cursor up - when pressed and your not at the top of the file
this key will move the cursor up to the previous
line. If the cursor is at the top of the screen the
screen will scroll up.
cursor down - when pressed and your not at the bottom of the file
this key will move the cursor down to the next line.
If the cursor is at the bottom of the screen the
screen will scroll down.
cursor left - when pressed and your not in column 1 this key will
move the cursor left. If the cursor is at the left
most position on the screen the screen will scroll
left.
cursor right- when pressed and your not in column 255 this key will
move the cursor right. If the cursor is at the right
most position on the screen the screen will scroll
right.
ESC - when pressed this key will display a menu of options
to choose from.

Option Menu

When ESC is pressed you will be presented with of menu of
options that you can choose from. By pressing ESC again you will
exit the menu and can continue editing your file. The options in
the menu can be accessed by moving the highlighted bar to the
desired option and pressing enter. The pop-up menu has the
following options:

Load - When the load option is selected Medit will first check
to see if any changes have been made to the current
file and will ask you if you want to continue and loose
the changes. If you answer no then you will be sent
back to the text editing screen. If you answer yes,
the current file will be erased from memory and you
will be prompted for another filename to be entered for
loading.
Save - When this option is selected Medit will save the
current file and then return to the editing screen.
Save as - When this option is selected you will be prompted to
enter a new filename. The same checks that were done
when you first entered the filename will be done on
the new filename and any errors will be reported to the
user. Once a valid filename is entered the file will
be saved under the new filename, and when finished
it will return you to the editor screen. If the
filename already exists the you will be prompted if you
want to overwrite it.
Quit - Works the same as Alt-x, prompting to let the user know
that changes were made.
DOS Shell - When selected, if there is enough memory, Medit will
run a copy of command.com and put you in the DOS
environment where you can run any DOS program small
enough to run in the available memory. You can return
to Medit by typing EXIT .
Handling errors:

If an error message appears in a window, such as a memory
allocation error, press any key to clear the window and return to
the current operation.


  3 Responses to “Category : Word Processors
Archive   : MEDIT.ZIP
Filename : MEDIT.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/