;

;	MCEREL.TXT -- MCE -- Commandline editor Release Notes

;

;                =======

;    	.IDENT   -V4.28-

;                =======

;

;	Copyright (c) 1987-1998

;

;	J.H. Hamakers,

;	pAkUiT International

;	Elsbes 40

;	3069 LN  Rotterdam

;	The Netherlands

;	Phone    : +31 - 10 - 407 86 31

;	E-Mail   : hamakers@pobox.com

;	Internet : http://members.tripod.com/~hans_hamakers

;

;	All rights reserved

;

;	This software may be copied and distributed ONLY

;	on a non profit basis and with the inclusion of

;	the above copyright statement.

;

;	>>>>> PLEASE CONTACT ME FOR PROBLEMS OR SUGGESTIONS <<<<<

;

;	In this document :

;	-----------------

;		- VT2+ means VT2xx and later model terminals.

;		- VT4+ means VT4xx and later model terminals.

;

;	Known problems :

;	----------------

;

;		- MCE has some problems with DCL and installed tasks. DCL does

;		  not wait for installed tasks to complete. Compare the two

;		  examples below:

;

;			MCR			DCL

;

;			+>INS $FOO/TASK=FOO	+$ INS $FOO/TASK=FOO

;			+>RUN FOO		+$ RUN FOO

;			>			+$

;

;		  To solve this add the following line to MCEINI.DCL :

;

;			 R*UN := RUN 'P1'/STATUS:TASK

;

;		- If the RSX-system you are running on does not support the

;		  VT2xx terminal use MCR command "SET /TERM=TI:36" to use

;		  the VT2xx functions

;

;	Remarks on 8-Bit terminals and lines :

;       ====================================

;

;	A VT2+ terminal in 7-bit mode always sends "normal" escape sequences :

;			  PF1  = ESC [ P       (33, 133, 120)

;			  F20  = ESC ? 3 4 ~   (33,  77,  63, 64, 176)

;

;	The EBC, RPA, PASTHRU settings of the terminal line don't have

;	influence on the right processing of those keys.

;

;	A VT2+ terminal in 8-bit mode sends other sequences :

;

;		          PF1  = SS3 P         (217, 120)

;		          F20  = CSI 3 4 ~     (233,  63, 64, 176)

;

;	The EBC, RPA, PASTHRU settings of the terminal line do have influence 

;	on the 	right processing of those keys.

;	Although they do different things one of the options MUST be set

;	to let MCE see the keypad keys.

;

;	The IO.RST used by MCE sees the following terminating characters in

;	IOSTB+1 :

;

;		EBC	 RPA	PASTHRU    SS3      CSI

;		 0        0        0         0       33

;		 0        0        1        17       33

;		 0        1        0        17       33

;		 0        1        1        17       33

;		 1        0        0       217      233

;		 1        0        1       217      233

;		 1        1        0       217      233

;		 1        1        1       217      233

;

; +-------------------------------------------------------------------------+

;

;	=============================================

;	Notes on VERSION V4.28   from  SEPTEMBER 1998

;	=============================================

;

;   Version V4.28 is a service release

;

;	-  Fixed bug that let MCE crash occasionally

;

;	-  MCE.DOC

;	   o  Now in WORD 6.0 format !

;

;	-  MCEBLD.CMD 

;	   o  Minor text changes

;

; +-------------------------------------------------------------------------+

;

;	=========================================

;	Notes on VERSION V4.27   from  APRIL 1996

;	=========================================

;

;   Version V4.27 has the following new features : (since V4.26)

;

;	-  The key <UP> does a <RECALL> function (like <FIND>) when there

;	   is something on the commandline and the cursor is at the end

;	   of the line. (Try it !!)

;	   This feature is included because many PC commandline editors

;	   have that function. The user can change to the old situation with

;	   the MCE "UPFInd OFF" command

;

;	-  Changed the FIFO handling so it is more efficient

;

;	-  Fixed bug with long passwords which were overwriting buffers.

;

;	-  Lots of minor bugfixes and probably introduced some new bugs. :-)

;

;	-  MCE.DOC

;	   o  Upgraded to the latest version.

