Contents of the SEDIT.DOC file
SEDIT will help you create text-based screens for your batch files and
programs. It's as easy as using any paint program. The major tools are there;
line, circle, box, cut, paste, text, and fill. And lots of extra features
make this program hard to beat.
Start off by typing SEDIT at the DOS prompt. The program will run and you'll
see the menu bar at the top and the tool icons to the right of the screen.
USING THE KEYBOARD
If you don't have a mouse, don't worry. SEDIT lets you use the keyboard in
place of the mouse. But since all references in the documentation are to mouse
buttons, you'll have to learn the keyboard equivalences first.
The arrow keys will move the mouse cursor around on the screen. The numeric 5
key functions as the left mouse button. The delete key functions as the right
mouse button. It's VERY important to note that once you press the numeric 5
key, the program thinks the left mouse button is down until you press the
numeric 5 key again. There are many places that the program will hang up while
it waits for the left mouse button to be not pressed. The same is true for the
delete key, or right mouse button equivalent.
You can pick any of the drawing tools by clicking the left mouse button on
them. The one that's selected will be highlighted. You can choose any color
for the drawing operations. If the colors aren't showing, click the left mouse
button where it says Colors and the colors will appear (in place of the text).
Once the colors are visible, just click on the color combination you want to
use. You can choose any text character for the drawing operations. If the text
characters aren't showing, click the left mouse button where it says Text and
the text characters will appear (in place of the colors). Once the text
characters are visible just click on the character you want to use.
You can remove the tools and menu bar from the screen by pressing F10.
Pressing F10 again places them back on the screen. You can move the tools to
the left or right side with two choices in the Desk pulldown menu.
To draw on the screen hold the left mouse button down as you draw your object.
Once it's drawn let go of the left mouse button.
For text functions it's a little different. If you want to be able to move the
text around on the screen, begin by clicking the left mouse button. Now when
you type you'll be able to move the text around. To place it just click the
right mouse button. If you want the text to be on a fixed row, click the left
mouse button twice. You'll then get a cursor and can type on this row.
To cut an image from the screen start by holding down the left mouse button.
Then, drag the box around the area that you want to cut. Once you've cut an
object you can paste it on the screen by selecting the Paste function. Once
the paste function is chosen you can paste the image by clicking the left
THE SCREEN BUFFERS
You can see any of the eight screen buffers by pressing the keys 1-8. This is
handy when you want to cut and paste between pictures.
THE DESK MENU
Besides moving the tools, there are some helpful features found under this
Use the Copy Screen selection to copy one screen buffer to another. You'll get
a dialog box that lets you pick the source and destination buffers.
The Animation (or F9 shortcut key) will start the animation sequence. That's
so that if you're designing a program that needs to flip among different
pictures, you can see what it looks like. The Set Animation function gives you
a dialog box where you can set which screens will be part of the animation and
how much the time delay between screen flips.
THE FILE MENU
You can load a screen, the character data from a screen, or the color data
from a screen. Use the first three choices from the file menu to do these. The
Save choice saves the entire screen.
The screens are usually saved in a compressed format. You can toggle the
compression flag with the fifth choice on the file menu.
You can use the Save ASCII selection to save the screen as an ASCII file so
that you can edit it with a word processor or text editor.
Load Block will load an image block into the clipboard so that you can paste
it into your screens.
Save clipboard saves the contents of the clipboard to disk for later use.
Erase screen lets you clear the screen.
DOS gives you a DOS prompt without having to quit the program or lose
any of your screens.
THE ATTRIBUTE MENU
Affect lets you choose what will be affected when you draw. You can
set it to affect only the color or data, set it to affect both (this is
normal), or set it to create a shadow everywhere it draws.
Set border lets you set a single border, double border, blank border, or a
border using the current drawing character.
Filled lets you toggle the fill flag on and off. With it off boxes and circles
are hollow, with it on they are solid.
The last choice lets you pick whether you want to have your objects filled
with blank spaces or the current drawing character.
THE SOURCE MENU
This lets you save your screen as source code for your program. It will save
it in an uncompressed format. You can pick Assembly, BASIC, or C.
A program called SHOWIT is included in this collection so that you
can use your screens right away in batch files. To use the program just type
SHOWIT FILENAME [EFFECT NUMBER]. The effect number is optional. If you don't
specify one it will put the screen up without a special effect. There's also a
program called CUROFF that turns the blinking cursor off. You can turn it back
on again with the CURON program. The last program that's included is called
KEYPRESS. It just waits for a key to be pressed.
There are eight demo picture files and a batch file called DEMO.BAT. Run it to
see the different screen effects. If you want to do something similar, then
you can use this batch file as a model.