fischer-robert@CS.YALE.EDU (Robert Fischer) (02/15/91)
Pfxpak, the program which packs executables, is great except that you can't use it easily in a shell script because it makes you press <RETURN> every time it runs. To disable this "Feature", you need to make only a very minor change: 1. Presumably, PFXPAK is packed with itself. So unpack it with the command line: pfxpak -u pfxpak.ttp pfxu.ttp 2. Starting at byte 520 ($208 in HEX) in pfxu.ttp, you'll find the following in a HEX dump: 6100 0308 3F3C 0001 4E41 3. Change the 4E41 at byte 528 ($210 in HEX) to 4E71. 4. Run PFXPAK and verify that it doesn't make you press <RETURN>! 5. Repack PFXPAK, if you wish, with the command line: pfxpak pfxu.ttp pfxpak.ttp This patch disables the GEMDOS call which makes you press a key and replaces the TRAP #1 instruction with a NOP instruction. --- Bob fischer-robert@cs.yale.edu -- | Robert Fischer | | Arpanet: <fischer-robert@cs.yale.edu> |