;	   o  Introduced VT2+ and VT4+ words instead of 

;	      VT2xx/VT3xx/VT4xx/VT5xx and VT4xx/VT5xx.

;	   o  Changed the name for the support for those terminals to 

;	      VT2plus and VT4plus support.

;

;	-  MCEBLD.CMD now supports a saved-answer file.

;

;	-  Planned to include MCEDOC.WP which is MCE.DOC in WordPerfect 5.1

;          format or MCEDOC.WRD which is MCE.DOC in Word 6.0 format in the

;	   near future.

;

; +-------------------------------------------------------------------------+

;

;	=============================================

;	Notes on VERSION V4.26   from  NOVEMBER  1991

;	=============================================

;

;   Version V4.26 has the following new features : (since V4.25)

;

;   The idea and most of the code from the first 4 changes came from

;   Volker Huck, Technische Hochschule Darmstadt, Germany

;

;	-  There are 2 Terminal time-out modes possible:

;	    o  Fixed ( just like in the older versions )

;	    o  Setable with the new "MCE TIMO" command

;

;	  	MCE TIMO ON|OFF enables/disables the time-out

;	  	MCE TIMO n   (1..999) redefines time-out time

;

;	-  The newest command in the FIFO is not saved again when 

;          recalled and executed even if SVOLD is on. This prevents

;	   the FIFO from filling up with the same command.

;

;	-  With compound commandlines now it is possible to mix

;	   MCE internal commands with CLI commands. This makes the

;	   next command possible ( Switching from MCR to DCL and reading

;	   MCEINI.DCL ) :

;

;	       GODCL := SET /DCL=TI: & MCE REPLACE

;

;	-  MCE can be build so that is reads MCEINI.xxx from LB:[1,2] and

;	   SYS$LOGIN: instead of reading it from LB:[1,2] and SY:[CurDir]

;	   This is only for RSX-11M-Plus systems with logical name support.

;

;	-  MCE now clears the scrolling region instead of the whole screen

; 	   when the statusline is on and HELP or any list is requested.

;

;	-  Bugfixes in conditional assembly directives which caused

;	   assembly errors in some cases.

;

;	-  Change the way MCE displays some messages to make it more standard.

;	   

;	-  MCE.DOC is upgraded to the latest version.

;

; +-------------------------------------------------------------------------+

;

;	=============================================

;	Notes on VERSION V4.25   from  SEPTEMBER 1991

;	=============================================

;

;   Version V4.25 has the following new features : (since V4.24)

;

;	- Some functions up to now available via CTRL-keys are now also

;	  available on Keypad and function keys :

;	   o  Execute command and leave FIFO pointer  <CTRL/X>  <KP3>

;	   o  Save command without executing          <CTRL/N>  <PF1><ENTER>

;	   o  Detach for 10 seconds                   <CTRL/T>  <KP4>

;	   o  Suspend MCE                             <CTRL/P>  <PF1><KP4>

;	   o  Toggle Insert/Overstrike                <CTRL/A>  <F14>

;

;	- "MCE LOCK" locks the terminal with a password.

;

;	- MCE.DOC is upgraded to the latest version.

;

; +-------------------------------------------------------------------------+

;

;	==========================================

;	Notes on VERSION V4.24   from  August 1990

;	==========================================

;

;   Version V4.24 has the following new features : (since V4.23)

;

;	- <CTRL/P> now "pauses" MCE via a Suspend directive.

;	  To reactivate MCE give the MCR or DCL "RESUME" command.

;	  The idea came from Jim Bostwick, Cargill Inc., Minneapolis, MN, USA.

;

;       - On a VT4+ terminal it is possible to use <F1>..<F5> as normal 

;	  function keys. MCE enables you to define those keys too.

;

;       - The detection of HT: terminals ( CP/RSX ) inserted in V4.23

;	  is taken out because CP/RSX has no problems with it.

;

;	- The I&D space question in MCEBLD was removed in V4.23 because

;	  I&D space gave some problems with CP/RSX. The problem was not

;	  in MCE but in the INSTALL task of CP/RSX. The question is back

;	  again but I&D space with MCE does not give you much anyway. 

;

;	- The combination of a build in default for INSERT/OVERSTRIKE 

