home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
ked216.zip
/
README.DOC
< prev
next >
Wrap
Text File
|
1995-07-24
|
24KB
|
661 lines
KEd v2.16
The Kudzu Editor
OS/2 character mode Text editor
(C) Copyright 1993-1995 Kudzu Software
Don Radick
Kudzu Software
1452 North Ave. NE
Atlanta, GA 30307
Compuserve ID:76254,764
July 24, 1995
TABLE OF CONTENTS PAGE
===========================================================================
Introduction______________________________________ 1
Legal notice 1
Marketing Blurb 1
Installation
Desktop installation___________________________ 2
Manual Installation
WPS Integration_____________________________________2
Drag and Drop
File Assocations
OVERVIEW OF FEATURES
General Text Editing______________________________ 3
Moving around a file 3
Insert/Overstrike modes 3
Inserting and Deleting text 3
Delete Beginning of line/End of line 3
Movement by word 3
Tab Options 3
Files_____________________________________________ 4
File loading 4
Wildcard Support 4
Safe Save 4
Backup File 4
Backup Path 4
HPFS support 4
Help______________________________________________ 5
Hypertext on-line help
Search____________________________________________ 5
Search and Replace
Block Functions___________________________________ 5
Block Cut and Paste 5
Block Quoting 5
Pasting in a PM window 6
Settings__________________________________________ 6
Setting Save and Load 6
KED.INI settings file 6
KED.INI version compatibility 6
i
TABLE OF CONTENTS continued PAGE
===========================================================================
Miscellaneous Functions___________________________ 6
Ascii Chart 6
OS/2 shell 7
Windowing System 7
Exception Handling 7
General product information_________________________ 8
Registration Information 8
Future directions 9
KEd specifications 9
ii
Welcome to the newest release of KEd! User support has been growing,
there are new capabilities in this release, and more planned.
First, the LEGAL TEXT:
KEd is the sole property of Kudzu Software. KEd is not free or public
domain software. If you use this product on a regular basis then you
are required to register the product. You may install this program on
more than one computer if only you operate each computer. The program is
licensed to YOU, not to a computer - treat it like a book.
Kudzu Software will not be liable for any use, or inability to use
this program. This program may be distributed freely only if all files
are included and not more than a nominal fee is charged for disk
duplication.
All companies and products mentioned here own their respective trademarks.
KEd is a character-mode editor. Why another text editor for OS/2?
I first became disenchanted with editors while using the Microsoft C 6.0 PWB
editor for OS/2 v 1.x several years ago, and no editor really suited me.
I wanted an editor with the ease of use of Qedit or the Norton Editor, but
I wanted to be able to customize it. By the way, KEd is produced with
Borland C++ for OS/2.
I think I've come up with some fairly natural key assignments. A future
major version of KEd will allow keyboard remapping. For now, KEd loosely
emulates SideKick.
What does KEd do?
KEd is a general purpose text editor; you won't find a GUI or fancy font
support, but you will find a lot of speed and ease of use. If you need to
"punch out" a lot of text or need a fast, inexpensive programmer's editor I
think you'll like it. KEd was designed for OS/2, and uses such OS/2 features
as multiple threads and HPFS support. New with v2.15 is the capability to
have multiple text windows on screen. KEd will run fine in an OS/2 windowed
command session, but it's quite a bit slower.
KEd was designed to be fast and friendly. File sizes are practically
unlimited, and scrolling is much faster than PM editors. In addition, because
KEd is a text mode application, you can use it when PM is not running.
Checkout BYTE "OS/2 Programmer's Cookbook" ISBN 0-07-882039-1
They reviewed KEd v2.03.
Quote: "blazingly fast", "lots of open files", "powerful search and replace".
Many thanks to all the registered users, and special thanks to the Germans.
Page 1
Desktop Installation
You can install KEd directly on your Desktop with a REXX file, INSTALL.CMD
Just unzip KEd in any subdirectory, and type "install". The Workplace Shell
will create an object on your Desktop with default settings of:
Windowed Session
Close window on exit
If you want to change any of the settings, the easiest way is to open the
settings notebook and go for it. You can set KEd to open fullscreen, or
stay open on exit, or associate file types or extensions with KEd.
After installation, if you'd like KEd in a folder instead of the Desktop,
just drag it where you want it.
NOTE: OS/2 uses a default icon for a running copy of KEd when it is
when it is setup as a WPS object and running fullscreen, AND you have
your desktop set for "Minimize to Desktop" when running.
Manual Installation
KEd can be setup manually, if you wish. Just choose a subdirectory in
your PATH, and unzip the distribution .ZIP there. You will probably want
to create a program object in some folder.
WPS Integration
KEd will accept files dropped from another application on the Desktop.
If it is not running, WPS will launch it, and load the file you
dropped onto the icon. Depending on how KEd is configured in the
WPS Settings notebook, KEd will either exit when you exit the file, or
stay active. NOTE: WPS will not let you drop a file onto a running copy
of KEd (you will get the "NO" symbol). Although you can drop binary
files on KEd, it won't do you much good, since KEd does not support
editting of binary files at this time.
File Associations
You can set File Associations in the Setting Notebook, and KEd will launch
and load the file that you double-clicked in the Drives application or
other file manager application such as MrFilePM, FileStar or FM/2.
If there are other applications with the same association, (for instance,
you might have *.DOC set up in the OS/2 System Editor) WPS will decide
which one to launch. If you prefer that KEd open a double-clicked file,
instead of the System Editor, go the System Editor Settings Notebook,
remove the association, and add that file association to KEd's Settings
Notebook.
Page 2
Moving around a file
Standard keyboard mapping is used: The arrow keys (either on the "grey"
keypad or numeric keypad move up, down, left or right. PageUp and PageDown by
default move either to the same position on the next page, but can be set to
move to the bottom or top of the screen (see settings). Control-PageUp and
Control-PageDown move to the beginning or end of file, respectively.
Insert/Overstrike modes
KEd will execute in Insert mode by default. You will see an 'I' in the lower
right corner of the status line. If you press the "Insert" key, you will
toggle into Overstrike mode, and 'O' will show in the lower right corner of
the status line. Any text you enter will overwrite existing text on the
current line.
Inserting and Deleting text
To insert text, just begin typing, or you can paste into KEd from the system
menu if you are running in an OS/2 command window. The BackSpace key will
delete the character immediately to the left of the cursor. The Delete key
will delete the character under the cursor. Control-Y will delete the
current line.
Delete Beginning of line/End of line
Control - E will delete to the end of the current line.
Control - B will delete to the beginning of the current line.
Movement by word
Control - Left Arrow will move to the beginning of the word to the left
of the current position. Control - Right Arrow will move the beginning
of the word to the right of the current position.
Tab Options
KEd default is to expand tabs into spaces when loading a file, and
save the file with spaces NOT converted into tabs. Tabs can be unambiguously
expanded into spaces, but when saving the file, it can't be certain about
lines that originally contained mixed spaces and tabs, and will occasionally
insert an extra tab or drop one. If you usually edit files with tabs, I
suggest you leave the default settings as they are. Your files will retain
their orginal tab settings, and they will look correct on screen. Pressing
the tab key while editting will either:
insert spaces up to the next tab stop ("editor use tabs ON")
insert spaces to align with the next word above ("editor use tabs OFF")
The latter option is sometimes called "smart tabs".
Page 3
Load multiple files
You can load multiple files from the command line. Just specify:
ked file1 file2 file3 .....
Wildcard Support
If you use a wildcard on the command line, ie: "ked.exe *.doc"
KEd will display a file directory window containing all "*.doc" files in
the current directory. You can scroll up or down and choose one file to load.
Safe_Save
A primary design goal was the safety of your files. By default, Safe_Save
is active. This works by saving your current file to a temporary name, and
once that is safe, renaming the temporary file to the correct file name.
The only problem is if you run out of disk space. In this case KEd will
give you an error dialog, and let you continue. You can turn off
Safe_Save in the "Options" "Editor" menu, and save your file again.
Backup File
You can choose to always create a backup file when you save.
(see Options - Editor - Backup File)
Saving "myfile.doc" will create "myfile.bak" also. The next time you edit
"myfile.doc", if you need to abort the edit, you can exit without saving
your changes, and revert to the .BAK file if you wish.
Default is Backup_File = OFF.
Backup Path
You can specify a separate directory to hold your backup files. See
"Options - Path" to set this. Default is the current directory.
HPFS (long filenames) support
Since this is an OS/2 product, long filenames are supported. The OS/2
standard is to enclose a name with spaces with quotes. IE:
KED "This is a long file"
will load the file called: This is a long file
If there are no spaces in the name you do not need to use quotes.
Page 4
Hypertext online help
You will find a wealth of information here. Instead of writing a lengthy
manual, you can find an answer to almost any question while on-line.
As the status line shows, press F1 to get to help. KED.HLP must be in
your current directory, your PATH, or any directory in your HELP path.
I suggest putting KED.EXE and KED.HLP in your \UTIL subdirectory if that
is in the PATH. Some users prefer to put KED.HLP in their drive:\OS2\HELP
subdirectory, and it works fine from there.
Search and Replace
KEd has powerful search and replace facilities. You can toggle case
sensitivity (IE: find "House" rather than "house"), search backwards,
find only whole words, and choose to confirm each replace if you wish,
or do a global replace in one file. Default search is not case sensitive,
search forward.
Cut and Paste by lines or columns
If you just need to block copy and paste lines, press F5 to mark the
beginning of the block and press F6 to mark the end of the block. The
text between the marks will be highlighted to show the selection.
Press F7 to get the block menu, and then "C" (no quotes) to Copy the
block to the buffer. The text highlighting will change back to a normal
color to show that the block is no longer selected. Once you have some
text in the buffer, you can press F7, then "P" to Paste the block. Detailed
help is available on-line from the "Function Key" screens.
There is 1 scrap buffer in version 2.15. If you "cut" or "copy" a block
from your source file, it will replace whatever is in the scrap block. You
can "paste" that block as many times as you want, however. If you have
copied or cut a block into the scrap buffer, you can press F7 and "view"
to view or edit the buffer. Pressing "Alt-N" will toggle the view back
to other loaded source files, or press "Alt-Q" to quit the buffer view.
Unlike a normal file, pressing Alt-Q does not unload the scrap buffer.
It will remain as is until your next Copy or Cut. It is automatically
wiped when you exit KEd.
You can also mark blocks of text by columns. Press F7 for the buffer menu
and choose "mode" to change to column mode. Use F5 and F6 as usual to mark
the block. Default is stream block mode.
Page 5
Block Quoting
New with version 2.07 is an option to insert user-configurable quote
characters at the beginning of the line when you paste a block.
This can be useful in replying to mail messages.
IE:
When will Yoyodyne fix their spreadsheet
and provide an OS/2 beeper module?
becomes:
>>When will Yoyodyne fix their spreadsheet
>>and provide an OS/2 beeper module?
Pasting into KEd in an OS/2 Window
KEd (new with v2.07) fully supports Cut and Paste to and from OS/2 Windows,
but the default setting for "auto_indent" can cause problems if any of the
pasted text is indented from the left margin. It is suggested that you
turn off "auto_indent" if you experience column spacing irregularities.
(Options - Editor - Auto_Indent menu choices).
Default Auto_Indent = ON.
Settings save
You can change the color sets that various elements have, including 5 separate
sets of colors for the edit window, the borders, dialog boxes, warning
boxes, help and menus. You can change a number of options for the editor
including Insert/Overstrike, write End_Of_File, safe save, 2 different forms
of PageUP/PageDown, and initial Numlock setting. The options will be saved
in KED.INI, which must be in your current directory or PATH. In other words,
if your path contains C:\UTIL, and you store KEd.exe and KEd.hlp there, you
can access the executable and help from anywhere on your system.
KED.INI version compatibility
Currently, KEd.INI (which stores the user configuration) is not upwardly
compatible between versions. While there are many user options, it should
only take 5 minutes to recreate your settings. KEd will refuse to load an
INI file from a later or earlier version.
Ascii Chart
Press ALT-A, and the current character under the cursor will be highlighted
in a table of all the ASCII characters. You can use the "arrow" keys to move
to a non-printable character or a PC ASCII graphic character, press Return,
and that character will be inserted in your file. An alternative input
method is to press and hold Alt, and type the ASCII code of the character
on the numeric keypad.
Page 6
Shell to a new session
Press Shift-F2, and you can get to a command prompt easily. Initially,
you will find a reminder to type <exit> to get back to the editor, but
this will scroll off the screen, and you will need to remember this.
Behavior is "undefined" if you invoke KED.EXE while shelled.
Shift-F4 will popup a "Shell" menu where you can define your own command
to shell and run.
Windowing System
Ked supported all OS/2 video modes with version 2.07, and version 2.15
now supports multiple windows on screen. To see more than one file, you
will need to move or resize the current window. Press CTRL-W to enter
SIZE mode. The upper left corner position is fixed, and you can change the
width or length of the window by pressing the cursor arrow keys.
Press ESC to exit the window SIZE mode. Similarly, you can MOVE a window
by pressing ALT-W to enter MOVE mode, use the arrow keys to move the window,
and press ESC to exit MOVE mode. This is how you change the position of the
upper left corner. The window will not stop at the edge of the screen,
you can actually move it off the screen. If this happens, just reverse
direction and bring it back.
The current active window (the one that receives input) will always have
a double border and be on top. As usual, pressing Alt-N or Alt-M will
move you to the next or previous file. If the file windows have been sized or
moved when you do this, this will also pop the window to the top and make it
active.
As part of the new window implementation, the STATUS line has been "attached"
to the bottom of the window. Each window will have it's own STATUS line.
The standard menus and help window will always popup on top of whatever
windows you have active.
Exception Handling
KEd now has exception handling. If an unrecoverable error happens, you
should not see the default OS/2 error popup screen. You should see a
"friendly" KEd window with some of the same information, and the editor
will prompt you to hit any key, and then exit. If you see this, make a
note of what the numbers are and what you were doing when it happened,
and report it please.
Page 7
A WORD ABOUT COMPILERS
I'm very happy with the Borland C++ OS/2 compiler version 1.5, but they
are tracking the ANSI C++ standard, which seems somewhat bloated. KEd version
2.07 was 115kb, but the new compiler insists on linking in exception
handling (for the run-time lib), Run-Time-Type-Identification, and
the Strings class. None of which I need or use, but it added 25kb to the
EXE. I am considering producing a "KEd Lite" in the 80kb range without
some of the advanced features. Send me mail if you think that version
would be useful.
So what does KEd cost?
Currently, KEd costs $20 for a 1 user registration. Continued development
is ONLY possible with your support. I pledge to be very responsive to any
comments regarding feature set and bug fixes, and at this time I
will offer support to unregistered users. Any comments are welcome - send
USPS "snail mail" to the Atlanta address, or send electronic mail to the
Compuserve ID. Registered users will retain their license through the next
major version change. IE: if you register any v2.x, you will retain your
license up to and including v3.0x
There are three ways to register:
1 US Mail
Print out the REGISTER.DOC, and send a check or money order.
2 Compuserve
Go SWREG ID# 4065. Follow the prompts.
3 OS2 SHAREWARE BBS
Look at the startup bulletin on the BBS if you want to use this method.
PLEASE send your address! I've gotten a few registrations without.
Corporations can purchase a multiple copy license or site license
at very attractive rates. Contact Kudzu Software for details.
NOTE:
Since the cost of registration is very low, you will receive nothing
in return, except a clean conscience. When macros and keyboard
remapping are fully implemented, I will activate those features
only to registered users. Along with that version will come an
external setup program and "branding" of the EXE with your name and
serial number.
There are no "begware" messages or "crippleware" disabled features.
Everyone is treated as a responsible person.
Page 8
FUTURE DIRECTIONS
Here are a few ideas for future development, most suggested by registered
users. Feel free to send email feedback on any item you would like to
see (or not!). The list is in no particular order, see WHATS.NEW for
a list of scheduled features for upcoming versions.
word wrap mode
run OS/2 commands in KEd window
Dos version
Undo/Redo support
mouse support
OS/2 extended attribute support
<your favorite> editor key bindings
Microsoft block commands
Rexx macro support
highlight complete word in search mode
change video mode within KEd
hexadecimal edit mode
search and replace strings in files not loaded
regular expression search/replace support
line drawing mode
user-extendable help
user-readable/modifiable KEd.ini
support to save/recall "fileset" lists
What are the limits?
Since KEd was designed for speed, some compromises had to be made.
These limits can be changed, depending on response from registered users.
94 maximum files
256,000 lines per file
32MB total files capacity
I hope you like KEd, and look forward to talking to you soon.
Don Radick
Kudzu Software
Page 9