home *** CD-ROM | disk | FTP | other *** search
- PCPIMP is a wonderful program, but for Z users it's a bit thickáì
- about finding its overlay or chaining to the comm program. It looksáì
- for them only in the directory from which it was evoked, which makesáì
- it impossible to run IMP and IMP2Z from ALIAS.CMD. Here's how Iáì
- solved the problem:
- I use an integrated SETDRU to force PCPIMP to look for PCPIMP.DATáì
- in the public A1:OVERLAYS directory and for IMP.COM in A0:BASE (whereáì
- PCPIMP.COM is also located). I then took the IMP command line out of ì
- A15:ALIAS.CMD and used SALIAS to recreate it as a standalone,áì
- recursive alias called IMP.COM in the A0:BASE directory:
-
- ZOSIMP T;ZOSIMP2Z
-
- Be sure to put SALIAS in recursive mode for this. ZOSIMP is nothingáì
- but IMP.COM renamed in order to work with IMP2Z. I can now calláì
- PCPIMP from any directory in my system and have the shell feature ofáì
- IMP2Z as well.
- I start things from ZFILER with the macro command line:
-
- SHSET PCPIMP;CMD
-
- which makes PCPIMP into a shell. IMP2Z (renamed ZOSIMP2Z.COM) causesáì
- IMP (ZOSIMP) to behave like a shell if I duck out to locate or writeáì
- a file, and PCPIMP itself is now a shell, reinvoking itself if I exitáì
- from IMP with CPM (or ZOS) without a multiple command line. If Iáì
- decide to exit from PCPIMP at that point rather than make a newáì
- connection, I get the CMD prompt, which allows me to exit with theáì
- command SHCTRL P(OP). I use an ALIAS.CMD line: POP shctrl p. If Iáì
- have second thoughts and want to reinvoke PCPIMP, a simple CR will doáì
- it.
- Incidentally, for local calls, I use another ZF macro which isáì
- just:
-
- IMP
-
- This calls the recursive alias IMP.COM in A0:BASE and proceeds
- normally. The T in the alias command line cuts out the IMP sign-on
- and command line, which is a bit unsettling at first, but I got used
- to it quickly enough.