;	  with an MCE Command specifying the same default did result in

;	  staying in the last mode activated by <CTRL/A>.

;	  This bug is fixed now.

;

;	- MCE without multiple CLI support did not display the default

;	  prompt. This bug is fixed now.

;

;	- The addition "VT2" and "TDV" to the MCE intro. and version

;	  message is deleted.

;

;	- MCE.DOC is upgraded to the latest version.

;

;	============================================

;	Notes on VERSION V4.23    from  January 1990

;	============================================

;

; Version V4.23 has the following new features : (since V4.22a)

;

;

;       - Now MCE detects HT: terminals ( CP/RSX ) and handles

;         them in the same way as RT: terminals.

;

;       - Statuslines are now reverse video until position 80.

;

;    	- NEW Internal command : "MCE USPRompt <userprompt>"

;	  This enables the user to specify his/her own prompt.

;    	  "MCE USPRompt" without an argument clears the userprompt.

;	  The normal prompt is then re-enabled.

;	  The idea and some of the code came from mr. Luka Sekolec

;	  from the Paul Scherrer Institute in Switserland.

;

;	- The keypad keys <UNDCHR>, <UNDWRD> and <UNDLIN> work the

;	  same as in EDT.

;

;	- The I&D space question in MCEBLD has been removed because

;	  I&D space gave some problems with CP/RSX. I&D space with MCE

;	  did not gave you much anyway. Feel free to add the /ID yourself

;	  in MCETKB.CMD and build again with "@MCEBLD LINK"

;

;	- There is some conditional code in MCE.MAC and MCEBLD.CMD

;	  to use with P/OS ( PRO/350 etc. ). This code is not tested

;	  and not complete so don't use it unless you want to help

;	  the author with this development.

;

;	- There still was a problem with default and named directories.

;	  I hope this is solved now. The problem was to get it working

;         under all conditions under RSX11-M and RSX11-M+.

;

;	- MCE.DOC is upgraded to the latest version.

;





;	============================================

;	Notes on VERSION V4.22a from  September 1989

;	============================================

;

; Version V4.22a has the following bug fixed : (since V4.22)

;

;	- In the latest RSX version the routine .WDFDR returns with

;	  the carrybit set. Older versions did not.

;	  This resulted in problems with "SET DEF"

;

;	=========================================

;	Notes on VERSION V4.22 from  October 1988

;	==========================================

;

; Version V4.22 has the following new features : (since V4.21c)

;

;	- Rearranged the whole program to make it more readable ( I Hope )

;

;    	- NEW Internal command : "MCE ECHO on/off"

;	  When on MCE echoes command lines to TI:. This is useful in 

;	  INIT-files to display messages etc. ( see example below )

;

;    	- NEW Internal command : "MCE PROMpt on/off"

;	  Switches extended prompt on/off.

;	  The default setting can be specified at MCE build time.

;

;    	- NEW Internal command : "MCE OVERstrike on/off"

;	  When on MCE goes back to OVERSTRIKE mode when prompting for a new

;	  command. The default setting can be specified at MCE build time.

;	  When "ON" : Auto-insert mode is switched off

;    	  "MCE INSErt ON" Switches Auto-Overstrike mode off.

;

;	- Changed the definition of compound command lines. Now The "&" MUST

;	  be preceded by at least one space. This is done to let commands

;	  as "PIP /TD&/LI" still work.

;

;	- Changed the lay-out of the translation buffer print-out so that

;	  it is more "readable"

;

;	- Command definitions don't have to end with a space character

;	  to append more text.

;	  In older versions with "? := HELP" defined "? PIP" resulted in

;	  "HELPPIP". This was solved by defining "? := HELP ".

;	  Now this is not needed anymore.

;

;	- All commands may be preceded by and contain more than one TAB

;	  and/or spaces. This means that e.g. command definitions can be

;	  made more "free-style" instead of the fixed format of " := "

;	  ( exactly one space before and after the ":=" )

;	  This is useful in init-files. The lay-out of these files can be

;	  made more "readable" now. Comments are ( and were already ) possible

;	  behind "!" for this is the comment character for CLIs.

;

;

;	  Example of an init-file:

