The EHP editor is an editor written on a HP UNIX workstation. It has been ported to OS/2 2.x and I might call this release 1.2. The version (except the regular expression pattern matching module) should also be compilable with DOS. EHP is public domain. Nevertheless note, that a small part (namely the regular expression module) is taken from the FSF. So regard their copyrights when altering or copying EHP. The package can be compiled using EMX GCC 0.8e or greater. Unpack the file using unzip utility. Construct a suitable keyboard layout using the extracted program km.exe or use the withcoming tasten.inf. Enter the path where you stored tasten.inf in the definition of you EHPINIT environment variable. Install procedure: Copy the .exe files and the tasten.inf file to a directory of your choice (best one contained in your PATH) and set the environment variable EHPINIT to something like set EHPINIT=autoind screen 80x50 keys xxx\tasten.inf where xxx represents the path where you put the tasten.inf file. If you don't have installed emx, you have to copy the .DLL-files to a directory contained in your LIBPATH statement, e.g. to \OS2\DLL. Changes of version 1.2 compared with release 1.1: - A bug concerning saving of macros has been fixed. - The middle mouse button (if supported on your machine, try rodent.sys driver!) works now as described below. - A bug concerning case insensitive search with regular expressions has been fixed. - The frame missed a horizontal bar near the upper right corner of each window. Now it is drawn correctly. - A new command for moving the cursor to the middle of the window has been added (with initial keyboard layout it's ALT-arr_right). - A new command for saving all modified windows has been added (initially on CTRL-e m) - The 'Really exit?' warning is only displayed, if at least one file was modified. - The whole documentation has been translated into English and is provided in OS/2's INF format. You can view it using VIEW EHP. Known bugs: - If the confirmation coming up when leaving EHP by a keyboard command is answered with the mouse, EHP intermittently gets blocked. Terminate it using CTRL-c. In some cases, the security check is answered 'automatically' due to a phantom mouse event (at least on my machine). It's not that fine, since this should be a security check. If I get the time, I'll try to fix it. Things on my TO DO list: - Translate error messages of curses to English. - mouse does not appear in FS after startup. (but after performing a cmd) - middle mouse button could take cursor position as block beginning and mouse position as block end and thus mark a normal block. - mode with automatic line break at a certain column - ESC could bring up a menu with all commands, from which the user can choose. This might work as quick introduction to EHP. - Any kind of online help should be provided (e.g. by pressing F1 the keyboard layout pops up in a window) - File selection box pressing hot key when asked for filename - When redrawing after moving/resizing a window, possibly extra effort is done, since all windows other than the moved one are already drawn on the screen (only in stdscreen?) - Patterns in replace: What happens now that patterns work for search? - reg variable must be passed from instr via find to do_replace and must be interpreted when calculating the replace-expression when doing "full featured regex replace". - Skipping word should skip over a group of word separators instead of skipping only one at a time. - Colors should be adjustable, either via EHPINIT or via the config file. - Optionally one could allow to give the config.ehp file the hidden state. - Contents of macros may be displayed on command (e.g. Ctrl-V ) - Analysis of gcc error messages (commands for getting them in a window, jumping with cursor to the error location and so on) - Double click could mark a word as a block - Instead of fiddeling with the mouse to hit the scroll buttons, one should allow to click anywhere on the right or lower frame, where right and left mouse button determine the scrolling direction. - Probably CTRL-d is a better keystroke for macro definition and execution (mnemonic: define) ? Comments on this ? - On command, a list of the defined markers would be nice Please report bugs, hints, statements, comments and other feedback to me via e-Mail to auhl@fzi.de ! I'm lucky to hear about everyone using EHP. Enjoy, Axel (auhl@fzi.de)