home *** CD-ROM | disk | FTP | other *** search
/ The Net Power 1997 January / NETPower0197.iso / mac / NetTools / Connect / Zterm / ZTerm_1.0.1.sit.hqx / ZTerm_1.0.1 / ZTerm Docs / A. Appendices < prev    next >
Encoding:
Text File  |  1995-10-21  |  11.6 KB  |  242 lines

  1. Appendices
  2.  
  3. Key Sequences
  4.  
  5. This table shows the many command key equivalents you can use in ZTerm.
  6.  
  7. Cmd-A - Select All.
  8. Cmd-B - Send a BREAK.
  9. Cmd-Shift-B - Send a long BREAK.
  10. Cmd-C - Copy selection to clipboard.
  11. Cmd-D - Open dialing directory.
  12. Cmd-Shift-D - Dial Marked services.
  13. Cmd-E - Edit Connection.
  14. Cmd-Shift-E - Toggle local echo.
  15. Cmd-F - Find.
  16. Cmd-G - Find Again.
  17. Cmd-H - Hangup.
  18. Cmd-K - Keyboard Buffer (for online conferences).
  19. Cmd-L - Clear the scroll buffer.
  20. Cmd-Shift-L - Clear the screen and scroll buffer.
  21. Cmd-M - Copy selection to modem.
  22. Cmd-N - Append selection to file.
  23. Cmd-Shift-N - Append selection to last append file for this service.
  24. Cmd-P - Print Selection.
  25. Cmd-Q - Quit.
  26. Cmd-R - Receive file with default receive protocol for this service.
  27. Cmd-S - Send file(s) with the default send protocol for this service.
  28. Cmd-T - Terminal settings.
  29. Cmd-V - Paste to modem.
  30. Cmd-W - Close Window.
  31. Cmd-X - Cut the selection to the clipboard.
  32. Cmd-Z - Undo (for desk accessories).
  33.  
  34. Cmd-UpArrow - Scroll up in the scroll buffer.
  35. Cmd-DownArrow - Scroll down in the scroll buffer.
  36. Cmd-Option-UpArrow - Scroll to top of scroll buffer.
  37. Cmd-Option-DownArrow - Scroll to bottom of scroll buffer.
  38.  
  39.  
  40. When the Dialing Directory window is in front:
  41. Cmd-C - Edit connection settings.
  42. Cmd-D - Dial highlighted service.
  43. Cmd-M - Mark the highlighted service.
  44. Cmd-Shift-M - Mark all services.
  45. Cmd-N - Add a New service.
  46. Cmd-Q - Queue dial (Dial marked services).
  47. Cmd-S - Change to settings for the highlighted service.
  48. Cmd-T - Terminal settings.
  49. Cmd-U - UnMark the highlighted service.
  50. Cmd-Shift-U - UnMark all services.
  51. Space or Down Arrow - move highlight down.
  52. Backspace or Up Arrow - move highlight up.
  53. Shift Click - toggle the mark for the service.
  54. Command Click - Make the service the startup default.
  55. Any letter - move highlight to matching service name.
  56. Double Click on a service - Edit connection settings.
  57.  
  58.  
  59. Keyboard Mapping
  60. On the MacPlus and Mac 512, ZTerm remaps the keyboard using the Toolbox's Script Manager using a custom KCHR resource.  This will allow you to use the Option key like a control key, and to add arrow keys to the antique original keyboard.  This remapping is enabled in the Terminal Preferences: use Option for Control.  Also, if you are using System 7 or later, you will need to install the ZTerm Keyboard file into your System to use Option for Control. 
  61.  
  62. The mapping below is only for MacPlus and earlier, when Option for Control is enabled:
  63. UP    Option =
  64. LEFT    Option [
  65. Right    Option ]
  66. Down    Option '    (These 4 make up a diamond on the old keyboards.)
  67. ESC    ` (Accent grave)
  68.  
  69.  
  70. For all keyboards:
  71. Cmd-Enter    send a break
  72. Control-Space NUL
  73. Control-2    NUL
  74. Control-4    ^/ (FS)
  75. Control-5    ^] (GS)
  76. Control-6    ^^ (RS)
  77. Control-7    ^_ (US)
  78.  
  79.  
  80. Extended keyboard:
  81. F1    VT220 F6    esc[17~
  82. F2    VT220 F7    esc[18~
  83. F3    VT220 F8    esc[19~
  84. F4    VT220 F9    esc[20~
  85. F5    VT220 F10    esc[21~
  86. F6    VT220 F11    esc[23~
  87. F7    VT220 F12    esc[24~
  88. F8    VT220 F13    esc[25~
  89. F9    VT220 F14    esc[26~
  90. F10    VT220 F15    esc[28~
  91. F11    VT220 F16    esc[29~
  92. F12    VT220 F17    esc[31~
  93. F13    VT220 F18    esc[32~
  94. F14    VT220 F19    esc[33~
  95. F15    VT220 F20    esc[34~
  96.  
  97. help        VT220 Find        esc[1~
  98. home        VT220 Ins here    esc[2~
  99. page up    VT220 Remove    esc[3~
  100. del        VT220 Sel        esc[4~
  101. end        VT220 Prev        esc[5~
  102. page down    VT220 Next        esc[6~
  103.  
  104.  
  105. Error and Other Messages
  106.  
  107. During a File Transfer
  108. CRC Err, Checksum Err - an error was encountered in the block of data and it must be resent.
  109. Got sector header xxx - an invalid character was received instead of the start of block character.
  110. Hdr CRC error, @ xxxx - an error occurred in the ZModem block header, xxxx is the current position in the received file.
  111. Data CRC error, @ xxxx - an error occurred in the ZModem data block, xxxx is the current position in the received file.
  112. No ACK on EOT - the receiver did not acknowledge the end of file message.
  113. Timeout on sector ACK - no acknowledge was received for the block in the allotted time.
  114. NAK on sector - the receiver got an error in the block and requests retransmission.
  115. Got burst for sector ACK - when waiting for the sector acknowledge, several characters were received (perhaps from line noise).
  116. No ACK, got a xxx - when waiting for acknowledge, the character xxx was received.
  117. Got ZRPOS = xxxx - the received got an error and requests retransmission starting at file offset xxxx.
  118. Error -120 or Directory Not Found - you probably need to set the Receive Folder.
  119.  
  120.  
  121. Modem Cables
  122. Macintosh (Mini DIN-8) Serial Connectors (Mac Plus and later)
  123. (This diagram is the connector on the end of a modem cable that you plug into your Mac.)
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134. Pin    Name        Description/Notes
  135. 1    HSKo        Output Handshake (from Zilog 8530 DTR pin)
  136. 2    HSKi/Ext Clk    Input Handshake (CTS) or TRxC (depends on 8530 mode)
  137. 3    TxD╨        Transmit Data line
  138. 4    Ground
  139. 5    RxD╨        Receive Data line
  140. 6    TxD+        Transmit Data line
  141. 7    GPi/DCD    General Purpose Input (not available on all models)
  142. 8    RxD+        Receive Data line; ground this line to emulate RS232
  143.  
  144.  
  145. Mac DIN-8 to MODEM - Hardware Handshaking
  146.  
  147. Mac            Modem (DB-25)
  148. 1 (HSKout)     ->    4 (RTS) & 20 (DTR)
  149. 2 (HSKin)    <-    5 (CTS)
  150. 3 (TxD-)    ->    2 (TxD)
  151. 4 (GND)    <->    7 (Signal Gnd)
  152. 5 (RxD-)    <-    3 (RxD)
  153. 6 (TxD+)    --    NONE
  154. 7 (GPi)    <-    8 (DCD) - not currently used by ZTerm
  155. 8 (RxD+)    <-    7 (Gnd)
  156.  
  157. Note: Hardware handshaking cables may vary slightly.  Pin 7 (GPi) is not currently used and I don╒t know how many off-the-shelf cables have pin 7 connected.  A hardware handshake cable does not need pin 20 (DTR) on the modem connected to Mac pin 1 (in addition to pin 4 RTS), but most cables have this.  If you are using hardware handshake, you MUST remember to configure the modem to ignore the DTR line, using AT&D0 (that's a zero).  
  158.  
  159. Mac DIN-8 to MODEM - Typical Non-Hardware Handshaking
  160.  
  161. Mac            Modem (DB-25)
  162. 1 (HSKout)     ->    20 (DTR)
  163. 2 (HSKin)    <-    5 (CTS) & 8 (DCD)
  164. 3 (TxD-)    ->    2 (TxD)
  165. 4 (GND)    <->    7 (Signal Gnd)
  166. 5 (RxD-)    <-    3 (RxD)
  167. 6 (TxD+)    --    NONE
  168. 7 (GPi)    <-    NONE
  169. 8 (RxD+)    <-    7 (Gnd)
  170.  
  171. Macintosh 512, 128 Serial Connectors (DB-9)
  172. (This diagram is the connector on the end of a modem cable that you plug into your Mac.)
  173.  
  174.   ╩
  175.  
  176.  
  177.  
  178.  
  179.  
  180. Pin    Name    Description/Notes
  181. 1    Ground
  182. 2    +5V     See Hardware reference for power limits
  183. 3    Ground
  184. 4    TxD+    Transmit Data line
  185. 5    TxD╨    Transmit Data line
  186. 6    +12V    See Hardware reference for power limits
  187. 7    HSK    HandShaKe: CTS or TRxC, depends on Zilog 8530 mode
  188. 8    RxD+    Receive Data line; ground this line to emulate RS232
  189. 9    RxD╨    Receive Data line
  190.  
  191. Mac 512, 128 (DB-9) to MODEM
  192.  
  193. Mac            Modem
  194. 1 (GND)    <->    1 (Gnd)
  195. 3 (GND)    <->    7 (Signal Gnd)
  196. 4 (TxD+)    --    NONE
  197. 5 (TxD-)    ->    2 (TxD)
  198. 6 (+12v)     ->    20 (DTR)
  199. 7 (HSKin)    <-    5 (CTS) & 8 (DCD)
  200. 8 (RxD+)    <-    7 (Signal Gnd)
  201. 9 (RxD-)    <-    3 (RxD)
  202.  
  203. Resources
  204. ZTerm does not save any of its settings in the ZTerm file.  All settings are stored in the PhoneList file.  You can lock the ZTerm application for some protection against viruses.
  205.  
  206. Binary File Type Detection
  207. When a file is received that is not in MacBinary format and is not text, ZTerm will see if it is a known type.  If it is, ZTerm will set the appropriate creator and type.  This is especially helpful to those transferring files from other computer systems.
  208.  
  209. There is a resource which contains file creator and types, with identifying information.  If you are handy with ResEdit, you can add additional types to this resource.  The resource is STR# 335.  Each string in the list is one binary type detector.  There are currently two types of detectors: type 0 looks for a signature (a sequence of bytes at the start of the file), and type 1 which just looks at the end of the file name (eg, the extension if its coming from ms-dos).  Type 0 is the preferred kind, but some binary files do not have a signature.  I may add additional types of detectors; if you have any ideas, let me know.
  210.  
  211. Each detector string begins with the detector type (0 or 1), then the 4 character creator, and the 4 character file type.  Type 0 then follows with the signature bytes (any length).  You should try to keep the signatures between 2 and 8 bytes.  Type 1 follows with the characters to match at the end of the file name (case insensitive).
  212.  
  213. Some examples:
  214.     For GIF files:    0BozoGIFfGIF8
  215.     For ARC files:    1arc*mArc.ARC
  216.  
  217. The first example will set binary files that start with GIF8 to creator ╥Bozo╙ and type ╥GIFf╙.  The second example will set binary files whose name ends with ╥.ARC╙ to creator ╥arc*╙ and type of ╥mArc╙.  This is for ArcMac from DogStar Software.
  218.  
  219. The current detectors handle GIF, ZIP, ARC, ZOO and some Lotus, Excel and Word file types.  There are a lot more binary file types that you might need to transfer to your Mac from other machines.  If you know the file signature or typical extension, and the appropriate Mac creator/type, please let me know so I can put them in a later release of ZTerm.
  220.  
  221. The default binary file type is normally a creator and type of ╘????╒.  This is used if the file does not match any of the binary type detectors.  You can change this in the General Preferences.
  222.  
  223. Sending Files as Binary
  224. There is also a list of file types that should be uploaded as binary files.  This list is in STR# 330.  Each string in the list is a 4 character file type.  The current list includes GIF, ZIP, ARC, ???? and zBIN files.  TEXT files that have binary data in the first 128 bytes are also sent as binary.
  225.  
  226. Sounds
  227. ZTerm can play a sound for some events that occur while you are using it.  If the sounds are available, it will play a sound when you connect to a service, when a file transfer completes or when the BELL character is received.  These sounds are optional.  If the sound with the right name is not available, it will just play the normal beep.  It looks for the sound by its name.  The names it looks for are 'connect', 'filedone' and 'termbell'. I have included three sound files for system 7 as part of the ZTerm package that you can use, or you can use some other sounds.  
  228.  
  229. Trimming down ZTerm for floppy only system
  230. For those who are running on a floppy only system and want the smallest possible program file, here are some things you can remove from the ZTerm program with ResEdit.  Do not distribute any modified copies of ZTerm.
  231.  
  232. There are about 23k worth of fonts in the program.  If you are always using 9 point, you could remove all the 12 point FONTs.  If none of the internal fonts are found, it will use the Monaco font.  All of the STR# resources in the 600╒s are used for balloon help; if you don╒t use System 7, these are not needed.  
  233.  
  234.  
  235. About the Author
  236. I first started using computers when my brothers built a TVT video terminal in the mid 70╒s.  We used it to call the university computer system.  Then we got an IMSAI 8080 with dual eight inch floppy drives!  I wrote a simple educational program in BASIC and had it published in Kilobaud magazine.  Just when I was ready to buy a newer CP/M machine, the IBM PC came out and I got one.  I programmed and played with it for a few years.  Then the Mac came out and I had to get one.  I started out programming in BASIC, working on a disk sector editor, a hex resource editor, a disassembler (my brother Bob did most of the disassembler part, I did the resource stuff) and making mods to MacTEP for my own use.  I wrote a program called ReadLisa that could read diskettes from the LISA computer and print or copy them to a Mac disk.  I uploaded this and actually received three payments for it.  
  237.  
  238. I decided to write ZTerm because I spent a lot of time telecommunicating, but I didn╒t really like the software that was available.  Also, none at that time supported ZModem, which appeared to be the best thing to be using.  Thus began the never-ending journey of ZTerm.  
  239.  
  240. We recently moved to an old farmhouse (over 100 years old) in Maineville Ohio.  Its real close to the Kings Island amusement park and about 25 miles north of downtown Cincinnati.  I have been learning a lot about different types of electrical wiring used in the last 70 years!
  241.