;

;		!

;		!	LB:[1,2]MCEINI.MCR

;		!

;			MCE   STATUS   ON

;			MCE   SVINTERN OFF

;		!

;			? 		:= HELP

;			AS*SEMBLE 	:= MAC @'P1'ASM

;			CO*PY 		:= PIP 'P2'/NV='P1'

;			D*IR 		:= DIR

;			FO 		:= FOR @'P1'FTN

;			F20 		:= CLR

;			LI*NK 		:= TKB @'P1'TKB

;			MO*VE 		:= PIP 'P2'/NV='P1' & PIP 'P1';0/DE/NM

;			RE*NAME 	:= PIP 'P2'='P1'/RE

;			R*UN 		:= RUN

;			BLD 		:= MAC @'P1'ASM & TKB @'P1'TKB

;		!

;		! MCR Commands .....

;		!

;			CLR		! Clear screen

;			MCE ECHO ON	! Echo on

;		!

;		! *WARNING* -- This is a test version of MCE. Please report

;		!	       any problems to the system manager.

;		!

;			MCE ECHO OFF	! Echo off

;			TIM		! Show time

;		!

;		! End of LB:[1,2]MCEINI.MCR

;		!

;

;       Bugs fixed :

;		- When UIC is changed MCE READ or MCE REPL still were reading

;		  the MCEINI-file from the old UIC. 

;		  This problem is fixed and works fine for M. For M+ with

;		  named directories unknown.  PLEASE REPORT !!!

;

;		- The releasenotes on V4.21c didn't mention that <GOLD><RESET>

;		  does the same as in EDT.

;

;		- A second <SELECT> or a <RESET> did not clear the inversed

;		  part of the command line directly.

;

;		- " BYE" or " LOG[out]" (note the space) where not processed

;		  well by MCE.  This is solved by removing all blanks from

;		  the commands.  ( see above )

;

; +-------------------------------------------------------------------------+

;

;	==========================================

;	Notes on VERSION V4.21c from  august  1988

;	==========================================

;

; Version V4.21c has the following new features : (since V4.21b)

;

;	- MCEBLD on a M+ system asks for I & D Space task

;

;	- <SELECT>, <REMOVE>, <INSERT-HERE> do the same as in EDT

;

;	- Same for <SELECT>, <CUT> and <PASTE> from keypad

;

;       - When the FIFO or the translationbuffer is listed the screen is

;	  cleared before displaying ( Only ANSI terminals )

;

;	- When starting MCE via a remote terminal (RT:) problems may occur

;	  if the local system is VMS with its command line editor enabled.

; 	  The way MCE acts when it detects if it was started via a remote

;	  terminal can be specified at build time. One of the following

;	  options can be selected :

;

;	  o  Give the following message:

;

;      		MCE -- ** WARNING ** Started on a Remote Terminal.

;             	       If your local system is OpenVMS with its command line 

;		       editor enabled please type "MCE EXIT"

;

;	  o  Give the following message and exit :

;

;		MCE -- Started on a Remote Terminal. Exiting .....

;

;	  o  Do nothing

;

;	- The defaults for STATUS ON/OFF, SVINT ON/OFF,  SVOLD ON/OFF and

;	  KEYPAD ON/OFF  can be changed at MCE build time.

;

;    	- NEW Internal command : "MCE INSErt on/off"

;	  When on MCE goes back to INSERT mode when prompting for a new

;	  command. The default setting can be specified at MCE build time.

;

;       Bugs fixed :

;		- Fixed the wrong parameter parsing when more than 1 space

;		  was between the parameters.

;               - Fixed the problem with MCE on remote (DecNet) terminals.

;		- Task without alternate CLI support did not handle VT52

;		  hold-screen mode correctly.

;		- Task without alternate CLI support did show if KEYPAD

;		  was ON in the extended prompt

;		- With compound command lines enabled a "&" as the last

;		  character on a line let MCE behave strange.

;

; +-------------------------------------------------------------------------+

;

;	==========================================

;	Notes on VERSION V4.21b from  June    1988

;	==========================================

;

; Version V4.21b has the following new features : (since V4.21a)

;

