:: Edit V4.1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Edit is a line-based editor written for use in communications software. It's excellent for a bulletin board -- simply change the GET statements to your modem driver's GET statement, or replace lines 1000-1999 with your telecommunication driver's INPUT routine. Edit is slow when used in BASIC as more than a simple word processor, or when used to process large files. In compiled form, or using machine language routines to supplement its input and output commands, it's quick. It's a line-based editor with stacked commands and lots of neat options, included in the help files. You can add help files to Edit's list by simply creating a text file called H.EDIT.. Then, when a user types "/HELP/" they will be shown that file. Again, you should supplement your machine language file reading command in order to make it work with interrupts and so on. Edit can be used as an "outside" command for your BBS. You can run EDIT from your program after modifying the QUIT and EXIT commands in the EDIT program. Have Edit write its contents to /RAM/ -- or some pathname -- and then RUN the BBS at a given line number. Make sure you use the ProDOS STORE command to save your current variables to /RAM/ before you run Edit; then load them again afterwards and rename the file whatever you want, or copy it into the desired directory and filename. Main program Edit =============================== ============================= POKE line to return to into memory at free location STORE /RAM/VARIABLES RUN EDIT =====================> [Edit text file] /EXIT (or /QUIT) [Write /RAM/TEMPORARY] RESTORE /RAM/VARIABLES <====== RUN Mainprogram @ Line# COPY /RAM/TEMPORARY, /MESSAGES/M001 [You'll need a COPY command -- there was a great one floating around the net a few weeks back] I don't know if this is any good to you, nor do I make any promises. I've included some help files on things like commands and keys, which you may want to use or modify in your help section. ----------------------------------------------------------------- As always, this software is public domain. You may not charge for it, nor may you distribute it without this documentation. You may alter the source code providing you leave in all remark statements. I can be reached at MLARKEN@AC.DAL.CA Markum Larken April 2, 1990