!pr0
S-C CAPTURE -- A Modem Program for the Word Processor..........
                                                     Jim Church

If you like to sign on to the The Source or CompuServe or some such system, you should get a copy of the S-C Word Processor.  I like to receive the programs from CALL-A.P.P.L.E. magazine by modem and the S-C Word Processor really makes that easy.

What you do is quite simple.  Just put a copy of B.SC.CAPTURE on the disk with the Word Processor.  Then, whenever you want to capture a session with a remote system, you can choose D from the word processor menu and BLOAD B.SC.CAPTURE.  After the routine is loaded, return to the main menu and choose L to load a sign-on file containing the commands necessary to dial the number you want to call.  Here is a sample sign-on file, which I use to call up The Source. 

       !pr2
       Q_*367-6021      (The Q_ is a Control-Q)
       !pr768

Now choose P from the menu, and your word processor will start dialing the phone!  From here on you just operate the remote system as usual.  The top line of the screen will show the address where characters are being stored, and the rest of the screen shows the text you are entering and receiving.

When you want to quit, just type a Control Z to hang up your phone and return to the word processor's main menu.  Select E and you will see a copy of everything that transpired.  Now you can edit the text however you want to, and save it all to your disk.

The !pr768 command above is intended to provide a hook for a user-written printer driver.  It sets the output hook at $36-37 to $300.  The next time the Word Processor tries to output a character, it wakes up the capture routine, which completely takes over until it is turned off with a Control Z.  This is slightly abusing the !pr directive, so if you follow this example for other routines, be sure to have lines like 1570-1590 at the beginning of your routine, and exit to $803 at the end, so the Word Processor can reconnect itself correctly.

That's all there is to it.  You could probably do a lot to "smarten up" this dumb terminal program.  The way I have done it, it recognizes a Control Z from the keyboard and filters out incoming Control J's.  That's all it does.  Probably it should filter out Control G too, at the very least.  My intention is to demonstrate the simple fact that the word processor is a very versatile creature.

This works, the way it is, with the D. C. Hayes Micromodem II in Slot 2.  If your modem is in a different slot, just change line 1260 to show the correct slot number.