;       - When a command in a compound command line ( & used ) gives

;	  a non-successful exit status, MCE terminates the compound

;         command line there showing the exitstatus and the command that

;	  caused it.

;	- MCE now identifies its self with "MCE -- MCR-Command line editor "

;	  when no alternate CLI support was included.

;	- <CTRL/X> now executes a command leaving the FIFO pointer in

;	  position. <DOWN> than retrieves the next command in a sequence.

;

;       Bugs fixed :

;		- When the <HELP> key was never used, a second <NEXT-SCREEN>

;		  keystroke gave a "HEL - Unknown HELP qualifier" message.

;		- Only test for DCL's LOG[out] when alternate CLI support

;		  is included.

;		- Clear status line with MCE STAT OFF command.

;		- When saving of internal commands was disabled by an INIT

;		  file and the first "normal" command was an internal one

;		  it was saved leaving the FIFO-pointer corrupt.

;		- Starting MCE with a filespecification on the command line

;		  did not work.

;

; +-------------------------------------------------------------------------+

;

;	==========================================

;	Notes on VERSION V4.21a from  June    1988

;	==========================================

;

; Version V4.21a has the following new features : (since V4.2d)

;

;       - Changed Helpfile lay-out

;       - When Helpfunctionkey is used screen is cleared before display

;         of Help text ( Only ANSI terminals )

;       - <NEXT-SCREEN> and <PREV-SCREEN> on a VT2xx/VT3xx terminal display

;         next or previous Help page. ( Only works if helpfile and task

;         are generated together )

;	- When in DCL : Support LOG[out] ( same as BYE in MCR )

;       - Possible to disable the "+" , "-" and ":" characters

;         in MCE's prompt. That is : Use only CLI's prompt.

;         ( Idea from Eckart Meyer )

;       - MCE takes version number from .IDENT directive or TKB IDENT

;         option.

;       - Show "KEYP=no" in statusline when EDT-Keypad support is not

;         supported.

;

;       Bugs fixed :

;		- When in DCL the LOG[out] command caused MCE to exit with

;                 outstanding I/O and leaving the statusline on the screen.

;		- When in DCL and DCL was built without MCR as its catchall

;                 task the BYE command and the terminal Time-out only exited

;                 MCE leaving the user logged in.

;		- Moved some data between PSECTS ( RW & RO data )

;               - Fixed undefined references with no EDT-keypad support

;               - Fixed undefined references with no INIT-File support

;               - Fixed a problem in MCEBLD.CMD so that MCE now REALLY is

;                 built as a multi-user task when specified in the answer.

;

; +-------------------------------------------------------------------------+

;

;	=========================================

;	Notes on VERSION 4.2d from  may      1988

;	=========================================

;

; Version 4.2d has the following new features : (since V4.2c)

;

;	- Support for compound command lines; Use of the ampersand (&)

;	  sign in command definition. E.g.

;

;		STAT := TIM & DIR & ACT /ALL

;

;	  defines STAT as a sequence of CLI-commands that are executed

;	  one after another. MCE waits for completion of one command

;	  before activating the next. Only completion of the last

;	  command depends on the WAITFL-status.

;

;	  Support for compound command lines was written by:

;						John Bovenlander

;						Erasmus University Rotterdam

;

;	- Support for two different kind of helpfiles (HELP MCE or HELP /MCE)

;         ( Idea from W. Uelpenich )

;

; +-------------------------------------------------------------------------+

;

;	=========================================

;	Notes on VERSION 4.2c from  April   1988

;	=========================================

;

; Version 4.2c has the following new features : (since V4.2b)

;

;	Bugs fixed :

;		- Don't support STAT ON/OFF with non ANSI terminal

;		- Don't clear scrolling region with non ANSI terminal

;		- Don't clear statusline when there is none

;		- Fix problem with internal commands from init files:

;		  For every command one entry in the FIFO was flushed

;

; +-------------------------------------------------------------------------+

;

;	=========================================

;	Notes on VERSION 4.2b from  February 1988

;	=========================================

;

; Version 4.2b has the following new features : (since V4.2a)

;

;	Bugs fixed :

;		- Fixed the undefined reference when building MCE

;		  with no statusline support

