home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpminfo / cpm-cc02.art < prev    next >
Text File  |  1994-07-13  |  14KB  |  248 lines

  1.  
  2. ==============================================================================
  3. [   THE KAY*FOG RBBS  |  CPM-CC02.ART  |  posted 01/18/86  |  246 lines 14k  ]
  4.  
  5.           The CP/M Connection                   Originally published in    
  6.                   by                               Computer Currents       
  7.              Ted Silveira                           2550 9th Street        
  8.   (copyright and all rights reserved)             Berkeley, CA  94710      
  9.  
  10.                                 March 26, 1985
  11.                            COMMUNICATIONS PROGRAMS
  12.  
  13.      It's 2 a.m. in California.  I can't sleep.  Wrapped in my bathrobe, I 
  14. pad downstairs, through the kitchen, and out to my office.  I flip some 
  15. switches--beep, beep.  Green glow from the computer, red from the modem.  I 
  16. type a command, and the modem stutters to life, dialing the CP/M-Net 
  17. bulletin board in New Brunswick, New Jersey.  Busy.  (It's 5 a.m. in New 
  18. Jersey.)  I try Palatine in Illinois.  Busy.  Tampa Bay and El Paso.  Busy.  
  19. Barstow, Thousand Oaks, Sacramento, Mountain View, Los Gatos.  All busy.  
  20. The phone lines are alive with computers.  Why sleep when the phone rates 
  21. are low?
  22.  
  23.      Computer communication is hot--hot enough to keep people up all night, 
  24. hot enough to make modems the best-selling computer peripheral after 
  25. printers.  To get your computer on the phone lines, you need a modem and a 
  26. communications program, often called a modem program.  Modems cost money, 
  27. but you can get excellent modem programs from the public domain.  
  28.  
  29.      Please note--the programs I'm describing here will let you communicate 
  30. with another personal computer, a bulletin board system, or a commercial 
  31. information utility such as the Source, CompuServe, or Dow Jones.  Often, 
  32. they'll let you communicate with a mainframe or minicomputer, too, but some 
  33. of these big computers use special communications protocols that the public 
  34. domain programs can't handle.  
  35.  
  36.  
  37. THE BASICS
  38.  
  39.      To be useful, a modem program needs some basic features.  It should 
  40. send and receive data in the most common format--1 start bit, 8 data bits, 
  41. no parity bit, 1 stop bit.  It should let you change the transmission speed 
  42. if your modem has more than one speed.  And it should store phone numbers 
  43. and dial them for you, if your modem is compatible with the Hayes 
  44. Smartmodem.
  45.  
  46.      A modem program should be able to save everything that crosses your 
  47. screen into a disk file, if you want.  It should let you send a plain text 
  48. file (such as a prepared message), and while sending, it should respond to 
  49. start and stop signals (XON and XOFF) from the other computer.
  50.  
  51.      Finally, to download public domain software from bulletin boards, the 
  52. program must be able to send and receive files using the XMODEM protocol.  
  53. With this protocol, sometimes called the Christensen or Modem7 protocol, a 
  54. file is checked for errors as it is transmitted, guaranteeing that it 
  55. hasn't been damaged by phone line noise or other transmission problems.
  56.  
  57.  
  58. MDM740
  59.  
  60.      MDM740 is probably the most frequently used program.  It has all the 
  61. basic features and has gone through a long enough development so that it's 
  62. free of bugs, as far as I can tell.
  63.  
  64.      MDM740 also has some nice extras.  It can dial a list of phone 
  65. numbers, one after the other, repeating the list until it makes a 
  66. connection.  And it has 10 programmable function keys, each of which can 
  67. store a string of characters that you can send to the remote computer with 
  68. two keystrokes.  You can use these function keys to store log-on 
  69. information (your name, password, etc.) and common bulletin board commands 
  70. such as "DIR *.* $U0AD".  You change the function keys and the phone 
  71. library by using two accompanying programs, M7FNK and M7LIB.
  72.  
  73.      Modem programs must be modified for different computers because they 
  74. deal directly with the computer hardware, which differs from one machine to 
  75. another.  Fortunately, you can adapt MDM740 more easily than most other 
  76. programs.  You use a small assembly language file, called an overlay, which 
  77. you patch into the main MDM740.COM file by using DDT (from your CP/M 
  78. distribution disk).  There are overlays for more than 80 CP/M computers, so 
  79. most people won't need any technical information about their machines.  And 
  80. the instructions for patching MDM740.COM are straightforward enough that 
  81. even a novice has a good chance of success.
  82.  
  83.      I've found three things I don't like in MDM740.  First, MDM740's menu 
  84. covers three screens, and you have to go through all three to get back to 
  85. the command prompt, even if the information you wanted was on the first 
  86. screen.  It's just an annoyance, but it could be avoided if the menu fit on 
  87. one screen or if you could jump to the command prompt without going through 
  88. the whole menu.
  89.  
  90.      Second, I used to think there was no way to look at the function key 
  91. assignments without exiting the program--a serious problem.  Not true.  
  92. After months of use, I just found that there is a way--hit the ESCAPE key 
  93. followed by the RETURN key at the MDM740 command prompt.  Why did it take 
  94. me so long to figure this out?  Because the command isn't listed on the 
  95. menu.  
  96.  
  97.      Third, the documentation for MDM740 is complete, but it's not easy 
  98. reading.  It's clear to people who have some experience in modem 
  99. communications but not to those who don't (at least that's the consensus in 
  100. my users' group).  And it gives no easy answer to the question, "What do I 
  101. have to do to call up my local bulletin board?"
  102.  
  103.  
  104. MEX112
  105.  
  106.      MEX112 (Modem EXecutive version 1.12) is a new program, now only in 
  107. its fourth revision.  Though it still has its roots in the original MODEM7 
  108. (as does MDM740), it has been extensively rethought and has some unique 
  109. features. 
  110.  
  111.      MEX112 has all the basics, and like MDM740, it has 10 programmable 
  112. function keys and can continuously dial a list of phone numbers.  Unlike 
  113. MDM740, MEX112 lets you reset both the function keys and the phone number 
  114. library  without  exiting the program.  
  115.  
  116.      MEX112 also has a CLONE command, which makes a new copy of MEX112 and 
  117. saves it to disk.  You can run MEX112, fiddle with the phone library, 
  118. function keys, and other settings until you have everything set to your 
  119. satisfaction, and then CLONE a new copy of MEX112.  This new copy will now 
  120. have all your new settings as its default settings.  
  121.  
  122.      MEX112 has a HELP command, which gives you information about commands 
  123. from a special 50K help file.  It's a good thing, too, since I can never 
  124. remember all the MEX112 commands.
  125.  
  126.      Finally, MEX112 allows you to create command files.  In these files, 
  127. you can put instructions both to MEX112 and to the remote computer.  MEX112 
  128. will execute the command file just as if you were typing everything in at 
  129. the keyboard.  You can, for example, create a command file that will dial 
  130. your favorite bulletin board, give your name and password, save all 
  131. messages to you in a disk file, and then log off.  
  132.  
  133.      This feature has potential, but from what I read on some bulletin 
  134. boards, people have trouble getting complicated command files to work--
  135. unexpected responses or delays can cause MEX112 to lose control.  If you 
  136. want to use command files, there are two files that will help--AUTOMEX.INF, 
  137. which gives information about setting up for automatic log-on, and 
  138. MEXWELCM.LBR, a library of command files which allow someone to call  your  
  139. system and do an unattended file transfer.
  140.  
  141.      MEX112 has drawbacks, too.  First, it's a new program, so it has had 
  142. some bugs.  The latest one is described in the file MEX112.BUG, but it 
  143. won't affect most people.  I've used MEX112 a lot without any problems, 
  144. though I don't use any of its fancier tricks.  
  145.  
  146.      Second, MEX112 is not as easy to get running as MDM740 because you 
  147. must install two overlays and the instructions are not quite as 
  148. straightforward.  Also, MEX112 doesn't yet have as overlays for as many 
  149. computers as MDM740 does.  The MDM740 overlays are supposed to work with 
  150. MEX112, but some don't.  If you find there is no MEX112 overlay for your 
  151. computer, and the MDM740 overlay doesn't work with MEX112 either, then 
  152. you'll have to write your own, in assembly language, using another overlay 
  153. as a model.  Once MEX112 has been around a while, the number of overlay 
  154. files will grow, and MEX112 will become as easy to install as MDM740.  
  155. Meanwhile, MEX112 takes more tinkering to get it running.
  156.  
  157.      Third, the documentation for MEX112, like that for MDM740, is thorough 
  158. but not easy for the novice.  Some kind soul wrote a file called MEX-
  159. EASY.DOC to make things clearer, but it's not the complete answer.
  160.  
  161.      Finally, MEX112 has no menu.  Instead, it has the HELP command and a 
  162. STAT command, which lists the current options.  These two provide detailed 
  163. coverage but aren't always easy to use.  For example, you might expect that 
  164. "HELP COMMANDS" would list the basic commands; instead you get the message 
  165. "no help available for 'commands.'"  A question mark brings a partial list 
  166. of commands, including the most common ones (T, S, and R).  To get more 
  167. help on these, you must type "HELP SINGLE" because they are single-letter 
  168. commands.  To get help on the secondary options you can use with the 
  169. single-letter commands, you must type "HELP SECOND".  But how would a 
  170. novice know that "SINGLE" and "SECOND" are the key words?  They certainly 
  171. wouldn't be my first, second, or even third guess.  For basic commands, I 
  172. think a menu is better.
  173.  
  174.  
  175. OTHER PROGRAMS WITH XMODEM PROTOCOL
  176.  
  177.      MDM740 and MEX112 are the most common modem programs, but there are 
  178. others that can handle the XMODEM protocol.
  179.  
  180.      COMM725:  COMM725 has the basics, 10 programmable function keys, a 
  181. menu that only takes one screen, and two big extras.  It allows you to 
  182. change the data transmission format--start bits, data bits, parity bits, 
  183. and stop bits.  And it has a built-in file-handling utility that lets you 
  184. copy, delete, rename, view and print files, all without having to exit the 
  185. program.  COMM725 won't continuously dial a list of phone numbers.  The 
  186. function keys can't be changed without reassembling the program or using a 
  187. disk editor.  And, most serious, COMM725 doesn't use overlay files; it 
  188. comes as a set of five linked assembly language files.  Many people will 
  189. find they need to know some assembly language to get COMM725 running.
  190.  
  191.      MODEM904:  MODEM904 is like a cross between MDM740 and COMM725.  It 
  192. has the command structure and three screen menu of MDM740, but it also 
  193. allows you to change the data transmission format, as does COMM725.  It 
  194. comes as a set of assembly language files, and it's about as difficult to 
  195. get running as COMM725.  
  196.  
  197.      MODEM7:  MODEM7 is the ancestor of MDM740, MEX112, COMM725, and 
  198. MODEM904.  It lacks the extras the newer programs have and is difficult to 
  199. get running.  MODEM7 went through many revisions, finally reaching 
  200. MODEM798.  Note the difference in spelling between MODEM and MDM--MDM740 is 
  201. a newer and better program than MODEM798.
  202.  
  203.      YAM:  YAM stands for Yet Another Modem program.  It's a sophisticated 
  204. program, written in the BDS version of the C language.  If you have BDS C, 
  205. you'll probably want YAM.  If you don't have BDS C, forget it.
  206.  
  207.      MODEM221:  MODEM221 is a program I've seen but never used.  It has the 
  208. basics, but I don't know what else.  (I can't collect EVERY modem program, 
  209. can I?)  It comes only as an assembly language source file.
  210.  
  211.      Special Note:  There is a program called XMODEM, which is used on 
  212. RCP/M (Remote CP/M) bulletin board systems to allow file transfers.  Unless 
  213. you're starting a bulletin board, you don't want the program XMODEM.  You 
  214. want a modem program that can handle the XMODEM protocol.
  215.  
  216.      
  217. WHAT'S BEST TO USE?
  218.  
  219.      For most people, it's a toss-up between MDM740 and MEX112, since 
  220. they'll never use the extra features of either program.  I rarely do.
  221.  
  222.      In users' group I belong to, I recommend MDM740 for people just 
  223. starting out.  It's easy to set up for different computers, it's thoroughly 
  224. reliable, and it's slightly less confusing to a novice (though I've never 
  225. seen a modem program that's easy for the first-time user).
  226.  
  227.      For myself, I use MEX112 most of the time, not because of its command 
  228. files or other super features, which I never use, but simply because it's 
  229. so easy to reset the phone library and the function keys.  
  230.  
  231.      I'm also fond of COMM725.  I don't use it much anymore because it 
  232. doesn't have auto redial and it's tedious to reset the function keys.  But 
  233. the program has a nice feel to it.
  234.  
  235.  
  236.      Next time, a small detour.  I'll take you on a tour of a local RCP/M 
  237. (Remote CP/M) bulletin board system to show you how the message system 
  238. works and how to download and upload files.
  239.  
  240. ------------------------------------------------------------------------------
  241.       Ted Silveira is a freelance writer and contributing editor to several
  242.    computer-oriented publications.  He appreciates suggestions or feedback
  243.    and can be reached through the KAY*FOG RBBS (415)285-2687 and CompuServe
  244.    (72135,1447) or by mail to 2756 Mattison Lane, Santa Cruz, CA 95065.
  245.  
  246. -------------------------  End of CPM-CC02.ART Text  -------------------------
  247.  
  248.