1. MIAMEX function 105 (clipboard) has been enhanced in two ways.
First (under Windows only), it now supports copying from a screen rectangle (in addition to copying from a string variable). Syntax:
XCALL MIAMEX, 105, OP, TEXT{, STS {,SROW, SCOL, EROW, ECOL}
If OP=1 (set or copy-to-clipboard) and the last 4 params are specified (and ECOL>0) then it copies from the screen and ignores the TEXT parameter. Screen row 0 is the top status line.
Second, except for the screen rectangle option just described, the regular copy and paste operations (to/from TEXT) are now supported under UNIX/Linux, using the pseudo clipboard file MEM0:<job>.CLP[1,1]. To enable this, make sure you have a DEVICE definition for MEM0:, for example:
DEVICE=MEM0:[1,1] /tmp or
DEVICE=MEM0: /vm/miame/mem0/
Note that in the UNIX/Linux case, reading from the clipboard file is destructive (i.e., it erases the clipboard file). Also, since the pseudo-clipboard is tied to the job, it is only useful for moving text between fields within the same program or session. (In fact, it is probably only useful in INFLD; see below.)
Finally, note that this is the same pseudo-clipboard used by the ASHPOP utilities (accessible via a hot key from within INFLD.)
If you want to transfer text via the clipboard between different jobs or between the UNIX/Linux host and the Windows workstation, then you would probably want to use the regular mouse operations and Edit/Copy/Paste menu options which are supported in most Windows terminal emulators and applications. (ZTERM also supports ESC sequences to perform clipboard operations under program control.)
2. INFLD TYPE |K implements the most common Windows-style control keys:
INS (^F) acts like ^Q (toggles insert/overwrite mode)
DEL (^D) is unchanged
HOME (^^) acts like ^U (start of field) unless TYPE 9 specified
END (^E) acts like ^N (end of field) unless TYPE k specified
TAB acts like ENTER unless TYPE T specified
^C copies field to clipboard unless TYPE V specified (or at dot prompt)
^V pastes from clipboard
In the case of UNIX, clipboard operations use a local pseudo-clipboard file MEM0:<job>.CLP[1,1] (assuming that MEM0:[1,1] exists).
Under WINDOWS, the ^V command duplicates the functionality of the Edit..Paste menu, and ^C duplicates the combined actions of marking the field with the mouse and then using Edit..Copy.
If you prefer the |K mode, then you'll probably want to put it in the SBR=INFDEF: string in the MIAME.INI so that it will be active in all INFLD circumstances.
3. Fix a minor annoyance in the use of ^N at the dot prompt. Previously it was causing the command line to scroll horizontally to the left even if not necessary. Now it only scrolls if the command line is wider than the screen (or the current field display width).
4. New license update utility, LICENS.LIT, added. Now you can update your license from the dot prompt:
.LOG OPR:
.LICENS
The program provides self-explanatory prompts to guide you.