Contents of the UED.DOC file
Useful Editor (Version 1.9d) Documentation
Useful Editor (Ued) is a small (about 35K), fast, ASCII editor that is
suitable for a wide variety of text manipulation tasks. Some of Ued's
- ability to edit up to 9 files in memory at once
- files as large as 1000 characters wide and 10,000 lines long
- file size is only limited by available memory
- split screen editing
- typeover and insert mode editing
- search and replace (both case sensitive and insensitive)
- cut and paste (three modes: line, range, and block)
- escape to DOS
- can load "piped" files
- wildcard expansion of command line arguments
- word wrap and paragraph reformat
- smart indentation
- easy to use consistent interface
- user configurable preferences
Ued runs on any IBM PC or compatible. Ued automatically determines
the type of video card installed and switches the card into 80 X 25
text mode when it starts up. The following video cards (or ones that
are compatible) are supported:
- Color Graphics Adapter (CGA)
- Monochrome Graphics Adapter (MGA)
- Hercules Graphics Adapter (HGA)
- Enhanced Graphics Adaptor (EGA)
- Video Graphics Array (VGA)
- Multi-Color Graphics Array (MCGA)
Any monitor that can display 80 X 25 text works with Ued. If you have
a color monitor and card, you can change the default colors (of black
and white) by running uedcfg.exe (see Configuring Ued). In addition
Ued supports a 43 line display on EGA systems and a 28 or 50 line
display on VGA systems.
Ued is very small and runs on systems with as little as 128K of
memory. Of course the more memory that you have, the larger the files
that you are able to edit.
Starting Up Ued
From the DOS prompt, type:
Ued ... [/l]
then press the Enter key.
Each "filename" is either an ASCII text file that you want to edit or
the name of a file that you want to create. Up to 9 file names can be
specified on the command line when starting up Ued and can contain
wildcard characters. Each file is assigned to its own workspace.
Piping to Ued is allowed. For instance if you typed the command:
dir | Ued
A directory listing would be loaded into Ued with the name "PIPED".
You can also start up Ued with no files specified. In this case the
editor starts within an empty unnamed workspace.
The command line argument /l can be added when you are loading very
large files. Only a single file should be loaded if the /l option is
Files are loaded into Ued "workspaces". A workspace can be as much as
1,000 characters wide, and 10,000 lines deep. You can move the cursor
anywhere in the workspace to edit text. The "text window" follows the
cursor as you move about the workspace.
There are 9 workspaces (numbered 1-9) in Ued, each of which can hold a
single file. The F2 Workspace command is used to switch between work-
Ued maintains one other workspace (workspace 0) which is used as a
"clipboard" when you Cut and Paste text.
Ued uses the top 23 lines of the screen to display the text being
edited. Consider this to be a "window" (that is 80 columns wide and
23 lines deep) into the "text workspace". This window is bordered on
the top and sides by the edge of the screen, and bounded on the bottom
by an inverse line.
That inverse line is called the "status line". On the left edge of
the status line is a number (0-9) which indicates what workspace that
you are in. Beside it appears the name of the file that you are edit-
ing in that workspace. To the right side of the status line, the line
and column position of the cursor is displayed.
Below the status line are the command lines. All of the commands that
are currently available to you are displayed on these two lines.
The "cursor" is a pointer within a workspace. Text can be added or
deleted here. In Ued the cursor appears as a solid inverted block
when you are in "insert mode", and a flashing underscore when you are
in "typeover mode".
When you start up Ued a cursor appears in the upper left hand corner
of the text window. This is your "active" cursor. In actual fact
there are two cursors in Ued. An "inactive" cursor is initially pos-
itioned there as well but not displayed.
When you move the active cursor, the inactive cursor remains where it
is. You can move the active cursor to the inactive cursor position by
using the "Flip" command (Ctrl-F). The position that you moved from
becomes the inactive cursor position. The inactive cursor can be used
as a "bookmark" in your text (a place that you want to get to quickly)
and also plays an important role in the F8 Split command.
Moving the Cursor
Moving the cursor around can be accomplished with the following keys.
In all cases, the text window is adjusted when necessary in order to
keep the cursor on the screen.
Up Arrow Moves the cursor up one line of text.
Down Arrow Moves the cursor down one line of text.
-> Moves the cursor right one character.
<- Moves the cursor left one character.
Home Moves the cursor to the first character on the current
line. If you are already on the first character, moves the
cursor to column 1.
End Moves the cursor one position past the last character on
the current line.
PgUp Moves the cursor up one screen of text.
PgDn Moves the cursor down one screen of text.
Additional cursor movement commands can be accessed by holding down
the "Ctrl" key (you will see the menu change when you do this) and
pressing one of these keys:
Ctrl -> Moves the cursor to the beginning of the next word. (A
word is considered to be a series of characters preceded
and followed by at least one space.)
Ctrl <- Moves the cursor to the beginning of the previous word.
Flip Moves the active cursor to the inactive cursor position.
The current cursor position becomes the inactive cursor.
Goto Line Prompts for a line number, then moves the cursor to the
line number entered. Adjusts the text window so that the
cursor is centered vertically in the window.
Outdent Moves the cursor left to the previous level of indentation.
Workspace Moves the cursor to the previous (lower numbered) work-
Workspace Moves the cursor to the next workspace.
Ctrl Home Moves the cursor to the first line of the current file.
Ctrl End Moves the cursor one line past the end of the current file.
Ctrl PgDn When a search Pattern has been defined, moves the cursor to
the next occurrence of Pattern in the text.
Ctrl PgUp When a search Pattern has been defined, moves the cursor to
the previous occurrence of Pattern in the text.
To enter text into Ued, position the cursor where you want the text to
be added and then type. If you make a mistake use the Backspace or
Del key to erase the error. In insert mode, characters to the right
of the solid block cursor (including the current character) shift
right to make room for new text being entered.
You can do "power" data entry using Ued by turning on the "word wrap"
feature found under the Text command. When you turn word wrap on you
will notice an inverse line appear down the right side of the screen.
This line marks the right margin. With word wrap on, any word that is
incomplete when it "hits" the right margin is moved down to the next
line. With this feature you can enter long passages of text without
having to worry about the ends of lines. You can alter the position
of the right margin with the Set and Enter options of the Text
All extended charcaters (with ASCII values > 127) can be entered by
holding down the Alt key and typing in the character's decimal value
using either the keypad numbers or the number keys on the top row.
Ued considers a block of text separated by at least one blank line
above and below to be a paragraph. Lines beginning with a '.' or a
':' are also considered to be paragraph separators. Editing text
within a paragraph when word wrap is on might be a little
disconcerting at first, especially when in insert mode. Ued makes no
attempt to reformat paragraph text "on-the-fly" as you are editing it.
When in insert mode Ued moves any text to the right of the cursor down
to the next line (if necessary) to make room for new text. The
Paragraph Reformat option under the Text command can be used to fix
things up after you have made all your changes.
When you press the Enter key, the cursor moves down one line and Ued
positions the cursor under the first character of the current line.
This makes it easy to enter blocks of indented text.
Similarly the Paragraph Reformat looks at the leading spaces on the
second line of a paragraph to determine where to place the left margin
(the right margin is "set" explicitly). Any positive or negative
indentation on the first line will be preserved.
The Outdent option under the Ctrl key moves the cursor to the previous
level of indentation (which it determines by looking "up" in the text
of the workspace).
Characters are deleted with the following keys:
Del Deletes the character under the cursor. Any text to the
right of that character shifts left to "fill the gap". If
the cursor is past the end of the line and you are in
insert mode, Ued brings up the next line of text and joins
it with the current line.
Backspace Moves the cursor left one character. If you are in insert
mode, Ued deletes the character to the left of the cursor
and all text to the right of and including the cursor
shifts left. Also in insert mode, if the cursor is in
column 1, Ued moves the current line up and joins it with
the previous line.
Backtab Moves the cursor to the previous tab stop. If you are in
insert mode, all characters to the left of the cursor up to
and including the previous tab stop are deleted.
By pressing and holding down the Alt key, a sub-menu with the follow-
ing additional delete options appears:
Word Deletes the word under the cursor. If the cursor is not on
a word, the first word to the left of the cursor (if
there is one) is deleted.
of Line Deletes all of the text to the left of the cursor. The
remaining text and the cursor shift left to the current
level of indentation.
of Line Deletes all of the text to the right of and including the
character under the cursor.
Line Deletes the line that the cursor is on.
Other Keys You Should Know About
The following keys are important to the operation of Ued:
Esc Returns to the previous level of menus. If you are at the
main command menu nothing happens.
Ins Switches between "typeover" and "insert" modes.
Enter Moves the cursor down one line and positions it at the cur-
rent level of indentation. If you are in insert mode, a
new line is created immediately after the current line, and
any text to the right of and including the cursor character
is moved down with the cursor.
Tab Moves the cursor to the next tab stop. If you are in
insert mode, characters to the right of and including the
cursor character shift right with the cursor.
Entering Control Characters
For the most part, the technique of holding down the Alt key then
typing the 3-digit decimal equivalent of the desired control character
on the number pad will work with Ued. However to get the symbol
corresponding to an Esc or Arrow key (for instance) into your file,
Ued requires that you to use the Alt key in conjunction with the
number keys on the top row of the keyboard.
Main Menu Commands
The function keys F1 - F10 are used to access the main Ued command
set. These commands are invoked by pressing the appropriate function
key. In addition, pressing and holding down the Ctrl key reveals
additional cursor movement keys. Pressing and holding down the Alt
key is used for Delete functions.
Many of the main menu commands have sub-options. Sub-option menus
replace the main command menu when invoked. They show the main com-
mand selected in inverse text (just below the file name on the status
line) and the option choices on the bottom line of the screen. You
select an option by pressing the first (highlighted) letter or char-
acter of the appropriate choice.
You can always get out of sub-option menu(s) by pressing the Esc key,
or by selecting another main menu command.
The sections that follow describe the main menu commands and sub-
options in more detail.
File commands are used to copy Ued workspaces to and from disk files.
In addition the current workspace can be erased or renamed.
Load Prompts for the name of a file to load. If the entered
file name is found on the disk in the current directory,
Ued copies it into the workspace at the current cursor
position. Existing text is moved to make room for the text
being loaded. An empty workspace is given the name of the
first file loaded into it.
If you are not sure what the name of the file is, pressing
Enter at the prompt for a file name will generate a list of
all the files in the current directory and allow you to
select one of them. In addition you can type a partial
file name using the standard DOS wildcard characters (*,?)
to obtain a list of specific files to select from.
Save The workspace text is copied to a disk file in the current
directory and given the current workspace name. Ued
prompts for a file name if the workspace is unnamed. If
the "backups" option is on, a backup copy of the file on
disk to be over written is created with a .bak extension
prior to saving. Thus if you save over a file by mistake
you can immediately recover from the backup copy.
Name Prompts for a name for the current workspace. The name
entered must be a valid DOS file name. If the name is the
same as one on your disk in the current directory, Ued
prompts you to verify that you really want to use that
Clear Erases the contents of the current workspace. If the work-
space has been changed since that last time it was saved,
Ued prompts you to verify that you really want to clear the
The Workspace command allows you to switch between the files that you
have loaded. In addition some status information about workspaces is
displayed as follows:
> This symbol appears to the left of a workspace number if
that workspace has been used at any time during the current
* When this symbol appears immediately after a workspace
number it means that the workspace has been changed in some
way since it was last saved.
<- This arrow points to the number of the workspace that is
currently being displayed in the active window.
To move between workspaces use the following keys:
<- Displays the previous (lower numbered) workspace.
-> Displays the next workspace.
Enter Moves you into the workspace pointed to by <-.
0 - 9 Moves directly to the workspace who's number is pressed.
Esc Moves you to the workspace that was active when the F2
Workspace command was invoked.
Search allows you to find strings or "Patterns" within the text of the
current workspace and optionally substitute a "Replacement" string of
Count Displays the total number of times that the Search Pattern
appears in the text of the current workspace.
Fix Substitutes the Replacement string for a Pattern string
provided that the cursor is on a piece of text matching
Pattern (the text will be highlighted).
Global All instances of text in the current workspace matching the
Pattern string are changed to the Replacement string.
Pattern Prompts for a search Pattern. If the Pattern entered is in
all lower case, searches will be case insensitive. If any
of the letters in the Pattern are in upper case, the work-
space text and Pattern must be exactly the same for a match
ment Prompts for a Replacement string. The Replacement string
can be empty, which has the effect of deleting the Pattern
when a Fix or Global substitution is applied. Changing the
Pattern does not affect the current Replacement string.
PgUp Moves the cursor to the previous occurrence of Pattern in
the current workspace. If there are no more matches, moves
the cursor to the beginning of the workspace.
PgDn Moves the cursor to the next occurrence of Pattern in the
current workspace. If there are no more matches, moves the
cursor to the end of the workspace.
The contents of the current workspace are sent to the printer attached
to LPT1. No formatting is performed on the text.
Cut allows you to select a block of text which can subsequently be
deleted, copied, moved, or shifted. Text selection begins at the
current cursor position. As you move the cursor around (using the
standard cursor movement keys) selected text is highlighted.
Selection ends when you press the Copy, Delete, or Move command keys.
How the text gets marked out depends on the Cut mode that you are in.
The three Cut styles are:
Block A rectangular block of text.
Line Whole lines of text only.
Range All the text from one selected position in the text to
Any time that you select a block of text and copy, move, or delete it,
the selected text is copied to workspace 0. Workspace 0 thus acts as
the "clipboard" or "cut buffer" for Ued. The former contents of work-
space 0 are lost when newly selected text is copied to it. You can
edit in workspace 0 as you would any other workspace, but you have to
be careful because of the transient nature of the text placed here
(ie. its NOT a good idea to load files into workspace 0).
Once marked, there are four operations that can be performed on the
Copy Copies the selected text to workspace 0.
Delete Copies the selected text to workspace 0 then removes it
from the current workspace.
Move Copies the selected text to workspace 0, removes it from
the workspace, then prompts you to position the cursor
where you want the text moved. When you press Enter to
complete the operation, the selected text is copied to the
+/- Shifts the selected text right (+) or left (-). Text
cannot be shifted over text that is not highlighted. You
will notice that the highlighting does not go away. After
shifting you can perform one of the other Cut operations,
or press Esc to quit the Cut command.
This command copies the text from workspace 0 into the current work-
space at the current cursor position. If you are in insert mode, the
workspace text is moved to make room for the workspace 0 text being
added. Care should be exercised when you are in typeover mode as the
workspace 0 text is copied on top of the text in the current work-
space. If there are more than 2 lines of text being Pasted and you
are in typeover mode, you are asked to verify that you really want to
When you press F7, Ued starts up another DOS session by executing the
secondary command processor. Ued looks at the environment variable
COMSPEC= for the name of the secondary command processor. This is
The F7 Dos command fails if:
- COMSPEC= is not set in the environment
- the command processor indicated by COMSPEC could not be found
- there is not enough memory to run the command processor
To return to Ued, from the DOS prompt type:
then press the Enter key.
Pressing F8 splits the text window horizontally at the current cursor
position. A second status line appears separating the two windows.
The upper window shows the text at the active cursor, while the lower
window shows the text at the inactive cursor position. You can flip
between the windows using the Ctrl-F command.
Both windows can "view" the same workspace, or each can be positioned
on a different workspace. If they are both positioned over the same
piece of text, changes made in one will be echoed to the other.
Pressing F8 again expands (zooms) the window containing the active
cursor to be the size of a full screen. The window containing the
text pointed to by the inactive cursor is no longer displayed.
The Text command offers some simple word processing options.
Margin Prompts for the column that you want words to wrap at. The
column must be in the range 20 to 250.
Margin The right margin is placed one character position past the
longest line in the current paragraph (ie. the one that the
cursor is on).
Paragraph Adjusts the text in the current paragraph so that each line
has the maximum number of words between the left and right
margins. The left margin is determined by looking at the
number of spaces preceding the second line of the para-
graph. The right margin is set with one of the above
Word Wrap Turns the word wrap feature ON or OFF.
Lines Changes the number of lines displayed on the screen. This
option is only available if you have an EGA or VGA monitor.
This command is used to exit Ued. If any of the workspaces have been
modified in any way, you are prompted to verify that you really want
A separate program (uedcfg.exe) is provided to modify Ued with some of
your own preferences. When you run this Ued Configuration, you must
ensure that Ued.exe is in the current directory. Follow the prompts
for the configuration program, and when you have answered the last
question Ued.exe will be updated with your selections.
The following user preferences can be configured within Ued:
- video display mode
- initial text entry mode
- initial Cut style
- color of normal text
- color of inverse text
- distance between tab stops
- initial right margin column
Uedcfg will create also Ued.cfg file. This small configuration file
can be used to re-configure a newer version of Ued without having to
answer the questions again. Again making sure that Uedcfg.exe,
Ued.exe and Ued.cfg are all in the same directory simply type:
and your new verion of Ued will be setup with your current settings.
If for any reason there is no Ued.cfg file, you can generate one by
Of course you should do this before copying the new version of Ued
over the old.
The programs and documentation in this archive are
Copyright (c) 1989-1991 by Useful Software
Ued is a shareware editor. This means that you only pay for it if you
decide to continue using it. If you don't think that it is worth the
asking price, delete the program, or better yet give it to someone who
might find it useful. However if you do decide to keep Ued after a 2
week trial period, please send $20 (see REGISTRATION FORM on next
340 Dale Crescent
Canada, N2J 3Y3
The shareware fee pays for unlimited use of Ued by a single person.
You are allowed (and encouraged) to give away copies of Ued with the
understanding that each person receiving a copy is under the same
obligation as you are to send in the shareware fee if they decide to
keep it. You can upload Ued to other computer systems, either free or
commercial, as long as this archive remains intact, with the copyright
and shareware notices unchanged.
Useful Editor can be installed on LANS. In such situations I ask only
that the LAN Administrator estimate the maximum number of people that
will be making "simultaneous" use of Ued and pay the shareware fee
based on that estimate. I do not expect that the limit be closely
monitored or enforced (I appreciate how much trouble that would be),
but I do expect that the estimate will be revised (and additional fees
paid) should a substantial increase in the number of nodes on the LAN
and Ued usage occur.
No guarantee is made as to the functionality of this software; however
it has been tested quite thoroughly by a large number of people. If
it doesn't do what you want, don't keep it and send no money.
Please support the shareware concept. Shareware means useful programs
at a fraction of the cost you might pay for them commercially. You
can try-before-you-buy, and you are not subjected to copy protection
or other atrocities that many software vendors inflict on their
customers. Software updates can also be distributed much faster than
is possible through normal channels.
Any questions, suggestions, or bug reports, can be mailed to the above
address, or send electronic mail to:
Registration Information (What do I get if I register!)
All registered users of Useful Editor will receive one update with the
most recent version of the program. Subsequent updates are available
for $3.00 shipping and handling on request. In addition you will
receive the latest versions of other Useful Software products for your
Registered users will have access to the Useful Software Support BBS,
and telephone support.
Discounts are available if you register Useful Editor along with other
Useful Software products (see "Bundled" price schedule below). If you
are already a registered user of another Useful Software product,
remit only the difference in price between what you have already paid
and the "Bundled" price. (For instance if you own 1 copy of Useful
Notes at $20, you pay only $10 for the registration of 1 copy of
Useful Editor Price Schedule
1-9 copies - $20 per copy
10-49 copies - $15 per copy
50-99 copies - $10 per copy
100+ copies - One time fee of $1000
Useful Editor/Notes Bundled Price Schedule
1-9 copies - $30 per bundle
10-49 copies - $25 per bundle
50-99 copies - $15 per bundle
100+ copies - One time fee of $1500
Useful Macros Price Schedule
1-99 copies - $10 per copy
100+ copies - One time fee of $1000
With each purchased copy of Useful Editor or Useful Notes, the price
for a copy of Useful Macros is only $5.00.
Printed copies of the documentation are available for all Useful
Software products at a cost of $5.00/copy.
REGISTRATION FORM (English Ued)
Useful Software Name: ___________________________________
340 Dale Crescent
Waterloo, Ontario (Company): ___________________________________
Canada, N2J 3Y3
I AM ALREADY USING:
Useful Editor Version ___.___
Useful Notes Version ___.___
Useful Macros Version ___.___
I WOULD LIKE TO REGISTER:
____ copies of Useful Editor V1.9c X $______ per copy = $________
____ copies of Useful Notes V1.3 X $______ per copy = $________
____ copies of Useful Macros V1.0 X $______ per copy = $________
I WOULD ALSO LIKE TO RECEIVE:
____ printed copies of the Editor documentation X $5.00 = $________
____ printed copies of the Notes documentation X $5.00 = $________
____ printed copies of the Macros documentation X $5.00 = $________
TOTAL ENCLOSED = $
The following changes were made in Version 1.1
- fixed shift left/right display bug
- altered load routine to convert 0s to spaces on input
- added 43/50 line support
- files with no CR/LF on last line now handled properly
- config will no longer let you pick fore/background colours the
- you can now use ^ in search strings
The following changes were made in Version 1.2
- fixed delete word bug (would not delete if you were on the first
letter of a word)
- modified Text Set/Enter Right Margin command to automatically
turn on word wrap
The following change was made in Version 1.3
- added wild card expansion of file names on command line
The following changes were made in version 1.4
- a warning is now issued if a file is changed when loaded (Ued
will substitute a space for any null (0) character found and/or
split lines that are too long (>999 characters))
- Ued now uses the DOS interrupt 21 console I/O routine (function
6) to fetch keystrokes (this should facilitate the use DOS key
remappers) (removed in version 1.6 - BIOS interrupt 16 used)
- a bug when word wrapping lines >80 columns was fixed
- a display error when reading zero length files was fixed
- editing of filenames and search patterns has been improved and in
addition the last filename or pattern can be recalled by pressing
- added the option of creating backup files when saving
The following changes were made in version 1.5
- added configuration support to allow Ued to start up in word wrap
- Ued now allows you to edit while a file is being loaded (removed
in version 1.6)
- changed Ued to load "piped" files in BINARY mode (thus ignoring
EOF characters in the file)
The following changes were made in version 1.6
- added the Back/Next Workspace commands under the Cursor menu
- when a new pattern is entered the replacement string is no longer
- the first file name entered on the command line is now copied to
the "Previous Filename" buffer
- the field for entering the default word wrap column in uedcfg has
been increased to 3 characters
- the performance when loading and saving files has been improved
- a low pitch beep has been added when invalid keys are pressed
The following changes were made in version 1.7
- support for VGA 28 line mode added
- the "archive" bit is now being set correctly when saving
- Ued now recognizes lines beginning with a '.' or a ':' as being
the equivalent of a blank line when reformatting paragraphs
- Alt-x can be used as an alternate to F10 (Quit)
- empty workspaces can now be saved creating a 0 length file
The following changes were made in version 1.8
- extended characters (with ASCII values > 127) can now be typed
into Patterns and Replacements
- at the Filename? prompt when loading you can get a list of files
by typing in a file specification with the standard DOS wildcard
characters (*,?) or by pressing Enter with no file name for all
The following changes were made in version 1.9
- a problem with the keyboard on some systems (PS/2 Model 60, old
XTs and others) misreading the function keys unless NumLock was
on has been corrected
- the Text/Set right margin command will now leave a space at the
end of the longest line of text in all instances
- you can now have keys "automatically" typed into Ued (say via a
TSR or the Window's 3.0 clipboard) at a much higher rate
- Uedcfg will now generate a "ued.cfg" file or can be forced to by
typing "uedcfg /s" and will restore an older configuration with
the command "uedcfg /r"
- you cannot save to a "Read Only" file when automatic backups are
on any more (Ued used to make the .bak file Read Only then save
The following changes were made in version 1.9c
- when you reach the left or right edge of the screen, the window
shifts 20 columns so that you can see more context
- optimized memory management so that larger files could be loaded
- also added a /l command line argument so that even larger files
can be loaded
The following changes were made in version 1.9d
- a new set of memory allocation routines were added making memory
usage even more efficient
- Passive video mode was added to the configuration which will use
whatever video mode is in effect when the editor loads (and not
reset the mode on exit)
- the window now shifts 20 columns only if you are entering text
(and not when scrolling)
- when remembering the previous file, if the filaname had wild card
characters then remember the pattern
- remember more patterns and replacements
- copy patterns to replacement
- hide main command menu
- add internal macro support
- read only should not let user's type or change document
- support the command line arguments - might be
> /tnn - set tabs
> /wnn - toggle word wrap set ww column
> /i - toggle insert mode
> /25 /28 /43 /50 - set line mode
> /l - large files
> /r - read only
> /pn - printer port
- printer stuff
> allow user to configure the printer port
> option to send a formfeed when done the workspace
- make clear workspace a configurable option
- allow #0 and #1 in patterns and replacements to represent
the ascii characters 0 and 1
- add the beginning and end of line character #b #e to patterns
- let the user define what the space characters are
- make remove spaces from ends of lines configurable
- record rows and restore video mode accordingly on exit
- option to turn off smart indent
- select colour/attributes of cursor
- ctrl up/down scroll file while leaving cursor in place
- ctrl-ins (cut) shift-ins (paste)
- include trailing blank lines in cut buffer
- show more context when searching