;               - With statusline off and time-outsupport included

;		  every minute the statusline appeared on the screen

;

; +-------------------------------------------------------------------------+

;

;	=======================================

;	Notes on VERSION 4.2a from  December-87

;	=======================================

;

; Version 4.2a has the following new features : (since V4.1a)

;

;

;	- <FIND>   : Same as <PF2> (Recall)

;

;

;	- <TAB>    : Moves cursor 1 "word" to the left

;		     or when at EOL, moves cursor to BOL

;

;	- Control-keys can be defined as in  +>^X := TIM

;	     +><CRTL/X>   Gives the time of day than.

;

;	- Took some functions from "CLE", a program originally from the

;	  same source which followed an other evolution line:

;  	  - <CTRL/V> : Deletes character at cursor (=<CTRL/D> in CLE)

;  	  - <CTRL/K> : Deletes from cursor to end of line

;  	  - <CTRL/C> : Clears edit buffer

;  	  - <CTRL/?> : Gives HELP

;

;  	- <CTRL/W> : Deletes word right at cursor

;

;    	- NEW Internal commands :

;

;		"MCE CLEAr"         FIFO will be cleared

;		"MCE KEYPad on"     Enable  KEYPAD Functions

;		"MCE KEYPad off"    Disable KEYPAD Functions

;		"MCE STATus"        Display status line (snapshot)

;		"MCE STATus on"     Display status line cont.

;		"MCE STATus off"    Stop statusline display

;		"MCE SVINtern on"   Commands starting with "MCE" are saved

;		"MCE SVINtern off"  Commands starting with "MCE" are not saved

;		"MCE SVOLd on"      Cmd's retrieved and not edited are saved

;		"MCE SVOLd off"     Cmd's retrieved and not edited are not saved

;		"MCE VERSion"       Show MCE Version

;

;	- Statusline support

;	  line 24 on a ANSI CRT terminal can be used as a statusline

;	  The line displays the following :





;

; MCE-V4.2a  FIFO:list/23/16/00  CMSZ:04  KEYP:on SVINT:off SVOLD:on  TMO:xxx

;      |            |   |  |  |       |       |        |      |         |

;      |            |   |  |  |       |       |        |      |         v

;      |            |   |  |  |       |       |        |      | Time-out time

;      |            |   |  |  |       |       |        |      | in minutes or

;      |            |   |  |  |       |       |        |      |   "NO"

;      |            |   |  |  |       |       |        |      v

;      |            |   |  |  |       |       |        |      Save old cmds

;      |            |   |  |  |       |       |        |      "ON" or "OFF"

;      |            |   |  |  |       |       |        |

;      |            |   |  |  |       |       |        +-->   Save intern cmds

;      |            |   |  |  |       |       |               "ON" or "OFF"

;      |            |   |  |  |       |       |

;      |            |   |  |  |       |       +-----> Keypad editing

;      |            |   |  |  |       |               "ON" or "OFF"

;      |            |   |  |  |       |

;      |            |   |  |  |       +----->  Minimal size of command line

;      |            |   |  |  |

;      |            |   |  |  +----->  # of current cmdline from FIFO

;      |            |   |  +-------->  # of cmdlines in FIFO

;      |            |   +----------->  Maximum # of cmdlines in FIFO

;      |            +--------------->  FIFO is a "LIST" or a "RING"

;      |

;      +-----------------> MCE Version

;

;	- KEYPAD Functions VT1xx / VT2xx / VT3xx :

;

;	 +--------+--------+--------+--------+

;	 |////////|        |        |        |

;	 |//GOLD//| KPHELP | RECALL | DELLIN |

;	 |////////|        |        |        |

;	 +--------+--------+--------+--------+

;	 |        | SHOCMD | SHOFIF |        |

;	 | TRANSL | ------ | ------ | DELWRD |

;	 |        |//VERS//|//FREE//|        |

;	 +--------+--------+--------+--------+

;	 |        |        |        |        |

;	 |        |        |        | DELCHR |

;	 |        |        |        |        |

;	 +--------+--------+--------+--------+

;	 |        |  EOL   |        |        |

;	 |  WORD  | ------ |        |        |

