home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / palmtops / 4109 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  22.1 KB

  1. Path: sparky!uunet!caen!nic.umass.edu!dime!shri
  2. From: shri@unreal.cs.umass.edu (H.Shrikumar)
  3. Newsgroups: comp.sys.palmtops
  4. Subject: Macros to make DialTone work (after a fashion ;)
  5. Summary: Not that I use DialTone ;) .. but the macro was fun to do.
  6. Message-ID: <58012@dime.cs.umass.edu>
  7. Date: 24 Dec 92 23:46:44 GMT
  8. Sender: news@dime.cs.umass.edu
  9. Reply-To: shri@unreal.cs.umass.edu (H.Shrikumar)
  10. Organization: UMass, Amherst MA + Temporal Sys & Computer Networks Bombay India
  11. Lines: 494
  12.  
  13.  
  14. Hi all,
  15.  
  16.   To those who showed interest in my macros for DialTone. Appended
  17. below is a file containing them.
  18.  
  19. Here is a valid entry from my PhoneBook, which these macros can
  20. handle and feed to the DialTone dialer safely ...
  21.  
  22.     0                                    40 chars   Comment:
  23.     +------------------------------------+
  24.      Name:    H. Shrikumar \me                      Name, and \keyword
  25.      Number: h(413)549-8484,w(413)545-4753          numbers
  26.      Address:
  27.      f(413)545-1249                                 more numbers
  28.      #48 Presidential Apts,                         Rest of address.
  29.      Amherst, MA 01002
  30.     +------------------------------------+
  31.  
  32. CHAR-F2 dials the first number in the list, CHAR-F3 - the Home number,
  33. CHAR-F4 - the work number and CHAR-F5 - the fax number.
  34.  
  35.   DialTone works (after a fashion). It turned out that 23500 sampling
  36. rate (thats what its called by the author, tho' thats not what it
  37. seems to be .. but hey! I did not name it so ;), 0.2% error, 3000
  38. sample tones, with a 200 msec silence works quite OK. The real thing
  39. that you do need to tune is your fingers !
  40.  
  41.   You really need to "understand" the resonances of the plastic case
  42. of the HP95LX, and learn where to hold the transmitter (handset) of the
  43. telephone instrument. For most electronic phones, I found that
  44. either right below the speaker, or below the number keypad works fine.
  45. Dont touch the case with the phone handset, a small distance of about
  46. 3-5 mm between them is recommended, since otherwise the resonances
  47. seem to change to a faint rattling.  With some carbon type mics,
  48. holding the mic near the PCMCIA door (may remain closed) helps. Again
  49. dont touch. 
  50.  
  51.   Particularly in the US, Payphones seem to need a closer separation,
  52.   but then on most payphones here, the speech path from the microphone
  53. is not enabled until after the callee goes off hook, providing answer
  54. supervision.  Thus, you cannot use dialtone to dial from a payphone,
  55. unless you are first dialling a 1-800 number. In that case this can
  56. help very much. Especially, if you were to have to make a phone call
  57. from a despicable COCOT pay phone, which prevent you from using the
  58. touch tone keypad just so that you cannot use your calling card, you
  59. could dial the 1-800 access number of your long distance company from
  60. the phone (which generally work more often than not), and then use
  61. dialtone to dialout the number you wish to call, your calling card
  62. number etc.
  63.  
  64. Problems in DialTone:
  65. ---------------------
  66.  
  67. The original DialTone has little error checking, so if you paste a bad
  68. string into it, it can hang. Any files open with MEMO or 123 can be
  69. lost, since you have to reboot. These macros try to totally avoid this.
  70.  
  71. International numbers are in the +country(area)number format,
  72. but the macros cant use it intelligently. They only make sure
  73. that DialTone can never hang even with such numbers. If you
  74. want to change +91 (for India), remember it occurs twice 
  75. in each macro, and the number of {DELS} following the second
  76. instance must equal number of digits in the country code plus 1.
  77.  
  78.  The macros that follow will generally protect DialTone from hanging
  79. ever, and also will also avoid any accidental loss of a MEMO document
  80. that might be open. To make this possible, it has to Copy to clipboard
  81. an entry from APPT TODO. Dont delete this entry. Otherwise dialTone
  82. will hang precisely when you have a file open in MEMO. This is
  83. installed by the first bootstrap macro. The real DialTone macros are
  84. installed in a second step.
  85.  
  86. PhoneBook format:
  87. -----------------
  88.  
  89.   Your PhoneBook file should have numbers of the form (ONLY)
  90.  
  91. +91(city)number   - International numbers  
  92. (NZN)NXX-XXXX     - Non-local US NPA numbers
  93. NXX-XXXX          - local numbers
  94.  
  95. Each can be preceeded by a "h" [Home], "w" [Work], "f"[Fax].
  96. See example above.
  97.  
  98. They can be separated by commas. [Precisely one comma, no
  99. space,no other character] The first line of the address is
  100. an overflow line for more numbers. But any number must fit in either
  101. of the two lines entirely and not be divided among them.
  102.  
  103. Note: I have used comma as a speparator, that precludes any
  104. possibility of putting a delay in the number string. But then
  105. DialTone barfs unpredictably with anything more than 13 characters in
  106. that field, so I cant see where one could add delays elements
  107. in the number field, so I guess its OK. I tried other
  108. separators, but either they look too cluttered, or (if space
  109. were used) there is always a danger you may accidentally have two
  110. of them together, which will confuse the macro.
  111.  
  112. How to install:
  113. --------------
  114.  
  115. Since the macros are pretty large, I was at a loss for several days as
  116. to the smoothest way you could install them. Finally this method.
  117. Essentially, the scripts use debug to edit the env file where the
  118. macros are stored. I have tested them on my machine thoroughly and
  119. should work well, I am pretty sure.
  120.  
  121. (If it makes you feel safer you can stash of copy of setup.env, and
  122. check the new Setup-Menu-CHAR to see that alls well after
  123. installation.)
  124.  
  125. Installation involves one bootstrap macro, execute CHAR-F2 CHAR-F3, and
  126. then install the real macros.
  127.  
  128. First Unshar the file that follows. You can do this on a unix machine,
  129. by saving this mail, making a new copy as dialtone_macro.shar, deleting
  130. all lines till the line that begins with a # followed by a !, and
  131. running the command
  132.  
  133.   %  sh dialtone_macro.shar
  134.  
  135. This will extract four files. patch1.bat, instmac.pch, install.bat
  136. and setup.pch
  137.  
  138.   Transfer these four files to the Jaguar with kermit. Remember to use
  139. TEXT mode. 
  140.  
  141. +------------------
  142. Make sure CHAR-F2, F3, F4 and F5 are empty. I use these for the macros,
  143. and the following installation procedure will overwrite if any other
  144. macro exists there.
  145. +------------------
  146.  
  147. +-------------------
  148. Youd need a program to make the SETUP.ENV file writable. I use
  149. ATTRIBCR.ZIP, which can be picked up from 
  150.   barnacle.erc.clarkson.edu:/pub/simtel20-cdrom/msdos/dirutl/attribcr.arc, 
  151. or your nearest friendly ftp server I renamed the utility to ATTR.COM
  152. (shorter sweater name).  This is a very small program, so I carry it
  153. around in my \_bin all the time. Works well ... recommended.  In you
  154. have some other chmod, then edit the two bat files with
  155. relavant commands.  Dont leave setup.env with write-enabled.
  156. +----------------------
  157.  
  158. STAGE ONE:
  159.  
  160. Under DOS (assuming you have installed attr.com) ...
  161.  
  162. C>  cd to the directory where these four files are.
  163. C>  patch1.bat
  164.  
  165. Then exit DOS.
  166.  
  167. Have topcard on the screen. (close all applications)
  168. Run CHAR-F2
  169. Run CHAR-F3
  170.  
  171. Make sure the TODO entry that this creates is  ..
  172.  
  173. Item:       "!!Remember Hit ESC {Not N}!!"
  174. Priority:    9th
  175. Carry Fwd:   yes
  176.  
  177. Save and quit the APPT application.
  178.  
  179. SECOND STAGE:
  180.  
  181.  Then start DOS again ...
  182.  
  183. C> cd to the directory with the install files.
  184. C> install.bat
  185.  
  186.   This will overwrite the macros for F2, F3, F4 and F5. 
  187.  
  188. You are DONE.
  189.  
  190. Test it with CHAR-F2 to dial the a number in your PHONEbook.
  191.  
  192. And note this is important .. after the dialling is done,
  193. the macro leaves you in MEMO. Check the display. If it is
  194. not a file that you forgot to save before dialling, hit N
  195.  
  196. If it is a file you were editing, dont worry, its still safe 
  197. for you .. hit ESC !! (not N ... not Y ... has to be ESC)
  198. Thats what the warning message from my DialTone macro
  199. would have reminded you if you did have a file open.
  200.  
  201. Lastly,
  202.   Edit 95buddy.bcf (if you have it, optional) to display the 
  203. legend for the CHAR macros. I have included the relevant lines
  204. from my 95buddy.bcf, should you like to cut and paste.
  205.  
  206. Fragment for 95Buddy.bcf ....
  207.    |Dial Number ...|_bak|    8 |Alarms
  208.  1 |1st hom wrk fax| up!| 7    |On Off
  209.  
  210. The dialtone_macro.shar file follows .....
  211. -------------:<-------------
  212. #!/bin/sh
  213. echo x patch1.bat
  214. sed 's/^X//' << ! > patch1.bat
  215. Xattr +w c:\_dat\setup.env
  216. Xc:\_sys\debug < instmac.pch
  217. Xattr -w c:\_dat\setup.env
  218. !
  219. echo x instmac.pch
  220. sed 's/^X//' << ! > instmac.pch
  221. Xnc:\_dat\setup.env
  222. Xl
  223. Xe046A 02 F4 44 69 61 6C
  224. Xe0470 54 6F 6E 65 50 72 6F 70 68 79 6C 61 63 74 69 63
  225. Xe0480 20 49 4E 53 54 41 4C 4C 20 4F 4E 45 00 20 20 00
  226. Xe0490 00 00 00 B0 00 C8 76 00 64 00 00 44 00 42 13 00
  227. Xe04A0 52 00 65 00 6D 00 65 00 6D 00 62 00 65 00 72 00
  228. Xe04B0 20 00 48 00 69 00 74 00 20 00 45 00 53 00 43 00
  229. Xe04C0 20 00 7B 00 4E 00 6F 00 74 00 20 00 22 00 4E 00
  230. Xe04D0 22 00 7D 00 13 00 00 50 20 00 20 00 20 00 20 00
  231. Xe04E0 20 00 20 00 20 00 20 00 00 50 00 44 00 40 2C 00
  232. Xe04F0 2C 00 43 00 41 00 55 00 54 00 49 00 4F 00 4E 00
  233. Xe0500 21 00 2C 00 2C 00 0D 00 0D 00 4E 00 6F 00 74 00
  234. Xe0510 68 00 69 00 6E 00 67 00 20 00 22 00 54 00 6F 00
  235. Xe0520 44 00 6F 00 22 00 20 00 48 00 65 00 72 00 65 00
  236. Xe0530 21 00 20 00 44 00 4F 00 20 00 4E 00 4F 00 54 00
  237. Xe0540 20 00 45 00 44 00 49 00 54 00 2F 00 44 00 45 00
  238. Xe0550 4C 00 13 00 13 00 0D 00 54 00 68 00 69 00 73 00
  239. Xe0560 20 00 65 00 6E 00 74 00 72 00 79 00 20 00 69 00
  240. Xe0570 73 00 20 00 6F 00 6E 00 6C 00 79 00 20 00 6E 00
  241. Xe0580 65 00 65 00 64 00 65 00 64 00 20 00 62 00 79 00
  242. Xe0590 20 00 53 00 68 00 72 00 69 00 27 00 73 00 0D 00
  243. Xe05A0 44 00 69 00 61 00 6C 00 54 00 6F 00 6E 00 65 00
  244. Xe05B0 20 00 70 00 72 00 6F 00 70 00 68 00 79 00 6C 00
  245. Xe05C0 61 00 63 00 74 00 69 00 63 00 20 00 6D 00 61 00
  246. Xe05D0 63 00 72 00 6F 00 73 00 2C 00 20 00 77 00 68 00
  247. Xe05E0 69 00 63 00 68 00 0D 00 65 00 64 00 69 00 74 00
  248. Xe05F0 20 00 74 00 68 00 65 00 20 00 43 00 61 00 72 00
  249. Xe0600 64 00 20 00 74 00 6F 00 20 00 74 00 68 00 65 00
  250. Xe0610 20 00 76 00 65 00 72 00 79 00 20 00 63 00 6F 00
  251. Xe0620 6E 00 73 00 74 00 72 00 61 00 69 00 6E 00 65 00
  252. Xe0630 64 00 0D 00 66 00 6F 00 72 00 6D 00 61 00 74 00
  253. Xe0640 20 00 74 00 68 00 61 00 74 00 20 00 44 00 69 00
  254. Xe0650 61 00 6C 00 54 00 6F 00 6E 00 65 00 20 00 62 00
  255. Xe0660 61 00 72 00 66 00 73 00 20 00 77 00 69 00 74 00
  256. Xe0670 68 00 6F 00 75 00 74 00 2E 00 0D 00 44 00 4F 00
  257. Xe0680 20 00 4E 00 4F 00 54 00 20 00 44 00 45 00 4C 00
  258. Xe0690 00 00 03 99 44 69 61 6C 54 6F 6E 65 50 72 6F 70
  259. Xe06A0 68 79 6C 61 63 74 69 63 20 49 4E 53 54 41 4C 4C
  260. Xe06B0 20 54 57 4F 00 20 20 00 00 00 0D 00 44 00 4F 00
  261. Xe06C0 20 00 4E 00 4F 00 54 00 20 00 44 00 45 00 4C 00
  262. Xe06D0 45 00 54 00 45 00 20 00 54 00 48 00 49 00 53 00
  263. Xe06E0 20 00 45 00 4E 00 54 00 52 00 59 00 20 00 13 00
  264. Xe06F0 20 00 57 00 69 00 74 00 68 00 6F 00 75 00 74 00
  265. Xe0700 20 00 74 00 68 00 69 00 73 00 20 00 65 00 6E 00
  266. Xe0710 74 00 72 00 79 00 20 00 61 00 20 00 4D 00 45 00
  267. Xe0720 4D 00 4F 00 20 00 66 00 69 00 6C 00 65 00 20 00
  268. Xe0730 6F 00 70 00 65 00 6E 00 20 00 77 00 69 00 6C 00
  269. Xe0740 6C 00 20 00 73 00 75 00 72 00 65 00 6C 00 79 00
  270. Xe0750 20 00 62 00 65 00 20 00 6C 00 6F 00 73 00 74 00
  271. Xe0760 20 00 6A 00 75 00 73 00 74 00 20 00 77 00 68 00
  272. Xe0770 65 00 6E 00 20 00 69 00 74 00 20 00 6D 00 75 00
  273. Xe0780 73 00 74 00 20 00 6E 00 6F 00 74 00 20 00 13 00
  274. Xe0790 20 00 3A 00 2D 00 29 00 0D 00 B8 FF 48 00 20 00
  275. Xe07A0 53 00 68 00 72 00 69 00 6B 00 75 00 6D 00 61 00
  276. Xe07B0 72 00 20 00 73 00 68 00 72 00 69 00 40 00 6C 00
  277. Xe07C0 65 00 67 00 61 00 74 00 6F 00 2E 00 63 00 73 00
  278. Xe07D0 2E 00 75 00 6D 00 61 00 73 00 73 00 2E 00 65 00
  279. Xe07E0 64 00 75 00 00 44 0D 00 00 50 00 50 20 00 20 00
  280. Xe07F0 20 00 20 00 20 00 20 00 20 00 00 50 00 00 00 00
  281. Xe0800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  282. Xe0810 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  283. Xe0820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  284. Xe0830 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  285. Xe0840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  286. Xe0850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  287. Xe0860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  288. Xe0870 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  289. Xe0880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  290. Xe0890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  291. Xe08A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  292. Xe08B0 00 00 00 00 00 00 00 00 00 00 
  293. Xw
  294. Xq
  295. !
  296. echo x install.bat
  297. sed 's/^X//' << ! > install.bat
  298. Xattr +w c:\_dat\setup.env
  299. Xc:\_sys\debug < setup.pch
  300. Xattr -w c:\_dat\setup.env
  301. !
  302. echo x setup.pch
  303. sed 's/^X//' << ! > setup.pch
  304. Xnc:\_dat\setup.env
  305. Xl
  306. Xe046A 02 72 44 69 61 6C
  307. Xe0470 20 31 73 74 20 6E 75 6D 62 65 72 20 20 20 20 BB
  308. Xe0480 DA 20 20 5B 66 72 6F 6D 20 50 68 6F 6E 65 5D 00
  309. Xe0490 00 00 00 B4 1B 00 00 3C 00 B8 00 C8 66 00 6E 00
  310. Xe04A0 00 3E 00 B0 00 C8 76 00 64 00 00 44 00 41 13 00
  311. Xe04B0 52 00 65 00 6D 00 65 00 6D 00 62 00 65 00 72 00
  312. Xe04C0 0D 00 00 3C 00 B8 00 77 00 50 00 4F 2C 00 00 53
  313. Xe04D0 00 77 00 4F 00 41 2C 00 0D 00 00 43 00 75 00 4B
  314. Xe04E0 00 3D 00 4F 2C 00 68 00 2C 00 77 00 2C 00 66 00
  315. Xe04F0 2C 00 00 47 00 4B 00 41 68 00 0D 00 00 53 00 47
  316. Xe0500 00 4B 00 41 77 00 0D 00 00 53 00 47 00 4B 00 41
  317. Xe0510 66 00 0D 00 00 53 00 75 2B 00 39 00 31 00 00 77
  318. Xe0520 00 50 00 4B 00 41 2B 00 39 00 31 00 0D 00 00 53
  319. Xe0530 00 53 00 53 00 77 00 50 00 4D 00 4D 00 4D 00 4D
  320. Xe0540 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D
  321. Xe0550 00 4D 0D 00 00 77 00 43 00 50 00 50 00 3C 00 B7
  322. Xe0560 00 3C 00 44 00 B0 00 C8 71 00 1B 00 1B 00 00 B4
  323. Xe0570 00 B8 00 C8 71 00 00 00 00 00 00 00 00 00 00 00
  324. Xe0580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  325. Xe0590 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  326. Xe05A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  327. Xe05B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  328. Xe05C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  329. Xe05D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  330. Xe05E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  331. Xe05F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  332. Xe0600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  333. Xe0610 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  334. Xe0620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  335. Xe0630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  336. Xe0640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  337. Xe0650 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  338. Xe0660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  339. Xe0670 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  340. Xe0680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  341. Xe0690 00 00 03 71 44 69 61 6C 20 48 6F 6D 65 20 4E 75
  342. Xe06A0 6D 62 65 72 20 20 20 BA B3 20 20 20 20 20 20 20
  343. Xe06B0 20 20 20 20 20 20 20 00 00 00 00 B4 1B 00 00 3C
  344. Xe06C0 00 B8 00 C8 66 00 6E 00 00 C8 73 00 77 00 38 00
  345. Xe06D0 30 00 0D 00 71 00 00 3E 00 B0 00 C8 76 00 64 00
  346. Xe06E0 00 44 00 41 13 00 52 00 65 00 6D 00 65 00 6D 00
  347. Xe06F0 62 00 65 00 72 00 0D 00 00 3C 00 B8 00 77 00 50
  348. Xe0700 00 4F 2C 00 00 53 00 4F 2C 00 68 00 2C 00 77 00
  349. Xe0710 2C 00 66 00 2C 00 00 77 00 4F 00 41 68 00 0D 00
  350. Xe0720 00 41 2C 00 0D 00 00 43 00 75 00 4B 00 3D 00 47
  351. Xe0730 00 43 00 4B 00 41 68 00 0D 00 00 3D 00 75 2B 00
  352. Xe0740 39 00 31 00 00 77 00 50 00 4B 00 41 2B 00 39 00
  353. Xe0750 31 00 0D 00 00 53 00 53 00 53 00 77 00 50 00 4D
  354. Xe0760 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D
  355. Xe0770 00 4D 00 4D 00 4D 00 4D 0D 00 00 77 00 43 00 50
  356. Xe0780 00 50 00 3C 00 B7 00 3C 00 44 00 B0 00 C8 71 00
  357. Xe0790 1B 00 1B 00 00 B4 00 B8 00 C8 71 00 2C 00 66 00
  358. Xe07A0 2C 00 00 77 00 4F 00 41 68 00 0D 00 00 41 2C 00
  359. Xe07B0 0D 00 00 43 00 75 00 4B 00 3D 00 47 00 43 00 4B
  360. Xe07C0 00 41 68 00 0D 00 00 3D 00 75 2B 00 39 00 31 00
  361. Xe07D0 00 77 00 50 00 4B 00 41 2B 00 39 00 31 00 0D 00
  362. Xe07E0 00 53 00 53 00 53 00 77 00 50 00 4D 00 4D 00 4D
  363. Xe07F0 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D
  364. Xe0800 00 4D 00 4D 0D 00 00 77 00 43 00 50 00 50 00 3C
  365. Xe0810 00 B7 00 3C 00 44 00 B0 00 C8 71 00 00 B8 00 C8
  366. Xe0820 71 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  367. Xe0830 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  368. Xe0840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  369. Xe0850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  370. Xe0860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  371. Xe0870 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  372. Xe0880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  373. Xe0890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  374. Xe08A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  375. Xe08B0 00 00 00 00 00 00 00 00 00 00 04 71 44 69 61 6C
  376. Xe08C0 20 77 6F 72 6B 20 4E 75 6D 62 65 72 20 20 20 BA
  377. Xe08D0 B3 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00
  378. Xe08E0 00 00 00 B4 1B 00 00 3C 00 B8 00 C8 66 00 6E 00
  379. Xe08F0 00 C8 73 00 77 00 38 00 30 00 0D 00 71 00 00 3E
  380. Xe0900 00 B0 00 C8 76 00 64 00 00 44 00 41 13 00 52 00
  381. Xe0910 65 00 6D 00 65 00 6D 00 62 00 65 00 72 00 0D 00
  382. Xe0920 00 3C 00 B8 00 77 00 50 00 4F 2C 00 00 53 00 4F
  383. Xe0930 2C 00 68 00 2C 00 77 00 2C 00 66 00 2C 00 00 77
  384. Xe0940 00 4F 00 41 77 00 0D 00 00 41 2C 00 0D 00 00 43
  385. Xe0950 00 75 00 4B 00 3D 00 47 00 43 00 4B 00 41 77 00
  386. Xe0960 0D 00 00 3D 00 75 2B 00 39 00 31 00 00 77 00 50
  387. Xe0970 00 4B 00 41 2B 00 39 00 31 00 0D 00 00 53 00 53
  388. Xe0980 00 53 00 77 00 50 00 4D 00 4D 00 4D 00 4D 00 4D
  389. Xe0990 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D
  390. Xe09A0 0D 00 00 77 00 43 00 50 00 50 00 3C 00 B7 00 3C
  391. Xe09B0 00 44 00 B0 00 C8 71 00 1B 00 1B 00 00 B4 00 B8
  392. Xe09C0 00 C8 71 00 00 00 00 00 00 00 00 00 00 00 00 00
  393. Xe09D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  394. Xe09E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  395. Xe09F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  396. Xe0A00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  397. Xe0A10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  398. Xe0A20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  399. Xe0A30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  400. Xe0A40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  401. Xe0A50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  402. Xe0A60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  403. Xe0A70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  404. Xe0A80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  405. Xe0A90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  406. Xe0AA0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  407. Xe0AB0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  408. Xe0AC0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  409. Xe0AD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  410. Xe0AE0 00 00 05 71 44 69 61 6C 20 46 61 78 20 4E 75 6D
  411. Xe0AF0 62 65 72 20 20 20 20 BC C0 20 20 20 20 20 20 20
  412. Xe0B00 20 20 20 20 20 20 20 00 00 00 00 B4 1B 00 00 3C
  413. Xe0B10 00 B8 00 C8 66 00 6E 00 00 C8 73 00 77 00 38 00
  414. Xe0B20 30 00 0D 00 71 00 00 3E 00 B0 00 C8 76 00 64 00
  415. Xe0B30 00 44 00 41 13 00 52 00 65 00 6D 00 65 00 6D 00
  416. Xe0B40 62 00 65 00 72 00 0D 00 00 3C 00 B8 00 77 00 50
  417. Xe0B50 00 4F 2C 00 00 53 00 4F 2C 00 68 00 2C 00 77 00
  418. Xe0B60 2C 00 66 00 2C 00 00 77 00 4F 00 41 66 00 0D 00
  419. Xe0B70 00 41 2C 00 0D 00 00 43 00 75 00 4B 00 3D 00 47
  420. Xe0B80 00 43 00 4B 00 41 66 00 0D 00 00 3D 00 75 2B 00
  421. Xe0B90 39 00 31 00 00 77 00 50 00 4B 00 41 2B 00 39 00
  422. Xe0BA0 31 00 0D 00 00 53 00 53 00 53 00 77 00 50 00 4D
  423. Xe0BB0 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D 00 4D
  424. Xe0BC0 00 4D 00 4D 00 4D 00 4D 0D 00 00 77 00 43 00 50
  425. Xe0BD0 00 50 00 3C 00 B7 00 3C 00 44 00 B0 00 C8 71 00
  426. Xe0BE0 1B 00 1B 00 00 B4 00 B8 00 C8 71 00 00 00 00 00
  427. Xe0BF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  428. Xe0C00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  429. Xe0C10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  430. Xe0C20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  431. Xe0C30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  432. Xe0C40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  433. Xe0C50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  434. Xe0C60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  435. Xe0C70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  436. Xe0C80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  437. Xe0C90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  438. Xe0CA0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  439. Xe0CB0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  440. Xe0CC0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  441. Xe0CD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  442. Xe0CE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  443. Xe0CF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  444. Xe0D00 00 00 00 00 00 00 00 00 00 00 
  445. w
  446. q
  447. !
  448. echo Documentation for the DialTone macro is at the end of the shar.
  449. exit 0
  450.  
  451. ----------------:<---------------
  452.  
  453.    If you really want to know, here is documentation for the 
  454. dialtone macro :-) Should I call it ver 2.1 ??
  455.  
  456. {PHONE}{ESC}
  457.     Make sure you are in PHONE (If you already are ... some extra beeps)
  458. {F2}
  459.     Copy the current card to clipboard
  460. {MEMO}{MENU}fn
  461.     MEMO and open a new file. (Will try not clobber MEMO open file)
  462.     If memo is currently editing file and has a
  463.     dirty buffer, then the macros as given as SAFE ... they will try not to
  464.     overwrite. But for this to work, do not edit the macro. If you do
  465.     you are on your own (not that otherwise you aren't :-) [See "magic" above]
  466.     In any event, the characters from "yYnN" must not appear anywhere
  467.     in the rest of the macro. (Why?)
  468. {MENU}sw80{ENTER}q
  469.     Set MEMO to 80 Columns. (Dont change without thinking, and think again.)
  470. {F4}
  471.     Paste the card here. So that it can don the necessary fire suits.
  472. {APPT}{MENU}vd{F10}
  473.     Go to APPT, make sure we are viewing TODOs.
  474. {F7}{Ctrl-S}Remember{ENTER}{F2}
  475.     Fetch the Error Message for the macro into the clipboard.  (Dont change)
  476. {MEMO}{Ctrl-HOME}
  477.     Back to the job. Make sure cursor is where we expect it to be.
  478. {DOWN}{END},{DEL}{END},h,w,f,{Ctrl-HOME}{END}
  479.     Join the first line of the Address: (could have numbers).
  480.     Append things for FIND to eat.
  481. {F7}h{ENTER}{F7},{ENTER}{F9}{Ctrl-END}{LEFT}{F3}
  482.     Find the home number, be happy and delete all after it.
  483. {HOME}{F9}{LEFT}{F7}h{ENTER}{F3}
  484.     Delete everything before it.
  485. {Ctrl-END}+91{Ctrl-HOME}{DOWN}{LEFT}{F7}+91{ENTER}{DEL}{DEL}{DEL}
  486.     Similarly remove any country identifier string. 
  487.     (Careful if you edit, make sure {DEL}s match chars in country code91)
  488. {Ctrl-HOME}{DOWN}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}
  489. {RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{ENTER}
  490.     Sheer silk ! Give the guy just what he wants not more!.
  491. {Ctrl-HOME}{F9}{DOWN}{DOWN}{F2}
  492.     Okey doke. Pick it up and paste it on the clipboard.
  493. {Alt-PHONE}{F2}{F10}
  494.     Go and beep-boop! {F10} QUITs the DialTone application.
  495. {APPT}{MENU}q{ESC}{ESC}
  496.     Magically restore APPT. If it was open, it remains open. If it 
  497.     was closed, it remains closed. If it had a file open that needed
  498.     saving it still has a file open that needs saving. 
  499.     Who me ??!! I did nothing there!
  500. {PHONE}{MEMO}{MENU}q
  501.     Tell MEMO to quit. It will ask "Save changes before exiting" (Y/N)".
  502.     Leave him right there. DONT add a N here.
  503.     You must type that manually .. (Why?)
  504.  
  505. whew !!! what a mouthful !
  506.  
  507.