Donate Share

mined text editor

File Release Notes and Changelog

Release Name: mined 2000.15

Notes: mined 2000.15 (April 2009) ------------------------------------------------------------------------ Major enhancements in this release: Character encoding support enhancements: * Updated to Unicode 5.1; added XHC Hanyu pinyin pronunciation information. * Enhanced character information display, also in non-UTF-8 text encoding. Adding Unicode character name and Unicode decomposition, see Info menu. * Enhanced character substitution display for non-Unicode terminals; using base character according to Unicode decomposition. * Encoding conversion from UTF-8 enhanced to all text encodings. * Enhanced terminal support for cygwin 1.7, including UTF-8 mode. * Character replacement commands (e.g. ESC _) also unescape URL escape notation (%E2%82%AC) and HTML numeric entities (&_#x20AC;). Text editing features: * Enhanced line begin/end navigation, may also go to previous/next line. Interactive: * Changed cursor positioning when moving vertically over multi-column characters: * Turning to the closest side of a TAB. * Options -T/+T for preference to stay left/right of TAB. * Enhanced menu navigation (Ctrl-mouse-scroll, initial key word finding). * Multi-option selection in open Info display ("?") menu. * Scrollbar mouse control enhancements: * Scroll direction adapted to other applications (old mode with option -oo). * Click-and-drag scrollbar scrolling. * Accelerated scrolling (by half a page) while over scrollbar. * Added usage hints to messages on typical keyboard interaction misconceptions. * Help function improvements. * Tweaked handling of Home/End/Del and modified keypad keys. Interworking enhancements: * Distinction of small/numeric keypad keys for djgpp-compiled DOS version. * Tweaked uterm terminal invocation script: * Workaround to safely ensure UTF-8 on cygwin. * Best guess for user preference of rxvt (if rxvt-unicode is found). * Command line options for user preference for xterm or rxvt. * Tweaked cygwin script wmined to use mintty if available. * Tuned keypad assignments to achieve more uniform keypad functions among different kinds of terminals as much as possible. * Support of additional terminal codepages as supported by cygwin 1.7, also in the djgpp-compiled DOS version. * Recognising and adapting to PuTTY or MinTTY. Printing: * Added printing feature using notepad /p for cygwin and DOS versions. Miscellaneous: * Applying computed dim screen attribute for line indications (in xterm), actived by defining an empty environment variable MINEDDIM. * Revised/enhanced line end handling support: * Added option +r to convert Unix lineends (LF) to DOS lineends (CRLF). * Enhanced Mac lineend handling options -R and +R. * Either of -r/+r can be combined with either of -R/+R. * Added search pattern "\r" to search for CRLF (DOS/Windows) line ends. ------------------------------------------------------------------------


Changes: ============================================================================= Changes from mined 2000.14 -> mined 2000.15 (April 2009) =========================================== Text editing features: ---------------------- Line begin/end navigation (small keypad Home/End keys, or Alt-Home/End keys) may go to previous/next line, respectively, if the current position is already at line beginning/end. Character encoding support enhancements: ---------------------------------------- Updated to Unicode 5.1: * Added XHC Hanyu pinyin pronunciation information (from Unihan database) to Han information options. * Updated handling of character properties as appropriate. * Added mnemos for new Latin characters, revised some redundant mnemos. Enhanced character information display: * Showing Unicode information also in non-UTF-8 text encoding. * Adding character information options for: Unicode character name, Unicode decomposition, input mnemonics. * The character or file information to be shown on the status line is configurable in the Info menu, * or with a command-line option (+?...) or entry in the MINED variable. Enhanced character substitution display for non-Unicode terminals; if a character cannot be displayed by the terminal, mined tries to replace it with its base character according to Unicode decomposition, and displays it with cyan background as a substitution indication. Enhanced encoding conversion function (Alt-Shift-F11, ESC _) to convert from UTF-8 to any current text encoding. Added supported Unicode version to the About message. Tweaked auto-detection of text encoding: * Not counting sequences of 8 bit no-break space (0xA0) as CJK anymore. No longer interpreting Unicode LS/PS line/paragraph separators as line ends if opening a file explicitly in non-Unicode encoding. This does not work however if non-Unicode encoding is just auto-detected. Tuned CJK file encoding auto-detection which yielded too many false positives for Shift-JIS. Support of additional terminal encodings (esp. in support of cygwin 1.7), see Interworking enhancements below for a listing. Revised online help page "Unicode Howto". Character input enhancements: ----------------------------- Character replacement commands (ESC _ , ESC ö etc) also unescape * URL escape notation like %E2%82%AC * HTML numeric character entities (&_#x20AC; &_#8364;) Additional command line parameter syntax -K=im-im to preselect an input method and/or a standby input method (for quick switching wich Alt-k). Examples: -K=gr-py (select Greek, standby Pinyin) or -K=-py (standby Pinyin). Enabled keyboard mapping always by default (made option +K obsolete). Interactive: ------------ Changed cursor positioning when moving vertically over multi-column characters: * Moving vertically over a TAB now turns to the side of the TAB column range closer to the previous position. * Revised/added TAB navigation options -T/+T; * With -T, position stays left when moving vertically over TAB or wide char. * With +T, position stays right when moving vertically over TAB or wide char. * Fixed alternating left/right over wide characters. Menu item navigation with initial keys looks for any word in menu label starting with key. Menus can be switched with Control-mouse-wheel scroll. Added documentation about mouse control in open menus. Info display menu ("?" menu): While selecting multiple sub-options of displaying char info or Han pronunciations, the menu stays open. Scrollbar mouse control enhancements: * Scroll direction adapted to other applications: Left-click on scrollbar scrolls towards mouse position, right-click in the other direction (old behaviour left=down/right=up with option -oo). * New left-click-and-drag scrollbar scrolling. * Accelerated scrollbar scrolling: Mouse wheel scrolling on the scrollbar scrolls by half a page. (Mouse wheel on text: 3 lines; with control: 1 line.) Added usage hints to messages on typical keyboard interaction misconceptions. Help function improvements: * Revised Options -> help menu items. * Revised keyboard help bars (for function keys and accent prefix keys); input keys are consistently marked red, accent functions are marked in cyan highlighting. * Keyboard help bars can now be invoked with F1 followed by any of the respective keys to get help on (not just (Control-/...)F1 / Control-, / Control-1). Tweaked handling of modified keypad keys to implement the distinction especially between Home/End/Del and Alt-Home/End/Del as described; also improved the documentation of keypad interpretation in the manual. However, available keypad function assignments are unfortunately limited by the typical insufficiency of terminal emulators to support all kinds of key recognition as it would be desirable. Interworking enhancements: -------------------------- Working with UTF-8 mode of cygwin 1.7 console (detected e.g. by CYGWIN=codepage:utf8). Note: After rlogin from this console, UTF-8 indication has to be ensured explicitly, e.g. by environment setting, or by mined option +U. Terminal encoding handling: * Detecting bidi markers (format controls, RTL etc) to be printable since xterm 230. Terminal features: * Handling xterm mode formatOtherKeys: 1 (xterm 235). * Making use of terminal capability to erase multiple characters. The djgpp-compiled DOS version can now distinguish keys of the small ("editing") keypad and the numeric ("application") keypad so especially the Home and End keys are assigned different functions as with xterm or (more limited) rxvt. Revised uterm script (for invocation of a Unicode terminal): * Tweaked uterm script with workaround to safely ensure UTF-8 with xterm on cygwin. * Modified uterm to start rxvt-unicode if the current terminal is rxvt (but only if rxvt-unicode is found, e.g. as urxvt on cygwin). * Added command line options -rx / -rxvt / -xt / -xterm to explicitly select user preference to use rxvt-unicode or xterm. Tweaked cygwin script wmined to use mintty if available. New option -O to disable script colour highlighting (for Greek, Cyrillic, Coptic, Armenian). Disabling in cygwin console by default. Option +O enables it. Making script highlighting brighter on dark terminals. Sample file conf_user/profile.mined of the Mined runtime support library: Suggesting different fancy settings for MINEDUTFRET and MINEDUTFTAB line end and tab markers, respectively, whether running rxvt or xterm. New environment variable MINEDBORDER to control colour or menu borders; suitable values are "35" (magenta), "34" (blue) and "31" (red, default). Tweaked menu display with a workaround for cygwin buggy colour handling. New options +F / +FF to indicate a better range of font support in case the default assumption of mined for the terminal (or an option -F in the environment) preconfigures font usage to be limit. New option +k to activate "application keypad mode" of the terminal. This is normally not needed as mined selects this mode automatically by the terminal it runs in. If you are running a misconfigured X windows system which does not facilitate distinguished keypad functions, you can enforce them by using the NumLock function of the keyboard and switching on this option. Workaround for KDE konsole issue rendering text invisible after an attempt to fix the screen size (which in turn is a workaround for occasional remote login screen size recognition problems; that workaround is not applied for konsole anymore). Tuned keypad assignments to achieve more uniform keypad functions among different kinds of terminals as much as possible. Tweaks for vt100: * Workaround for buggy terminfo vt100 entries. * Using application keypad mode. Recognising PuTTY or MinTTY and tuning screen capabilities accordingly. Support of additional codepages as supported by cygwin 1.7, plus a few more as provided by libiconv. These are mainly provided as terminal codepages, they do not appear in the Encoding menu. However, if you need, you can ask mined to use them as either the assumed terminal encoding (e.g. +E=CP1250 or +E:WE) or even text encoding (e.g. -E=CP1250 or -E:WE) using the names or shortcuts from the list: CP737 37 DOS Greek CP775 75 DOS Baltic CP852 52 DOS Central European CP853 53 South European, Esperanto (on request of Rugxulo) CP855 55 DOS Cyrillic CP857 57 DOS Turkish CP858 58 DOS Western, CP850 with Euro symbol CP860 60 DOS Portuguese CP861 61 DOS Icelandic CP862 62 DOS Hebrew CP863 63 DOS French Canadian CP864 64 DOS Arabic CP865 65 DOS Nordic CP866 66 DOS Russian CP869 69 DOS Modern Greek CP1125 25 DOS Ukraine CP1250 WE Windows Central European CP1253 WG Windows Greek CP1254 WT Windows Turkish CP1256 WA Windows Arabic CP1257 WB Windows Baltic In the djgpp-compiled DOS version, mined tries to detect the codepage using the DOS API. This is untested, however. Printing: --------- Added printing feature using notepad /p to the uprint script, effective for the cygwin version. This enables mined to print under Windows (unless one of paps of uniprint happens to be installed which would then be used). The djgpp version of mined uses notepad directly for printing so it can at least print Unicode output if it is being run under Windows. Miscellaneous: -------------- Added search pattern "\r" to search for CRLF (DOS/Windows) line ends. Revised line end handling options: * Added option +r to convert Unix lineends (LF) to DOS lineends (CRLF). * Mac lineend transformation option -R no longer implies -r. * Mac lineend handling option +R no longer splits DOS lineends. * Either of -r/+r can be combined with either of -R/+R. Applying computed dim screen attribute for line indications (in xterm), actived by defining an empty environment variable MINEDDIM; the colour value is computed from the current foreground and background colours. Added environment variable MINEDEMPH to configure highlighted parts of status line messages separately from line indicators. Added ".xul" to suffix list triggering HTML/XML style highlighting. Handling encoding of window title filename display properly in cygwin console. Bug fixes: ---------- Fixed file position marker update function which spoiled the marker file (@mined.mar) when editing a UTF-16 text file (in 2000.14). Fixed search/replace problem with initial newline in the search pattern, which used to skip every immediately following second occurrence. Backarrow deletes whole combined character left again (broken since 2000.14). Enabled input of no-break space using Ctrl-Shift-space in prompt input. Fixed garbage display after ESC _ (or alternatives) on HTML character entity. Fixed positioning anomaly with auto-indent after right-to-left text entry. Fixed proper recognition of shifted function keys (broken in 2000.14). Fixed Shift-F3 word case toggle function for words prefixed by "$" or "_". Fixed MINED=+E... setting to be accepted in DOS/Windows console. Suppressing notification of changed input method while input is active on prompt line. Fixed interpretation of Linux console shifted function keys. Fixed changing position anomaly when moving cursor vertically over wide characters multiple times. Tweaked character selection menu (pick list for CJK input methods) display handling to fix some colouring and width problems. Fixed uterm script to handle resource strings properly. Fixed confusing message "Cannot undo previous paste" (on Control-F4 or Alt-Insert) into "No previous paste to exchange". Fixed interix terminal interworking to assume CP437 rather than CP850. Fixed some width handling inconsistencies in CJK terminals, especially Big5-encoded terminals (e.g. cxterm, rxvt): * Display width of non-displayable character in Unicode text. * Positioning of flags after wide quote style flag. Suppressing display of file loading error message (esp. "Line(s) too long") if only using option -E?. Fixed evaluation of select system call in case it returns -1 (sun cmdtool). Tweaked weird file protection settings that were inconsistent among various operating systems if saving a file after editing text read from a pipe. Consistently adding bold or dim attributes to different line end markers. Removed option -t from manual which did not work since mined 2000; use environment variable MINEDTAB instead. Fixed handling of mouse events if the TERM variable is not properly set to either xterm or rxvt (e.g. TERM=vt100 after remote login) which did not work since 2000.8. Fixed garbled notification of non-ASCII input method name in non-UTF-8 terminal. Fixed some interference problems with selecting different information display options. Fixed encoding conversion function (UTF-8 vs Latin-1) on bytes FE and FF. In xterm with different TERM setting (e.g. TERM=rxvt), mouse focus out clicks were reported as "Unknown keyboard control sequence" (in 2000.14); fixed. With option -M (no menu line), the title of a long menu is no longer suppressed (since being positioned above the screen). This also: Fixed big red artefact in DOS version with -M when opening Options menu. Fixed screen handling of scrolling up when terminal cannot delete line or scroll partially (e.g. VT52). Fixed a bug that would transform a new file name (e.g. after F3) like "~/%s" into a formatted string. Fixed option -X to suppress all actions on window title. Fixed make auxiliary script mkkmlist which had a shell interworking problem on some systems and fail to generate the list of keyboard mappings.