;	 |        |/DELLIN/|        |        |

;	 +--------+--------+--------+  ENTER |

;	 |     BEGLINE     |        |        |

;	 | --------------- |        |        |

;	 |/////CLRLINE/////|        |        |

;	 +-----------------+--------+--------+

;

;

;	Bugs fixed :

;		- MCE READ and MCE REPLAce did not function well when

;		  LB:[1,2]MCEINI.cli was not present

;		- Changed conditional "HLPTXT" to unconditional

;               - Wait for MCR/DCL commands from an initfile

;               - VT2xx/VT3xx now also work with 8-bit support on a

;		  7 or 8-bit line.

;		- MCE FISZ Command occasionally gave error message

;





;

;	====================================

;	Notes on VERSION 4.1a from 14-cot-87

;	====================================

;

; Version 4.1a has the following new features :				;JHA09

;

;  	- <CTRL/N> : Save command line without executing

;	- An other <PF2> keystroke searches further back in the FIFO

;	  for a command that matches the definition

;	- <PF2> Recall search strings are saved until a new one has been

;	  typed in.

;    	- NEW Internal commands :

;		"MCE RING"         FIFO will be handled as a RING-buffer

;		"MCE LIST"	   FIFO is a LIST ; UP- and DOWN-Arrow keys

;				   stop at start and end.

;				   ( like in older versions )

;		"MCE FREE"	   Gives MCE Pool information

;		"MCE CHAIn"	   Synonym for READ for use in initfiles

; 	        "MCE FISZ n"	   Changes the default FIFO-size to n

; 	        "MCE CMSZ n"	   Changes the default command length

;				   to be saved to n

;	- Improved error messages

;	- MCE READ or MCE REPLAce  with only a space for filename take only

;	  SY:MCEINI.cli as init file; without anything both LB:[1,2] and

;	  SY: will be read.

;	- Named directories always included (No problem with RSX11M)

;	- Comment and code improvements





;

;	===================================

;	Notes on VERSION 4.0  from 1-Sep-87

;	===================================

;

; Merged two versions, one from DECUS swissbox and one from BBC Rotterdam

; Both from the same first author :

;

; +--------------------------------------------------------------------------+

; |                                                                          |

; |   			D. Sponza (YU)  06-OCT-81			     |

; |									     |

; |     With the following modifications :			             |

; |                                                                          |

; | 	     -tf-            				18-Nov-81 ... Sep-82 |

; |          Rolle / Paranor:                                                |

; |		VMS V4.0 compatibility introduced	20-Sep-84            |

; |                                                                          |

; +--------------------------------------------------------------------------+

;

;

; Version 4.0 has the following new features :

;

;	- User friendly installation with MCEBLD.CMD

;	- VT2xx	function keys support					VT2XX

;	- TDV2xx function keys support					TDV2XX

;	- Alternate CLI support						CLISUP

;	- Named directory support

;	- Startup and end messages optional				SILENT

;	- MCEINI.xxx file support					FILE

;         First the systemwide LB:[1,2]MCEINI.xxx is read, then

;	  the file SY:MCEINI.xxx

;	    xxx = "CMD" when no alternate CLI support is selected

;           xxx = "NAME_OF_CLI" when alternate CLI support is sel.

;	  Alternate initfile support by starting with :

;	    "MCE FILE_SPEC"

;	- Terminal time-out support : Logs out after no action		TMO0,

;	  within a given time (TT0: only exits MCE)			TMOTIM

;	- "Execute No_Wait" with ESC/ESC or VT2xx "DO" key

;	- Command definition abbreviation (as in VMS)

;	    DIR*ECTORY := PIP 'P1'/LI

;	- <PF2> has a RECALL function:

;	    D<PF2> will recall the latest command starting with "D"

;	- VT2xx HELP key gives HELP MCE

;    	- Internal commands :

; 	        "MCE PURGe"	           Deletes definitions

;		"MCE READ FILE_SPEC" 	   Adds definitions from file

;		"MCE REPLace FILE_SPEC"    Combines PURG and READ

; 	        "MCE EXIT	           Exits MCE

;	- Dynamic prompt ( Takes prompt from current CLI )

