home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
editors
/
gedit161.arj
/
MANUAL.DOC
< prev
next >
Wrap
Text File
|
1980-01-01
|
133KB
|
2,792 lines
The Global Editor
GEdit Version 1.61
Copyright by Cat Creek Enterprises, Inc. 1990, 1991
P. O. Box 606
Bristol, TN 37621-0606
This manual was prepared using GEdit
Table of Contents
Chapter 1: Introduction 7
Chapter 2: Registering 12
Chapter 3: Installing 14
Floppy Drive System 14
Hard Drive System 14
Chapter 4: Getting Started 16
Starting GEdit 16
Using Menus 16
Main Menu 17
Edit 17
System 17
Setup 18
Help 18
Print 18
Chapter 5: Getting Help 19
Chapter 6: Setting Up 20
Setup Menu 20
File Settings 20
Word Wrap 20
Line Length for Text Files 20
Line Length for Non-Text Files 20
Default Extension 20
Automatic Backup 20
Journaling 20
Expand Tabs in Text Files 20
Append EOF Character 20
Edit Settings 21
Typing Mode 21
Typematic Speed 21
Auto-Indent 21
Columns in Indent 21
Tab Positions 21
Columns in Screen Shift 21
Display Column or File Position 21
Function Key Assignments 21
Cursor Size 22
Display End-of-Line Symbols 22
Display Spaces as Dots 22
Display Non-Text Symbols as Dots 22
Produce Matching Symbols 22
Number of Lines to Display 22
Number of Columns to Display 22
Number of Columns in Screen Width 22
EGA 43/VGA 50 Line Mode 22
Screen Settings 23
Foreground Color 23
Background Color 23
Dialogue Line Color 23
Menu Foreground Color 23
Menu Background Color 23
Menu Bar Color 23
Table of Contents (cont)
Save Settings 23
Choose Settings 23
Chapter 7: Editing
Types of Editing 24
Create, Display, and Edit Source Code 24
Word Processing 24
Create, Display, and Edit DOS Batch Files 24
Line Drawing 24
Display and Edit Non-Text Files 24
Create, Display, and Edit Data Files 24
Edit dBASE III Files 24
Special Purpose Editing 24
Edit Menu 25
Text File Editor 25
Stream Editor 25
Non-Text Files 25
Disk Sectors 25
Memory 25
Hex Editor 25
dBASE Editor 25
File Header 25
File 25
Import 25
Size of File 26
Methods of Entering File Name 26
Passing as Parameter 26
Entering at Prompt 26
Selecting from Directory 26
Selecting from History 26
Status Line 27
Ruler line 27
Bottom Information Line 27
Entering Non-Key Characters 27
Edit Commands 27
Menus 27
GEdit Main 27
Top 28
Misc 28
Block 28
Named Block 28
Attributes 28
Goto 28
Locate 28
Line-Drawing 28
Open Symbols 28
File Management 28
Overtype and Insert Typing Modes 28
Cursor Control 29
Deleting 29
Character 29
Backspace 29
Table of Contents (cont)
Word 29
To the End-of-Line 29
Line 29
UnDeleting 29
Character 29
Word 29
To the End-of-Line 29
Line 30
Inserting Ruler Lines 30
Formatting 30
Set Tabs 30
Set Word Wrap On 30
Set Word Wrap Off 30
Format 30
Justify 30
Unjustify 30
Center String 30
Pagenate 30
Convert Blanks to Spaces 31
Convert Soft EOL Symbols to Carriage Returns 31
Block Commands 31
Erase 31
Cut 31
Paste 31
Copy 31
Move 31
Column Cut 32
Column Paste 32
Column Move 32
Column Copy 32
Indent 32
Upper Case 32
Lower Case 32
Hot Print 32
Named Block Commands 33
Named Cut 33
Named Paste 33
Named Column Cut 33
Named Column Paste 33
Attributes 34
Standard Codes 34
User Defined Codes 34
Embedded Printer Codes 34
Goto 34
Line 35
Column 35
Page 35
Offset 35
Locate and Replace 35
Locate 35
Replace 35
Global Replace 35
Count 35
Table of Contents (cont)
Line Drawing 36
Drawing 36
Toggling the Pen 36
Using Graphics Symbols 36
Joining Lines 36
Matching Symbols 36
File Management 36
Insert File 36
Append File 36
Compare Two Files 36
Change Line Length of Non-Text Files 37
Strip Page Breaks from File 37
Strip Ruler Lines from File 37
Strip 8-Bit Characters from File 37
Insert at Intervals 37
Rebuild Line-Ending Index 37
Using Print Variables 37
Displaying ASCII Table 37
Changing Setup from Edit Mode 37
Creating and Executing Macros 37
Loading File from Editor 38
Split Screen Editing 38
Running Another Program 38
Shelling to DOS 38
Saving File 38
Quitting Edit Mode 38
Chapter 8: Printing 39
Print File 39
Enter Print Settings 39
Creating Printer Drivers - Using PCODES.EXE 40
Standard 40
User Defined 40
Handshaking for Serial Printers 40
Chapter 10: Quiting 41
Chapter 11: Using the KeyMap Program 42
Chapter 12: Using the PCodes Program 43
Chapter 12: Using the UT Program 45
Directory Display 45
File Operations 45
Directory Operations 46
Drive Operations 46
Quiting 46
Chapter 13: Using the GU Program 47
Chapter 14: Trouble Shooting 48
Table of Contents (cont)
APPENDIX A - Menu Tree 49
APPENDIX B - Menus 50
APPENDIX C - Keyboard Commands in Edit Mode 53
APPENDIX D - Function Key Assignments 56
APPENDIX E - UT Commands 57
APPENDIX F - Error Codes 58
APPENDIX G - Bug Report/Suggestion Form 60
APPENDIX H - Registration Form 61
Note: In this document, keystrokes are indicated by being enclosed in
<>. For example, <Return> refers to pressing the Return key, and <Ctrl
M> refers to the combination keystroke composed by holding the Ctrl
key down and pressing the M key.
Chapter 1: Introduction
GEdit is designed to operate on computers which are 100% compatible
with the IBM XT and AT.
Minimum requirements are:
320K RAM
1 floppy disk drive
DOS 2.1 or higher
The purpose of the program is to:
* Provide viewing, editing, and formatting of disk files
* Provide viewing and editing of disk sectors
* Provide viewing and editing of computer memory
* Provide viewing and editing of dBASE file headers and files,
and to import dBASE files as ASCII text files
* Print disk files
The GEdit Distribution Disk contains the files listed below:
GO.BAT - batch file to execute GEdit and load the README file
README - instructions on installation
HINSTALL.EXE - file to install GEdit on a hard disk
FINSTALL.EXE - file for creating a work disk
NOTES - notes on this version of GEdit
CR.SCR - copyright screen
ORDER.FRM - form for registering GEdit
BUG.RPT - form for reporting bugs and suggestions
GE.EXE - executable file
GE.HLP - general information on GEdit
MENU.HLP - help file on the GEdit Menu
SETUP.HLP - help file on setup
EDITMENU.HLP - help file on the Main Edit Menu
EDIT.HLP - help file on edit commands
PRINT.HLP - help file on printing
EPSONFX.DRV - printer driver for the Epson FX-100 printer
KEYMAP.EXE - file for assigning keystrokes to commands
PCODES.EXE - file to create and edit printer drivers
UT.EXE - utility program
GU.EXE - file which loads GEdit with UT memory resident
MANUAL.DOC - GEdit manual
PMANUAL.EXE - file to print manual
Chapter 1: Introduction (cont)
Major Features:
* Free cursor in Text File mode. Move the cursor anywhere outside
existing text and enter new text without having to backfill
* Unlimited line length (text files) or preset line length (non-
text files)
* Split screen editing
* Cut size limited only by available disk space
* Direct cutting and pasting between files
* Column block operations
* Line drawing
* Four editors, including:
Text Editor Text Files
Stream Editor Non-Text Files, Disk Sectors, and Memory
Hex Editor Non-Text Files, Disk Sectors, and Memory
dBASE Editor Headers, Files, and Files Imported as ASCII
Text Files
* Word processing features including word wrap and justification
* Search and replace using wildcards
* Auto-indenting
* Line drawing
* Extended character set
* Keystroke macros
* 43 line EGA and 50 line VGA display
* Popup ASCII table
* Unloads from memory when executing program or shelling to DOS
* On-line help
* Journaling of edit session
* Mapping of keys to commands
* Memory resident utility program
Program Limitations:
* Maximum file size - available memory
* Maximum line length - available memory
* Maximum number of lines - 10,000
* Maximum Number of open files - 2
* Character set - ASCII plus IBM ASCII Extended
* Maximum number of keystroke macros - 50
* Maximum number of tabs - 100
* Size of cut - limited only by available disk space
* Length of undo buffer for delete word - 50
* Length of undo buffer for delete to end of line - 150
* Length of undo buffer for delete line - 255
Chapter 1: Introduction (cont)
Editing: GEdit contains four special purpose editors - a Text File
Editor, a Stream Editor, a Hex Editor, and a dBASE Editor. These edi-
tors are discussed below:
Text File Editor - The Text File Editor follows the standard con-
ventions that have been established for ASCII text files. Use the
Text File Editor for word processing and writing source code and
batch files.
Stream Editor - The Stream Editor edits non-text files, disk sec-
tors, and computer memory. The lines displayed on the screen are
fixed length and all 256 characters of the standard and extended
character sets are used.
Non-text files are usually not accessible to word processors
or text editors. This type file is displayed in a fixed line
length format. The line length can be specified in Setup, and
can be changed after the file is loaded. Use the non-text file
type for creating and editing data files and viewing and edit-
ing program files.
Disk Sectors can be loaded into the Stream Editor and treated
as a non-text file. The number of sectors which can be loaded
is dependent on available memory. Material read directly from
a disk can be edited and saved to a disk as a file (useful for
recovering files from a disk on which the FAT has been corrup-
ted).
Computer memory can be displayed and edited using the Stream
Editor. One segment (64K) is accessible, beginning at the ad-
dress specified. The display of memory is in real time, mean-
ing that changes in memory can be observed as they occur. For
example, load memory segment 0 and observe the changes which
continually occur at offset 1132. Any change made to the dis-
play is a change in actual memory and can be dangerous. Be
aware of the consequences before making any changes.
Hex Editor - The Hex Editor edits non-text files, disk sectors and
computer memory and uses the same set of commands as the Stream
Editor. The hex representation (16 bytes) is displayed on the left
side of the screen with the corresponding characters displayed on
the right side. All editing is performed on the hex display.
dBASE Editor - The dBASE Editor edits dBASE data file headers and
dBASE data files (useful for restoring corrupted files and for di-
rectly editing dBASE data). It will also import dBASE files as
ASCII text files.
Note: To use GEdit as your dBASE editor, modify the config.db file
to include the lines below:
TEDIT=GE
WP=GE
Chapter 1: Introduction (cont)
Shell to DOS: You can shell to DOS while editing. GEdit and the edit
buffer are unloaded from memory when shelling to DOS. This provides
the free memory, minus approximately 12K, that would be available if
GEdit was not loaded. Enter "EXIT" at the DOS prompt to return to
GEdit.
Run Another Program: You can run another program while editing. This
feature is useful for compiling a program while editing source code.
GEdit and the edit buffer are unloaded from memory while running an-
other program, providing the free memory to execute any compiler. Only
5K is retained for use by GEdit.
Redo Edit Session: If journaling is specified in Setup, GEdit automat-
ically creates a backup when a file is loaded for editing, and all
keystrokes made during the edit session are recorded in a journal
file. If for any reason (such as a mistake in editing, failure to save
a file, or a power outage) you have lost work, you can replay the edit
session by choosing this option from the System Menu and stop the re-
play at any point you wish.
Setup: You can create up to 10 setup configurations which can be saved
to disk and recalled to suit the type of editing that you require, or
the current setup can be altered to suit your needs. Word wrap, screen
colors, auto-indent, tabs, cursor size, and many other features can be
selected to customize the editors.
Help: Online help is available from the Main Menu on:
Overview of GEdit
Main Menu
Setup
Editing
Printing
Help on edit commands is also available while editing.
Print Files: GEdit will print any disk file. A file can be printed as
a text file or as a non-text file with fixed-length lines. Print set-
tings (such as pitch, lines per inch, margins, pages to print, number
of copies, printer driver, and printer interface) can be specified and
saved to a disk file for use later. Any number of printer drivers can
be created by using the program PCODES.EXE (see Chapter 12) which can
be found on the work disk or in the support directory after installat-
ion.
Chapter 2: Registering
Some very fine software is marketed though the shareware process.
This is usually done because the author does not have the re-
sources to market the product in the traditional manner or because
he is attracted to the simplicity of the marketing technique.
Releasing a software product as shareware allows an user to try it
without obligation and to pass copies of it to friends or acquant-
ices for their review. If the user determines that the software is
useful to him and intends to continue to use it, he is then obli-
gated to register his copy of the software.
The advantages of this marketing approach to the user are (1) he
has the opportunity to use the product and, based on his evaluat-
ion, determine if he wants to register the product, and (2) he can
register the product for less than purchasing a comparable retail
product.
The advantage to the author is that he has the opportunity to mar-
ket his product in a less costly and complicated manner than would
be possible otherwise.
GEdit is being distributed as shareware. Non-registered users can
use it during a 30-day trial period to determine if they find it
useful and want to continue to use it. If the user does continue
to use GEdit after the 30-day trial period it must be registered.
Upon registration you will be sent the latest version of GEdit, or
if you prefer, the next update will be sent to you when available,
and you will be notified of updates for a period of one year from
the date of registration. Updates will cost $10.00 and the period
for receiving update notices will be extended for one year from
the date of the order for an update.
As a registered user you are entitled to use GEdit on any and all
computers available to you as long as the software is installed
and used on only one computer at a time.
To register, complete the registration form found in Appendix H of
this manual, and send with the correct amount of money in the form
of a check or money order to the address listed. The registration
form can be printed by using the GEdit's print utility to print
"ORDER.FRM".
No registration fee is required for the use of GEdit for educat-
ional purposes by educational institutions. However, if you are
using GEdit for this purpose, it must be registered by filling out
the registration form, checking the box indicating that GEdit is
to be used for educational purposes, and mailing the form to the
address listed.
Chapter 2: Registering (cont)
You are encouraged to copy GEdit for the purpose of distribution
under the following conditions:
1. No files on the Distribution Disk have been modified or de-
leted.
2. The fee to cover copy service, handling, and materials does
not exceed $10.00.
GEdit is provided "as is" without warranty of any kind, either
expressed or implied. In no event will Cat Creek Enterprises be
liable for any damage caused by the use of GEdit. The risk of us-
ing this product lies with the user.
Chapter 3: Installing
Floppy Disk System:
Step 1: Format a new disk to use as a work disk.
Step 2: Place the Distribution Disk in Drive A: and the blank disk
in Drive B:, and at the A> prompt enter "FINSTALL". FINSTALL will
copy the files listed below from the Distribution Disk onto the
blank disk:
GE.EXE BUG.RPT CR.SCR ORDER.FRM
GE.HLP MENU.HLP SETUP.HLP EDITMENU.HLP
EDIT.HLP PRINT.HLP EPSONFX.DRV KEYMAP.EXE
PCODES.EXE UT.EXE GU.EXE
Step 3: Label the disk in drive B: as "GEdit Work Disk".
Step 4: Place the Distribution Disk in drive A:, make sure the
printer is ready, and at the A> prompt enter "PMANUAL". PManual
will print the manual beginning at the page you specify.
Step 5: Store the Distribution Disk in a safe place.
Hard Disk System:
Step 1: Place the Distribution Disk in the A: Drive, and at the A>
prompt enter "HINSTALL".
Step 2: Specify the directory on the hard disk where you want to
locate the program files. If the directory does not exist it will
be created. The files listed below will be copied from the Distri-
bution Disk into this directory.
GE.EXE BUG.RPT
ORDER.FRM KEYMAP.EXE
PCODES.EXE UT.EXE
GU.EXE
Step 3: Specify the directory on the hard disk where you want to
locate the support files. If the directory does not exist it will
be created. The files listed below will be copied from the Distri-
bution Disk into this directory:
GE.HLP MENU.HLP
SETUP.HLP EDITMENU.HLP
EDIT.HLP PRINT.HLP
EPSONFX.DRV CR.SCR
Chapter 3: Installing (Hard Disk System cont)
Step 4: Modify the AUTOEXEC.BAT file in the root directory of the
hard disk to include the statement "PATH=C:\GE" (see DOS manual)
or the directory you specified. This will ensure that DOS can find
GE.EXE even if the default directory is not the directory in which
GE.EXE is located.
Step 5: Modify the AUTOEXEC.BAT file to include the statement
"SET SUPPORT=C:\GE\SUPPORT" or the directory you specified. This
will ensure that GEdit can find its support files.
Step 6: Place the Distribution Disk in drive A:, make sure the
printer is ready, and at the A> prompt enter "PMANUAL". PManual
will print the manual beginning at the page you specify.
Step 7: Store the Distribution Disk in a safe place.
Chapter 4: Getting Started
Starting GEdit
The instructions presented here assume that you have already installed
GEdit (see Chapter 3).
Floppy Disk
Step 1: Insert the GEdit work disk in drive A:
Step 2: Insert the disk that contains the file you wish to
edit, or the disk on which you wish to create a file, in drive
B:.
Step 3: At the A> prompt enter "GE". Or if you wish to use
the file settings which have been saved in setup file "0", you
can enter "GE", followed by a space, and then the name of the
file you wish to edit. If you do pass a file name to GEdit,
all menus will be bypassed, the file loaded for editing, and
you will be taken directly into the Text File Editor.
Hard Disk
Step 1: If you have not included the path, to the directory in
which GEDIT.EXE is located, in the autoexec.bat file on the
boot disk, you must change directory (see DOS manual) to the
directory in which GE.EXE is located.
Step 2: At the DOS prompt enter "GE". Or if you wish to use
the file settings which have been saved in setup file "0", you
can enter "GE", followed by a space, and then the name of the
file you wish to edit. If you do pass a file name to GEdit all
menus will be bypassed, the file loaded for editing, and you
will be taken directly into the Text File Editor.
Using Menus
To select an option from a menu, use <Up-Arrow> and <Down-
Arrow> to move the menu bar to the option you wish to select
and press <Return>. Or press the function key associated with
the option on the menu.
Chapter 4: Getting Started (cont)
Main Menu
The Main Menu (see Appendix B) is displayed when GEdit is started. The
options available on that menu are explained below:
Edit:
Displays the Edit Menu. From the Edit Menu you can edit files,
disk sectors, and memory in either ASCII or Hex format, and edit
dBASE files.
System:
Displays the System Menu. From the System Menu you can:
Quit: Leave GEdit and return to DOS, even if files are open.
Return to Editor: If files are open, returns to the currently
active window.
Shell to DOS: GEdit and the edit buffer are unloaded from mem-
ory when shelling to DOS. This provides the free memory, minus
approximately 12K, that would be available if GEdit was not
loaded. Enter "EXIT" at the DOS prompt to return to GEdit.
Run Another Program: Enter a command line to execute another
program. GEdit and the edit buffer are unloaded from memory
while running another program. This provides the free memory,
minus approximately 5K, that would be available if GEdit was
not loaded.
Redo Edit Session: Replays an edit session that has been re-
corded in a journal file. An edit session is recorded whenever
a file is edited and journaling is on (see Chapter 6). A back-
up of the file being edited is made at the beginning of the
session and of every other file loaded during the session, and
each keystroke is recorded until no files are open. Choose
this option if for some reason you lose the file you were ed-
iting or you made some sort of unrecoverable error. Select
the type of file from the Type Menu, enter the file name, and
choose "automatic" or "step-though" playback. Automatic play-
back will proceed though the session automatically, while the
step-though playback executes a single recorded keystroke each
time you press a key. You can stop the playback at any point
by pressing <Esc>.
Copyright Screen: Displays the GEdit copyright screen, showing
the copyright notice and information concerning registration.
Chapter 4: Getting Started (cont)
Setup:
Displays the Setup Menu. From this menu you can enter and save
configuration data in memory and in up to 10 disk files. Use setup
to customize GEdit to your particular needs.
Help:
Displays the Help Menu. From the Help Menu you can display help
screens on:
GEdit (an overview of GEdit)
Main Menu
Setup
Editing
Printing
Print:
Displays the Print Menu. "Print" will accept and save print set-
tings and print disk files.
Escape:
If files are open, pressing <Esc> has the same effect as choosing
"Return to Editor" from the System Menu. If no files are open,
pressing <Esc> has the same effect as choosing "Quit" from the
System Menu.
Chapter 5: Getting Help
The "Help" option on the Main Menu displays a menu (see Appendix
B) which allows you to select help on:
GEdit (an overview of GEdit)
Main Menu
Setup
Editing
Printing
Help screens on edit commands can be displayed, while editing, by
choosing "Help on Editing" from the Misc Menu or pressing <Alt H>.
Chapter 6: Setting Up
To setup GEdit, choose "Setup" from the Main Menu. The Setup Menu (see
Appendix B) will be displayed.
To specify the way in which you want files to be handled by the edi-
tors, choose "File Settings" from the Setup Menu.
Word Wrap - if on, lines will automatically wrap at a specified
length when using the Text File Editor. This feature is used while
word processing. The default setting is "N". Soft end-of-line
characters are saved with the file for printing purposes. However,
the soft end-of-line characters are stripped from the file when it
loaded for editing, and the lines wrapped as specified in the set-
up.
Line Length for Text Files - the line length at which word wrap
occurs. The maximum line length is the number of bytes in the buf-
fer. The default setting is 64 characters.
Line Length for Non-Text Files - the line length at which lines
are wrapped when editing a non-text file using the Stream Editor.
This would usually be the screen width unless you are editing a
data file, in which case, the record length should be specified.
The maximum line length is the number of bytes in the buffer. The
default setting is 80 characters.
Default Extension - an extension to be added to any file name you
enter without an extension. For example, you may specify "BAS" if
you commonly edit Basic source code. To prevent the extension from
being added to a file name without an extension, add a period to
the end of the file name. Up to 3 characters can be entered.
Automatic Backup - If you wish to have each file you edit automat-
ically copied to a backup file before you begin editing, specify
"Y". The default setting is "N". Imported dBASE files will not be
backed up.
Journaling - You can choose to record your edit sessions for play-
back. Playing back an edit session can be entertaining, or can be
very useful if you make an irreversible mistake while editing. The
playback can be stopped at any point, and editing resumed. The de-
fault setting is "N".
Expand Tabs in Text Files - If you wish to have tab symbols in
text files replaced by a string of eight spaces, enter "Y". The
default is "Y".
EOF Marker - If you wish to have GEdit append an EOF marker (ASCII
26) when it saves a file, enter 'Y'. The default is 'Y".
Chapter 6: Setting Up (cont)
To specify the settings that will be in effect while in the edit mode,
choose "Edit Settings" from the Setup Menu. Edit settings can also be
changed while in the edit mode by choosing "Set Edit Settings" from
the Misc Menu or pressing <Alt E>.
Typing Mode - If you wish to begin your edit sessions in overtype
mode, enter "O", or enter "I" if you prefer the insert mode. The
default setting is "O".
Typematic Speed - This setting refers to the speed at which a key-
stroke is repeated when a key is held down, and primarily effects
the rate of cursor control. If you increase typematic speed, the
time to page down from the beginning of a document to the end of
the document is decreased, however, the higher speed may adversely
affect your typing. Experiment to find the most suitable speed for
your typing style. You can select from a speed range of 0 to 10,
with 10 the fastest. The default setting is 7.
Auto-Indent - This feature is particularly useful if you are writ-
ing source code. Auto-indent will automatically indent a new line
to the same column to which the previous line is indented. The de-
fault setting is "Y".
Columns in Indent: You can specify the number of columns a line
will be shifted when indented. The default setting is 8.
Tab Positions - You can specify up to 10 tab positions to use in
text files. The tabs can be entered in any order. If you need more
than 10 tabs you can enter up to 100 in the editor ruler line. The
default setting is 10 tabs in 8-column increments.
Columns in Screen Shift - You can specify the number of columns to
shift the screen to the right when <Ctrl Right-Arrow> is pressed
or to the left when <Ctrl Left-Arrow> is pressed while editing a
text file. The default setting is 20.
Display Column or File Position - If you wish the status line on
the edit screen to display the current column on which the cursor
is located, enter "C". If you wish to have the offset from the be-
ginning of the file displayed, enter "F". The default setting is
"C".
Function Key Assignments - Function keys are assigned to perform 1
of 3 sets of functions. If you wish to use the function keys as
command keys, enter "C". If you wish to use the function keys for
graphics characters, enter "G". If you wish to use the function
keys for math symbols, enter "M". See Appendix D for a complete
explanation of function key assignments. The default setting is
"C".
Chapter 6: Setting Up (Edit Settings cont)
Cursor Size - Choose a cursor size from a dash to a full block by
entering a number in the range from 1 to 12 for monochrome and 1
to 7 for color. 1 is the largest and is the default setting.
Display End-of-Line Symbols - If you wish to have carriage returns
in text files displayed by a symbol, enter "Y". The default set-
ting is "Y".
Display Spaces as Dots - If you wish to have spaces in text files
represented by dots, enter "Y". The default setting is "N".
Display Non-Text Symbols as Dots - If you wish to have control and
8-bit characters represented on the screen by dots, enter "Y", or
if you wish to have these characters displayed, enter "N". The de-
fault setting is "N".
Produce Matching Symbols - If you wish to have the symbols [, {,
(, ', and " respectively matched by ], }, ), ', and ", enter "Y".
Insert mode must be on for this feature to be active. This feature
is particularly useful when writing source code. The default set-
ing is "N".
Number of Lines to Display - You can choose the number of lines
you wish to have displayed on the edit screen. The default setting
is 21 lines, which is normal for a screen that displays 25 lines.
If you are using a screen that does not display 25 lines this set-
ting can be changed to match the screen size. This setting can al-
so be used to push the bottom information line off a normal screen
by entering 22.
Number of Columns to Display - You can choose the number of col-
mns you wish to have displayed on the screen. The normal number of
columns is 80, which is the default setting. If you are using an
odd size screen, less than or greater than 80 columns, change this
setting to match the screen width.
Number of Columns in Screen Width - This setting must be set to
correspond to the actual number of columns that is displayed by
your monitor. If this setting is not correct, the editor will not
work properly. The normal number of columns is 80, which is the
default setting. If you are using an odd size screen, less than or
greater than 80 columns, you should change this setting to match
the screen width.
EGA 43/VGA 50 Line Mode - If you are using an EGA or VGA monitor
and wish to display additional lines on the screen. An EGA monitor
will display 43 lines (39 lines of edit screen) and a VGA monitor
will display 50 lines (46 lines of edit screen).
Chapter 6: Setting Up (cont)
To specify screen colors choose "Screen Settings" from the Setup Menu.
The current colors will be listed on the screen. To choose another
color, move the light bar to the item that you wish to change and
press <Return>. A color selection screen will be displayed and the bar
on the screen will display the color combination that would be in ef-
fect if that option is selected. Screen colors can also be changed
while in the edit mode by choosing "Set Screen Colors" from the Misc
Menu or pressing <Alt V>.
Foreground Color - You can choose a color for characters displayed
on the edit screen from a total of 16 colors.
Background Color - You can choose a background color for the edit
screen from a total of 8 colors.
Dialogue Line Color - You can choose a color for statements dis-
played in the dialogue box from a total of 16 colors.
Menu Foreground Color - You can choose a color for characters dis-
played on menus from a total of 16 colors.
Menu Background Color - You can choose a background color for men-
us from a total of 8 colors.
Menu Bar Color - You can choose a background color for menu bars
from a total of 8 colors.
Save Settings - You can save the current settings to a disk file to be
used later. For example, settings file "0" could be used for word pro-
cessing, settings file "1" used for editing dBASE files, and settings
file "2" used for writing source code. Settings files can be numbered
from 0 to 9. Settings file "0" is read automatically when GEdit is
started.
Choose Settings - You can recall settings that have been previously
saved by entering the number of the settings file (0 - 9).
Chapter 7: Editing
Types of Editing:
Create, display, and edit source code: Use the Text File Editor to
create and edit source code. Features that facilitate the creation
of source code include automatic indenting, creating matching sym-
bols, checking for open symbols, and running compilers while edit-
ing.
Word processing: GEdit includes a set of word processing features,
including ruler lines, word wrapping, justifying, tabs, jump to
stop, and keystroke macros. Use the Text Tile Editor to prepare
letters, memos, and documents.
Create, display, and edit DOS batch files: Use the Text File Edi-
or to create and edit DOS batch files.
Line drawing: The Text File Editor can be used for line drawing.
This feature is excellent for creating forms and organization
charts. Single and double lines can be mixed, and all lines can be
joined automatically.
Display and edit non-text files: You can display any disk file by
choosing the Stream Editor. Non-text Files are displayed in fixed
length lines (80 columns, unless you specify a different length)
using all ASCII and Extended ASCII characters.
Create, display, and edit data files: The Stream Editor can be
used to edit data files. Select non-text file and set the line
length to the record length. Ruler lines can be embeded anywhere
in the file to ensure accurate data entry.
Use the Hex Editor for editing files, disk sectors, and memory in
hex format.
Edit dBASE III files: Directly enter data into dBASE III files and
recover dBASE III files which have shifted data or include an em-
bedded end-of-file character, and import dBASE data as an ASCII
text file.
Edit dBASE III file headers: Change field names, length, and type,
and the number of records (useful for recovering files with cor-
upted headers).
Special purpose editing: Edit disk sectors (useful for recovering
files from disks with a damaged FAT), and edit computer memory.
Chapter 7: Editing (cont)
Edit Menu
The "Edit" option on the Main Menu displays the Edit Menu (see Appen-
dix B). You can select from the following special purpose editors from
the Edit Menu:
Text File Editor: Choose the Text File Editor for editing ASCII
text files, such as source code, batch files, and word processing
document files.
Stream Editor:
Non-text Files: Lets you edit non-text files. This type file
is displayed in a fixed-line-length format. The line length
can be specified in Setup, and can be changed after the file
is loaded.
Edit Disk Sectors: Lets you directly edit disk sectors. The
sectors that are loaded into memory are treated as a non-text
file and after editing, can be saved to a disk as a file. This
feature is useful for recovering files from a disk with a dam-
aged FAT. The number of sectors that can be loaded is deter-
mined by available memory. If you are accessing a hard disk,
you must choose the partition which corresponds to the logical
drive you wish to read.
Edit Memory: Lets you view and edit computer memory. A segment
(64K) can be edited beginning at the address you specify. Mem-
ory is displayed in real time, meaning that you can observe
the changes in memory as they occur.
Hex Editor: Lets you edit files, disk sectors, or a memory segment
in hex format. The hex representation (16 bytes) is displayed on
the left side of the screen with the corresponding ASCII charac-
ters shown on the right side. All editing is performed on the hex
display, and the command set is the same as for the Stream Editor.
dBASE Editor:
Edit dBASE III File Header: Lets you edit a dBASE file header.
Change an incorrect field name, type, or length, or correct
the number of records in a file. Useful for restoring files
with a corrupted header.
Edit dBASE III File: Lets you directly edit an existing dBASE
III data file. Change or enter data, or correct problems in
the file, such as shifted data or embedded end-of-file char-
acters. dBASE files are treated as non-text files.
Import/Edit dBASE III File: Lets you import a dBASE III data
file. These files are imported in ASCII text file format.
Chapter 7: Editing (cont)
Size of File: The size of the file that can be edited depends on
available memory. If a file is too large to be fully loaded into mem-
ory, you can specify that a portion of the file be loaded, and the
number of bytes to skip before beginning to load the file.
Methods for entering a file name: You can enter a name of an existing
file for editing, or enter the name of a file to be created. If the
file does not exist, no disk file will be created until the file is
saved. If you have specified a default extension in Setup, and you do
not add an extension to the file name, the default extension will be
added. To prevent the extension from being added, end the file name
with a period. The ways in which you can enter a file name are listed
below:
Pass the file name to GEdit as a parameter: When you execute GEdit
by entering "GE" at the DOS prompt, add a space and the file name
(i.e. C>GE C:\LETTERS\SOME.TXT). The file will be loaded in the
Text Editor. A file should be created or loaded in this manner
only if the file is a text file and the settings in the settings
file "0" are appropriate.
Type the file name at the file name prompt: Type in the file name,
including the path, and press <Return>.
Select from directory: Press <Return> at the file name prompt if
you wish to select a file from a disk directory. Enter the mask
(i.e. C:\LETTERS\*.* for all files in the LETTERS directory on the
C: drive) for the directory you want displayed. Directory entries
include hidden files and are arranged in alphabetical order. Move
the light bar to the file you wish to edit and press <Return>.
Select from history: Below the file name prompt, is listed the
names of the files which have been edited during the current ses-
sion, with the name of the last file edited on top. To edit one of
the files listed in history, use <Down-Arrow> to move the light
bar to the file you wish to edit and press <Return>. The display
and the cursor position will be same as when the file was exited.
Chapter 7: Editing (cont)
Status Line
The Status Line at the top of the edit screen displays information
about the edit buffer and the file being edited. Below is listed
the information to be found on the status line and the position on
the line where the information is displayed:
Current line 6
Offset in memory segment 9
Offset in file or the current column 21
Lines in file 29
Caps Lock ("Caps" if on) 50
Recording or executing macro ("R" for record, "M" for execute) 55
Drawing mode ("S" for single line, "D" for double line) 57
Pen up/down (Up-Arrow for pen up, Down-Arrow for pen down) 58
Word wrap ("W" if on) 60
Function keys assignment ("C"/commands, "G"/graphics, "M"/math) 62
Insert/overtype mode ("I" for insert, "O" for overtype) 64
Memory (in bytes) remaining in edit buffer 74
Ruler Line
The Ruler Line below the Status line indicates tab positions, and
can be used for defining tab positions by choosing "Set Tab Posit-
ions" from the Format Menu.
Bottom Information line
The Bottom Information Line displays the type file being edited,
if journaling is off or on, and the name of the file being edited.
Entering Non-Key Characters
Many characters in the IBM character set are not represented by a
key on the keyboard. To enter these characters, hold <Alt> down
while you type in the ACSII code for the character using the keys
in the numeric keypad. When you release <Alt> the character will
appear on the screen.
Edit Commands
Edit commands can be accessed though keystroke combinations or
selected from menus. Many commands can be accessed in both ways,
however, some are accessible only by keystrokes and others only
though menus. The keystrokes specified in this section for execut-
ing commands are default keystrokes. Keystroke assignments can be
changed by using the program KeyMap (see Chapter 11). Listed below
are the menus available from the edit mode:
GEdit Main Menu: You can leave the edit mode and return to the
Main Menu by pressing <Alt W>. If you choose to use an editor
you will be returned to the edit mode with the screen split on
the line on which the cursor was located. To return to the
edit mode from the Main Menu without selecting another editor,
press <Esc> or choose "Return to Editor" from the System Menu.
Chapter 7: Editing (Edit Commands cont)
Top Menu: This menu can be accessed by pressing <Alt T> or by
pressing <F1> (if function keys = commands). The Misc, Format,
Block, Named Block, Attributes, Goto, Locate, Draw, Open Sym-
bols, and File Management Menus are accessable from the Top
Menu.
Misc Menu: This menu is accessible from the Top Menu or by
pressing <Alt U>. It provides several miscellaneous options,
including help
Format Menu: This menu is accessible from the Top Menu or by
pressing <Alt F>. It provides options for formatting text,
including word wrapping and justifying.
Block Menu: This menu is accessible from the Top Menu or by
pressing <Alt B>. It provides options for performing block
operations.
Named Block Menu: This menu is accessible from the Top Menu or
by pressing <Alt N>. It provides options for performing block
operations that involve saving and retrieving files with user-
specified names.
Attributes Menu: This menu is accessible from the Top Menu or
by pressing <Alt A>. It provides options for marking text at-
tributes for printing, such as bolding, underlining, and ital-
ics.
Goto Menu: This menu is accessible from the Top Menu or by
pressing <Alt G>. It provides options for going to a particu-
lar line, column, or page.
Locate Menu: This menu is accessible from the Top Menu or by
pressing <Alt L>. It provides options for locating, replacing,
and counting strings.
Line-Drawing Menu: This menu is accessible from the Top Menu
or by pressing <Alt D>. It provides the options of entering
the single-line or double-line drawing modes, drawing with a
special character, and joining the lines in the file. Single
and double lines can be mixed and joined.
Open Symbols Menu: This menu is accessible from the Top Menu
or by pressing <Alt O>. It provides options for checking the
file for unmatched parenthesis, braces, and brackets when
writing source code.
File Management Menu: This menu is accessible from the Top
Menu or by pressing <Alt M>. Many varied options are available
from this menu.
Overtype and insert typing modes: <Ins> will toggle the typing
mode between overtype and insert. An "I" on the Status Line indi-
cates that the insert mode is active and an "O" indicates that the
overtype mode is active.
Chapter 7: Editing (Edit Commands cont)
Cursor control: The following keystroke combinations move the cur-
sor around the edit buffer.
Left-Arrow Go left one column
Right-Arrow Go right one Column
Up-Arrow Go up one line
Down-Arrow Go down one line
Home Goto beginning of line
End Goto end of line
Ctrl Left-Arrow Screen-shift left
Ctrl Right-Arrow Screen-shift right
PgUp Go up one screen
PgDn Go down one screen
Ctrl PgUp Goto top of screen
Ctrl PgDn Goto bottom of screen
Ctrl Home Goto beginning of file
Ctrl End Goto end of file
Tab Jump to next tab
Shift Tab Jump to previous tab
An additional cursor control command which can be used in text
files is jump to stop. <Ctrl N> will move the cursor to the next
">" occurring in the file. This feature can be useful in forms and
form letters.
Deleting: The following commands delete units of text. For delet-
ing blocks of text see "Erase" under Block Commands.
Character: To delete a character, place the cursor on the
character and press <Del>.
Backspace: To delete the character to the left of the cursor,
press <Backspace>.
Word: to delete a word, place the cursor at the beginning of
the word and press <Alt K>.
To the end-of-line: To delete from the cursor to the end of
the line press <Alt Y>.
Line: To delete a line, place the cursor anywhere on the line
and press <Alt X>.
UnDeleting: These commands undo delete operations.
Character: To undo the last character deletion, press <Ctrl
D>.
Word: To undo the last word deletion, press <Ctrl K>. The buf-
fer for this operation is 50 characters.
To the end-of-line: To undo the last to the end-of-line delet-
ion, press <Ctrl Y>. The buffer for this operation is 150
characters.
Chapter 7: Editing (Edit Commands cont)
Line: To undo the last line deletion, press <Ctrl X>. The buf-
fer for this operation is 255 characters
Inserting ruler lines: To insert a ruler line at the cursor locat-
ion, press <Alt R>. Embedded ruler lines can be useful as a guide
when editing a data file.
Formatting: Commands to format text are discussed below. These op-
erations are used primarily in word processing. (The format Menu
is accessed by choosing "Form" from the Top Menu or pressing <Alt
F>.)
Set Tabs: Choose "Set Tabs" from the Format Menu. Use the cur-
sor control keys to move the cursor on the Ruler Line. To
place a tab position on the Ruler Line, move the cursor to the
position and press <Tab>. To remove a tab position, move the
cursor to the position and press <Del>. When finished, press
<Return>.
Set Word Wrap: To set word wrap on, choose "Word Wrap On" from
the Format Menu and enter the line length for wrap. All exist-
ing text will be reformatted and word wrap activated. Soft
end-of-line characters are saved with the file for printing
purposes, however, the soft characters are stripped from the
file when it loaded for editing and the lines wrapped as spec-
ified in the setup.
Set Word Wrap Off: To set word wrap off choose "Word Wrap Off"
from the Format Menu. All soft carriage returns will be remov-
ed, the existing text reformated, and word wrap inactivated.
Format: To correct the length of lines, after operations which
alter the length by removing characters, place the cursor on
the line at the beginning of the block, press <Ctrl F> or
choose "Format" from the Format Menu, move the cursor to high-
light the block to be formatted, and press <Return>.
Justify: To justify a block of text, place the cursor on the
line at the beginning or end of the block, press <Alt J> or
choose "Justify" from the Format Menu, move the cursor to
high-light the block to be justified, and press <Return>.
UnJustify: To unjustify a block of text, place the cursor on
the line at the beginning or end of the block, press <Ctrl U>
or choose "UnJustify" from the Format Menu, move the cursor to
high-light the block to be unjustified, and press <Return>.
Center String: To center a string (all text on a line) place
the cursor on the line in which the the string is located and
press <Alt C> or choose "Center String" from the format Menu.
Pagenate: To pagenate a document, choose "Pagenate" from the
Format Menu and enter the page length. A page break will be
inserted at intervals equal to the page length that you speci-
fied.
Chapter 7: Editing (Edit Commands cont)
Convert Blanks to Spaces: Blanks (ASCII code 255) are used by
GEdit for justifying in order that these operations can be re-
versed. Blanks appear as spaces on the screen but might not be
printed. GEdit will convert the blanks to spaces as it prints
the file. However, if the file is printed using another pro-
gram, formatting may be lost. If you intend to edit or print
the file using another program, choose "Convert Blanks" from
the Format Menu.
Convert Soft EOL Characters: If you have created a text file
using word wrap and want to convert the soft end-of-line char-
acters to carriage returns (usually for the purpose of editing
by another program) choose "Convert EOL" from the Format Menu.
Block Commands: Operations on blocks and columns of text are dis-
cussed below. (The Block Menu is accessed by choosing "Bloc" from
the Top Menu or pressing <Alt B>.)
Erase: To erase a block of text, place the cursor at the be-
ginning or the end of the block, press <F6> (if function keys
= commands) or choose "Erase" from the Block Menu, high-light
the block to be erased, and press <Return>.
Cut: To cut a block of text, place the cursor at the beginning
or the end of the block, press <F7> (if function keys = com-
mands) or choose "Cut" from the Block Menu, high-light the
block to be cut and press <Return>. The block that is cut is
stored in a cut file and can be pasted anywhere in the current
file or any other file as many times as you wish, until over-
written by another cut.
Paste: The last cut can be pasted into the current file by
positioning the cursor at the location at which the text is to
be pasted, and pressing <F8> (if function keys = commands) or
by choosing "Paste" from the Block Menu.
Copy: To copy a block of text from one location to another lo-
cation in a file, place the cursor at the beginning or end of
the block to be copied, press <F9> (if function keys = com-
mands) or choose "Copy" from the Block Menu, high-light the
block to be copied, press <Return>, move the cursor to the po-
sition at which the block is to be copied, and press <Return>.
Move: To move a block of text from one location to another lo-
cation in a file, place the cursor at the beginning or end of
the block to be moved, press <F10> (if function keys = com-
mands) or choose "Move" from the Block Menu, high-light the
block to be moved and press <Return>, move the cursor to the
position at which the block is to be moved, and press <Re-
turn>.
Chapter 7: Editing (Edit Commands cont)
Column Cut: To cut a column of text, place the cursor at the
beginning or the end of the column, press <Shift F7> (if
function keys = commands) or choose "Column Cut" from the
Block Menu, specify if you want the column cut or just stored,
high-light the column to be cut, and press <Return>. The block
that is cut is stored in a column cut file and can be column
pasted anywhere in the current file or any other file as many
times as you wish, until overwritten by another column cut.
Column Paste: The last column cut can be pasted into the cur-
rent file by positioning the cursor at the location at which
the text is to be pasted, and pressing <Shift F8> (if function
keys = commands) or choosing "Column Paste" from the Block
Menu. Specify if you want to insert the cut or overwrite the
existing text.
Column Copy: To copy a column of text from one location to an-
other location in a file, place the cursor at the beginning or
end of the column to be copied, press <Shift F9> (if function
keys = commands) or choose "Column Copy" from the Block Menu,
high-light the column to be copied, press <Return>, move the
cursor to the position at which the column is to be copied,
and press <Return>. Specify if you want to insert the cut or
overwrite the existing text.
Column Move: To move a column of text from one location to an-
other location in a file, place the cursor at the beginning or
end of the column to be moved, press <Shift F10> or choose
"Column Move" from the Block Menu, high-light the column to be
moved, press <Return>, move the cursor to the position at
which the column is to be moved, and press <Return>.
Indent: To indent a block, place the cursor at the beginning
or end of the block to be indented, press <Alt I> or choose
"Indent" from the Block Menu, high-light the block to be
indented, and press <Return>. The block will be indented the
number of columns specified in Edit Setup.
Upper Case: To change the case of all letters in a block to
upper case, place the cursor at the beginning or end of the
block to be changed, choose "Upper Case" from the Block Menu,
high_light the block to be changed, and press <Return>.
Lower Case: To change the case of all letters in a block to
lower case, place the cursor at the beginning or end of the
block to be changed, choose "Lower Case" from the Block Menu,
high-light the block to be changed, and press <Return>.
Hot Print: To print a block of text, place the cursor at the
beginning or end of the block to be printed, press <Ctrl P> or
choose "Hot Print" from the Block Menu, high-light the block
to be printed, and press <Return>.
Chapter 7: Editing (Edit Commands cont)
Named Block Commands: Named block operations are identical to
block operations with the exception that they are associated with
user-specified file names. Standard cuts are saved to a file call-
ed "CUT.DAT" and standard column cuts are stored in the file named
"CCUT.DAT". Standard cuts and column cuts are, therefore, written
over with the next similar operation. If named cuts are used, any
number of cuts can be saved by using different file names. These
operations are discussed below. (The Named Block Menu is accessed
by choosing "NBlk" from the Top Menu or pressing <Alt N>.)
Named Cut: To name cut a block of text, place the cursor at
the beginning or the end of the block, press <Ctrl F7> (if
function keys = commands) or choose "Named Cut" from the Named
Block Menu, enter the file name for the cut, high-light the
block to be cut, and press <Return>. The cut is stored in a
file and can be pasted anywhere in the current file or any
other file as many times as you wish by choosing "Named Paste"
from the Named Block Menu and entering the file name.
Named Paste: To paste a named cut, position the cursor at the
location at which the block is to be pasted, press <Ctrl F8>
(if function keys = commands) or choose "Named Paste" from the
Named Block Menu, and enter the name of the cut file.
Named Column Cut: To name column cut a block of text, place
the cursor at the beginning or the end of the column and press
<Ctrl F9> (if function keys = commands) or choose "Named Col-
umn Cut" from the Named Block Menu. Enter the file name for
the cut, high-light the column to be cut, and press <Return>.
The column that is cut is stored in a file and can be pasted
anywhere in the current file, or any other file, as many times
as you wish by choosing "Named Column Paste" from the Named
Block Menu and entering the file name.
Named Column Paste: To paste a named column cut, position the
cursor at the location at which the column is to be pasted,
press <Ctrl F10> (if function keys = commands) or choose "Nam-
ed Column Paste" from the Named Block Menu, and enter the name
of the cut file.
Chapter 7: Editing (Edit Commands continued)
Attributes: The attributes of text when printed are controlled by
printer control codes derived from printer driver files. A printer
control code is sent to the printer when an attribute symbol is
encountered in the text being printed (when the attribute symbol
for condensed print in encountered in the text, the printer code
for condensed print is sent to the printer). To place an attribute
code in text, position the cursor where you want to place the code
and access the Attributes Menu by choosing "Attr" from the Top
Menu or pressing <Alt A>. From this menu you can select from 10
user-defined attributes or 12 standard attributes described below.
Standard attributes: If you select a standard attribute, use
the cursor control keys to high-light the area to change and
press <Return>. An attribute code will be placed at the begin-
ning and at the end of the block marked. When printing, a code
to set the attribute is sent to the printer when the first at-
tribute code is encountered, and a code to reset the attribute
is sent when the second attribute code is encountered. Stand-
ard attributes are listed below:
Bold
Underlined
Italics
Superscript
Subscript
Double Wide
Pica
Elite
Condensed
6 Lines per Inch
8 Lines per Inch
Double Spacing
User-Defined Attributes: These are attributes not included in
the standard attributes and represent codes entered by the
user (see Chapter 8). If you choose to insert an user-defined
attribute, enter the number of the code from 0 to 9, and press
<Return>. The attribute code will be placed at the cursor pos-
ition. Use the program PCODES.EXE, which is included on the
GEdit Distribution Disk to create user-defined codes.
User-defined attribute codes can also be inserted in the text by
placing the cursor at the position where you wish to change the
attribute, and pressing <Alt> plus the number of the code from the
number keys at the top of the keyboard.
Embedding printer codes: Printer codes can be embedded in the file
by holding <Alt> down while entering the ASCII code from the nu-
meric keypad and then releasing <Alt>.
Goto: A quick way of moving around a file is to use the goto com-
mands. These commands are discussed below. (The Goto Menu is ac-
cessed by choosing "Goto" from the Top Menu or pressing <Alt G>.)
Chapter 7: Editing (Edit Commands cont)
Goto Line: To goto a particular line in the file being edited,
choose "Goto Line" from the Goto Menu and enter the line num-
ber.
Goto Column: To goto a particular column in the file being ed-
ited, choose "Goto Column" from the Goto Menu and enter the
column number.
Goto Page: To goto a particular page in the file being edited,
choose "Goto Page" from the Goto Menu and enter the page num-
ber.
Goto Offset: If you are editing a memory segment, you can go-
to a particular offset by choosing "Goto Offset" from the Goto
Menu and entering the offset.
Locate and Replace: Commands to locate and replace strings in a
file are available in the Locate Menu. In specifing the string to
be located or replaced, "?" can be used as a wildcard to repre-
sent any single character. After entering the string you will be
asked if the search is to be case sensitive. If you reply no, the
case of the characters in the string will be disregarded. These
commands are discussed below. (The Locate Menu is accessed by
choosing "Find" from the Top Menu or pressing <Alt G>.)
Locate To locate a string in a file past the cursor position,
choose "Locate Forward", and to locate a string before the
cursor position, choose "Locate Backward" from the Locate
Menu, enter the string, and indicate if the search is to be
case-sensitive by pressing <Y> or <N>. If the string is locat-
ed, you will be asked if you wish to continue the search.
Replace: To replace a string in a file past the cursor posit-
ion choose "Replace Forward", and to replace a string before
the cursor position choose "Replace Backward" from the Locate
Menu. Enter the string, indicate if the search is to be case-
sensitive by pressing <Y> or <N>, and enter the string to re-
place with. If the string is located, you will be asked if you
wish to replace the string, and then asked if you wish to con-
tinue the search.
Global Replace: To replace all strings, meeting the specified
criteria, without prompting, in a file past the cursor posit-
ion choose "Global Replace Forward", and to replace strings
before the cursor position, without prompting, choose "Global
Replace Backward" from the Locate Menu. Enter the string, in-
dicate if the search is to be case-sensitive by pressing <Y>
or <N>, and enter the string to replace with.
Count: To count the occurrences of a string in a file past the
cursor position choose "Count Forward", and to count the oc-
currences of a string before the cursor position choose "Count
Backward" from the Locate Menu, indicate if the search is to
be case-sensitive by pressing <Y> or <N>, and enter the
string.
Chapter 7: Editing (Edit Commands cont)
Line Drawing: To draw lines use the line-drawing commands which
are available in the Line-Drawing Menu. These commands are dis-
cussed below. (The Line-Drawing Menu is accessed by choosing
"Draw" from the Top Menu or pressing <Alt D>.)
Drawing: To draw a single line, choose "Draw with Single Line"
from the Line-Drawing Menu. For a double line, choose "Draw
with a Double line" from the Line-Drawing Menu. To draw with a
special character (ASCII character 219 is useful for drawing
boxes) choose "Enter Drawing Character" from the Line-Drawing
Menu. Use the cursor control keys to draw the line.
Toggling The Pen: When you enter the line-drawing mode the pen
is down (look for the down-arrow on the Status Line). To raise
the pen to enter text or to move to another location, press
<Alt -> (the <Alt -> keystroke combination toggles the pen up
and down). When ready to draw again press <Alt -> to lower the
pen. To leave line-drawing, choose "Leave Line-Drawing Mode"
from the Line-Drawing Menu.
Joining Lines: Lines that cross or meet but do not join can be
joined by choosing "Join Lines in File" from the Line-Drawing
Menu. Single and double lines are joined by this procedure.
Using Graphic Symbols: To assist in line drawing, many graphic
symbols are available by using the function keys when they are
assigned to graphics. See Chapter 6 for information on assigning
function keys and see Appendix D for the key assignments.
Matching Symbols: To determine if symbols in a file are matched by
the appropriate symbol, access the Open Symbols Menu by choosing
"OSym" from the Top Menu or pressing <Alt O>, and select the sym-
bol (parenthesis, braces, or brackets) to be checked.
File Management: Many commands are available from the File Manage-
ment Menu. These commands are discussed below. (The File Manage-
ment Menu is accessed by choosing "File" from the Top Menu or
pressing <Alt M>.)
Insert File: To insert a file at the cursor location, choose
"Insert File" from the File Management Menu and enter the file
name.
Append File: To append a file to the file being edited, choose
"Append File" from the File Management Menu, and enter the
file name.
Compare Two Files: To compare two files, both files must be
opened and displayed in the split-screen mode. The cursor can
be in either file. Choose "Compare Two Files" from the File
Management Menu. Any differences in the files will be identi-
fied by line and column number as the comparison is made.
Chapter 7: Editing (Edit Commands cont)
Change Line Length: To change the line length of a non-text
file, choose "Change Line Length" from the File Management
Menu, and enter the new line length.
Strip Page Breaks: To remove all the page breaks from a file,
choose "Strip Page Breaks" from the File Management Menu.
Strip Ruler Lines: To remove all the ruler lines from a file,
choose "Strip Ruler Lines" from the File Management Menu.
Strip 8-Bit Characters: To remove all 8-bit characters from
the file being edited, choose "Strip 8-Bit Characters" from
the File Management Menu. Any line drawing in the file will be
erased by this command.
Insert at Intervals: To insert a particular character at set
intervals in the file, choose "Insert at Intervals" from the
File Management Menu. Use this feature to add carriage returns
at the end of records, or to insert delimiters between fields.
Rebuilding Line-Ending Index: If part of the file is missing,
or there is garbage in the file, or the end-of-line symbols
appear in the line instead of at the end, the line-ending in-
dex is probably corrupted. To correct, choose "Rebuild Line-
Ending Index" from the File Management Menu.
Print Variables: Page numbers can change while editing a document,
and the current date can change between the time you edit a file
and the time you print it. GEdit will provide this information if
it encounters the appropriate symbols while printing the file.
These symbols and others that GEdit recognizes, with the variables
that they represent, are listed below:
Enter this to print this
~P Page number
~D System date
~T System time
~L Current line/paragraph
ASCII Table: To display a table of ASCII codes in decimal and hex-
idecimal with corresponding symbols, press <Alt Z>.
Changing Setup from Edit Mode: Edit settings can be changed from
the edit mode by pressing <Alt E> or choosing "Set Edit Settings"
from the Misc Menu, and the screen colors can be changed by press-
ing <Alt V> or by choosing "Set Screen Colors" from the Misc Menu.
Creating and Executing Macros: Keystroke macros can be recorded by
pressing <Ctrl R>. Enter the name of the macro (only one character
allowed) and press <Return>. All keystrokes will be recorded until
the recording is stopped by pressing <Ctrl R> again. To execute
the macro, press <Ctrl M>, enter the name of the macro, and press
<Return>. All the previously recorded keystrokes will be replayed.
Chapter 7: Editing (Edit Commands cont)
Loading File from Editor: If you wish to replace the file you are
editing with a text file, press <Ctrl O> or <F4> (if function keys
= commands), or choose "Load New File" from the Misc Menu. If you
have made changes to the current file, you will be given the op-
portunity to save the file. Then enter the file name, as you nor-
mally would, at the prompt.
Split-Screen Editing: The edit screen can be split in order to
display two files (or memory, or disk sectors) at once. This can
be done in two ways:
Position the cursor on the line where you wish to split the
screen and press <Ctrl W>, or choose "Open Window" from the
Misc Menu. Select an editor from the Edit Menu. This editor
will be active in the bottom window.
You can return to the Main Menu to choose an editor. Position
the cursor on the line where you wish to split the screen and
return to the Main Menu by pressing <Alt W>, or by choosing
"Goto Main Menu" from the Misc Menu. Choose the editor you
wish to use from the Edit Menu (or to return to the edit mode
without splitting the screen press <Esc>, or choose "Return to
Editor" from the System Menu). Processing will be returned to
the edit mode with the bottom window active.
Switching Windows: To switch between windows press <Alt =>.
Running Another Program: To run another program from the editor,
press <Ctrl E> or <F5> (if function keys = commands) and enter the
complete command line (the command that you would enter at the DOS
prompt).
Shell to DOS: To shell to DOS from the editor, press <Ctrl S>, or
choose "Shell to DOS" from the Misc Menu. GEdit and the edit buf-
fer are unloaded from memory when shelling to DOS. This provides
the free memory, minus approximately 12K, that would be available
if GEdit was not loaded. Enter "EXIT" at the DOS prompt to return
to GEdit.
Saving File: To save a file without leaving the edit mode, press
<Alt S> or <F2> (if function keys = commands), or choose "Save
Current File" from the Misc Menu. Press <Return> if the file name
displayed is correct, or enter a different file name.
Quitting: To close an edit window press <Alt Q> or <F3> (if funct-
ion keys = commands), or choose "Quit Current File" from the Misc
Menu. If you are editing a file or disk sectors and you have made
changes to the file, you will asked if you want to save or to quit
without saving. Press <N> to quit without saving, or press any
other key to save the file. If only one window is open, processing
will be returned to the Main Menu, otherwise, the other window be-
comes active.
Chapter 8: Printing
The "Print" option on the Main Menu displays the Print Menu. You can
select from the following options on the Print Menu:
Print File: Before printing a file, check to ensure that the print
settings are correct and that the printer is ready. To print a
file choose "Print File" from the Print Menu and enter the file
name or press <Return> to select a file from the directory.
Enter Print Settings: lets you specify the settings to use when
printing. The available settings are listed below. After the set-
tings are changed to your satisfaction, press <F10> to save to the
settings file, or press <Esc> to leave without saving.
File type <T>ext or <N>on-text: To print a text file enter "T"
or enter "N" to print a non-text file.
Line length for non-text files: Enter the line wrap-around
length for non-text files.
Top margin: Enter the number of lines to skip at the top of
each page.
Left margin: Enter the number of columns to skip at the begin-
ing of each line.
Pitch <P>ica, <E>lite, or <C>ondensed: Enter the number of
characters per inch. Choose "P" for 10 characters per inch,
"E" for 12 characters per inch, or <C> for 15 or 17 characters
per inch.
Lines/inch: Enter the number (6 or 8) of lines to print per
inch.
Paper length: Enter the form length in lines.
Begin on page: Enter the number of the page in the document on
which to begin printing. When printing a text file the page
number is incremented when a form feed character is encounter-
ed. When printing a non-text file the page number is incre-
mented when the number of lines in a form is reached.
End on page: Enter the number of the last page in the document
that you wish to have printed.
Pause between pages <Y> or <N> - choose "Y" if you need to
pause between pages to change paper. Printing is paused until
a key is pressed and the form feed is suppressed.
Quality <D>raft or <F>inal - choose "D" for faster draft
printing or "F" for higher quality final printing.
Chapter 8: Printing (Enter Print Settings continued)
Number of copies - enter the number of copies of the file that
you wish to print.
Printer driver - enter the name of the printer driver file
that corresponds to the printer that you are using. A driver
for the Epson FX (EPSONFX) is supplied with GEdit. Use PCodes
(see Chapter 12) to create additional printer drivers.
Parallel <P?> or Serial <S?> - enter the type of port to which
the printer is connected. For example, enter "P1" if the
printer is connected to parallel port number 1, or "S2" for
serial port number 2.
Baud (300, 1200, 2400, 4800, or 9600) - if you are printing
from a serial port choose the baud rate at which the printer
is set.
Handshaking for serial printers: Serial printers must be set to no
parity, 8 data bits, 1 stop bit and the protocol must be serial busy
(DTR and RCH).
Chapter 10: Quitting
To leave GEdit if no files are open, press <Esc> at the Main Menu. To
quit, even if files are open, choose "Quit" from the System Menu.
Chapter 11: Using the KeyMap Program
If you have created a GEdit work disk, the program KEYMAP.EXE will be
on the work disk. If you have installed GEdit on a hard disk, it will
be located in the same directory as GE.EXE. Before you use KeyMap on a
hard disk, be sure that the AUTOEXEC.BAT file includes the statement
"SUPPORT=C:\GE\SUPPORT", or the directory you specified for support
files when you installed GEdit. To run this program, enter "KEYMAP" at
the DOS prompt.
The purpose of KeyMap is to assign commands to particular keystrokes.
The key assignments are stored in a file called KEY.MAP which is lo-
cated on the work disk, or in the support files directory if GEdit is
installed on a hard disk.
The main screen displays 84 commands. The number of the command pres-
ently assigned to each keystroke is displayed next to the keystroke.
To change the assignment, enter the number of the new command in the
column next to the keystroke. A command can be assigned to more than
one keystroke.
Use the <Down-Arrow> and <Up-Arrow> keys to move the cursor to the
keystroke you wish to change. The listing of keystrokes will scroll
until the bottom or top of the list is displayed. Press <End> to dis-
play the bottom of the list, and <Home> to display the top of the
list. <PgDn> moves the display down one screen, and <PgUp> moves the
display up one screen.
Press <Esc> to leave KeyMap without saving any changes, or press <F10>
to leave KeyMap and save the changes.
The file KEY.MAP is not essential to the operation of GEdit. GEdit
contains a listing of default keystroke assignments (see Appendix C),
which it uses if it cannot find KEY.MAP.
Chapter 12: Using the PCodes Program
If you have created a GEdit work disk, the program, PCODES.EXE will be
on the work disk. If you have installed GEdit on a hard disk, it will
be located in the same directory as GE.EXE. To run this program, enter
"PCODES" at the DOS prompt. Choose to create or edit a printer driver
by selecting "Standard Codes", or enter user-defined codes by select-
ing "User Defined Codes". After you enter the codes, press <F10> to
save the printer driver file, or press <Esc> to leave without saving.
Standard Codes: Enter the name of the printer with no spaces and
with eight characters or less. Enter the codes in hex using no
spaces or delimiters. Separate set and reset codes with a "/". The
standard codes that can be entered are listed below:
Reset printer - enter the code that initializes the printer.
Draft quality - enter the code for draft quality print.
Final quality - enter the code for final quality print.
Form length in lines - enter the code for setting the form
length in lines. In place of the number which represents the
number of lines on the page, enter "XX". GEdit will supply
this number from the print settings.
Bold - enter the code for bold printing and the code for re-
setting bold print, separated by a "/". This might be the code
for emphasized or double-strike print.
Underline - enter the code for underlining and for resetting
underlining, separated by a "/".
Italics - enter the code for italics and the code for reset-
ting italics, separated by a "/".
Superscript - enter the code for superscript and the code for
resetting superscript, separated by a "/".
Subscript - enter the code for subscript and the code for re-
setting subscript, separated by a "/".
Double wide - enter the code for double wide and the code for
resetting double wide, separated by a "/".
Pica - enter the code for 10 character per inch printing and a
reset code, if there is one, separated by a "/".
Elite - enter the code for 12 character per inch printing and
a reset code, separated by a "/".
Condensed - enter the code for condensed printing and a reset
code, separated by a "/".
Chapter 12: Using the PCodes Program (cont)
6 lines/inch - enter the code for 6 lines per inch printing
and a reset code, if there is one, separated by a "/".
8 lines/inch - enter the code for 8 lines per inch printing
and a reset code, separated by a "/".
User Defined Codes: You can enter up to 10 codes. These codes are
used to supplement the standard codes and can be inserted in a
document by accessing the Attributes Menu or by pressing <Alt> and
the code number (0 - 9) from the number keys at the top of the
keyboard.
Chapter 13: Using the UT Program
If you have created a GEdit work disk, the program, UT.EXE will be on
the work disk. If you have installed GEdit on a hard disk, it will be
located in the same directory as GE.EXE. To run this program, enter
"UT" at the DOS prompt, or if you wish to have UT available as a mem-
ory resident option when using GEdit, enter "GU" at the DOS prompt
(see Chapter 14).
The commands that can be used in UT are listed in APPENDIX E.
Directory Display:
When initially loaded, UT displays the file listing of the current
directory. To mark or perform an operation on a file, move the
high-light bar to the name of the file, by using the up and down
arrow keys. The display will scroll to display file names not on
the screen. To move to the top of the list, press <Home>. To move
to the bottom of the list, press <End>. <PgDn> moves the display
down one screen, and <PgUp> moves the display up one screen.
To enter a mask for a file listing display (just as with the DOS
DIR command) press <F1> and enter the mask, including wildcards in
the file name. For example, enter "\WP\*.DOC" to display all files
in the WP directory with a ".DOC" extension. All file operations
are performed on files in the displayed file listing.
File Operations:
Operations on individual files are performed by high-lighting the
file name, and pressing the character associated with the command.
For example, to delete the file "LETTER.DOC", high-light the file
name and press <D>.
Files can be marked for performing operations on a group of files
by high-lighting each file and pressing <*>. A group of files can
also be marked by pressing <Alt-M> and specifying a mask. For ex-
ample, to mark all files in the displayed file listing ending with
a ".TXT" extension, press <Alt-M> and enter "*.TXT". All files in
the displayed file listing can be marked by pressing <Alt-X>, and
all files can be unmarked by pressing <Alt-U>. Individual files
can be unmarked by high-lighting the file name and pressing <U>.
Operations which can be performed only on individual files are:
Rename
Display file statistics
Operations which can be performed on individual files and on a
group of files are:
Delete
Copy
Change date and time of creation/modification
Change attributes
Chapter 13: Using the UT Program (File operations continued)
The file statistics displayed for the high-lighted file are:
Size in bytes
Attributes
Date of creation/modification
Time of creation/modification
Number of lines
Number of words
Average length of word
Directory Operations:
Change Current Directory: To change the default directory, press
<F2> and enter the name (i.e. \LETTERS) of the directory to change
to. Just as with the DOS DIR command, any mask specified for a
displayed file listing is interperted in relation to the current
directory.
Rename Directory: To rename a directory press <F3>, enter the name
(i.e. C:\LETTERS) of the directory you wish to rename, and then
the new name for the directory.
Create Directory: To create a new directory press <F4> and enter
the name (i.e. C:\LETTERS) of the new directory.
Remove Directory: To delete a directory press <F5> and enter the
name (i.e. C:\LETTERS) of the directory you wish to remove. This
operation will be successful only if the directory is empty.
Hide Directory: To hide a directory, press <F6> and enter the name
(i.e. C:\LETTERS) of the directory to hide. The hidden directory
can be accessed as before, but the directory name will not be dis-
played by the DOS DIR command. The GEdit directory will display
hidden directory names.
Unhide Directory: To unhide a directory that has been hidden by
UT, press <F7> and enter the name (i.e. C:\LETTERS) of the direct-
ory to unhide.
Drive Operations:
Log Drive: To relog the default drive or change the default drive,
press <F8> and enter the device name (i.e. A) of the drive. Just
as with the DOS DIR command, any mask specified for a file listing
display is interperted in relation to the current drive.
Check Drive Size: To check the storage capacity of any drive the
computer has access to, press <F9> and enter the device name (i.e.
A) of the drive. The size in bytes will be displayed.
Check Drive Free Space: To check the amount of unused storage ca-
pacity on a drive, press <F10> and enter the device name (i.e. A)
of the drive. The free space in bytes will be displayed.
Quiting: To quit UT press <Q> or <Esc>.
Chapter 14: Using the GU Program
If you have created a GEdit work disk, the program GU.EXE will be on
the work disk. If you have installed GEdit on a hard disk, it will be
located in the same directory as GE.EXE. To run this program, enter
"GU" at the DOS prompt. GU loads UT as a memory resident program,
then executes GEdit. At any point while using GEdit, pressing <Ctrl-
Alt> will pop UT on the screen. Pressing <Esc> or <Q> will return pro-
cessing to GEdit.
Chapter 15: Trouble Shooting
Problem: When attempting to display help screens, the message "Help
screen not found" is displayed.
Modify the AUTOEXEC.BAT file in the root directory of the bootable
drive to include a statement (i.e. SUPPORT=C:\GE\SUPPORT) to assign
the variable "SUPPORT" to the directory where the GEdit support files
are located.
Problem: Part of file is missing, garbage in file, or end-of-file sym-
bols are displayed in the line instead of at the end of the line.
This is usually caused by a corrupted line-ending index. To correct,
reindex the line-ending index by choosing "Rebuild Line-Ending Index"
from the File Management Menu.
Problem: Justification is lost while printing.
This is result of the printer not printing the blanks used by GEdit
for the purpose of justifying. To correct, choose "Convert Blanks"
from the the Format Menu to convert the blanks to spaces.
Problem: An extra character is printed in the upper left corner of the
page or elsewhere in the printout, or attributes specified in the file
are not properly printed.
This is caused by a missing or improper printer driver. Make sure that
you have the correct driver and if you do not, create one using the
program PCODES.EXE which is included on the GEdit Distribution Disk
(see Chapter 12). Make sure that the correct driver is specified in
the print settings, and lastly, make sure that the driver is in the
proper directory (the GEdit support files directory).
Problem: A disk write error when attempting to cut text.
This can be caused by insufficient disk space to hold the amount of
material being cut. Retry, using smaller cuts. If you are using GEdit
on a floppy disk, and have not created a work disk, do so by running
FINSTALL.
Problem: Everything is wrong (colors, screen width, etc.).
This is probably caused by a settings file saved by a previous version
of GEdit. The format of the settings file may change from one version
to the next as new features are added. To correct, delete all settings
files in the support directory. These files are named EDITSET?.DAT.
APPENDIX A - Menu Tree
┌───────────┐
│ MAIN MENU │
└─────┬─────┘
│
│
│
┌─────────────┬─────────────┼─────────────┬─────────────┐
│ │ │ │ │
│ │ │ │ │
┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐
│ EDIT │ │ SYSTEM │ │ SETUP │ │ HELP │ │ PRINT │
└─────┬─────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘
│
│
│
┌─────┴─────┐
│ TOP │
└─────┬─────┘
│
├─────────────┬─────────────┬─────────────┬─────────────┬───────┐
│ │ │ │ │ │
│ │ │ │ │ │
┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ │
│ MISC │ │ FORMAT │ │ BLOCK │ │NAMED BLOCK│ │ATTRIBUTES │ │
└───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘ │
│
│
┌─────────────┬─────────────┬─────────────┬─────────────┬───────┘
│ │ │ │ │
│ │ │ │ │
┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐
│ GOTO │ │ FIND │ │ DRAW │ │ MATCH SYM │ │FILE MANAGE│
└───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘
APPENDIX B - Menus
Main Menu
┌──────────────────────────────────────────────────────────────────────────┐
│ Edit System Setup Help Print │
└────────────────────────────────────────────────────────────Esc to Exit───┘
Edit Menu System Menu
┌──────────────────────┐ ┌───────────────────────┐
│ F1 Text File Editor │ │ F1 Quit │
│ F2 Stream Editor │ │ F2 Return to Editor │
│ F3 Hex Editor │ │ F3 Shell to DOS │
│ F4 dBASE III Editor │ │ F4 Run Program │
└──────────────────────┘ │ F5 Redo Edit Session │
│ F6 Copyright Screen │
└───────────────────────┘
Setup Menu
┌─────────────────────┐ Help Menu
│ F1 File Settings │
│ F2 Edit Settings │ ┌───────────────────────┐
│ F3 Screen Settings │ │ F1 Help on GEdit │
│ F4 Save Settings │ │ F2 Help on Main Menu │
│ F5 Choose Settings │ │ F3 Help on Setup │
└─────────────────────┘ │ F4 Help on Editing │
│ F5 Help on Printing │
└───────────────────────┘
Print Menu
┌────────────────────┐ Type Menu
│ F1 Print File │
│ F2 Enter Settings │ ┌───────────────────┐
└────────────────────┘ │ F1 Non-text File │
│ F2 Disk Sectors │
│ F3 Memory │
dBASE Menu │ F4 Escape │
└──────Esc to Exit──┘
┌─────────────────────┐
│ F1 File Header │
│ F2 File │ Redo Menu
│ F3 Convert to Text │
│ F4 Escape │ ┌───────────────────┐
└────────Esc to Exit──┘ │ F1 Text File │
│ F2 Non-text File │
│ F3 dBASE File │
│ F4 Escape │
└──────Esc to Exit──┘
APPENDIX B - Menus (cont)
Top Menu
┌──────────────────────────────────────────────────────────────────────────┐
│ Misc Form Bloc NBlk Attr Goto Find Draw OSym File │
└────────────────────────────────────────────────────────────Esc to Exit───┘
Misc Menu Goto Menu
┌───────Misc Menu───────┐ ┌────Goto Menu────┐
│ F1 Help on Editing │ │ F1 Goto Line │
│ F2 Save Current File │ │ F2 Goto Column │
│ F3 Load New File │ │ F3 Goto Page │
│ F4 Quit Current File │ │ F4 Goto Offset │
│ F5 Switch Window │ │ F5 Escape │
│ F6 Open Window │ └────Esc to Exit──┘
│ F7 Goto Main Menu │
│ F8 Execute Program │
│ F9 Shell to DOS │ Line Drawing Menu
│ F10 Hot Print │
│ SF1 Set Edit Settings │ ┌──────Line-Drawing Menu──────┐
│ SF2 Set Screen Colors │ │ F1 Draw with Single Line │
│ SF3 Escape │ │ F2 Draw with Double Line │
└──────────Esc to Exit──┘ │ F3 Enter Drawing Character │
│ F4 Join Lines in File │
│ F5 Leave Line-Drawing Mode │
Block Menu │ F6 Escape │
└────────────────Esc to Exit──┘
┌────Block Menu────┐
│ F1 Cut │
│ F2 Erase │ Format Menu
│ F3 Paste │
│ F4 Copy │ ┌─────Format Menu────┐
│ F5 Move │ │ F1 Word Wrap On │
│ F6 Column Cut │ │ F2 Word Wrap Off │
│ F7 Column Paste │ │ F3 Format │
│ F8 Column Copy │ │ F4 Justify │
│ F9 Column Move │ │ F5 UnJustify │
│ F10 Indent │ │ F6 Center String │
│ SF1 Upper Case │ │ F7 Pagenate │
│ SF2 Lower Case │ │ F8 Set Tabs │
│ SF3 Hot-Print │ │ F9 Convert Blanks │
│ SF4 Escape │ │ F10 Convert EOL │
└─────Esc to Exit──┘ │ SF1 Escape │
└───────Esc to Exit──┘
APPENDIX B - Menus (cont)
Locate Menu
Named Block Menu
┌─────────Locate Menu─────────┐
│ F1 Locate Forward │ ┌────Named Block Menu────┐
│ F2 Locate Backward │ │ F1 Named Cut │
│ F3 Replace Forward │ │ F2 Named Paste │
│ F4 Replace Backward │ │ F3 Named Column Cut │
│ F5 Global Replace Forward │ │ F4 Named Column Paste │
│ F6 Global Replace Backward │ │ F5 Escape │
│ F7 Count Forward │ └───────────Esc to Exit──┘
│ F8 Count Backward │
│ F9 Escape │
└────────────────Esc to Exit──┘ Attribute Menu
┌───Attribute Menu───┐
Open Symbols Menu │ F1 Bold │
│ F2 Underlined │
┌──────Open Symbols Menu─────┐ │ F3 Italics │
│ F1 Match Parenthesis - () │ │ F4 Superscript │
│ F2 Match Braces - {} │ │ F5 Subscript │
│ F3 Match Brackets - [] │ │ F6 Double Wide │
│ F6 Escape │ │ F7 Pica │
└───────────────Esc to Exit──┘ │ F8 Elite │
│ F9 Condensed │
│ F10 6 Lines/Inch │
File Management Menu │ SF1 8 Lines/Inch │
│ SF2 Double Spacing │
┌───File Management Menu──┐ │ SF3 User Defined │
│ F1 Insert File │ │ SF4 Escape │
│ F2 Append File │ └───────Esc to Exit──┘
│ F3 Compare Two Files │
│ F4 Change Line Length │
│ F5 Strip Page Breaks │ Forground Color Menu
│ F6 Strip Ruler Lines │
│ F7 Strip 8-Bit Chars │ ┌───────────────┐
│ F8 Insert at Intervals │ │ Black │
│ F9 Rebuild Line Index │ │ Blue │
│ F10 Escape │ │ Green │
└────────────Esc to Exit──┘ │ Cyan │
│ Red │
│ Magneta │
Background Color Menu │ Brown │
│ Light Grey │
┌───────────────┐ │ Dark Grey │
│ Black │ │ Light Blue │
│ Blue │ │ Light Green │
│ Green │ │ Light Cyan │
│ Cyan │ │ Light Red │
│ Red │ │ Light Magenta │
│ Magneta │ │ Yellow │
│ Brown │ │ White │
│ Light Grey │ └───────────────┘
└───────────────┘
APPENDIX C - Edit Commands
Command Action B Default Key Combination File Type *
┌─┬─┬─┐
│T│N│M│
├─┼─┼─┤
{HELP} Help Alt H or F1 ** │X│X│X│
{SAVE} Save Current File Alt S or F2 │X│X│ │
{QUIT} Close Current File ALT Q or F3 │X│X│X│
{LOAD} Load New Text File Ctrl O or F4 │X│X│X│
{RUN} Execute Another Program Ctrl E or F5 │X│X│X│
{SHELL} Shell to DOS Ctrl S │X│X│X│
{WINDOW} Open Window Ctrl W │X│X│X│
{SWITCH} Switch Window Alt = │X│X│X│
{EDITSET} Edit Setup Alt E │X│X│X│
{SCREENSET} Screen Color Setup Alt V │X│X│X│
{ASCII} ASCII Table Alt Z │X│X│X│
│ │ │ │
Cursor Control: │ │ │ │
│ │ │ │
{LEFT} Go Left One Column Left-Arrow │X│X│X│
{RIGHT} Go Right One Column Right-Arrow │X│X│X│
{CUP} Go Up One Line Up-Arrow │X│X│X│
{CDOWN} Go Down One Line Down-Arrow │X│X│X│
{HOME} Goto Beginning of Line Home │X│X│X│
{EOL} Goto End of Line End │X│X│X│
{SLEFT} Screen-Shift Left Ctrl Left-Arrow │X│X│X│
{SRIGHT} Screen-Shift Right Ctrl Right-Arrow │X│ │ │
{PGUP} Go Up one Screen PgUp │X│X│X│
{PGDN} Go Down one Screen PgDn │X│X│X│
{TOP} Go To Top of Screen Ctrl PgUp │X│X│X│
{BOTTOM} Go to Bottom of Screen Ctrl PgDn │X│X│X│
{BEGIN} Goto Beginning of File Ctrl Home │X│X│X│
{END} Goto End of File Ctrl End │X│X│X│
{TAB} Jump to Next Tab Tab │X│X│X│
{BTAB} Jump to Previous Tab Shift Tab │X│X│X│
{JUMP} Jump to Stop Ctrl N │X│ │ │
└─┴─┴─┘
* T ASCII text file, including imported files
N non-text file, including dBase III files and disk sectors as file
M memory
** Function keys can be used for commands only when assigned as command
keys (To change function key assignments go to the Edit Setup - Alt E)
APPENDIX C - Edit Commands (cont)
Command Action Default Key Combination File Type *
┌─┬─┬─┐
Editing: │T│N│M│
├─┼─┼─┤
{DELETE} Delete Character at Cursor Del │X│X│ │
{UNDEL} Undo Delete Character Ctrl D │X│X│ │
{BSPACE} Delete Character Left of Cursor Backspace │X│X│ │
{KILL} Delete Word Alt K │X│ │ │
{UNKILL} Undo Kill Word Ctrl K │X│ │ │
{DEOL} Delete to End of Line Alt Y │X│ │ │
{UNEOL} Undo Delete to End of Line Ctrl Y │X│ │ │
{DLINE} Delete Line Alt X │X│X│ │
{UNLINE} Undo Delete Line Ctrl X │X│X│ │
{NEWLINE} Insert End-of-Line Mark Return │X│ │ │
{TINSERT} Toggle Insert Off/On Ins │X│X│ │
{TPEN} Raise/Lower Pen Alt - │X│ │ │
{RMACRO} Record Keystroke Macro Ctrl R │X│X│X│
{RMACRO} Stop Recording Keystroke Macro Ctrl R │X│X│X│
{MACRO} Execute Keystroke Macro Ctrl M │X│X│X│
{EMBED?} Embed User Defined Print Codes Alt 0 Though Alt 9 │X│ │ │
{INDENT} Indent Alt I │X│ │ │
{FORMAT} Format Paragraph Ctrl F │X│ │ │
{JUSTIFY} Justify Alt J │X│ │ │
{UNJUSTIFY} UnJustify Ctrl J │X│ │ │
{CENTER} Center String Alt C │X│ │ │
{RULER} Insert Ruler Line Alt R │X│ │ │
{PAGE} Insert Page Break Alt P │X│ │ │
{ERASE} Erase F6 ** │X│X│ │
{CUT} Cut F7 │X│X│ │
{PASTE} Paste F8 │X│X│ │
{COPY} Copy F9 │X│X│ │
{MOVE} Move F10 │X│X│ │
{CCUT} Column Cut Shift F7 │X│X│ │
{CPASTE} Column Paste Shift F8 │X│X│ │
{CCOPY} Column Copy Shift F9 │X│X│ │
{CMOVE} Column Move Shift F10 │X│X│ │
{NCUT} Named Cut Ctrl F7 │X│X│ │
{NPASTE} Named Paste Ctrl F8 │X│X│ │
{NCCUT} Named Column Cut Ctrl F9 │X│X│ │
{NCPASTE} Named Column Paste Ctrl F10 │X│X│ │
{UPCASE} Upper Case Ctrl U │X│ │ │
{LOWCASE} Lower Case Ctrl L │X│ │ │
└─┴─┴─┘
* T ASCII text file, including imported files
N non-text file, including dBase III files and disk sectors as file
M memory
** Function keys can be used for commands only when assigned as command
keys (To change function key assignments go to the Edit Setup - Alt E)
APPENDIX C - Edit Commands (cont)
Command Action Default Key Combination File Type *
┌─┬─┬─┐
Menus: │T│N│M│
├─┼─┼─┤
{GEMENU} GEdit Menu Alt W │X│X│X│
{TMENU} Top Menu Alt T or F1 ** │X│X│X│
{UMENU} Misc Menu Alt U │X│X│X│
{FMMENU} File Management Menu Alt M │X│X│ │
{GMENU} Goto Menu Alt G │X│X│X│
{LMENU} Locate Menu Alt L │X│X│X│
{BMENU} Block-Function Menu Alt B │X│X│X│
{NMENU} Named Block-Function Menu Alt N │X│X│X│
{AMENU} Attributes Menu Alt A │X│ │ │
{DMENU} Line-Drawing Menu Alt D │X│ │ │
{OMENU} Open Symbols Menu Alt O │X│ │ │
{FMENU} Format Menu Alt F │X│ │ │
│ │ │ │
Printing: │ │ │ │
│ │ │ │
{HPRINT} Hot Print Ctrl P │X│X│X│
│ │ │ │
To Print: │ │ │ │
page number ~P │X│ │ │
system date ~D │X│ │ │
system time ~T │X│ │ │
current line/paragraph ~L │X│ │ │
│ │ │ │
{UT} Memory Resident Utility Program │X│X│X│
└─┴─┴─┘
* T ASCII text file, including imported files
N non-text file, including dBase III files and disk sectors as file
M memory
** Function keys can be used for commands only when assigned as command
keys (To change function key assignments go to the Edit Setup - Alt E)
APPENDIX D - Function Key Assignments:
Command Keys:
F1 to Goto Main Edit Menu F6 to Erase
F2 to Save Current File F7 to Cut
F3 to Quit Current File F8 to Paste
F4 to Load New Text File F9 to Copy
F5 to Execute Another Program F10 to Move
Shift F7 to Column Cut Ctrl F7 to Named Cut
Shift F8 to Column Paste Ctrl F8 to Named Paste
Shift F9 to Column Copy Ctrl F9 to Named Column Cut
Shift F10 to Column Move Ctrl F10 to Named Column Paste
Graphic Characters:
F1 ─ Shift-F1 ═ Alt-F1 ╧ Ctrl-F1 ┼
F2 │ Shift-F2 ║ Alt-F2 ╨ Ctrl-F2 ╬
F3 │ Shift-F3 ║ Alt-F3 ╤ Ctrl-F3 ╡
F4 └ Shift-F4 ╚ Alt-F4 ╥ Ctrl-F4 ╢
F5 ┐ Shift-F5 ╗ Alt-F5 ╙ Ctrl-F5 ╖
F6 │ Shift-F6 ║ Alt-F6 ╘ Ctrl-F6 ╕
F7 ┴ Shift-F7 ╩ Alt-F7 ╒ Ctrl-F7 ╜
F8 ┬ Shift-F8 ╦ Alt-F8 ╓ Ctrl-F8 ╛
F9 │ Shift-F9 ║ Alt-F9 ╫ Ctrl-F9 ╞
F10 ┤ Shift-F10 ╣ Alt-F10 ╪ Ctrl-F10 ╟
Math/Greek Characters:
F1 ¼ Shift-F1 ° Alt-F1 ε
F2 ½ Shift-F2 ∙ Alt-F2 Θ
F3 ≡ Shift-F3 √ Alt-F3 µ
F4 ± Shift-F4 ⁿ Alt-F4 ∞
F5 ≥ Shift-F5 ² Alt-F5 π
F6 ≤ Shift-F6 α Alt-F6 Σ
F7 ⌠ Shift-F7 ß Alt-F7 σ
F8 ⌡ Shift-F8 Γ Alt-F8 Φ
F9 ÷ Shift-F9 τ Alt-F9 φ
F10 ≈ Shift-F10 δ Alt-F10 Ω
APPENDIX E - UT Commands
UT Commands:
F1 Change Mask
F2 Change Directory
F3 Rename Directory
F4 Create Directory
F5 Remove Directory
F6 Hide Directory
F7 Unhide Directory
F8 Log Drive
F9 Display Drive Size
F10 Display Free Space on Drive
R Rename File
D Delete File
C Copy File
T Change Created/Modified Time and Date for File
A Change Attributes of File
S Display File Statistics
* Mark File
U UnMark File
Alt-D Delete Marked Files
Alt-C Copy Marked Files
Alt-T Change Created/Modified Time and Date for Marked Files
Alt-A Change Attributes of Marked Files
Up-Arrow Go Up One Line
Down-Arrow Go Down One Line
PgUp Go Up one Screen
PgDn Go Down one Screen
Home Goto Beginning of File Listing
End Goto End of File Listing
APPENDIX F - DOS Error codes
1 Invalid function
2 File not found
3 Path not found
4 Too many files open
5 Access denied
6 Invalid handle
8 Insufficient memory
9 Invalid memory block address
10 Invalid environment
11 Invalid format
12 Invalid access code
13 Invalid data
14 Reserved
15 Invalid drive specified
16 Attempt to remove current directory
17 Not the same device
18 No more files
19 Write-protected disk
20 Unknown unit
21 Device not ready
22 Unknown command
23 Disk data error
24 bad request structure length
25 Disk seek error
26 Unknown disk media type
27 Disk sector not found
28 Printer out of paper
29 Write fault
30 Read fault
31 General failure
32 Sharing violation
33 Lock violation
34 Invalid disk change
35 FCB unavailable
36 Sharing buffer overflow
37-49 Reserved
50 Network request not supported
51 Remote computer not listening
52 Duplicate name on network
53 Network name not found
54 Network busy
55 Network device no longer exists
56 Net BIOS command limit exceeded
57 Network adapter error
58 Incorrect network response
59 Unexpected network error
60 Incompatible remote adapter
61 Print queue full
62 Not enough space for print file
63 Print file deleted
64 Network name deleted
APPENDIX F - DOS Error codes (cont)
65 Access denied
66 Network device type incorrect
67 Network name not found
68 Network name limit exceeded
69 Net BIOS session limit exceeded
70 Temporary paused
71 Network request not accepted
72 Print or disk redirection is paused
73-79 Reserved
80 File already exists
81 Reserved
82 Cannot make directory entry
83 Fail on Int 24
84 Too many redirections
85 Duplicate redirection
86 Invaild password
87 Invalid parameters
88 Network data fault
100 Disk read error
101 Disk write error
102 File not assigned
103 File not open
104 File not open for input
105 File not open for output
106 Invalid numeric format
150 Disk is write protected
151 Unknown unit
152 Drive not ready
153 Unknown command
154 CRC error in data
155 Bad drive request structure length
156 Disk seek error
157 Unknown media type
158 Sector not found
159 Printer out of paper
160 Device write fault
161 Device read fault
162 Hardware failure
200 Division by zero
202 Stack overflow
203 Heap overflow
204 Invalid pointer
205 Floating point overflow
207 Invalid floating point error
208 Overlay manager not installed
209 Overlay file read error
APPENDIX G - Bug Report/Suggestion Form
BUG REPORT/SUGGESTION FORM FOR GEDIT
If you encounter a bug while using GEdit please describe the bug and
the situation in which it occurred on this form, or if you have a sug-
gestion for improving GEdit, describe your suggestion on this form and
mail to the address listed below.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Mail to: Cat Creek Enterprises, Inc.
P. O. Box 606
Bristol, TN 37621-0606
APPENDIX H - Registration Form
REGISTRATION FORM FOR GEDIT
GEdit must be registered if you find it useful and intend to continue
to use it beyond the 30-day trial period. Upon registration you will
be sent the latest version of GEdit, or if you so choose, you will be
sent the next version when it becomes available, and you will be noti-
fied of updates for a period of one year. To register, fill out this
form, enclose $50.00 (Tennessee residents add 7.75 % sales tax) for
each copy you wish to register, and mail to the address listed at the
bottom of the form.
DATE: _____________ TELEPHONE NUMBER: ________________________________
NAME: ________________________________________________________________
PURCHASE ORDER NUMBER: _______________________________________________
COMPANY: _____________________________________________________________
ADDRESS: _____________________________________________________________
______________________________________________________________________
______________________________________________________________________
No registration fee is required for the use of GEdit for educational
purposes by educational institutions. If you are registering GEdit for
this purpose, check the box below and do not send any money.
EDUCATIONAL USE [ ]
NUMBER OF COPIES: ____ X AMOUNT/COPY ($50.00) = ____________________
If Tennessee Resident add sales tax on next line:
NUMBER OF COPIES: ____ X AMOUNT/COPY ($3.88) = ____________________
TOTAL = ____________________
5 1/4 INCH DISK [ ] 3 1/2 INCH DISK [ ]
CURRENT VERSION [ ] NEXT VERSION [ ]
MAIL TO: Cat Creek Enterprises, Inc.
P. O. Box 606
Bristol, TN 37621-0606