Mined release history and change log
Release history with major new features
- mined 2000.9
- Position stack and return function also work across files
(esp. after identifier definition searches using tags file)
- Smart quotes: auto-detection of quotation marks style on
file loading.
- Interactive Latin-1 / UTF-8 conversion support.
- Support for VIM keyboard mapping files.
- mined 2000.8
- Major extension of CJK character set support: GB18030,
full EUC-JP, CNS (EUC-TW)
- Vietnamese VISCII character set support
- Auto-detection of UTF-8 / CJK terminal features
- Flexible locale configuration for both text and terminal encoding
- Smart dashes
- Multiple paste buffers (emacs-style)
- emacs command mode
- mined 2000.7
- Enhanced East Asian input method support;
selection menu for multiple character choices ("pick list")
- Support for editing CJK encoded files in UTF-8 terminal
- mined 2000.6
- Arabic ligature joining support
- New command "return to previous position"
- mined 2000.5
- Bidirectional terminal support
- Keyboard mapping
- Script highlighting
- mined 2000.4
- Mouse dragging support
- Clever justification (line-wrapping) with auto-indentation
- Back-TAB (undent)
- Version control system support (checkin/-out)
- Enhanced composed character input support
- mined 2000.3
- Documentation revision; manual page source changed to HTML
- mined 2000.2
- Auto-indentation
- Input support for indented parentheses pairs
- HTML syntax highlighting
- Enabled newline in search/replace
- Mouse support for DOS versions
- mined 2000.1
- Smart quotes
- Context-dependent Unicode case toggle
- mined 2000
- Binary transparency, including different line-end handling,
unterminated lines, and NUL characters
- Unicode combined character handling
(combined or separated display)
- Optional Unicode line-end display
- Cross-file identifier definition search (using tags file)
- Right-to-left input support ("poor man's bidi" mode)
- Scrollbar
- mined 98
- UTF-8 support
- Mouse support
- Pull-down and popup menus
- release 6
- release 5
- release 3
- Paragraph justification
- 16-Bit character set support
- release 2
Change log
=============================================================================
Changes from mined 2000.8 -> mined 2000.9 (March 2004)
=========================================
Enhancements in character encoding handling and input support:
--------------------------------------------------------------
Used more compact representation for character set tables and
keyboard mapping (input method) tables, reducing size of binary by > 700K.
For Japanese encoded text on a UTF-8 terminal, the JIS encodings that
map to two Unicode characters are supported.
Keyboard mapping / input methods: Configurable function of space key
in multiple choice selection menu (option -K).
Keyboard mapping / input methods: added support for VIM keyboard mapping
files.
Tuned CJK encoding auto-detection.
Tuned CJK vs. ISO 8-bit auto-detection.
Added VISCII auto-detection.
Added Shift-JIS auto-detection.
CJK encodings may be selected (or disabled) to be available for
auto-detection by configuring the environment variable MINEDDETECT.
Added option -l for more intuitive selection of Latin-1 text encoding
(and disabling of auto-detection) rather than with +u.
Tuned terminal mode auto-detection to reduce flickering delay on 8-bit
xterm (using fewer test strings) and improve stable fallback if
auto-detection fails partially on slow terminal connections.
The keyboard mapping menu can be grouped with separators, specified
in the keymaps.cfg file.
Features:
---------
Smart quotes: auto-detection of quotation marks style on file loading.
Keyboard mapping / input methods: added support for VIM keyboard mapping
files.
New function to search for a character not in the current encoding;
in Latin-1 mode, UTF-8 characters are found and vice versa.
The character can then be converted into the current encoding.
The search function is invoked with HOP search corresponding -
e.g. HOP ESC ( - or Alt-F11 .
The conversion is invoked with the diacritic transformation function,
e.g. ESC _ or ESC ö .
For repeated interactive conversion, both functions can be combined
with Alt-Shift-F11 (convert current character, then search next).
Extended diacritic/mnemonic transformation command (ESC _, ESC ö etc,
control-F11) to convert Latin-1 characters to UTF-8 or UTF-8 characters
to Latin-1 depending on the current mode.
Enhancements in user interaction:
---------------------------------
Implemented a finer-grained scrollbar in a UTF-8 terminal, using
Unicode character cell vertical eighth blocks U+2581..U+2587.
(Can be disabled with -o1 if font does not contain those characters.)
Implemented lazy scrollbar update for speed-up on slower
terminal lines (e.g. remote access). (Can be disabled with -o8.)
Verified correct recognition and function of mouse wheel movement.
Scrolling by multiple lines (option -LN, default N=3), or by 1 line
with control, or by 1 page with shift.
Added "paste previous" function (emacs style buffer ring) to Edit menu.
Added backspace capability to decimal number input function (e.g. to
enter a line number or margin column).
Popup menu is positioned at new cursor position (so not far out right
of the line contents anymore; if clicked there, the menu is placed on
the right line end).
The diacritic transformation command (ESC _) derives language-specific
preferences (such as can be explicitly applied by using the command
variations ESC ö etc) from the locale environment.
Added a sample xterm key translation to Xdefaults.mined to assign
the HOP function to the Scroll Lock and Pause keys in order to
provide the HOP function easily on Laptops/Notebooks.
Making cursor invisible while menu is open.
Revised menu names for CJK encodings for better recognition.
Further enhancements:
---------------------
Position stack and return function also work across files
(esp. after identifier definition searches using tags file).
Added /usr/share/info as a search path location for the online help file
to meet cygwin conventions, adapted makefile.cygwin installation dirs.
When editing multiple files, switching to another one resets the
view only flag to its invocation state (option -v).
Tuned various file loading functions (including character encoding
auto-detection) to speed up startup.
Bug fixes:
----------
Fixed declaration of getenv which caused failure on 64 bit systems.
Added quotes to egrep parameter in global makefile, needed with some
shells (would cause make to fail on SunOS).
Fixed display of non-break space (0xA0) in Latin-1 text and terminal
mode on prompt line.
Fixed missing tolerance against multiple blanks separating choices
in keyboard mapping files.
Fixed encoding handling problem after toggling from VISCII to UTF-8
(by clicking on encoding flag).
Fixed width assumption when inserting certain characters (e.g. Euro sign)
in GB18030 mode which led to wrong cursor position.
Fixed a problem with moving between flag menus.
Fixed a missing screen update problem after replacements with
embedded newlines.
Fixed a wrong screen update problem (missing lines near end-of-file
on screen) after replacements with embedded newlines.
Fixed corrupted paste buffer after tags file search (for identifier
definition, ESC t) that spoiled a subsequent paste operation with
inserted garbage.
Added auto-detection of terminal capabilities for plane 2 double-width
and plane 1 / plane 14 combining characters, avoiding display confusion.
Fixed cursor positioning problem when mouse was clicked during prompt
line input after menu invocation.
Fixed cursor positioning bug (since version 2000.8) after character
insertion on the first screen column in a shifted line (an overlong
line shifted for display).
Fixed paragraph justification (line wrap) to use TAB for indentation
on subsequent lines (instead of blanks) if a numbered paragraph starts
with a TAB after the numbering (as it used to do with unnumbered
paragraphs).
Restricted mode (--) prevents ESC E (switch from view only to edit mode)
and ESC W (save unconditionally).
Re-included Turbo-C 2 project file which had been overwritten by
Turbo-C 3 project file. (Turbo-C is not really recommended anymore
but as it still compiles, I'm keeping it available.)
Adapted format of online help files to avoid multiple backspace
characters for bold formatting which does not work with newer
versions of less.
If the editing buffer cannot be filled (out of memory), the associated
file name is cleared to assure that the file is not accidentally
overwritten with its truncated buffer version. (This was already
unlikely because the editing mode was set to View only, but it could
still be saved with an enforced Save command like Shift-F2 or ESC W.)
Not displaying the number of characters anymore after loading a file
with CJK encoding and without predetermined encoding (e.g. loading with
-C only, or just by auto-detection) because the number used to be wrong.
The correct character count can be displayed at any time with the ESC ?
command. Character count after loading is still displayed for Latin-1
or UTF-8 encoding, or if CJK encoding was explicitly specified (e.g. -EG).
Fixed bugs in ESC t command (to find declaration of current identifier)
if tags file search expression contained special characters (tab, \, *).
Fixed top of marker stack not being recognised as such after marker
push operations.
=============================================================================
Changes from mined 2000.7 -> mined 2000.8 (August 2003)
=========================================
Features:
---------
Major extension of CJK character set support: GB18030
(Unicode-compatible 4-byte extension of GBK),
extended EUC-JP (including 3-byte encodings),
and CNS (EUC-TW with 4-byte encodings).
Added support for mapped single-byte character encodings,
enabled Vietnamese VISCII character set (option -EV).
Auto-detection of terminal features (UTF-8, different width data
versions, handling of double-width, combining and joining characters;
CJK, handling of non-EUC code points, GB18030, 3-byte and 4-byte encodings).
Flexible locale configuration for both text and terminal encoding:
Mined accepts both explicit encoding suffixes (starting with ".") or,
if none are specified, also some region suffixes (starting with "_").
See manual page, section "Locale configuration".
Smart dashes: If smart quotes are active, also an input sequence
of "--" is replaced with an en dash (if preceded by a blank) or
an em dash.
New emacs mode: functions are assigned to control keys and Meta-keys
(ESC commands) as defined by the emacs editor. Also the emacs paste
buffer ring and cut/paste behaviour was implemented.
This mode is in beta state and detailed documentation (esp. command
listing) is not available yet.
The mined ESC commands can be reached via Meta-x.
Function keys remain unaffected.
See also option +V.
The multiple buffers ring is also available in non-emacs mode.
Enhancements in special display of character encoding:
------------------------------------------------------
Enabled display of Unicode FULLWIDTH forms in Latin-1 terminal.
Enabled substitute display of CJK encodings in Latin-1 terminal,
with clear display of FULLWIDTH ASCII.
Enabled substitute display of Euro sign in Latin-1 terminal.
Alternative options -Eg / -Ej / -Ec to set -EG / -EJ / -EC but
if running in a CJK terminal this tells mined to assume that the
terminal cannot display GB18030 4-byte encodings, CNS 4-byte
encodings, EUC-JP 3-byte encodings, respectively.
Revision and improvement of CJK display indications:
¤ (cyan background) (8-bit terminal): CJK cannot be displayed here
@ (cyan background) (CJK terminal): CJK code cannot be displayed on terminal
# (cyan background): invalid CJK code (not assigned in selected encoding)
# (cyan): illegal (esp. incomplete) CJK code
The character encoding indication in the flags area was extended to
two letters.
Enhancements in character input support:
----------------------------------------
Tweaked handling of character selection menu ("pick list" for
multiple choice mappings) so that a blank key moves on to the next
alternative. Also the cursor-right/left keys move within a selection
line now.
Added input method TUT.roma for Japanese.
Revised Hiragana and Katakana input method tables.
CJK input method tables were extended with punctuation mappings.
Extended low/capital letter toggle function (F11) to toggle
between Hiragana and Katakana.
Enhanced smart quotes heuristics to support smart quotes in CJK text.
Revised input mnemonics for Unicode accented characters; removed
redundant mnemonics.
Additional input mnemonics :(, :), ): for smileys (Unicode mode).
Diacritic transformation function enhanced with language-specific
preference transformations:
control-F11 and ESC _ apply the default transformations
which are the same as available for two-letter mnemonic input (e.g. ^Vae).
With Escape commands with diacritic letters that occur on respective
national keyboards, the according preference transformations take
precedence:
ESC ö, ESC ä, ESC ü, ESC ß: ae->ä, oe->ö
ESC é, ESC è, ESC à, ESC ù, ESC ç: oe->oe ligature (Unicode mode, U+0153)
ESC æ, ESC å, ESC ø: ae->æ, oe->ø
ESC _, control-F11: ae->æ, oe->oe ligature (Unicode mode, U+0153)
Enhancements in command input:
------------------------------
Made Delete/Remove keys on keypads configurable to either Cut or
Delete character right. The option -k now switches all Home/End
and Del keys to the more usual behaviour, although I still think
it's a waste of keypad space to have these functions on two
keypads; I think the mined approach to leave the standard behaviour
on the "small keypad" and assign buffer functions to the right-most
keypad is more useful.
If the keyboard emits specific control and shift sequences,
control-Del is always "Delete character right" and shift-Del is
always "Cut to buffer" in either key assignment mode.
Also control-Home and control-End always moves to the beginning or
end of the current line, while shift-Home and shift-End always
invoke the buffer functions (mark and copy).
Revision of function key assignment.
F12 is no longer attached to the diacritic transformation function
(assignment had been inadvertently overridden for some releases already),
as on some (many?) terminals F12 cannot be distinguished from shift-F2.
New function assignments:
F12 enable memory for file positions in current directory
F11 (unchanged) low/capital letter toggle
shift-F11 low/capital toggle for whole word from cursor (like HOP F11)
control-F11 diacritic transformation, e.g. ae->æ
ctrl-shift-F11 (like HOP ESC U) transform Unicode value into character
shift-F2 write file even if unmodified
control-F2 save file as (prompt for new name, then save)
shift-F4 write paste buffer to file
alt-Insert replace text just pasted with preceding paste buffer
control-F4 replace text just pasted with preceding paste buffer
shift-Home mark position
shift-End copy to buffer
control-Home go to line beginning
control-End go to line end
Home (default) mark position
End (default) copy to buffer
Home (with -k option) go to line beginning
End (with -k option) go to line end
Home/End (on small left keypad) reverse function of right Home/End
HOP shift-F8 search for definition of current identifier (using tags file)
HOP control-shift-F8 search for identifier definition (prompts)
HOP control-F8 search for current character (new function)
VT100: Find search
VT100: Select mark position
VT100: Do copy to buffer
control-Up (new, see below) move to previous paragraph beginning
control-Down (new, see below) move to next paragraph beginning
control-Ins copy to buffer
control-@ (control-space) mark position
New commands to move to previous/next paragraph boundary:
control-Up, control-Down (hold control key and press cursor up or down).
The current text position is pushed on the position stack also with
the Goto Line/% command (^G).
Enhancements in terminal operation:
-----------------------------------
Tweaked screen attribute handling to improve behaviour of certain
terminals that do not match their termcap entry (esp. cxterm).
Tweaked screen handling for menu borders to provide workarounds
for various weird terminal behaviours (esp. mlterm and linux console).
Moved some ambiguous function key escape sequences into a special
table that is (automatically) only selected if a vt100 terminal
is set up (by the TERM variable). Added assignments for shifted
function keys of certain terminal emulators.
Further Enhancements:
---------------------
When a menu is open, the cursor-left or cursor-right keys cycle
through the pull-down and flags menus.
Added smart quotes style for Japanese corner brackets.
Smart quotes style can also be preselected with the environment
variable MINEDQUOTES which should then contain the opening/closing
quote pair or just the opening quote mark.
Renamed X resource configuration plug-in .Xdefaults.mined to
Xdefaults.mined for better handling and to comply with other
packages' usage.
Enhanced the script to generate man pages from HTML to handle tables.
Fixed manual page generation to filter out empty lines which spoiled
the layout.
Manual:
* Added discussion of the disputed keypad function assignment into Key
layout section.
* Moved HOP section right behind the Key layout section.
Options:
--------
New option -* to disable mouse support (requested by an emacs mode
user who prefers to use the xterm copy/paste mouse function).
Option +V to enable emacs-style paste buffer functions for "delete
word" and "delete to end of line" commands (^T, ^K), and place the
cursor behind the pasted region after buffer insertion.
(May become the default in a future version, disabled by -V.)
New option -QX to select the style of menu borders where X is one of
s: simple border,
r: rounded corners,
f: fat border,
d: double border,
a: ASCII border (can be combined with another option -Qs or -Qr),
v: VT100 alternate character set graphics border,
@: reverse blank border.
Mined sets an appropriate default based on its assumptions of the
terminal capabilities.
Latin-1 or UTF-8 character encoding can now also be selected with
the -E option: -EL, -EU.
Bug fixes in CJK handling:
--------------------------
Removed length restriction on keyboard mapping multiple choice
menu, thus enabling Pinyin input method to work.
Fixed mnemonic character input problem in CJK mode.
Fixed handling of unmapped Unicode characters in CJK terminal mode
in input method selection menu, avoiding ragged menu borders
(but leaving empty entries for menu consistency between encodings).
Bug fixes with paragraph justification:
---------------------------------------
Fixed paragraph justification on lines with two successive blanks
(as used after a sentence by some people) which could actually wrap
lines between the blanks (and leave leading blank on the next line)
if the right margin happened to be at that point.
Fixed clever paragraph justification on lines without blanks which
used to change the right margin.
Fixed a display handling bug that could lead to wrong display after
invoking paragraph justification from the menu.
Bug fixes with screen display:
------------------------------
Fixed interference of Unicode line end display (-uu) with
paragraph end display (-p).
Fixed menu width handling (esp. when HOP was entered in an open
flags or popup menu near the right screen border) which could wrap the
menu display around the screen.
Further bug fixes:
------------------
Fixed missing resp. overridden recognition of Alt-Enter in some
situations (used for jumping in the cursor position stack).
Fixed handling of keyboard mapping selection menu in right-to-left
terminal (e.g. mlterm) near the end of text which could crash mined.
Tweaked ESC D and ESC A commands to insert decimal resp. octal value
of whole character, not of separate encoding bytes. Behaviour is now
as it was already documented.
Fixed HOP ESC U command which (by the HOP prefix) inserted a pair
of parentheses if invoked on the code of an open parenthesis.
Fixed inadvertent setting of restricted mode on "-" options prefix
(since version 2000.7).
A function key entered on the prompt line does no longer abort
prompting but just beeps.
Fixed explicit cursor marking in proportional terminal mode in
CJK text mode.
=============================================================================
Changes from mined 2000.6 -> mined 2000.7 (May 2003)
=========================================
Features:
---------
Enhanced support for character input methods, especially for
East Asian (CJK) character ranges; selection menu for keyboard
mapping choices ("pick list").
Pre-compile-time configuration of additional mappings is provided,
usual mapping tables of other editors can be used as source.
Support for editing files in different CJK encodings, also in a
UTF-8 terminal. The apparently major encodings in use are supported:
Big5 (with HKSCS), GBK (> GB2312, EUC-CN), UHC (> EUC-KR), EUC-JP.
These are tried to auto-detect by heuristic counting of character codes.
An option to select the encoding (-EX) or auto-detection are also provided.
Two more encodings supported but not auto-detected are Japanese
Shift-JIS encoding (including single-byte mappings to Halfwidth Forms)
and Korean Johab character set and encoding.
Enhancements:
-------------
Added flag menus to all flags (except HOP indication) for more
intuitive usage.
Enabled repeat function with keyboard mapped characters.
Enabled hex entry of CJK double-byte characters on prompt line in
CJK mode (-C).
Enabled decimal (in addition to hexadecimal or octal) coded character
input.
Tweaked script to generate keyboard mapping table from yudit keyboard
mapping file: strip final blank if contained in all entries, skip
intermediate dummy blank.
Enhanced UTF-8 auto-detection so that longer UTF-8 sequences are
not ignored.
Flag indication for combined/separated display mode (of Unicode
combined characters) was tweaked to make it more intuitive.
Added "+", "-" and various Unicode bullet characters as numbering
items for clever justification (triggering indentation).
Activated colour usage for line markers and scrollbar in CJK terminals
(newer versions of hanterm apparently support colour).
In CJK terminals, mapping line markers from Unicode values according
to effective encoding table, so hopefully matching the right
CJK character for marker display.
Revised CJK special character input support, fixed illegal character
handling problems with coded CJK input (also on prompt line).
Revised handling of incomplete CJK half character codes. Don't pad
them with blank on loading the file anymore.
Revised character counting while loading the file to work with CJK
and auto detection.
Option +G to enforce using block graphics characters for menu borders
is now accepted in CJK terminals as newer versions support them.
Makefile for Mac OS X (provided by Tobias Ernst).
Bug fixes:
----------
Fixed a bug that would display control characters (e.g. ^X) entered
directly on the prompt line in UTF-8 mode as letter X with coloured
background instead of ^X.
Revised character input thoroughly; fixed deficiencies (since 2000.6
even crashes, shame on me) if the repeat function was provided with a
non-ASCII character.
Fixed handling of invalid hex CJK double-byte character insertion.
Fixed undefined insertion of arbitrary character if character insertion
from character code in text (HOP ESC U/D/O) didn't recognize a number.
Fixed insertion of partial character bytes when an open menu was
cancelled by typing a Unicode character.
Fixed failed recognition of bullet character (0xB7) in non-Unicode mode
as a numbering item for clever justification (triggering indentation).
Removed those RFC 1345 input mnemonics mapping to private use code points;
fixed some of them to map to valid code points.
Removed -D option; this feature (which did not work in UTF-8 mode anyway)
may now be achieved with a keyboard mapping if desired.
Fixed erroneous special handling of 0xA0 (as no-break space) in CJK mode.
=============================================================================
Changes from mined 2000.5 -> mined 2000.6 (Feb 2003)
=========================================
Features:
---------
Arabic ligature joining support:
If the terminal supports right-to-left display (e.g. mlterm)
mined assumes that the terminal also applies automatic joining of
Arabic ligatures (LAM/ALEF combinations).
Mined supports ligature joining by accounting for the screen position
accordingly, and by indicating the joining part of the ligature in
separated display mode similarly to the handling of combining characters.
This terminal handling mode is configured with the option +UU.
New command ESC Return (Alt-Return) to "return to previous position".
On commands that jump away from the current position (HOP Mark,
File Begin/End, Search, Search Idf definition), the current position
is remembered in a position stack. The new command ESC Return goes
backward, HOP ESC Return forward in this "stack".
Added recognition of mouse wheel control sequences and attached
according behaviour - untested as I don't have a mouse wheel.
Enhancements:
-------------
New key interpretations for shift-Return (shift-Enter) and
control-Return (control-Enter) to insert Unicode paragraph separators
and line separators respectively if Unicode line-end handling is enabled.
Improved prompting for hex/octal character input, made more intuitive.
Improved coded character entry on prompt line: added visual feedback,
added octal option, enabled for non-UTF-8 mode.
Improved mnemonic character entry on prompt line: added visual feedback.
Implicit suppressing of keyboard mapping during mnemonic character input.
Enabled mouse release and movement support in DOS version (DJGCC).
On opening a file, the current position marker is no longer initially
set to the opening position (as some users got confused with the
Cut/Paste function); to return to the position e.g. after searching,
use the new command ESC Return instead of HOP Mark.
Options:
--------
The option -c selects separate display mode on UTF-8 terminals. The
mode can also be toggled from the eXtra menu or on the C/c flag
next to the U/L character encoding flag.
The previous option to assume that the UTF-8 terminal that does not
support combining characters was changed to -cc.
Bidi terminal mode is selected explicitly with +UU instead of
implicitly (by disabling the scrollbar with -o).
Additional option -8 to set TAB size to 8 (to override TAB size
being set to 4 by MINED environment variable).
Changed option -J (to set justification level 2 initially) to +jj.
Added option +U to configure UTF-8 terminal operation. This is
in order to allow defined setting in addition to -U which toggles
the pre-configured assumption and might turn out to produce the
wrong assumption.
Changed -U to also set combining mode when assuming UTF-8 mode.
Note, however, that none of these options needs to be used if the
environment is correctly configured to indicate UTF-8 as it should
(LC_ALL, LC_CTYPE, or LANG ending on ".UTF-8" or ".utf8").
Added option +UU to configure bidi terminal operation. This mode
implies UTF-8 and also assumes that Arabic ligature joining
(of LAM/ALEF combinations) is applied.
Bug fixes:
----------
Display problems in separated display mode (for Unicode combined
characters) on the status line were fixed, including Arabic joining
ligatures.
When deleting the last accent in a Unicode combined character (after
moving the cursor position into the character), the display was not
updated; this was fixed.
Fixed documentation of some vt100 keypad key assignments (original
assignments were mangled by Linux console keypad assignments).
Fixed F5/control-F5/shift-F5 and according F6 accent composition
prefixes and adapted documentation.
Mentioned shift-F2, shift/control/control-shift-F8, shift-F9, shift-F10
in documentation.
Fixed ^O new line insertion: if the line is terminated with a Unicode
paragraph separator, a line separator is used for the new line end.
Fixed and adapted behaviour of HOP Return to insert Unicode paragraph
separator.
Revised character set handling for PC versions; revised accented
character composition;
accented character display and composition (from 8-bit character range)
now working in PC versions for either PC or UTF-8 character encoding.
Fixed status line update problem after operations on parts of combined
characters (e.g. movement onto the combining accent with ^V cursor-right).
Fixed character composition from text [ ESC_ ] to consider characters,
not bytes.
Search corresponding bracket [ ESC( ] now also works with UTF-8
multi-byte characters.
Fixed identifier search [ HOP F8 ] to work with UTF-8 characters
inside identifier.
Included sources for online help in the distribution archive as
needed for "make install".
Fixed a crash problem with window resize, then display being redrawed,
then resize again and output being interrupted. Occurred under rare
and unclear conditions; now ignored.
Fixed makefile.bsd for NetBSD.
Added top level makefile, selecting OS-specific makefile automatically.
=============================================================================
Changes from mined 2000.4 -> mined 2000.5 (Dec 2002)
=========================================
Feature: Keyboard mapping
-------------------------
Keyboard mapping for various scripts is available in UTF-8 mode
(both edited text and terminal must run UTF-8).
This maps keyboard input characters or short character sequences to
characters (or short sequences) in a different script.
In this release, mappings for Greek, Cyrillic, Arabic, and Hebrew have
been integrated.
An active and a standby keyboard mapping are maintained. They can be
toggled quickly for text input with ESC k (or Alt-k), also on the prompt
line (e.g. for searching).
Command overview:
ESC k toggles between active and standby keyboard mapping
also on prompt line
HOP ESC k resets keyboard mapping to none (unmapped input)
ESC K opens the keyboard mapping menu
also on prompt line
HOP ESC K cycles through available keyboard mappings
Note: As some typical keyboard mappings contain ambigous key sequences
where one may be a prefix of another, a short delay is applied in
these cases to allow recognition of any such sequence to be mapped.
The current mapping is indicated by its two-letter script tag in the
flags area (top screen line), clicking on it cycles through the
available mappings (like HOP ESC K), clicking with the right button
opens the Keyboard Mapping menu (like ESC K).
With the environment variable MINEDKEYMAP the active or standby
mapping can be preselected. The value is a two-letter script tag to
set the active mapping, or it is prepended with "-" to set the
standby mapping.
Example: export MINEDKEYMAP=-gr will set Greek keyboard mapping standby.
Known script tags are:
ar -> Arabic
gr -> Greek
el -> Greek
he -> Hebrew
cy -> Cyrillic
ru -> Cyrillic
Options and further features
----------------------------
Bidirectional terminal support:
To run mined on a bidirectional terminal (such as mlterm), disable the
scrollbar with the option -o.
In this mode, when displaying a menu, underlying text lines that
contain right-to-left characters are cleared first in order to prevent
display confusion between the terminal's bidi algorithm and the menu
position.
Mined's "poor man's bidirectional support" (which automatically places
right-to-left characters to the left of the previous character) was
disabled by default in order to support mined's operation with
bidirectional terminals.
Script colouring:
For better recognition of letters that belong to a certain script
(where similar looking letters may belong to other scripts),
text display uses colours to distinguish letters of various scripts.
This is preconfigured for Greek and Cyrillic (which share some letter
forms with Latin).
Compile-time configuration of further script colouring is available
with the file colours.cfg; it contains entries with the script name
(as listed in the Unicode data file Scripts.txt), white space, and
a colour index into the xterm 256-colour mode.
Two "flags menus" were introduced:
* one for the Keyboard Mapping (as described above),
* the other for Smart Quotes selection; it's popped up with the right
mouse button on the smart quotes indication in the flags area;
additional commands:
ESC Q or Alt-Q: also pops up the Smart Quotes menu
HOP ESC Q: cycles through available Smart Quotes
When a pull-down menu is opened with the middle mouse button, the
HOP version of its items is preselected (can be toggled with middle
mouse button as before).
-X disables display of the filename in the window title bar.
Changed default of -G option (enabling display of control characters
as block graphics) to be disabled.
Flag indications were slightly tweaked in order to make them more
intuitive.
Bug fixes:
----------
Fixed a rare bug with ESC u on illegal UTF-8 characters.
Clever justification now also considers the bullet sign as a
numbering (list item) character.
Back-TAB was tweaked not to apply directly below non-space text of the
previous line.
Fixed some bugs and inconsistent results with shortcuts for
composed character input.
Added composed character sequences for single-accented extended
Latin characters.
Extended diacritic transformation function (ESC _) to all
two-letter composed characters as configured for input support.
=============================================================================
Changes from mined 2000.3 -> mined 2000.4 (Sep 2002)
=========================================
Interface:
----------
Made use of advanced xterm mouse tracking modes.
* Text select and copy with highlighting by mouse dragging.
* Menu item browsing by mouse dragging.
If the mouse button is kept down, items are automatically selected
as the mouse is dragged over them.
An item is selected by either clicking the left button or
releasing the left or right button.
It is also still possible to open and change menus with click-release,
then select an item with another click (less finger-strain).
A "non-break space" (character value A0 hex) is now displayed by a
tiny middle dot (as used for TAB indication) in cyan colour.
Syntax highlighting
* Also toggled for .sgml files (as well as for .html/.htm, .xml, .jsp).
* Extended to JSP and HTML comments.
In order to avoid command confusion on slow remote connections where
escape sequences might come in deferred, the following commands were
changed:
* Disabled ESC N cmd which repeated the command N times when N
has only 1 digit (in that case the command might have been a
function key escape sequence).
Use ESC = N cmd instead, or use 2 or more digit repeat counts,
e.g. ESC 77- (to enter 77 '-' characters) or ESC 07x (to enter 'xxxxxxx').
* Changed ESC O which inserted the octal value of the current character.
Use ESC A instead.
When inserting an HTML marker on the prompt line (commands ESC H,
HOP ESC H) HTML tag attributes can be included; they are only inserted
for the starting marker, not for the closing marker.
The TAB width can be toggled between 8 and 4 while mined is running
(command ESC T).
Function keys of some terminals (esp. HP and Siemens) are ambiguous;
the preferred key set to be detected can now be configured
(environment variable MINEDTERM= xterm / hp / siemens).
The ESC u command displays additional Unicode script information.
The parentheses matching commands ESC ), ESC (, etc, now also match
HTML tags.
The character compose and input support function was revised.
Accent prefix functions were extended to support Unicode.
Additional mnemos were enabled, including TeX and HTML mnemos.
Features:
---------
Clever justification (auto-indentation):
With the justification command ESC j, clever auto-indentation is applied.
It uses heuristic detection of numbered items and program source comments.
(The old justification function that only considers configured margins
is available by ESC J.)
A Back Tab function was added. A Backspace from a position that is
only preceded by white space on the line will revert the input position
to the previous matching indentation level.
In both justification modes, automatic suppression of auto-indent
applies by heuristic detection of the speed at which characters
are entered. This is to allow unmodified pasting of text (using
e.g. xterm mouse copy/paste).
Checkout and checkin functions for version management systems added
(to File menu, command scripts "co" and "ci" must exist in path).
Introduced generic handling of shift state indication for function key
escape sequences (control/shift/alt and combinations).
No more "Unknown command" errors on unregistered function key variants.
By default they invoke the same function as the unshifted key.
The location of mined buffers can be configured with an additional
environment variable MINEDTMP ([SYS$]MINEDTMP on VMS). This supports
copy and paste operations among different machines.
Bug fixes:
----------
Revised case conversion and other Unicode character property handling.
Updated tables for wide and combining characters to new Unicode data.
Fixed some display bugs:
- Current line was cleared after prompt was aborted with mouse button.
- Search/replace including linefeeds could mess up the screen.
- Screen line could mess up on an incomplete UTF-8 sequence at the end
of a line in UTF-8 text and screen mode.
Fixed a bug with automatic line-wrap after entering space.
Fixed some terminal size detection problems after rlogin from DOS.
Under weird circumstances, the first empty line in a file not edited as
the first one could produce display and buffer garbage on SunOS.
Fixed some search pattern match bugs:
- with empty lines
- with replace and ^, starting in middle of a line (started replacement
at that position, not at start of next line)
- with ^, searching backwards (did not find in current line)
Removed restriction of regular expressions with Unicode characters:
search patterns ä* etc (UTF-8: ä*, €* etc) do work now.
Manual hints and clarifications:
--------------------------------
A search pattern [pat]* matches a (zero or more times) repetition of
this pattern. In a final position within the search expression,
however, it matches one or more times this pattern.
Hex input code ^V # xxxx [space or RET]:
Works on the prompt line only in Unicode mode, exactly 4 hex digits
are accepted but are not echoed on the screen.
Improved description of special character input support in the manual.
Added overview chapter on input support.
=============================================================================
Changes from mined 2000.2 -> mined 2000.3 (May 2001)
=========================================
Documentation:
--------------
The manual page was updated and thoroughly revised.
Its primary source was transformed into HTML, roff/man format being
generated.
The mined web pages were updated and revised.
The file "doc/compilation" (with compilation hints) was updated.
Features:
---------
HOP '/' enters an indented Javadoc comment frame.
Interface:
----------
Options can be concatenated on the command line.
(mined -uu instead of mined -u -u enables Unicode line separators.)
Right-to-left script input support is now enabled by default.
The option -b toggles it.
Option -G disables (actually toggles) the display of certain control
characters as block graphics characters (enabled by default).
Option +G enforces use of block graphics for display of menu borders.
May be used if the "alternative character set" capability is not
configured in your system but your terminal does have the capability.
Set output delay (-d0..-d9) to none (-d-) by default in all versions.
The help command was unified on Unix and DOS versions. Not completely,
however, as calling a sub-programm ("less") through the "system" call
doesn't seem to work on DOS (it crashes or blocks terminal input
afterwards, even with cygwin). See also next comment.
A second help viewing mode is now avaible (HOP HELP, e.g. HOP F1). It
displays help information within mined itself, restoring the previous
editing state afterwards.
This is the default on MSDOS for the reason mentioned before.
Bug fixes:
----------
Fixed a screen-related pointer confusion after replacement with multiple
lines (embedded newline) which could result in a display bug and page down
could be blocked.
(Very minor) Just deleting the trailing line-end of a file is also
considered a modification (a file only modified this way would
previously not have been saved automatically).
(Minor) With UTF-8 auto-detection involved, the character count after
reading the file could be wrong (ESC ? would have been correct).
(Minor) The pop-up menu, when modified with HOP and thus becoming smaller,
used to leave the frame of its previous width on the screen.
(Embarassing) Although I was proud of "perfect responsiveness to
window size changes" I had just forgotten to implement that for
the case of a menu being open.
On DOS, editing a file with Unix line-ends, the function "append to buffer"
used to append the lines with MSDOS line-ends.
=============================================================================
Changes from mined 2000.1 -> mined 2000.2
=========================================
Features:
---------
Auto indentation when entering a new line.
Insert a new line without auto indentation with the ^O command.
Auto indent mode may be toggled from the Extra menu.
Entering auto-indented pairs of parentheses:
With the HOP prefix, the characters "(", "[", "{", "<" enter
an auto-indented pair of "{" ... "}" etc.
Search and replace patterns can use an embedded newline. Enter
with ^V ^J. In some cases there are still display problems.
Then update the screen with the ESC "." command.
Interface:
----------
HTML files (ending on .html, .htm, .xml, .jsp) trigger a display mode
which distinguishes HTML tags by coloured display.
The mode can be toggled from the Extra menu.
While you edit within a line and change its HTML ending status
(by entering or deleting '<' or '>'), the display status of
subsequent lines is not changed. (You may refresh the display
with ESC ".")
Special markers (on cyan background) for illegal UTF-8 sequences are
applied in UTF-8 terminal mode as well (instead of the Unicode
replacement character).
The online help file format and help invocation were changed.
Online help contents was enhanced.
Bug fixes:
----------
For relevant file close operations, the return code of close() is now
checked. Usually, write errors are already noted by write() calls but
for a few rare cases, this check is appropriate.
Some display bugs (especially with UTF-8) were fixed.
Graphic display for menu borders on the Linux console was fixed (funny
it uses the DOS character set as an "alternative character set").
Porting:
--------
Flexible selection of DOS versions available, all with mouse support.
(djgcc, cygwin, EMX, Turbo-C).
=============================================================================
Changes from mined 2000 -> mined 2000.1
=======================================
Features:
---------
Configurable automatic smart quotes (" character on input replaced
by typographic quote marks depending on style setting, in UTF-8 text mode).
Completed combined character support, removed some bugs.
Unicode case toggle handles context-dependent mappings (Greek sigma).
Interface:
----------
Mined looks for its online help file at certain typical locations so
it may find it even if MINEDHELPFILE is not configured.
License:
--------
For distribution purposes, the GNU license was imposed, but commented in
README.
=============================================================================
Changes from mined 98 -> mined 2000
===================================
Features:
---------
Scrollbar display
May be used for relative or absolute positioning with the three mouse
buttons.
Flexible and simultaneous handling of different line ends
Unix and MSDOS line ends can be handled in the same editing session and
are indicated by different coloured line-end symbols. Files without
trailing line-end can be edited and created.
Transparent long line handling
Overly long lines are now read in transparently. They are attached a "NONE"
line-end type so they will be written out exactly as they came in.
Splitting within UTF-8 sequences is avoided; splitting of combined
characters is not avoided, however, they will join seemlessly as lines
are joined again. (Combining characters at the beginning of a line are
not displayed in combined display mode.)
Special line-end handling details and binary transparency
With the above two modifications, a couple of line end handling features
were introduced and binary transparency was achieved.
* Input of NUL characters from file is accepted and is presented as a
special "NUL" line-end type. Explicitly entering a NUL character
works, too (either literally or with ^V # 0). Thus mined achieves
binary transparency through an editing cycle now.
* The ^O command in a line with "NUL" or "NONE" line-end will
reproduce this line-end type in contrast to entering a new-line
which will always produce a real line-end.
* In order to split a line in two, separated with "NONE" line-end, use
HOP ^O (e.g. ^G^O).
Mac line-end handling
Mac line ends (CR only) can be transparently read and handled with the
command line option +R (while -R would transform them into Unix line ends).
Tags file support
Moving to the definition of an identifier using the tags file
(generated by the ctags command) was added. If a new file is opened
for this purpose, the current file is saved automatically.
* Command: ESC t when cursor is on identifier (with HOP, it prompts for
the identifier), or from Search or Popup menu.
Search and replace enhancements
Finally, typical Unix tool limitations of line orientation is being
removed. Mined can search for expressions with embedded new-lines
(enter with ^V ^J or \n). - Not yet fully implemented! -
Additional HTML tag input support
The command ESC H (not ESC h!) now inserts an HTML tag which is
entered in dialog. Another ESC H inserts the corresponding closing tag.
* So, continuous entering of HTML contents was made easier.
* The previous function to embed the text between marked position and
current position in an HTML tag is available with an additional HOP,
e.g. ^G ESC H.
File handling consistency improved
The command ESC # to edit the nth file from the command line was
extended with ESC # # which just reloads the current file.
Remembering editing information between sessions
In addition to the current position, also the paragraph justification
margins (wrap-around margins) are remembered until the next
invocation, but only if justification mode is switched on.
Tab size can be adjusted to 4 (instead of 8) with the command line
option -4.
Keypad assignment to the "Home" and "End" keys can be changed with the
option -k. Normally, these keys perform the "Mark" and "Yank"("Copy")
functions. Some people strongly expect these keys to go to the
beginning or end of line although that really is a waste of key
assignment as these functions are easily performed with HOP left/right -
anyway, the option -k exchanges the assignment. The other functions
are accessible with shift-Home/shift-End (if the keys emit different
sequences, see X configuration hints).
Unicode handling features:
--------------------------
Combined character display
Handling of Unicode combined character display is enabled by default
with UTF-8 terminal operation. (May be disabled by environment
variable utf8_no_combining_screen, or command line option -c.)
* There are two editing modes for combined characters: combined and
separated. Switch modes by clicking on the "c/C" indicator next to
the UTF-8 "L/U" indicator in the flags area of the top line, or in
the eXtra menu.
* In combined display mode, the following special functions are available:
The cursor can be moved into a combined character with
ctrl-left-arrow or ctrl-right-arrow, provided these cursor keys are
configured to emit distinguished escape sequences with control-key
held. ^V-left-arrow and ^V-right-arrow also work. You can determine
the exact position of the cursor if permanent character info is
switched on (by HOP ESC u or with HOP in the eXtra menu).
* Partially editing combined characters:
* If the cursor is on a combined character, delete next character
will delete the whole combined character, with all combining accents.
* If the cursor is within a combined character, delete next
character will delete the current combining accent only.
* In separated display mode, all cursor and text modification
operations work on the combining parts as displayed.
Search expressions
The restriction that search ranges could not be used for non-ASCII
characters in UTF mode was removed.
* Search ranges can, however, not be very large as all included
characters are listed in an internal buffer which is limited to ca.
1 KB.
Case toggle
The character or word case switch function (e.g. in the eXtra menu, or
F11) works also with all Unicode characters.
Unicode line ends
Line separator and paragraph separator are optionally detected and handled.
* Activate this mode by two -u options ("-u -u" on command line or
"uu" in MINED environment variable).
* Inserting a new line on a line with Unicode lineend will insert a
line separator unless the hop flag is active in which case a
paragraph separator will be used.
Basic input support for right-to-left scripts
After entering a right-to-left character, the cursor position is moved
left of it, so subsequent characters will be appended left and the
text shifted right. Characters are stored in visual order while input
support is implicit, based on the characters being typed. Entering
left-to-right characters will obviously automatically switch
direction; to continue with right-to-left, the cursor must be moved
manually (e.g. to the line beginning).
* Newline, Space, TAB, and combining characters attempt to behave well
according to what was entered before; however, intermediate cursor
movement is not considered.
* Activate right-to-left support with the command line option -b.
* This mode is not meant to work with the latest right-to-left xterm
patch - it would rather interfere with it. The mined right-to-left
mode is just intended to provide a simple mechanism to quickly enter
visually correct right-to-left text in a conventional environment.
* Orientation of text alignment remains on the left side in this mode.
Suggestions for improvement in order to make it useful for
right-to-left or bidirectional writing are welcome.
Interface:
----------
Menu display
Uses block graphics characters if determined to be available.
Menu layout
The pulldown and popup menus are in variable width now (depending on
contents).
HOP toggle in menus
While a menu is open, any of the HOP key, ^G, Blank, or the middle
mouse button toggles the HOP amplifier and the menu redisplays with
function names changed where applicable.
Mouse usage
Was enabled with curses operation (useful for EMX, see below).
Keyboard availability of menus
Menus are available from the keyboard; Alt-letter (or ESC-letter)
pulls down a menu starting with that letter, Alt-TAB pulls down the
file menu, Alt-blank pops up the quick menu.
(In order to make Alt work as a modifier, set the xterm resource
metaSendsEscape to true as suggested in the example file .Xdefaults.mined.)
Line begin/end keys, hop key assignment
In order to get rid of the waste of keyboard assignments which is imposed
by terminal emulation emitting the same escape sequences for keys of
the two keypad areas, some X resource definitions were included
in the file .Xdefaults.mined as a recommendation (section
XTerm*VT100.Translations). Also the hop key may have to be made available
explicitly with some X setups (also included in that file).
Keyboard reassignments
In order to make room for the Alt-keys to address menus, some
commands had to be reassigned:
substitute: ESC , (was: ESC s)
set marker n: ESC m (was: ESC ,)
screen smaller: ESC % (was: ESC m)
screen bigger: ESC & (was: ESC M)
case toggle: ESC C (was: ESC f)
edit other file: use F3, or "Open" from the File menu (was: ESC e)
print buffer: use "print buffer" from the File menu (was: ESC p)
Operation in system environment:
--------------------------------
Window resize propagated to parent shell
If the window is resized, the SIGWINCH signal is propagated to the parent
process so that e.g. the shell also knows about the changed size.
Porting:
--------
Windows ports
Adaptations to enable compilation in Cygwin and EMX environments.
Works in EMX with ncurses and mouse enabled.
Windows port with mouse / DOS port?
A lot of changes to the curses adaptation enabled seemless operation
in the EMX environment under Windows.
Unfortunately, EMX does not keep its promise to generate dual-mode
Windows and DOS executables. Can anyone help?
Bug fixes:
----------
Searching
Fixed a few pattern matching bugs (some had slipped in while
introducing UTF-8).
Search/Replace
Fixed start of replacing to current position (instead of line beginning).
Search/Replace
Fixed a display bug when replacing was aborted with "line too long"
outside the current screen.
Word-wrap
Paragraph justification moved to the wrong position if triggered by a
space entered at the end of line.
Chinese mode display
In 8/16 bit character set mode, some situations (illegal 16-bit codes)
of display garbage were fixed.
Various minor bugs
=============================================================================
Changes from mined release 6 (1995) -> mined 98
===============================================
UTF-8 Unicode support:
----------------------
Works with UTF-8 text mode terminals or windows like xterm.
Auto-detection of Latin-1, UTF-8 or UTF-16 input encoding.
Commands and input support for display and handling of code values.
Transparent handling of illegal UTF-8 sequences.
Can edit UTF-8 text in non-UTF terminals and vice versa.
User interface:
---------------
Mouse control on xterm.
Pull-down menus and pop-up menu.
...
=============================================================================
Changes from release 5 -> mined release 6 (1995)
================================================
- Additional word-wrap version:
In order to remain a pure text editor (without placing text
processing control codes into the text), mined uses trailing
blanks as indicators that a paragraph continues. However,
sometimes text should be formatted that does not follow this
convention. So there is another adjustment option now which
terminates formatting a paragraph at the next empty (or blank-
only) line.
- Optionally remembering the position where you last left a
modified file. Automatic re-positioning in next edit session.
- Help can now be viewed with mined itself (HOP ESC h).
- Increased portability: Mined now compiles on more platforms
without changes (HP-UX, AIX, recent SINIX versions).
=============================================================================
Changes from release 4 -> mined release 5
=========================================
- The command ESC H to insert HTML commands.
- Separate left margins for first and next lines of paragraph.
- Startup search expression on command line.
- Wild cards in file names on MSDOS.
- Can switch between edit and view only modes.
- MSDOS version: Beep modified to use the BIOS beep which is
redirected by some "beep enhancement" drivers (newbeep /
nusound) instead of the DOS beep which for some peculiar
reason they don't change.
- Compiles on SunOS5.
- Sets window headline and icon text to current filename in
xterm or sun-cmd window.
- Parameter -x to make a new file executable (Unix) in order to
create a shell script.
- Leading "~" notation for referring to home directory accepted
in all filenames.
=============================================================================
Changes from release 2 (August 1992) -> release 3 (August 1993)
===============================================================
Main new features:
- Paragraph reformatting with left and right margin settings.
- Optional WordStar-compatible keyboard layout.
- Optional support of 16-Bit character sets.
(Works well with the Chinese xterm, cxterm.)
Some more new or enhanced features:
- Screen display was modified to build from the new cursor position
(after a search often in the center of the screen) up and down to
the upper and lower borders of the screen. This appears to more
naturally suggest to the users where they are.
- Support for proportional screen fonts was added.
- The MSDOS function key sequences were activated in the Unix version
as well to enable using Unix mined remotely from a PC keyboard.
PC terminal support includes video mode changing as far as it
can be performed by escape sequences to the ANSI driver.
- Mostly unified option environment into one variable, MINED.
- Options for conversion between different line end types.
- Extended the enter-control-code prefix (^V) to compose characters
if the first following key resembles an accent mark ("'`^°~).
- A search for identifier at current position function was introduced.
- A repeat previous search (one before the last search) function was
introduced.
Improvements in the MSDOS version:
- Improved memory management (problem: the 640 KB memory restriction
being effective if compiled with Turbo-C).
- MSDOS mined now detects screen size changes on each keystroke, so
it reacts almost immediately, e.g., on font changes performed by
the VGAMAX font substitution TSR.
- Several MSDOS screen mode switching functions were integrated to
enable explicit mode change with a command.
Bugs removed:
- Display garbage in very small windows (less than 28 columns).
There may still occur display garbage if the window is
narrower than the tab size (8 displayable characters).
- Display garbage in very long lines.
- Display and position bug related with tab characters and long lines.
- Display garbage after substitution that made a line shorter so it
gets completely shifted out of the left display border.
- Incorrect display after aborted substitution.
- Aborted substitution although there was enough room on the line.
- If the environment variable NoCtrlSQ or NoControlSQ is set, also
the tty channel soft handshake setting will not be disabled in case
this would affect remote connection behaviour. I had discovered that
characters were actually lost on a remote (internet) login connection.
Keyboard assignment mofications:
- Line replace function assigned to ESC R.
- Double assigned some functions in support of optional WordStar mode.
- Option to adapt Backspace and Delete keys to other convention.
=============================================================================
Changes from release 1 (July 1992) -> release 2 (August 1992)
=============================================================
Minor changes of behaviour
- Control characters can now be searched for.
Source improvements
- Improved portability according to mail feedback.
- Compiles without warnings with gcc -ansi -pedantic and
various other checks.
MSDOS version
- Compatibility with different ANSI drivers was improved.
Runs well with the very capable NNANSI (Tom Almy) or the
small and simple well-working ANSI.COM (Michael J. Mefford).
- Workaround for problem with Turbo-C libraries that inhibited
mined from working in arbitrary size screens ("extended text modes"
like 132x44 etc).
- The change working directory command now works with respect to
different drives, including change of drive only.
- Shell escape now available on MSDOS.
- A display bug on the prompt line of the search/replace commands
was removed (The initial prompt vanished after the first input).
- Options can be given starting with / in addition to - .
=============================================================================