;	- Make MCE visible to the user by adding A "+" or "-"

;	  (depending on insert or overstrike mode) before the prompt

;	- Holdscreen mode support (VT52)

;	- CTRL-T : Detach TI: for 10 seconds

;	- Split in I and D, RW and RO psects

;

;

; Removed all audit trails, but here follows the edit

; history of both versions:

;

; +-------------------------------------------------------------------------+

;

; Swissbox version:

; ================

;

;	Rolle / Paranor: 				20-Sep-84

;		"PF2" as RECALL				06-Mar-85

;		Allow translations with "*"		29-Apr-85

;	Huber/Muenchen: LB:[1,2] Instead SY:[1,2]			JSH001

;            Volker C. Huck, THD: support for VT2xx terminals           VCH001

;		E. Meyer (IfN)	18-Dec-85 Change prompt to CLI default  IFN001

;		E. Meyer (IfN)	06-Feb-87 Use GDIR$ to set defDir       IFN001

;		E. Meyer (IfN) 	18-Feb-87 Merge my previous changes,    IFN001

;		  which where originally for CLE, into MCE.             IFN001

;		  Make some improvements:                               IFN001

;		  See options SILENT,CLISUP,NAMDIR.                     IFN001

;		  separate R/W and R/O code for /MU task.               IFN001

;    March'87  J.S.Huber/MPI Muenchen: V3.0C

;            o file-type of MCEINI. according to CLI                    JSH002

;            o check for EXIT/BYE AFTER translation                     JSH003

;              General handling of MCE internal commands 'MCE ...'      JSH003

;              'EXIT' changed to 'MCE EXIT'                             JSH003

;            o use startup file specification in MCR command            JSH004

;            o correct some mess-up between                             JSH005

;              startup code mentioned to be unconditional, and code     JSH005

;              conditionalized on symbol FILE,                          JSH005

;              introduced by several previous modifications.            JSH005

;           o  'MCE READ,REPL,PURG' commands implemented                JSH006

;           o  Correct cursor positioning for Begin of line (BS)        JSH007

;           o  Change IFN001's use of GDIR$/SDIR$                       JSH008

;	Volker Huck, Inst. fuer Kernphysik, THD, March87, V3.0D		VCH002

;	    Add a blank to the prompt. This makes MCE 'visible'		VCH002

;	    to the user. Make RECALL also work on one line		VCH002

;	    instead of using a new line for each 'CURSOR UP'		VCH002

;	    with MCR (Make each prompt start with <LF><CR> if		VCH002

;	    reverse order). Make 'Add blank to prompt'			VCH002

;	    optional by setting 'ADDBLK'.		      		VCH002

;	    Change BYETXT to 'MCE EXIT' instead of 'EXIT'		VCH003

;    The modifications with the audit trails above are based on:

;            Revision     :    Dave Guerlet

;            Version      :    V3.0

;            Function     :    Supports MCR and DCL editing

;            Date         :    15-Jun-1986

;

; +-------------------------------------------------------------------------+

;

; BBC Rotterdam version

; =====================

;       Paul van Randwijk BBC Mannheim

; 		Function on other CLI 			24-Jul-86	PVR01

;       Hans Hamakers     BBC Rotterdam

;		Added dynamic prompt and VT2xx supp	29-Jul-86	JHA01

;		Fix bug with only spaces on a line	14-Oct-86	JHA02

;		Simplify function on other CLI  	14-Jan-87	JHA03

;		Enable nonsaving of short commands	14-Jan-87	JHA04

;		Add support for system wide MCESYS.MCE	21-Apr-87	JHA05

;	Paul van Randwijk BBC Mannheim

;		Add Tandberg TDV2230 Support		28-Apr-87	PVR02

;	John Bovenlander Erasmus university Rotterdam

;		Add lowercase command definitions	01-May-87	JHB01

;		Change HELP MCE to HELP ASV MCE		01-May-87	JHB02

;	Hans Hamakers     BBC Rotterdam

;		Merged two versions			19-Jun-87	JHA06

;		Fixed VT2xx <LF> bug			22-Jun-87	JHA07

;		Fixed TDV2XX bug			28-JuL-87	JHA08

;