This is ProTERM Version 3.1 Unattended Mode Press "?" (question-mark) at the command prompt for a complete list of commands. Use the "L"og command to select an appropriate directory before attempting to transfer files. For Immediate Release: May 1, 1993 -- List Revised 5/10/93 The Winner of Two Awards of Excellence for "Best Apple II Software" Just Got Better! ProTERM Feaver Is Terminal! ProTERM Features + 3.1 Revisions & Additions NEW = An ALL New Feature Rev = A Revised (changed) Feature GENERAL ~~~~~~~ <> State of the art pull-down and pop-up menus, windows, HotKeys and optional mouse support. Full keyboard support, extended keyboards and/or mouse devices. Emulating terminals with function keys is a snap when using extended keyboards. <> Full Dialing List with many changeable parameters for each host System including: Name, Phone Number, Baud Rate, Data Format, Duplex, Flow Control, Emulation, Per Min/Hour Cost, Backspace, System Macros and many others. The Delete and Backspace keys are programmable as needed for each individual host system. <> Easy File Selection System allows files to be selected quickly with a minimum of keystrokes. Alphabetized files in directories are easy to find. Typing the first few characters finds files automatically. Novice users can easily navigate through ProDOS directories using ProTERM. <> Full utilization of ProDOS compatible clocks to display date & time, time connected, connect costs and protocol performance. Connect costs can be displayed in real time and/or saved for later reference. <> ProDOS based and not copy protected. <> Complete disk utilities include: Copy, Delete, and Rename Files (or directories). Catalog, Print Files, View Files, Set File Info, Create Directories and Format Disks. Set File Info allows a file's filetype to be changed, making it easy to work with files from non-Apple hosts. <> Screen "snapshots" can be sent to the printer from anywhere within ProTERM. <> HotKeys feature can be turned on allowing single keystroke commands. <> Preference window allows extensive customizing of program parameters and protocol options. One keypress and your personalized selections become your personal defaults. <> Ease of use even when starting. ProTERM master disks are designed to automatically copy themselves to a working disk when booted. Even the casual user can easily make a copy of the disk to work with and always keep the original as the backup. <> ProTERM jumped ahead in engineering design vastly increasing new hardware support, including new modem, clock keyboard, mouse and memory support. To do this, it was necessary to leave older technology behind. ProTERM does not support Hayes Micro-modem, Novation Apple-Cat or 6850 serial cards. <> Online support: InTrec BBS, CompuServe, Delphi, GEnie and special introductory packets for these systems are included as part of the ProTERM package. NEW <> A step-by-step introduction "JUMP START Cheat Sheet" is included to assist even the newest user in getting a quick start in telecommunications. NEW <> A revised and re-written user manual has expanded to 430 pages and over 50 illustrations. The manual is filled with history, tips, self helping examples and clear explanations for the novice, casual user and expert. NEW <> Adjustable RAM size preference controls amount of memory ProTERM can use when booted. memory management utilizes all of the available system memory (even "Slinky" style RAM cards). Bank Switched and slinky RAM, can be partitioned between roTERM and RAM disk use. NEW <> The MenuBar shows the current status and application use within ProTERM: Online, Offline, Editor or Scrollback. NEW <> The cursor position is maintained when exiting & re-entering Scrollback. When the contents of Scrollback are changed (via data coming into terminal mode), the cursor position resets to the end of the Scrollback file. NEW <> The Find/Replace strings entered by the user, are saved between entry/exit of the Scrollback and the Editor. NEW <> The Print command accepts batch filename selection. If multiple files are printed, the documents can be printed as one long file or as separate files by setting Eject Final Page to the on position. NEW <> Within the file selector: COMMAND-Left/Right-ARROWChange to the prev/next online vol. COMMAND-Up-ARROWMove to the Parent directory. COMMAND-Down-ARROWOpen a directory. (These commands are Macintosh conventions.) REV <> Screen Saver can be set to activate automatically and darken the screen after 1-30 minutes of non-activity. NEW <> A Mouse-Down on the Date, Time, or Label in the Status-Bar automatically executes a Global Macro to perform user-defined functions. NEW <> COMMAND-PERIOD is equivalent to pressing the ESCAPE key. REV <> Dramatic improvements in disk I/O error handling. REV <> Pathnames allow the convention of drive location (/5,1/FILE.NAME - /6,2/MY.FILE etc.) entries. REV <> The Catalog command displays as many files as can be loaded into memory either alphabetically or as they are listed in the directory. NEW <> View File command, available from terminal mode or from within the Editor, views text files from disk and displays location within the text by numbered screens and character (byte). A Goto button allows quick access to the screen number of choice. Choosing the "Edit" button inserts data at the current Editor cursor position. NEW <> A printer init string is located in the install window for specialized printer use. REV <> General System Support - - Baud Rate Support: 110 to 19200, (38400 and 57,600 with Apple IIGS modem port). - Data Format Support: 7E1, 7O1, 8N1, 8N2, 7E2 & 7O2. - Duplex: Full/Half. - Flow Control: Software or Hardware. NEW <> Compatible with Textalker-GS for sight impaired users. REV <> Unattended Operation allows secure remote access to your computer. Password protection keeps you in control as guests call your computer and exchange files. NEW <> Text entry fields allow "HARD-SPACE" characters to be entered for use in searches and reply-mode formatting. REV <> While the Data Formats of 7E1, 7O1, 8N1 & 8N2 are more or less standard, the unusual, but occasionally requested formats or 7E2 and 7O2 are also supported by ProTERM. NEW <> A "Data Clicker" which ticks whenever a character is sent or received can be enabled via Macro pokes. NEW <> The parameters associated with Quick Dial are saved between different Quick Dial attempts (not between program runs). MACROS ~~~~~~ <> Each individual system dialing entry has ten 63-character system macros (each directly addressable from the keyboard). <> Global Macros remain resident while ProTERM is running and can be invoked by user-definable keys. Use Global Macros to create single-key equivalents or complex command sequences. <> Macro Files allow complex macro applications to be written and saved as individual files. Chaining between Macro Files limits macro complexity only by disk space. <> File I/O is available from macros with commands including: CREATE, DELETE, OPEN, CLOSE, PRINT, INPUT, GET, EOF, POSITION and APPEND. <> Multiple input and output device channels include: Modem Only, Console Only, Modem+Console, Disk, Printer and Editor. <> Both numeric and string variables are supported (numeric variables have 16-bit values.) Special system variables allow direct access to many ProTERM parameters. Indirect variable access allows use of simple arrays. <> All ProTERM commands can be used from macros. A simple syntax allows individual command parameters to be selected and options activated. The macros can "run" all ProTERM commands just as if the operator were present. <> Subroutines and compound and statement blocks support eight levels of nesting. CALL, EXIT, PUSH and POP command allow complete subroutine flexibility. <> Numeric functions: ASCII-VALUE, BINARY-AND, END-OF-FILE, EQUAL-TO, FILE-EXISTS, FILE-POSITION, GREATER-THAN, LESS-THAN, LOGICAL-AND, LOGICAL-NOT, LOGICAL-OR, LOGICAL-XOR, MINUS, MODEM-STATUS, PEEK-MEMORY, PARTIAL-STRING-MATCH, STRING-EQUAL, PLUS, RANDOM-NUMBER, STRING-LENGTH, SUBSTRING-LOCATION, and STRING-VALUE. <> String functions: ANSWERBACK-STRING, CHARACTER-STRING, CONCATENATION, DATE, DEFAULT-PATH, FORMAT-STRING, LEFT-STRING, MID-STRING, NUMERIC-STRING, RIGHT-STRING, PHONE-STRING, SYSTEM STRING, TIME, SCREEN-SCAN and UPPER-CASE. <> Control macro execution via IF-ELSE, WHILE and REPEAT-UNTIL looping constructs (with BREAK and CONTINUE statements.) IF-ELSE allows multiple condition tests with optional final ELSE. <> Label values can be assigned to and referenced through variables. <> Macros can be used in (and can access) both the Editor and Scrollback. A special macro command allows keystrokes to be passed to the Editor and Scrollback just as if they were being typed locally. <> AutoLearn Macros allow automatic logon without user intervention. Call a host once in AutoLearn mode and with a keystroke, subsequent logons are automatic and effortless. REV <> Improvements in the DO command parameter processing make it possible to write a Macro which works within the Install menus. REV <> Macro File memory management supports larger files. NEW <> The PRint command now works in the Editor and channel #6 can be used to insert (print) data directly in the Editor at the cursor position. NEW <> The 40 character filename limit of the DO command is increased to allow full 64 character filenames. NEW <> ProTERM always executes global Macro @@1 on startup. It then checks for a Macro File called PT3.STARTUP or a Dialing List entry named PTD.STARTUP. An application can pass the name of a Macro File or Dialing List entry via the PT3.SYSTEM program. NEW <> The DO command allows access of duplicate label names. NEW <> The Macro MIdstring command supports a length parameter. NEW <> The MEm Macro command accepts a hex string of data as a compact way to specify the contents of continuous memory locations. NEW <> The semicolon is used as a "comment" character. Any line with a leading Semicolon is "commented" out making text to the left of the Semicolon (end of the line) invisible. Large blocks of text are commented out when placed between "*" (asterisks). NEW <> and functions return the name and phone number of the current system. MODEM/DRIVERS ~~~~~~~~~~~~~ NEW <> The USR HST driver works with the "/" messages added. NEW <> When the ATDT dialing string is sent to the modem, it is truncated to the exact length. This assists compatibility problems with old modems. REV <> The PT3.CODE0 file is redesigned and condensed saving some disk space and allowing easier downloading of updated hardware install files as may be made available from the InTrec BBS from time to time. NEW <> Modem drivers: - Quality Computers Q-Modem 2400. - Boca Research 14.4Kbps Modem. - Prometheus ProModem 2400 Mini. NEW <> A single Apple IIGS Modem Port driver exhibits better performance under GS/OS and AppleTalk. PROTERM EDITOR ~~~~~~~~~~~~~~ <> ProTERM's Editor is a full word processor supporting both text and AppleWorks files. Create text documents offline then: Save, Print or Send text (either all or selected text) directly to a remote host system from the Editor. Special "filters" perform Case, Paragraph and Reply conversion. Also selectable text width, definable Tab stops and much more make the ProTERM Editor a powerful word processor especially when used with telecommunications. <> Character oriented text selection allows Cut & Paste and even ASCII file uploads directly from the Editor to a remote host. Paste Scrollback text directly to the ProTERM Editor and then edit, print or upload your reply to any host. <> The power of Dot Commands give complete formatting control. Documents are impressive, and easier to read when formatted with text justification, precise margin control, page numbering, headers, footers and more. ASCII uploads of documents with custom "on-the-fly" formatting is easy and enjoyable. <> Print Preview allows documents formatted with Dot Commands to be viewed in their final form before they are printed or uploaded. NEW <> Editor Reply Feature allows selected text to be prefixed with up to six custom reference characters. The preferred Reply format can be saved as a preference. NEW <> The Editor Ruler has a selectable preference and files can be saved with or without a Ruler. SCROLLBACK ~~~~~~~~~~ <> Scrollback saves all incoming text as it scrolls off the screen so it may be later read, searched, printed, saved to disk, clipped or edited while on or offline. Save long distance costs and access charges by doing your work offline. NEW <> Enter Scrollback (when offline) at the touch of an ARROW key. NEW <> The Find-Next command in Scrollback is COMMAND-G instead of COMMAND-N maintaining consistency with the ProTERM Editor and Macintosh conventions. NEW <> Saved Scrollback files can be opened, appending them to the end of files currently in Scrollback. SEND & RECEIVE ~~~~~~~~~~~~~~ <> File transfers are easy using the latest selection of protocols available for the Apple II, including: Xmodem & Ymodem (4K option), Zmodem and Kermit. ProTERM supports both file and batch modes, "on-the-fly" Binary II encoding and Zmodem resume/CRC-32. <> Protocol Status Window shows progress in bytes and "K" estimated transfer time, percent completed, current protocol options, current protocol status and number of files remaining to send. After a transfer has completed, a protocol statistics window can show the number of files transferred and the termination status. Systems with a clock show the start time, end time, characters per second and characters per minute. <> Autostart protocols allow hands-off download operations. Simply tell the remote host to start sending files via Zmodem or Kermit and ProTERM does the rest. It can actually detect the start of the transfer and will begin receiving the data without user intervention. NEW <> Editor Capture, Printer Capture and Receive ASCII allow their status bars to be hidden. REV <> Paste-to-Modem is improved with better pacing. When it sends a RETURN character, it uses the line delay parameter for the current system entry. NEW <> Global Macros @@5/@@6 are automatically executed after every protocol transfer to perform user-defined operations. NEW <> The status bar displays the exact line rate at which the modem is connected. This includes 12000, 14400 and 16800. In addition, ASCII Send and protocol transfer timings are based on this value. REV <> The protocol CPS calculation is improved and more accurately reflects the actual transfer throughput. NEW <> Ymodem and Zmodem both send filenames in lower case in consideration of systems like UNIX based hosts. EMULATION ~~~~~~~~~ <> Sophisticated Terminal Emulations: ANSI-BBS, ADDS, ADM-3A/5, TeleVideo 910 & 910+, H19, VT-52, VT-100, ProTERM Special Emulation, Split Screen Chat, Pascal Firmware and Control Show allows easy access to small BBSystems as well as large mainframes. <> Split-Screen Chat allows real-time conferencing without confusing text mix-up. Log on in normal mode and then toggle in and out of split-screen mode with a single keypress. <> Emulate File feature allows files containing emulation codes to be viewed while offline. Use the keyboard to adjust the display speed while viewing. View ProTERM Special Emulation files at any speed without line noise problems. NEW <> Control Show emulation does diagnostics similar to ProTERM 2.2 but also indicates high-bit data via reverse video and displays all incoming data in a visible format including control and high-bit characters. NEW <> Default parameters for Emulate File are saved with the other preferences. REV <> Heathkit H19 Emulation supports a "mode-select" to enable Auto-CR to be added to an LF. REV <> Split-Screen Chat emulation wraps the cursor after the 80th character instead of the 79th character (similar to VT-100). NEW <> The emulation system places a line which is cleared via a Clear-Line or Clear-to-End-of-Line from Col 0 into Scrollback. REV <> Improved VT-100 emulation. - HARDWARE SUPPORT - COMPUTERS: ~~~~~~~~~~ Apple IIGS Apple - IIe (Enhanced, 128K) Apple IIc - Apple IIc Plus - Laser 128 MEMORY BOARDS: ~~~~~~~~~~~~~~ All Apple IIGS memory boards. Apple Memory Card. AE RamWorks, RamFactor,Z-RAM Ultra, Ram Express. Checkmate MultiRAM Plus, RGB, Q-Card. Chinook Technology C-RAM. Super Expander "E" and "C". Laser 128 Memory Expander. MODEMS/SERIAL PORTS: ~~~~~~~~~~~~~~~~~~~~ All Hayes compatible modems. Apple IIGS modem port, IIc modem port, IIc Plus modem port,Super Serial Card, Apple Modem 300/1200, Personal Modem. AE Datalink 1200, 2400, II Express & Serial Pro. Apricorn Super Serial Imager. BOCA Research 14.4Kbps CTS Fabri-Tek 2424ADH/ADM. Epic Classic II, Plus, Mini. Hayes Smartmodem 300, 1200, 2400, V9600, Personal Modem 1200. Laser 128 modem port. OKIDATA Okitel 9600. Prometheus 2400Mini Prometheus Promodem 1200, 1200A, 2400A. Quality Computers Q-Modem 2400 SupraModem 2400, 2400 Plus, SupraFaxModem v.32bis & Plus. USR Autodial 212A, Password, Courier 2400, HST 9600, Dual Standard. Zoom/Modem MX 2400R. CLOCKS: ~~~~~~~ Apple IIGS internal clock. AE Serial Pro, TimeMaster II HO, RamExpress, Z-RAM Ultra. SMT No Slot Clock. ThunderWare ThunderClock Plus. ProDOS Compatible Clocks. PLUS ALL: ~~~~~~~~~ Hayes (AT) compatible modems, and Apple compatible printers, drives and mouse devices. * Default PT3 Global Macro Set April 10, 1993 Note: Text between asterisks and following semi-colons are not part of the macros. They are only comments. * * See the ProTERM Manual for more information on global macros. Feel free to change the PT3.GLOBAL Macro set. Experiment by inserting, deleting and changing these macros. This default set is provided as a source of ideas and is intended to be changed. The OPTION key is the same as the Closed Apple key. To run a Global Macro starting with @@key, press OPTION-key. The label of the Global Macro represents how you run the macro. For example, consider the label "@@x" (where "x" equals any upper or lower case alpha key "a" through "Z"). To run such a macro, press OPTION-x. Since it is possible to use upper and lower case letters in Global Macros, e.g. "@@A" and "@@a", there are a total of 52 possible Global Macro labels. If there is only one macro label using a certain alpha character, it can be run with either OPTION-upper-letter or OPTION-lower-letter. If there are both an upper and lower label for a particular alpha character, then the OPTION-letter command is case sensitive. For example, if there is a macro label "@@a" but not a "@@A" (or vice versa) either OPTION-a or OPTION-A will run that macro. The UTILITIES folder on the 3.5" disk has some example Macro Files that may be used to call various services. Just copy the file(s) of choice to the same directory that PT3.GLOBAL Macro file resides in. Follow the direction at the heads of the files to invoke them. * * OPTION-a : Open a Receive ASCII file called "SAVED.FILE". The file "SAVED.FILE" is created in the default Autosave pathname (see the Preferences command). A different filename (and pathname) can be substituted in place of "SAVED.FILE". * @@a DO "re:ascii"," [] [] [append]" ; Enable Receive ASCII EXit ; Exit the macro * OPTION-A : Toggle Receive ASCII "Hold" (On/Off) with a single keypress. Requires OPTION-a (above) to start the Receive ASCII first. Then using OPTION-SHIFT-A toggles Receive ASCII on and off. * @@A IF !$A,{ NOte "Receive ASCII is not enabled." EXit } DO "re:ascii","[hold]" ; toggle ASCII "hold" on/off EXit ; exit the macro * OPTION-b : Unused & available. * * OPTION-B : Unused & available. * * OPTION-c : Unused & available. * * OPTION-C : Execute the PT3.CLOCK macro file. * @@C CHain +"PT3.CLOCK" ; Run the PT3.CLOCK Macro File EXit ; Exit macro * OPTION-d : Unused & available. * * OPTION-D : Unused & available. * * OPTION-e : Unused & available. * * OPTION-E : Unused & available. * * OPTION-f : Unused & available. * * OPTION-F : Unused & available. * * OPTION-g : Unused & available. * * OPTION-h : Unused & available. * * OPTION-H : Unused & available. * * OPTION-i : Unused & available. * * OPTION-I : Unused & available. * * OPTION-j : Unused & available. * * OPTION-J : Unused & available. * * OPTION-k : Unused & available. * * OPTION-K : Clear the editor document from terminal mode. * @@K DO "misc:edit" ; Go into the editor DO "file:close" ; Select close command DO "flei:quit" ; Quit back to term mode EXit ; Exit macro * OPTION-l : Quit ProTERM and run a program called "MY.PROG". * @@l DO "file:quit","path:<%s> prog: []", EXit ; Exit macro * OPTION-L : Launch a different application (bypass ProDOS quit code). * @@L DO "file:quit"," " ; ProTERM asks for next program EXit ; Exit macro * OPTION-m : Unused & available. * * OPTION-M : Run PT3.CONVERT if present. Note: After the PT3.CONVERT program has been used, this macro may be removed and the file "PT3.CONVERT" can be removed from the disk. * @@M SEt &0 = +"pt3.convert" ; get the pathname of convert IF (EXist &0) { ; make sure the file exists OVerlay &0 ; execute convert file } EXit ; exit macro * OPTION-n : Unused & available. * * OPTION-N : Print answerback string to Editor/Terminal By placing a commonly used phrase (such as your name) in the answerback field of a system, this macro sends that phrase to a remote system or inserts it in the Editor. * @@N SEt &0=+"^m" ; Get the Answerback phrase IF ($D),{ PRint #6,&0 EXit } ; If in editor, insert phrase PRint &0 ; Send phrase to remote system EXit ; Exit macro * OPTION-o : Unused & available. * * OPTION-O : Unused & available. * * OPTION-p : Print a wide Editor document. This macro changes the print parms to enable an ImageWriter printer to print up to 136 characters on one line. Load the document in the ProTERM Editor and press OPTION-p (lower-case p) to print in wide mode. * @@p IF !(EQual $d,1) ; See if ProTERM is in Editor { NOte "Command only works in editor" EX } ; If not, exit macro DO "file:print", ; Setup wide print parms "left:<0> right:<0> page width:<140> printer init:<^ [Q>" EX ; Exit macro * OPTION-P : Print a wide document from disk. This macro changes the print parms to enable an ImageWriter printer to print up to 136 characters on one line. To use this macro, the AutoSave pathname (the Misc/Preferences menu must have the volume (or pathname if the file is in a directory on the disk) filled in. Enter the disk name (pathname) containing the file in the AutoSave text box and choose "Save" to save this information. Replace the name "MY.FILE" (not case sensitive) below, with the name of the file to be printed from the disk. Make sure the disk containing the file is online and enter Option-P (upper-case P) to print the file. * @@P set &0=+"MY.FILE" ; Setup the document filename IF ($d),{ DO "file:quit" } ; Exit Editor/Scrollback IF !(EXists &0) ; Make sure file exists { NOte "There is no file called:^m"+ EXit } DO "fi:pr", ; Setup wide-print parms "<%s> [] left:<0> right:<0> page wid:<140>"+ "printer in:<^ [Q> eject:1 strip: []",&0 EXit ; Exit the macro * OPTION-q : Paste an online address from an "address book". An "Address Book" file can be kept for often used names on various systems. It can be named anything convenient for you, but the name "ADDRESS" will make it rise close to the top of the file alphabetically for when you need to load it into the Editor. The syntax and form of the user-names and the addresses are as follows: The identifying name is to the right and the address part of the line must be to the left of the name and separated from the name by at least 5 (or more) spaces or a TAB equaling at least 5 spaces. Do not use when COMMAND-Z (Show Special) is turned on. The File "ADDRESS" should be formatted something like this example: InTrec - CIS Jerry 75300,735 InTrec - CIS Greg 75300,755 InTrec - GEnie Jerry InSync.SW InTrec - GEnie Greg Greg.PT InTrec BBS Jerry 1 InTrec BBS Greg 3 When online and sending mail to the person, or if you need a short bit of information just sent to the host through the modem, COMMAND-E moves you to the Editor when online, move the cursor the desired line and press OPTION-SHIFT-P to have the string pasted to the host. You end up back at the host just as if you had typed in the line and you're ready to go. * @@q IF !(EQual $d, 1) { ; $d is proterm area (1=editor) NOte "Must use from editor." ; only allow from editor EXit ; cancel macro } SEt &0 = , 78>>; ; Scan line with cursor SEt $0 = (INstr " ", &0) ; Find dividing spaces IF !$0 { ; If no dividing spaces, must NOte "No address found on line." ; not be "user address" format EXit ; exit macro } SEt &0 = ; Get the address WHile (SEqual ," ") { ; Delete leading spaces set &0 = } DO "fi:quit" ; Exit Editor to Terminal mode PRint #1,&0+"^m" ; Send the address plus return EXit ; Exit the Macro * OPTION-Q : Unused & available. * * OPTION-r : Change text to Reply Format First change the selected Editor text to Paragraph mode, and then choose Reply Format. * @@r IF !(EQ $d,1) ; Make sure in ProTERM Editor { NOte "Command only works in editor" EXit } DO "edit:para" ; Put data in paragraph format DO "edit:reply" ; Select Reply command EXit ; Exit macro * OPTION-R : Unused & available. * * OPTION-s : Send ASCII the current Editor document from terminal mode. * @@s DO "misc:edit" ; Enter the editor DO "file:send" ; Select Send ASCII DO "file:quit" ; Exit editor EXit ; Exit macro * OPTION-S : Send ASCII Text to The InTrec BBS using prompts. * @@S PRint ".p^m" ; Tell InTrec to use prompts DO "misc:edit" ; Enter the Editor DO "file:send","[]" ; Send the text DO "file:quit" ; Exit from Editor PRint ".s^M" ; Tell InTrec to save message EXit ; Exit macro * OPTION-t : Unused & available. * * OPTION-T : Toggle between online and offline. * @@T SEt $o=128-$o ; $o=0=offline, $o=128=online ; IF ($o) { PR "ATE1^m"},1,{ PR "ATE0^m" } ; enable/disable modem echo EXit * OPTION-u : Unused & available. * * OPTION-U : Unused & available. * * OPTION-v : Unused & available. * * OPTION-V : Single-key shortcut for View Files. * @@V IF (EQual $d,2),{ DO "file:quit" } ; Exit from scrollback DO "file:view" ; Choose View Files command EXit ; Exit macro * OPTION-w : Unused & available. * * OPTION-W : Show Time-Connected with Mark/Log Buttons. * @@W DO "online:time" ; Choose time connect command EXit ; Exit macro * OPTION-x : Unused & available. * * OPTION-X : Perform a formatted Xmodem text upload. The macro allows the user to select a filename, then converts then formats the file via Print to Disk, and sends the resulting file with Xmodem. * @@X SEt &0 = +"xm.txt.data" ; Name for temporary file DElete &0 ; Delete old scratch file DO "misc:edit" ; Enter the editor SEt $w=0 ; Set window exit code to OK DO "file:close" ; Delete old editor contents IF (GT $w,127),{ DO "file:quit" EXit } ; If "cancel", quit macro DO "file:open" ; Let user select file IF $w,{ EXit } ; If they cancel dialog, exit DO "file:print to disk","[] <%s> []",&0 ; Format the data DO "file:close" ; Delete data from editor DO "file:quit" ; Exit from editor DO "send:xmodem","<%s> [] se: []",&0 ; Send the file EXit ; Exit macro * OPTION-y : Unused & available. * * OPTION-Y : Unused & available. * * OPTION-z : Unused & available. * * OPTION-Z : Reprocess the current PT3.GLOBAL file. Use after making changes to the PT3.GLOBAL file, read the updated information. This makes it possible to change and use PT3.GLOBAL Macros without starting ProTERM over again to read the PT3.GLOBAL file. * @@Z IF ($d) { DO "file:quit" } ; Exit Scrollback or Editor DO "mi:read","<%spt3.global> []", ; path 0 = pt3 system path EXit ; Exit macro * Startup Macro The @@1 macro is automatically executed every time that ProTERM is run. * @@1 EXit * Mouse Zone #1 The @@2 macro is executed anytime the mouse button is pressed while the mouse is positioned over the time. This macro toggles "pause" mode mode when this happens. * @@2 IF !$d,{ KEy "# " } EXit * Mouse Zone #2 The @@3 macro is executed anytime the mouse button is pressed while the mouse is positioned over the date. This macro sends a RETURN to the remote system when this happens. * @@3 IF !$d,{ PRint "^m" } EXit * Mouse Zone #3 The @@4 macro is executed anytime the mouse button is pressed while the mouse is positioned to the 10-character area left of the date. * @@4 EXit * Protocol Send/Receive Complete After a protocol send or receive is completed, global macro @@5 (send) or @@6 (receive) is automatically executed. By removing the EXit command from the first line of the following macro, the protocol performance statistics are automatically displayed after each file transfer. * @@5 @@6 EXit WT 1 DO "misc:transfer","[]" IF ($x),{ PR #4,"^m^j" } PR #4, PR #4, PR #4, SEt &1="No Errors" SEt &0="Failed" PR #4,"Result: "+&(!$t)+"^m^j^m^j" EXit * This label is reserved for future expansion. * @@7 EXit * This label is reserved for future expansion. * @@8 EXit * Remote Disconnect After ProTERM disconnects from a remote system, it automatically executes global macro @@9. * @@9 EXit * the digital proterm clock greg schaefer august 19, 1991 september 3, 1991 * * make sure pt3 has enough memory * set $z=0 video 0 if (or (lt $n, 20), (lt $s, 20)) { note "This macro file requires 20 string^m"+ "and numeric variables to run." window 20,8,40,3 print #2,"Temporarily unload PT3.GLOBAL? " input #2,"%s", &0 video 0 if !(partial "y", &0) { ex } do "mi:read","[cancel]" } * define the digits * set &0="43333333333333334" set &1="22222222222222222" set &2="42222222411111114" set &3="42222222422222224" set &4="33333333422222222" set &5="41111111422222224" set &6="41111111433333334" set &7="42222222222222222" set &8="43333333433333334" set &9="43333333422222224" * define the shape of the bars * set &10=" " set &11="^[ " set &12=" ^[" set &13="^[ ^[" set &14="^[^[^[^[^[^[^[^[^[^[" * define the positions of the digits * set $0=1 * put digit 0 at position 10 * set $1=13 * put digit 1 at position 20 * set $2=26 * position the colon * set $3=29 * put digit 2 at position 34 * set $4=41 * put digit 3 at position 44 * set $5=54 * position the colon * set $6=57 * put digit 4 at position 58 * set $7=69 * put digit 5 at position 68 * set $8=0 * end of display * * setup emulation, clear screen, etc * do "on:pa","emul: []" xy 30,22 print #2,"Press the SPACEBAR to quit" xy $2,9 print #2,"^N" * display the : * xy $2,15 print #2,"^N" xy $5,9 print #2,"^N" xy $5,15 print #2,"^N" set &15="" * time has not been shown yet * * main loop to continually update the time * %%1 se &10= * get the current time * * figure out how many digits need to be updated * se $10=0 wh (pa , &15) { se $10=$10+1 if !$$10,%1 * if true, time has not changed * } * see if user wants to quit * if (eq (mem 49152), 32), %99 * beep the speaker every second * pr #4,"^t ^a^c" * send through pse * * display the digits * while ($$10) { set $11=(asc )-48 if (lt $11,10) { set $12=$$10 set $13=4 set $14=0 set $15=(asc &$11) repeat { xy $12,$13 print #2,&($15-38) set $13=$13+1 set $14=$14+1 set $15=(asc ) } until (!$15) } set $10=$10+1 } set &15=&10 goto %1 * quit the macro * %%99 video 0 xy 0,2 do "on:pa","[set emul]" do "mi:read", []", > note "Thanx for trying PT3.CLOCK" exit The ProTERM 60 Second Workout ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Be sure to read the "About ProTERM File." This can be accessed from the ProTERM Main Menu by pressing the COMMAND (Open Apple) key and the TILDE ~ key and then press RETURN. If you have a mouse, just click on the Apple in the upper left corner. To make functions like this even easier, do the following -- At the Main Menu: <> Press M and then P, this will open the Preferences menu. <> Use the mouse or the TAB (or COMMAND TAB) key to place the cursor on "HotKeys." (This is one of the hundreds of possible custom changes.) <> Press the SPACEBAR to mark this box. Now you can move around ProTERM with single keystrokes. If you like this Preference, be sure to "Save" the "Preference" window. A Demonstration of the Power of ProTERM Macros - From the Main Menu and a default pathname of where the PT3 files reside: <> Press M-RETURN M-RETURN. <> Select PT3.CLOCK and press RETURN. This will demonstrate a graphic digital clock created with the power of the ProTERM 3 macro language. Try an Autolearn macro: <> Press D and select "Create a System." <> Enter the name and number of the system you wish to call. <> After the system is created, select it and press M for "Macros." <> Use the ARROW keys to change the "Macro to execute at logon" dialogue box to "Learn." <> Call the system and when you are logged on to the service at the point you want to be on subsequent calls, press the Command key and then the N key to save the new AutoLearn macro. Now you could call back just by pressing the RETURN key a couple of times and all of the work would be done by ProTERM. The "Scrollbar" on the right side of the screen -------------------------=> shows your position in this text file. The Scrollbar can be toggled on or off by using COMMAND-T. By setting the ruler width (COMMAND-R), this Editor can be used to read lines 249 characters long. An arrow showing here ---------------> means there is text behind the scrollbar. InSync Software To move to the top of this text file, use COMMAND-1 (Open Apple-1)