c-READ ME IMP2Z ZZ0(IMP2Z11 FORFhIMP2Z44 COMIIMP2Z45 COMQiZOSIMP ZZXY , ======= IMP2Z11 ======= An IMP-to-ZCPR shell escape program for IMP in a ZCPR3 or v3.3 environment, adapted by Fred Haines from Bruce Morgen and Jay Sage's MEX+2Z IMP2Z gives the IMP command 'CPM' a capability like the SHELL escape command of the 16-bit version of MEX+. To use IMP2Z: 1) Set the real IMP.COM file so that it will not be invoked by a command of the form "IMP". This can be done by renaming it (e.g., to REALIMP) or by putting it in a directory that is not along the search path. 2) Create a standalone or ARUNZ alias called IMP with a script such as either of the following: REALIMP;IMP2Z (for renamed IMP) DIR:IMP;IMP2Z (if IMP in DIR:) If you exit from IMP with the CPM command, IMP2Z runs and looks for the IMP command line left in memory. It scans for the CPM command, takes anything in the command after that, and puts it into the ZCPR3 command line with "IMP" after it so that the IMP alias will be run again after the other commands are finished. Thus, if you leave IMP with the command "CPM CRUNCH FN.FT", the file will be crunched and then you will return to IMP. If you are using an ARUNZ alias (or you want to use a name other than IMP), you can patch a string at the beginning of IMP2Z. Just make sure that you leave at least on byte of 00 after the command line. Replacing the string "IMP" with "ARUNZ IMP" or "CMDRUN IMP" will speed up command processing, as will the string with a leading space, " IMP", if you are using ZCPR v3.3. I have included two COM files in this library, one for IMP v2.44, the other for v2.45. The source file will assemble for IMP v2.44 if the V255 equate is set NO, for v2.45 if set YES. ====== ZOSIMP ====== This is a program that doesn't do a whole lot - it just changes several instances of the words CPM and CP/M in IMP.COM to ZOS - for Z Operating System. I know we don't have ZOS yet, but many of us don't have CPM any more either, and it's odd to have an exit command CPM to get out to a ZCPR system. This ZEX file will change both IMP.COM and IMP2Z.COM to use the word ZOS as an exit command in place of CPM. A word of caution: IMP is copyrighted by Irv Hoff, and you must not distribute any patched version of the program. You can apply this or any other patch to IMP for your personal use, and you can distribute this patch file freely, but please respect the author of IMP's copyright. This file creates two new programs, ZOSIMP.COM and ZOSIMP2Z.COM. You can either rename these or create a new alias or command line in ALIAS.CMD: $Zzosimp.com;zosimp2z The "$Z" is the ARUNZ (CMDRUN) parameter for allowing the command line to be recursive. If you are using an alias rather than ARUNZ this won't work, but you can avoid the problem by not calling IMP from inside ZOSIMP, which is a pretty silly thing to do anyway. Put IMP.COM, IMP2Z.COM, and this file in the same directory, make sure you have Eric Gans's FINREP25.COM and ZEX.COM somewhere in the command search path, and issue this command: zex zosimp Several seconds later you'll have two new files in the directory, ZOSIMP.COM and ZOSIMP2Z.COM. That's all there is to it. You must however make the alterations to both IMP and IMP2Z if you wish the latter to work properly, as you can't have one of them using a ZOS command while the other is expecting to see a CPM command. Fred Haines Glendale LITTERA QBBS RCPM (818) 956-6164 vIMP2Z.Z80# bg9M$Pb h7pc2 9 0Q )eaX4c+2NC,2#An2hIJE, ܈arp7 i֫9cP@v @A8H\" p "Lxa"|% m-C%i--+1 Q7TxL.  5S$vUI&9J zv_1LUt <BV 9Ma f2δ׬oj. rCPvy%QF a Q4'|8Xl!aqtLkISQ0LamhU$ C`*OBR\aup)LY3ц&k OUg$ic"w}ao$RILmܐ$tfGljҩ ԑJ5`e p{!A঄ZdpFGJvoT!iSF6rL$i=o1 1.)dCxtglENKaDHUisxN'j"!F|+1ΫFXahxYVQqpIZ$(XU4nCnJAp` DE pi9ҡxUebpyhxЀlW (jxbplFknMєmG8I1, v(!cyFD]5KNzUF]mejѕ$,1Ucb乧 5ntBoyxRqa7BosӀ }-tC Ha8.@:M&pQ7-Nxc48Ma&?RqR (>g7w It.3afTa|`,`D./q1\R2F+^II .60摒QJZ0_w$@e1Վ Xg& `3pk}p"Sa2r!$9Fg hDD'#W2*Fb\$ĺ~I#遍)f  H E'@Оp P$$~ 'BpAE AL$B(Q $2 \I*( η Sjtˡ*7EU;@Uä)Dz*#쑐-Echb ɠY,@tNj1IM- :50Yw_ rWItMRI RBFh_2BB53CfFPc7R. [(p`z&0^y~SIt*scJW0J)R'$lsP>F>gJNXhU#̧hH.Prm"dtL?]WҢĥ#LSL%%H [tmD9X]^vh>ь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ze5rn\睌 .`"0#'4"_&&Bf<$LΎL*1N*2 *##//A-no|h'Ǩ>0CiCF2CJu֔XQ:o 2ǧ@ |ZCPR3 utility which gives IMP v2.44 or v2.55 a shell escape capacity like the SHELL command in MEX+ for MS-DOS. Adapted from MEX+2Z by Bruce Morgen and Jay Sage. Library also contains ZOSIMP, a cosmetic patch to IMP which gives you a ZOS (Z Operating System) command in place of the CPM command. Fred Haines, 3 June 1987 !Z3ENV;CMDRUN IMPs1* ͅ:–* Hx Ky G!H>0MF#(># !HN #! !H  {/{CPM For ZCPR3 only (Z3ENV not found)!$ IMP Version 2.44 image not found in memory!$ Defect in IMP command line!$ZCPR3 command line error!$ IMP2Z Version 1.1 [ZSIG] For IMP Version 2.44, gives a virtual shell capability to the exit command CPM. Any tail after the IMP command "CPM" will be detected by IMP2Z and run as a command by ZCPR3. Then IMP will be reinvoked. To use IMP2Z you must make an alias named IMP with a script such as "REALIMP;IMP2Z", where the real IMP.COM file has been renamed (e.g., to REALIMP) or kept off the path and invoked with an explicit DIR: prefix.$^G~# q~;//>;;~#B/6^s#r~#P=*^#V*~#fo~#fo~"*}ʗ$.ɛ!Z3ENV;CMDRUN IMPs1* ͅ:–* Ix Ky G!I>0MF#(># !IN #! !I  {/{CPM For ZCPR3 only (Z3ENV not found)!$ IMP Version 2.55 image not found in memory!$ Defect in IMP command line!$ZCPR3 command line error!$ IMP2Z Version 1.1 [ZSIG] For IMP Version 2.55, gives a virtual shell capability to the exit command CPM. Any tail after the IMP command "CPM" will be detected by IMP2Z and run as a command by ZCPR3. Then IMP will be reinvoked. To use IMP2Z you must make an alias named IMP with a script such as "REALIMP;IMP2Z", where the real IMP.COM file has been renamed (e.g., to REALIMP) or kept off the path and invoked with an explicit DIR: prefix.$^G~# q~;//>;;~#B/6^s#r~#P=*^#V*~#fo~#fo~"*}ʗ$.ɛvZOSIMP.ZEX# /@P9# t -di@\Z" Ёt4Q!e2 IsBH$N#I@2o IAPDl< C|':WAHl2 d5NvCn3̄3)&kюo3VüQ! Ct(/Lx :Y1% `g7c)\  fylج N*