home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / yrndl153.zip / yd.doc < prev    next >
Text File  |  1997-03-13  |  121KB  |  2,836 lines

  1. YD.DOC        13 Mar 1997        (from YRNDL153.ZIP)
  2. (c) 1996-7 by Jerry Levy        Marblehead, MA USA
  3. jlevy@ibm.net
  4.  
  5. This is the full documentation file accompanying YARNDIAL
  6. in YRNDL153.ZIP (YARNDIAL v. 1.53)
  7.  
  8. README.1ST is a shortened version of YD.DOC.
  9. README.1ST should suffice for most people.  YD.DOC has
  10. assumed the bulk and format of a manual and become very long.
  11. Its Table of Contents is provided in the README.1ST file
  12. in the event you want assistance on a specific subject and
  13. do not wish to kill trees printing the whole YD.DOC.
  14.  
  15. Any comments, problems, bugs, irregularities or inconsistencies
  16. in operation of YARNDIAL or its installer, and any suggestions,
  17. should be sent to me at jlevy@ibm.net.  I will make every effort
  18. to respond to each one.
  19.  
  20. YARNDIAL.CMD is a menu-driven front end for C.T. Huang's 
  21. OS/2 Souper and Yarn off-line News and Mail reader programs
  22. and now supports use of VSoup as well as Souper.  VSoup is
  23. recommended because of its speed: it is multi-threaded for
  24. news retrieval.  I gratefully acknowledge Hardy Greich and his
  25. VSoup implementation by means of the sincerest form of flattery:
  26. the adoption here of his suggested mail and news subdirectory
  27. structure, and adoption of his innovation of allowing more than
  28. one Internet Service Provider's mail and news servers to be
  29. linked in a single on-line session. 
  30.  
  31. YARNDIAL.CMD is a ReXX utility running under OS/2 Warp.  It is 
  32. designed to automate the steps needed to retrieve and send news 
  33. articles and mail and while doing so to provide a more versatile, 
  34. friendlier interface for users than could be accomplished using 
  35. ordinary batch files.  Packaged with YARNDIAL.CMD is a
  36. rather full-function installer.  If YARN and Souper are up and
  37. running, installation of YARNDIAL via its installer is a breeze.
  38.  
  39. PRINTING THIS DOCUMENTATION
  40. This documentation file should be printed at 10 cpi (Courier or 
  41. other monospaced font preferred).  Left and right margins of
  42. 1 inch or less (0.75 inches works very well) are recommended.
  43.  
  44. NOTE:  At some point in this documentation I started to use
  45. %HOME% and %YARN% in place of HOME and YARN to denote
  46. the HOME and YARN environmental variables, which are the
  47. HOME and YARN directory paths as defined for installation
  48. of YARN.  And at other times I write of HOME or YARN
  49. as the directory names.  I think context will let you know
  50. what I mean.
  51.  
  52. IF YOU USE IN-JOY
  53. Read over Section 16.00 very carefully.  Give serious thought to
  54. setting a routing interface name in  each host setup that is unique,
  55. i.e., different from all other interface names used by IN-JOY or
  56. your other dialers (if you do use others).  This interface name is
  57. set in an options page for PPP and no doubt will be equally
  58. configurable in a corresponding SLIP options page when SLIP is
  59. supported by IN-JOY.  YARNDIAL will use this interface name you
  60. assign to positively correlate an existing connection to the
  61. YARNDIAL installation when YARNDIAL starts up.  It can only do
  62. this competently if you use unique interface names, different for
  63. all connections and providers.
  64.  
  65. There is a problem which in my experience is unique to IN-JOY
  66. where a router interface is sometimes left standing when phone 
  67. connection and connection to the router (i.e., to your Internet 
  68. Service Provider) have been terminated.  INTERFACE_REMOVAL in 
  69. the YD_PARMS.DAT file can overcome the problem by permitting
  70. removal of such interfaces when YARNDIAL finishes and the dialer
  71. is shut down.  Options are discussed in Section 16.00 and again
  72. summarized in the YD_PARMS.DAT file created upon installation of
  73. YARNDIAL.  Unless you establish simultaneous multiple (modem)
  74. connections, setting INTERFACE_REMOVAL=2 (which I use),
  75. or 1, is preferred.
  76.  
  77. If INTERFACE_REMOVAL is set equal to 1 or 2 (refer section 16.00),
  78. and a routing was left up when YARNDIAL exits, it is removed and a
  79. message is returned indicating deletion of the routing, with indication
  80. of the destination and router addresses.  The difference is that the
  81. setting of 2 removes such interfaces whatever the dialer; whereas
  82. a setting of 1 does so only if IN-JOY is the dialer.
  83.  
  84.  
  85. IF YOU ARE USING THE IAK DIALER (DIALER.EXE)
  86. Make sure when you set it up (SETTINGS or PROPERTIES), that if
  87. there is a box to check to CONFIRM BEFORE CLOSING that
  88. YOU SHOULD NOT CHECK IT  (If there is one it will probably
  89. be on the phone page of the settings notebook).  If you
  90. check the box, the dialer will need to ask you before it closes
  91. and the dialer may/will remain connected until you respond
  92. or it times out.
  93.  
  94. IF YOU ARE GOING TO USE VSOUP
  95. Aside from getting a copy of VSoup (see section 33.00), you will need to 
  96. get and install at least version 09c of EMX.
  97.  
  98.  
  99. This YARNDIAL program is and will stay freeware.
  100.  
  101. DIALERS
  102. For use of third-party dialers such as IN-JOY or ILINK/2, or if 
  103. you use PPP.EXE or SLIP.EXE dialup strings, it is most convenient 
  104. and strongly recommended that you go through the motions of 
  105. setting up SLIPPM even where you do not intend to use SLIPPM to 
  106. make the connection.  Think of SLIPPM in that context as a PM 
  107. program to conveniently store parameters where the YARNDIAL 
  108. installer can most readily get at them.
  109.  
  110. SLIPPM is a fine utility, and in most instances where you are
  111. connecting to a provider with other than the IBM/Advantis IAK
  112. dialer, alone or with add-on script packages such as PPDIAL29, it
  113. is serviceable.  ILINK/2 is an improvement over SLIPPM in
  114. many respects and piggybacks on SLIPPM-created dialup
  115. configurations.  IN-JOY is another improved dialer, but unlike
  116. ILINK/2, it was rewritten from the ground up and is totally
  117. independent of the SLIPPM, SLIP.EXE and/or PPP.EXE programs,
  118. and does not speak to (or listen to) the TCPOS2.INI file used by
  119. SLIPPM and ILINK/2.  IN-JOY version 1.0 now supports SLIP
  120. as well as PPP.  Most testing with IN-JOY was for version
  121. 0.9.  The very recent v. 1.0 seems to work equally well but after
  122. being mercilessly assaulted by its advertising gimmick I stopped
  123. all futher tests with it.
  124.  
  125. I am committed to adding and improving support of third-party
  126. dialers provided I can obtain a copy to work with and the 
  127. interface is not obscure.  So far, only ILINK/2 and IN-JOY have 
  128. been brought to my attention as alternatives to SLIPPM, PPP.EXE
  129. and SLIP.EXE.
  130.  
  131. Contact me if I do not support your pet dialer (jlevy@ibm.net).
  132.  
  133.                         CONTENTS
  134.  1.00  Installation For The Impatient User (Assumes Yarn And 
  135.         Souper Are Installed And They Work
  136.  2.00  What Is Yarndial?
  137.  3.00  Key Features
  138.          3.10   Multiple Service Providers
  139.          3.20   Setting Up To Access More Than a Single
  140.                  Provider's Servers In A Single Session
  141.  4.00  Copyright Notice And Disclaimers
  142.  5.00  Passwords - Disclaimer
  143.  6.00  How Does The Installer Work?
  144.  7.00  Example: Setting Up For Two Users (My Installation)
  145.  8.00  What Does YDINSTL.CMD Do?
  146.  9.00  .CMD Files Created - Meaning Of Customization 
  147. 10.00  Recreating Objects (Running OBJECTS.CMD - A Peculiarity)
  148. 11.00  Warp, Souper, VSoup, Yarn: Versions Tested
  149.          11.10   VSoup
  150.             11.11   VSoup is Supported
  151.             11.12   Changes That Have Been Made In YARNDIAL To 
  152.                     Enable VSoup Support, And Applicability To 
  153.                     Souper
  154.                11.121   Directory Structure
  155.                11.122   Command Lines: Souper vs. VSoup And Other 
  156.                         Command-Line Issues
  157.                11.123   No More YD_ALT.DAT Parameter File
  158.                11.124   Automatic Backups of  SOUP.ZIP
  159.                   11.1241   Restoring from the Backed-Up SOUP.ZIP File
  160.                11.125   (Changes in) How Scheduled Operation Works
  161. 12.00  You Have Not Installed Yarn And Souper Yet?
  162. 13.00  History
  163. 14.00  Should You Upgrade Anything Before You Install?
  164.         14.10   Souper
  165.         14.20   IBM/Advantis IAK Dialer
  166.         14.30   SLIPPM.EXE (Dial-Other-Internet-Providers Utility 
  167.                  and SLIP Upgrades
  168.         14.40   EMX
  169. 15.00  Before You Run YDINSTL.CMD
  170. 16.00  Notes On Using the IN-JOY Dialer
  171. 17.00  About The Fix-Interrupted-Import Option On The Main
  172.         YARNDIAL Menu
  173. 18.00  Souper Command-Line Options
  174. 19.00  Issues That May Come Up During Or After Install
  175. 20.00  Manual Install
  176. 21.00  Manual Install: The Password Problem
  177. 22.00  Connection_Type: The Different Choices
  178. 23.00  More About Dialup_String: A Programming Note
  179. 24.00  Zip And UnZip Files
  180. 25.00  Compression Executables: OS/2 Versus MS-DOS 
  181. 26.00  Some Other Breed Of Compression Utilities
  182. 27.00  Files For Setting Up Yarn And Souper From Scratch
  183. 28.00  Install EMXRT, METAMAIL, MIME64 (recommended)
  184.         28.10 EMXRT09 (optional, butEMXRT09c is required for
  185.                VSoup))
  186.         28.20 MIME64 (optional) 
  187.         28.30 METAMAIL (optional)
  188.            28.31  Metamail Tricks
  189.            28.32  Doing MIME Attachments Under Yarn, Metamail 
  190.                    Operation, Decoding Multipart Messages, and 
  191.                    Handling Non-Conforming MIME Attachments
  192.               28.321  Doing MIME Attachments Under Yarn
  193.               28.322  Decoding Non-Conforming Mime Attachments
  194.               28.323  Decoding MIME With MIME64.EXE
  195.               28.324  Content-type Editing:  MIME Associations
  196.            28.33  UUENCODED Attachments Under Yarn, 
  197.                    Using YEP
  198.               28.331  Installing YEP 
  199.               28.332  UUENCODED Attachments (Insertions)
  200.               28.333  Decoding UUENCODED Attachments Under
  201.                        Yarn
  202.               28.334  Decoding UUENCODED Attachments the
  203.                        Hard Way
  204. 29.00  Step-By-Step Installation Of Yarn and Souper
  205. 30.00  Note About Adding Newsgroups
  206. 31.00  Setting Up And Installing For Multiple Users
  207. 32.00  Connection Killed Or Not When YARNDIAL Ends
  208. 33.00  Where To Get Software And Helpful Documentation
  209. 34.00  Bugs and Error-Trapping
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216. 1.00  INSTALLATION FOR THE IMPATIENT USER (ASSUMES YARN AND 
  217.        SOUPER ARE INSTALLED AND THEY WORK)
  218.  
  219. =========
  220. BEFORE YOU START:
  221. I tried to mimic the directory structure required for VSOUP, but there 
  222. is 
  223. one thing I did not implement and yet felt should be done.  You can
  224. make the change yourself.  That change is to use reply.zip as the name
  225. for the reply-packet file in YARN's CONFIG file, and with a path which
  226. is the path recommended by Hardy Griech for his VSoup installation.
  227.  
  228. Edit the Reply-Packet statement in YARN's CONFIG file to show this
  229. new file name with its full path.  In my setup where E:\ADVANTIS
  230. is the %HOME% directory, this line becomes
  231.           reply-packet=E:\ADVANTIS\YARN\OUT\REPLY.ZIP
  232.  
  233. Substitute your own YARN %HOME% directory for E:\ADVANTIS.
  234.  
  235. That's it.  You don't have to do this.  Just seems desirable in the
  236. event you want to tackle the real VSoup installation at some later time.
  237. If you do it, best to do it before you (re)install YARNDIAL.  That way
  238. the installer finds the correct path and reply-packet filename and you
  239. won't have to edit a zillion places.
  240. ============
  241.  
  242.     1.10   First unzip YRNDLxxx.ZIP archive into a temporary 
  243. folder.  You have probably done that if you are reading this.
  244.  
  245. Files in the YRNDLxxx.ZIP archive are
  246.         FILE.DIZ        Zipfile Description
  247.         README.1ST    A lot shorter than YD.DOC
  248.         YD.DOC          This file
  249.         YDINSTL.CMD   The installer
  250.         YARNDIAL.CMD
  251.         GO.EXE          From GO_15.ZIP, needed by YARNDIAL
  252.         GO_15.ZIP      Please open at your leisure, read         
  253.                           the documentation and send Carsten         
  254.                           his postcard.
  255.  
  256.         Also an \ICONS\ subdirectory containing all of the icons 
  257.           needed
  258.  
  259.         (YD_ALT.DAT, for storing data for supplemental ISP's, is
  260.         no longer used.  Instead that data can be edited into the
  261.         YD_PARMS.DAT file created during installation.)
  262.  
  263.  
  264. If you unzipped YRNDLxxx.ZIP with PkZip without using the -d 
  265. option, you will not have a subdirectory named ICONS.  That 
  266. will not interfere with installation.  YDINSTL will manage 
  267. to find the icons.
  268.  
  269.        1.20   If you are using the IBM/Advantis IAK Dialer
  270. proceed directly to the next step (1.30).
  271.  
  272. If you are using either SLIPPM (the IBM Dial-Other-Internet-
  273. Providers utility) or the ILINK/2 dialer, you MUST set up
  274. SLIPPM and verify it can connect to your provider successfully
  275. before you run YDINSTL.CMD to install YARNDIAL.
  276.  
  277. If you are using either the IN-JOY dialer, or a SLIP.EXE or
  278. PPP.EXE dialup string to connect, you SHOULD set up
  279. SLIPPM and verify it can conect to your provider successfully
  280. before you run YDINSTL.CMD to install YARNDIAL.  This is
  281. because the YARNDIAL installer (YDINSTL.CMD) can extract
  282. parameters from the TCPOS2.INI file used to store SLIPPM
  283. setup information. 
  284.  
  285. In setting up SLIPPM, you MUST fill in the names of your news
  286. server, your mail gateway (i.e., your SMTP server), your POP
  287. mail server, your pop login ID, and your pop password.  This is 
  288. not required for SLIPPM operation but the YARNDIAL installer 
  289. (YDINSTL.CMD) needs them and will automatically incorporate those 
  290. parameters into YARNDIAL's data file.
  291.  
  292.        1.30   Double-click on YDINSTL.CMD and follow the 
  293. instructions in screen prompts.
  294.  
  295.        1.40   For unattended operation, read section 35.00.
  296.  
  297.  
  298. 2.00    WHAT IS YARNDIAL?
  299. YARNDIAL.CMD is a menu-driven front end for C.T. Huang's 
  300. OS/2 Souper and Yarn off-line News and Mail reader programs.  
  301. YARNDIAL is a ReXX utility running under OS/2 Warp.  It is 
  302. designed to automate the steps needed to retrieve and send news 
  303. articles and mail and while doing so to provide a more versatile, 
  304. friendlier interface for users than could be accomplished using 
  305. ordinary batch files.
  306.  
  307. YARNDIAL and its installer (YDINSTL.CMD) should work with any
  308. version of OS/2 Warp (3.0).  Beta testers have confirmed that fixes
  309. applied to YARNDIAL v. 1.32(beta) and beyond permit it to work with
  310. the OS/2 Merlin beta.
  311.  
  312. ReXX must be installed for YARNDIAL and its installer to run.
  313.  
  314. Yarn and Souper must be correctly installed and functioning (the 
  315. true test of "correctly installed").  YARNDIAL only functions as a 
  316. front end and control panel for Souper and its interfaces with 
  317. Yarn, and is not a substitute.
  318.  
  319. YARNDIAL's opening menu allows you seven choices:
  320.  
  321. MAIN SELECTION MENU
  322. 1  Only import Mail
  323. 2  Only import News Articles
  324. 3  Only import, but both Mail AND News
  325. 4  Only export (send Mail, Posts, Replies, and Follow-ups)
  326. 5  Everything: Get Mail and News AND send Posts, Replies,
  327.     Follow-ups
  328. 6  Complete an interrupted importation of mail/news
  329.          or rebuild a corrupted YARN history file
  330. 7  Souper options:  one-time-only changes in how souper runs:
  331.       Catchup on News
  332.       Maximum News Packet Size
  333.       Do not retrieve newsgroup articles longer than set number of lines
  334.       Read-only for Mail: Don't empty POP3 mailbox
  335. Press:
  336.     1 2 3 4 5 6 7   Executes functions as shown; goes off-line when done
  337.  or ! @ # $ % ^ &   Same functions; connection remains up
  338. To exit now and close connection: Escape key
  339. To exit, but leave any existing connection up: CTRL-Q
  340.  
  341.  
  342.  
  343. Note: The ! @ # $ % ^ & choices represent shift-1, shift-2, 
  344. through shift-7 on a US-English keyboard.  Those alternates may be
  345. changed to suit your own keyboard.
  346.  
  347.  
  348. 3.00  KEY FEATURES
  349. o  Automatic dialup, connection, retrieval and sending of 
  350. news and/or mail, and (usually) signoff.  Optionally, can be run 
  351. so connection remains up when YARNDIAL finishes.
  352.  
  353. o Ability under certain circumstances to use an existing
  354. SLIP or PPP connection to a provider.
  355.  
  356. o  Ability to select read-only for mail retrieval (doesn't empty 
  357. your POP3 mailbox).  I did not extend this to read-only for news 
  358. retrieval (i.e., to prevent your NEWSRC file from updating).  You 
  359. can edit the Souper parameters in YD_PARMS.DAT file following 
  360. installation to achieve this end (add -r to the 
  361. souper_getnews_xtra options element).
  362.  
  363. o  Ability to use a variety of dialup and connect options.    
  364. Supported are: the IBM/Advantis IAK Dialer,  IBM's Dial-
  365. Other-Internet-Providers utility (SLIPPM.EXE),  PPP.EXE and 
  366. SLIP.EXE dialup strings, the IN-JOY dialer (in-joy v. 09 is
  367. well tested, and v. 1.0 seems so far to be a plugin) and
  368. ILINK/2.  Other dialers can be used.
  369.  
  370. o  Menu-driven, for convenient selection of tasks.
  371.  
  372. o  Supports use of Souper and VSoup.
  373.  
  374. o  Ability to choose/change a limited number of Souper 
  375. or VSoup command-line options (menu, during install).
  376.  
  377. o  Ability to choose/change some Souper or VSoup command-line
  378. options (menu, when running YARNDIAL).
  379.  
  380. o  A YARNDIAL menu item which allows you to complete an 
  381. importation of news or mail which had been interrupted,  and 
  382. to call up the Yarn utility REBUILD to restore damaged Yarn 
  383. spool and history files.  (You don't need to understand this:  
  384. if you were downloading news and mail and it never showed 
  385. up, or your machine quit in the middle, or the lights went 
  386. out, maybe this will provide a fix.)
  387.  
  388. o  YDINSTL.CMD provides a near-automated (prompted) 
  389. installation process if you already have installed Yarn and 
  390. Souper and they work.
  391.  
  392. o  Some ability exists to discriminate if the connection 
  393. that is up is the correct connection for the particular user 
  394. for which YARNDIAL was installed.  For the IN-JOY dialer
  395. this works best if one selects a unique interface name
  396. when configuring IN-JOY to connect to your provider.  Refer 
  397. Section 16.00 for more on use of the IN-JOY dialer.
  398.  
  399. o  Ability when you run YARNDIAL to do catchup on news.  
  400. Catchup marks as read all but some number you specify of 
  401. unread articles in each news group.  Catchup as implemented
  402. in YARNDIAL uses the same "catchup" number for all
  403. newsgroups. 
  404.  
  405. o  Among the Souper/VSoup command-line options you can
  406. choose when you run YDINSTL.CMD or at runtime when
  407. YARNDIAL is executed are:
  408.       Set maximum size of the news packet you can download 
  409.       in a single session
  410.   and        
  411.       Limit retrieval of news articles to those with no more than 
  412.       some maximum number you set of lines in the body of the 
  413.       article.
  414.  
  415. o  Ability to set up and (try to) connect to multiple ISP's in a
  416. single session (refer next section).
  417.  
  418.          3.10   MULTIPLE SERVICE PROVIDERS
  419. YarnDial Version 1.5x allows you to get news and mail and send
  420. mail and postings to/from more than one ISP in a single session.
  421. This was an idea copied from Hardy Griech's VSoup. (Thanks).
  422. Not all Service Providers will let you access POP3 Mail Servers
  423. and NNTP News Servers when you are signed on to another
  424. provider.  This is because, for security reasons, those servers
  425. may operate behind firewalls and part of the security regime
  426. is that those servers can only be accessed (ordinary subscribers)
  427. via a dial-in or otherwise directly-logged connection.
  428.  
  429. That limitation generally does not apply to the sending of mail,
  430. posts, etc., via an SMTP server.  Any mail gateway (SMTP server)
  431. to which you have access via the ISP you dialed into, will
  432. appropriately accept and broadcast your outgoing mail and postings.
  433. Whatever additional ISP's you add to YD_PARMS.DAT, we always
  434. do our sendoing send with the server/settings for the ISP 1 (the one
  435. you did the YarnDial install for).
  436.  
  437.          3.20   SETTING UP TO ACCESS MORE THAN A SINGLE
  438.                  PROVIDER'S SERVERS IN A SINGLE SESSION
  439.  
  440. First install YARNDIAL and make sure YARNDIAL is working well
  441. for your principal Internet Service Provider (ISP).
  442.  
  443. Then print out and read the notes contained in YD_PARMS.DAT
  444. which the YARNDIAL installation creates in the Yarn %HOME%
  445. directory.  The parts concerning adding more ISP's are near the
  446. end.
  447.  
  448. Only then experiment to see if your alternate ISP can be
  449. accessed.  Open YD_PARMS.DAT in your %HOME% directory and
  450. edit parameters for your second ISP.  Play with them until either
  451. you can do what you want (get/send stuff) or until you determine
  452. that firewall protection prevents this kind of access.  Do this for
  453. each additional ISP section in YD_PARMS.DAT in turn.  Set
  454. each ISP_ACTIVE.i=1 or 0 in YD_PARMS.DAT to activate or
  455. de-activate each added ISP section. 
  456.  
  457. NOTE: Because you may need to play around a bit, the password
  458. fields are managed such that if you have something in both the
  459. encrypted and unencrypted fields, only what is in the unencrypted
  460. field(s) is operative.  That way you can make changes to your
  461. heart's content with simple editing.  When/if you get it working,
  462. you can and should wipe out the unencrypted entry, do the encryption
  463. (see the note in the YD_PARMS.DAT you printed out) and transfer
  464. the encrypted password(s) into YD_PARMS.DAT.
  465.  
  466. Because of protection schemes your ISP providers may use, it may
  467. not be possible to get mail or news from all of them while logged in
  468. via modem to a different ISP.
  469.  
  470. You can add as amny ISP's to YD_PARMS.DAT as you like, setting
  471. them active or not, also as you desire.  The only caveat is that the
  472. first ISP should always be left active (ISP_ACTIVE.1=1).
  473.  
  474.  
  475. 4.00  COPYRIGHT NOTICE AND DISCLAIMERS
  476.         YDINSTL.CMD is Copyright 1996-7 by Jerry Levy
  477.            (all rights reserved)
  478.         YARNDIAL.CMD is Copyright 1995-7 by Jerry Levy 
  479.                    (all rights reserved)
  480.         YD.DOC is Copyright 1995-7 by Jerry Levy 
  481.                    (all rights reserved)
  482. These are provided as-is and without charge, with no 
  483. warranty expressed or implied as to merchantability or 
  484. fitness for any particular purpose.  All responsibility for 
  485. any and all incidental and consequential damages is 
  486. disclaimed.  These programs and associated text files are 
  487. freeware.  They may be distributed without restriction 
  488. providing: (1) this notice and disclaimer remain intact, (2) 
  489. all programs and files are included and unchanged, and (3) 
  490. they are distributed either in the original .zip archive or 
  491. the archive after being unzipped into a folder or onto a 
  492. disk or other medium.  Use of either or both of these 
  493. programs constitutes acceptance of these terms by all users.
  494.  
  495. GO.EXE and GO_15.ZIP are  (c) 1993-95 by Carsten Wimmer and 
  496. are included with permission.
  497. YARN.ICO is (c) by Chin Huang and is included with 
  498. permission.
  499.  
  500.  
  501. 5.00   PASSWORDS - DISCLAIMER
  502. Some passwords are extracted from dialer setup files, and 
  503. while installing for use of the IBM/Advantis IAK Dialer, 
  504. we prompt for the Advantis password.  To keep these 
  505. passwords free from the casual eye, we scramble them before 
  506. they are written to YD_PARMS.DAT.  YARNDIAL unscrambles them 
  507. to use them.  Bear in mind that this is very low-tech 
  508. password protection.  It is minimal protection against a 
  509. threat posed by a skilled programmer or dedicated interloper.
  510.  
  511.  
  512. 6.00   HOW DOES THE INSTALLER WORK?
  513. YDINSTL.CMD fetches information from one or more of: the IAK 
  514. dialer's DIALER.INI file, the TCPOS2.INI file, the IN-JOY
  515. HOSTS.DAT file, and/or the YARN CONFIG file.
  516.  
  517. It goes after and processes other information 
  518. it finds on its own prompts you to enter.  YDINSTL then creates a 
  519. data file  (YD_PARMS.DAT) which is written to the home directory 
  520. for the Yarn user setup for which you are doing a YARNDIAL 
  521. installation.  YD_PARMS.DAT stores ALL of the installation-
  522. specific parameters YARNDIAL needs in order to run. 
  523.  
  524. YDINSTL also creates a folder on the desktop which houses program 
  525. objects for five objects; four for customized ReXX utility 
  526. programs created by YDINSTL for this user and a fifth object in 
  527. the folder for running YARNDIAL.
  528.  
  529. Another customized program (OBJECTS.CMD) is created that will 
  530. restore the Desktop Folder and its five Program Objects should you 
  531. need to.  This program is stored in the user's Home directory 
  532. also.
  533.  
  534. The folder name includes the name of the home directory of the 
  535. Yarn user setup you installed for.
  536.  
  537. The utility programs themselves (as opposed to their program 
  538. objects) are stored in the user's home directory.
  539.  
  540. YDINSTL IS RUN SEPARATELY FOR EACH YARN USER SETUP
  541. If you set up more than one user when you set up YARN you need to 
  542. run YDINSTL separately for each one of them.
  543.  
  544.  
  545. 7.00   EXAMPLE: SETTING UP FOR TWO USERS (MY INSTALLATION)
  546. In my setup I have two users, each with its own YARN directory, 
  547. For each, the HOME directories are the same as the YARN 
  548. directories.  This is somewhat unconventional but it works like a 
  549. charm and solves some problems I need not go into here (drop me a 
  550. note if interested).  
  551.  
  552. I have set up one user for connection to the IBM/Advantis system 
  553. (using the IBM/Advantis IAK Dialer to establish a SLIP 
  554. connection), and I have set up a second user for connection via 
  555. PPP to the ATT WorldNet service (using IBM's Dial-Other-Internet-
  556. Provider utility, SLIPPM.EXE, to connect, or the IN-JOY or ILINK/2 
  557. dialers to connect).
  558.  
  559.         NOTE:  When you set up SLIPPM, you will be asked to assign 
  560.         a name for that entry (first box on first page of the 
  561.         entry form).  Contrary to what I had once recommended, YOU  
  562.         SHOULD USE ALL UPPERCASE FOR THE NAME.
  563.  
  564.         WHY?   Because when slippm is run, some information, such 
  565.         as the running total of number of connections, is saved in  
  566.         TCPOS2.INI, under the same name, but the name in all-
  567.         uppercase.  If the application name you specified was 
  568.         lowercase or mixed cases, you will store your application 
  569.         parameters under that name and you will create a separate 
  570.         entry (all uppercase) for the connect data.  If your 
  571.         application name is all-uppercase, your connect data are 
  572.         consolidated under a single uppercase .INI file 
  573.         "application" name.
  574.  
  575.  
  576. Following is how I created my Yarn and Home Directories. Please 
  577. read Sections 27.00, 28.00 and 29.00 (Setting up Yarn and Souper) 
  578. for all the other things one needs to do in addition to setting 
  579. up directories.
  580.  
  581.    Unzip YRN2_09x.ZIP into a temporary folder.
  582.  
  583.    From an OS/2 command line after changing to that temporary       
  584.    directory run
  585.          ENGLISH E:\ADVANTIS and then ENGLISH E:\WORLDNET.  
  586.    This creates separate E:\ADVANTIS and E:\WORLDNET directories    
  587.    for YARN. 
  588.  
  589.    Add the following to your CONFIG.SYS file and reboot (We do   
  590.    this first for the ADVANTIS installation, then for WORLDNET): 
  591.         SET YARN=E:\ADVANTIS
  592.         SET HOME=E:\ADVANTIS
  593.         SET TZ=EST5EDT
  594.  
  595.    Open an OS/2 Window session, change to the E:\ADVANTIS 
  596.    directory, and run
  597.         ADDUSER.EXE
  598.    defining E:\ADVANTIS as the home directory, and filling in the 
  599.    other blanks.
  600.  
  601. STRONGLY RECOMMENDED:  for your reply-packet file (when you are
  602. into the ADDUSER.EXE screen, name your reply-packet REPLY.ZIP
  603. and use the path (for the example shown):
  604.         E:\ADVANTIS\YARN\OUT\REPLY.ZIP
  605. Replace E:\ADVANTIS with whatever you have as your HOME dorectory.
  606.  
  607. This will make your setup more consistent with that recommended for
  608. VSoup than it would be if you used the usual YARN default.
  609.  
  610.    Repeat that process for the WORLDNET installation: re-edit
  611.    CONFIG.SYS by replacing the ADVANTIS lines with
  612.        SET YARN=E:\WORLDNET and SET HOME=E:\WORLDNET
  613.    reboot; change to the E:\WORLDNET directory in an OS/2 window  
  614.    session; run ADDUSER.EXE from the command line, define 
  615.    E:\WORLDNET as the home directory, and fill in the other 
  616.    blanks.
  617.  
  618. (Also set up a NEWSRC file for each home directory, run 
  619. NEWGROUP.EXE to add new groups to each, create a signature file, 
  620. edited each of the Yarn CONFIG files, etc., etc., as detailed 
  621. below in Sections 27.00, 28.00, and 29.00)
  622.  
  623. I ran YDINSTL.CMD once for the Advantis user, and again for the 
  624. WorldNet user.  YDINSTL lets you key in home and yarn directories 
  625. for any correctly-set-up Yarn user so you do not need to fool with 
  626. CONFIG.SYS again.
  627.  
  628. NOTE:  For the WorldNet installation, when I had set up the Dial-
  629. Other-Internet-Provider (SLIPPM) to dial in, I assigned the name 
  630. WORLDNET (all-uppercase preferred) to the dialup entry.  So, when 
  631. YDINSTL.CMD is run specifying E:\WORLDNET as the home and yarn 
  632. directories and choosing connection_type 4 and SLIPPM to connect, 
  633. YDINSTL presents me with a menu of TCPOS2.INI applications to 
  634. choose from, one of which is WORLDNET, in the exact upper-case/ 
  635. lower-case form (all-uppercase) that I used as my SLIPPM entry 
  636. name when I configured SLIPPM for the connection. 
  637.  
  638.  
  639. 8.00   WHAT DOES YDINSTL.CMD DO?
  640. o Fetches information, parameters, etc.
  641.  
  642. o Wherever  it can, it presents menus for you to choose from when 
  643. you need to make selections
  644.  
  645. o Copies files from a temporary directory to the user HOME 
  646. directory
  647.  
  648. o Creates five customized ReXX programs for each installation, 
  649. copying them to the respective home directory
  650.   
  651. Functionality of four of these:
  652.     - YARNSHELL.CMD   Opens (starts) YARN for that user 
  653.                         (to read news and mail, and to 
  654.                         create mail, posts and replies)
  655.  
  656.     - YARNUTIL.CMD    Prompts for and runs YARN utility 
  657.                         programs for that user
  658.  
  659.     - RENEWZIP.CMD    Allows you to restore a reply-packet 
  660.                         (.ZIP) if during sending of mail a 
  661.                         glitch was encountered
  662.  
  663.     - LOGOFF.CMD      Helps assure log off by shutting 
  664.                         down the IAK Dialer, SLIPPM, PPP, 
  665.                         SLIP, SLATTACH, IN-JOY.  Uses 
  666.                         IN-JOY's KILLJOY.EXE in order to 
  667.                         close down IN-JOY, if KILLJOY was
  668.                         found when LOGOFF was created by 
  669.                         YDINSTL.CMD.
  670.  
  671. Another customized program (OBJECTS.CMD) restores the desktop 
  672. folder and its objects if you have intentionally or accidentally 
  673. deleted it.
  674.  
  675. o YDINSTL creates a Desktop Folder unique to each installation, 
  676. with objects for the four programs whose functions we have just 
  677. described, and a fifth object for running YARNDIAL.CMD.
  678.  
  679. The folder name contains the name of the user's home directory, so 
  680. YARNDIAL desktop folders, each for a different user, will be 
  681. distinct from each other.
  682.  
  683.  
  684. 9.00   .CMD FILES CREATED - MEANING OF CUSTOMIZATION
  685. The ReXX files created by the installer are customized in the 
  686. sense that the OS/2 environment variables for HOME and YARN, 
  687. paths, and directory structures apply specifically to that 
  688. installation. 
  689.  
  690. Unless you change where files are located, LOGOFF.CMD, regardless 
  691. of the home directory for which it is customized, will perform 
  692. very nearly exactly the same shut-down functionality.  Thus for a 
  693. multi-user installation, one "centrally available" LOGOFF.CMD 
  694. shadow can be used whatever the user for which it was installed.
  695.  
  696. Customizing ReXX utilities for each user means that once you've 
  697. completed installation of YARNDIAL with YDINSTL.CMD you no longer 
  698. need to have a HOME or YARN environment variable in your 
  699. CONFIG.SYS file.  Since some other programs want their own HOME 
  700. variable set and don't share well, this will prove a great 
  701. convenience to some of you and of no interest to others.
  702.  
  703.  
  704. 10.00   RECREATING OBJECTS (RUNNING OBJECTS.CMD): A PECULIARITY
  705. OBJECTS.CMD as mentioned can recreate objects if you delete them.  
  706. Be aware (and this is identified as as a bug at the end of this 
  707. document even though in reality it may be a "feature" rather than 
  708. a "bug") that if you have moved the YARNDIAL desktop folder you 
  709. created during an installation with YDINSTL (for example into 
  710. another desktop folder), if you rerun YDINSTL or run OBJECTS.CMD 
  711. to recreate the folder on the desktop, the folder does not appear 
  712. on the desktop, but instead the one you moved to a new location is 
  713. refreshed.  Only if you delete the desktop folder (instead of 
  714. moving it) will it be RECREATED ON THE DESKTOP. 
  715.  
  716.  
  717. 11.00   WARP, SOUPER, VSOUP, YARN: VERSIONS TESTED
  718. This version of YARNDIAL and its installer have been tested by me 
  719. only on machines running OS/2 Warp Connect with TCPIP and Internet 
  720. stuff installed as part of the Warp installation.  Beta testers 
  721. have used it on machines running the Merlin beta.  Version 1.32 
  722. corrected an incompatibility created by the new format of output 
  723. from the NETSTAT utility.  NETSTAT is called by YARNDIAL.
  724.  
  725. YARNDIAL should run on any OS/2 Warp setup.  If you use the Dial-
  726. Other-Internet-Providers utility (slippm.exe), you will need to 
  727. get the upgraded version of TCP/IP and SLIPPM (2.0 or higher).  
  728. That should be available by connecting to an updates ftp site.  
  729. See Section 33.00 for a link. 
  730.  
  731. If you have installed TCPIP and the OS/2 internet stuff 
  732. successfully to OS/2 2.1, I would expect YARNDIAL and its 
  733. installer to work.  If anyone tries this under OS/2 2.1 or 2.11, I 
  734. would appreciate feedback and if there are problems, I will try 
  735. my best to help out.
  736.  
  737. Various YARN versions up to YRN2_092 have been tested, and
  738. the same applies to SOUPER, tested through the v. 1.6 beta.
  739.  
  740. I started using VSOUP with version 1.2.5.  Only that has been
  741. tested.
  742.  
  743.          11.10   VSOUP
  744. VSoup is multi-threaded for news retrieval, which increases its speed 
  745. over Souper tremendously if you take advantage of the threading option 
  746. and of an ability to set the aggressiveness of how it is implemented 
  747. (see below).   If watching the news retrieval  process with Souper 
  748. generated all the excitement of watching paint dry, you will like VSoup.  
  749. Section 33.00 in YD.DOC in this archive indicates where VSoup can be 
  750. obtained.
  751.  
  752. So far VSoup (version 1.2.5) is single-threaded for mail and posting.  
  753. The reasons for this are given in VSoup documentation.
  754.  
  755.             11.11   VSOUP IS SUPPORTED
  756. VSoup can now be elected as an alternative to Souper at installation 
  757. time.  No change in the YARN and SOUPER installation that is described 
  758. in YD.DOC (Section 29.00) is required in order to be able to use VSoup, 
  759. or to switch between VSoup and Souper.
  760.  
  761. That is, no change on your part.  Be aware that THIS VERSION OF YARNDIAL 
  762. DOES ALTER THE DIRECTORY STRUCTURE FROM WHAT WAS THE CASE
  763. FOR EARLIER VERSIONS.  Section 11.121 describes these changes.
  764.  
  765. While installing YARNDIAL, you will be prompted for whether you want
  766. to use Souper or VSoup, and if you use VSoup, for the number of threads
  767. you want to use (normal starting point is 4 but I find the maximum of
  768. 10 works fine).  You will also be prompted for how aggressive the
  769. mutithreaded news retrieval process is conducted; I use 2 (most
  770. aggressive); 1 is recommended as a starting point.
  771.  
  772. Souper and VSoup employ different command line syntax.  Refer Section
  773. 11.122 for more information.
  774.  
  775. You must make sure the respective VSoup.exe and Souper.exe programs are 
  776. available to the YARNDIAL program and the best way to do this is to copy 
  777. VSoup.exe, Souper.exe, or preferably both, into the directory you have 
  778. identified as the YARN directory  (in my preferred installation, the 
  779. YARN and HOME directories are one and the same; that may not be the case 
  780. with your setup).  The VSOUP variable in YD_PARMS.DAT will be set to 
  781. whichever of these you indicate you will be using at time of installing 
  782. YARNDIAL, and you can change it later if you decide to switch between 
  783. one and the other.  YARNDIAL always  checks if the correct Souper or 
  784. Vsoup program is available (in the YARN directory) and informs you if 
  785. the one you elected to use is not found.
  786.  
  787.             11.12   CHANGES THAT HAVE BEEN MADE IN YARNDIAL TO ENABLE 
  788.                     VSOUP SUPPORT, AND APPLICABILITY TO SOUPER
  789.                11.121   DIRECTORY STRUCTURE
  790. My own personal, recommended, preferred (etc.) directory structure for 
  791. YARN/SOUPER is to use one and the same directory as both the HOME and 
  792. YARN directory.  Thus the environmental variables %HOME% and %YARN% will 
  793. be the same.
  794.  
  795. Whether you did this or not YARNDIAL was also set up to use a single 
  796. %HOME%\incoming subdirectory as a temporary for both mail retrieval and 
  797. news retrieval, at least up through v 1.41.
  798.  
  799. A common directory for %HOME% and %YARN% is still recommended and
  800. as before is not required, but a change has been made starting with
  801. v 1.42 in respect to what temporary directory or directories into
  802. which mail and news are retrieved.  YDINSTL (starting with v 1.42)
  803. sets up separate %HOME%\YARN\IN\MAIL and %HOME%\YARN\IN\NEWS
  804. directories so that mail temporaries and news temporaries are in
  805. different directories.  The YARN subdirectory in those paths
  806. is the directory in which the Yarn CONFIG file resides.  In v 1.5x, the
  807. directory structure was elaborated such that in the %HOME%\YARN\IN
  808. directory, we create not only mail and news subdirectories, but for
  809. multiple ISP's we create mail2, news2, etc. directoies so there
  810. is both a news and a mail directory for each ISP.
  811.  
  812. Those %HOME%\YARN\IN\MAIL and %HOME%\YARN\IN\NEWS directories 
  813. are the directories in which the respective  SOUP.ZIP's are created upon
  814. MAIL or upon NEWS retrieval.  YARNDIAL imports mail first, then news,
  815. then posts, using successive subroutines.  Of course you can choose which
  816. of those or all of those you want to run in a given session by how you 
  817. respond to the main menu prompts.  In each of the MAIL and NEWS 
  818. retrieval subroutines, YARN's IMPORT.EXE program is run after SOUP.ZIP 
  819. is created.  It both imports  SOUP.ZIP into yarn, and erases SOUP.ZIP 
  820. afterwards.
  821.  
  822. Separate temporary directories for incoming mail and incoming news, and 
  823. specifically the %HOME%\YARN\IN\MAILx and %HOME%\YARN\IN\NEWSx 
  824. subdirectory structure, and even the directory names used are adopted 
  825. from Hardy Griech's VSOUP, with appreciation.
  826.  
  827.                11.122   COMMAND LINES: SOUPER vs. VSOUP AND OTHER 
  828.                          COMMAND-LINE ISSUES
  829.  
  830. Souper and VSoup employ different command line syntaxes and some command 
  831. line options are different for the two programs, as shown here, with 
  832. news retrieval from the nntp server used as the example:
  833.  
  834.          souper.exe options newsserver userid password
  835.  
  836.          vsoup.exe different_options nntp://userid:password@newsserver 
  837.  
  838. You may also be faced with the possibility that in either the Souper or 
  839. VSoup situation, you may need to specify pop ID and password, maybe 
  840. login ID and login password, or maybe neither or maybe just one of them.
  841.  
  842. Therefore three new variables were added to YARNDIAL's YD_PARMS.DAT 
  843. file: 
  844.      
  845.      GETMAIL_AUTHO
  846.      GETNEWS_AUTHO
  847.      SEND_AUTHO
  848.  
  849. which allows you to switch between how ID and password authorizations 
  850. are handled on command lines for accessing the servers (see also
  851. Section 11.124)
  852.  
  853. These AUTHOrization parameters apply to both Souper and VSoup and
  854. the permissable settings of 1, 2 or 3 mean the following (illustrated 
  855. for
  856. news retieval):
  857.  
  858.      GetNews_Autho=1         Uses POP ID and POP Password
  859.      GetNews_Autho=2         Uses Login ID and Login Password
  860.      GetNews_Autho=3         Uses servername without either ID or 
  861.                                 Password specified in the command
  862.  
  863. The default for all three authorization parameters (GETMAIL_AUTHO,
  864. GETNEWS_AUTHO, and SEND_AUTHO, is to set them equal to 1, which
  865. means to use POP ID and POP Password.
  866.  
  867.                11.123   NO MORE YD_ALT.DAT PARAMETER FILE
  868. This was added in v. 1.42 but removed in later versions.  Alternate or
  869. additional ISP's can now be added to the end of the YD_PARMS.DAT file
  870. that is created during installation.  There is rather complete 
  871. documentation for this in YD_PARMS.DAT itself, which is to be found
  872. in the Yarn %HOME% directory.  Print it out after you have installed
  873. YARNDIAL.   See also Section 3.20.
  874.  
  875.                11.124   AUTOMATIC BACKUPS OF SOUP.ZIP
  876. YARNDIAL v 1.42 now creates backups of the MAIL-retrieval SOUP.ZIP file 
  877. as a default.  This idea was proposed by Robin Klitscher who, like me, 
  878. would occasionally suffer a botched mail reception or importation.  
  879. Though Robin puts backups in a directory separate from the one used as a 
  880. temporary, I put it in the same one.
  881.  
  882. By default we back up the mail SOUP.ZIP and not the news SOUP.ZIP.  You 
  883. can change this.  In YARNDIAL are two statements:
  884.                make_mail_soupzip_backup = 1
  885.                make_news_soupzip_backup = 0
  886. 1 backs up, 0 doesn't. 
  887.  
  888.                   11.1241   RESTORING FROM THE BACKED-UP SOUP.ZIP
  889. The following procedure is recommended:
  890.  
  891. - Run YARNDIAL and select and run the Rebuild option from the main menu
  892. (Option 6).  This zips up any files left as debris from the previous
  893. retrievals of mail and/or news, and imports the resulting SOUP.ZIP.
  894. If the previous retrieval processes had already created the SOUP.ZIP
  895. but not imported it, this imports it.
  896.  
  897. - Next, in an OS/2 window, change to the %HOME%\YARN\IN\MAIL directory
  898. if you want to restore SOUP.ZIP, for a backed up mail retrieval, or
  899. change to the %HOME%\YARN\IN\NEWS directory for news.
  900.  
  901. - Rename the appropriate backed-up SOUP.ZIP back to SOUP.ZIP or copy
  902. it to SOUP.ZIP (renaming eliminates that particular backup; copying
  903. it preserves it).  The "appropriate backed-up SOUP.ZIP" will be named 
  904. SOUP.ZIK for the most recent one, and SOUP.ZKK for the one just
  905. previous to that one.
  906.  
  907. - Repeat the previous two steps for the other incoming dir if you want
  908. to restore both a mail backed-up SOUP.ZIP and news backed-up SOUP.ZIP
  909. at the same time.
  910.  
  911. - Start YARNDIAL and run the Rebuild option.
  912.  
  913. - Done.
  914.  
  915.  
  916.  
  917.                11.125   (CHANGES IN) HOW SCHEDULED OPERATION WORKS
  918. This is for those of you that use a scheduler, such as CHRON or ROBO
  919. (I do not).  My own kludge, TIMER.CMD, included with YARNDIAL v 1.41,
  920. was left out of later distributions.
  921.  
  922. There is no longer a discrete variable, CHOOSE, in YD_PARMS.DAT.   
  923. Instead, YARNDIAL now takes a command line argument and internally 
  924. assigns it to the CHOOSE variable.  As before (v 1.41), if CHOOSE is 
  925. anything but a blank, prompting is suppressed and YARNDIAL starts, 
  926. dials, runs, and completes without interruption.  If there is no 
  927. command-line argument, YARNDIAL operates as before (="normally").  
  928. Consequently, YARNDIAL can be called up by a scheduler program and will 
  929. run in unattended fashion.
  930.  
  931. The command line argument that becomes the CHOOSE setting represents one 
  932. of the first five of the  choices (out of the original 7) that appear in
  933. YARNDIAL's usual main menu.  Valid settings for CHOOSE are 1, 2, 3, 4,
  934. or 5 for operation with shutdown of the dialer when YARNDIAL 
  935. finishes, or ~ ! @ # $ or %  (these are SHIFT-1 through SHIFT-5 on a US 
  936. keyboard) if the "do not kill connection' was opted for; these leave the 
  937. connection up upon completion of YARNDIAL.
  938.  
  939. A typical command line to run YARNDIAL with a scheduler program to get 
  940. mail and retrieve news (Main Menu option 3) would look like either
  941.         YARNDIAL.CMD 3
  942. or
  943.         cmd.exe. /c YARNDIAL.CMD 3
  944. depending upon whether your scheduler requires the command processor 
  945. that calls up YARNDIAL.CMD to be explicitly indicated in the executable 
  946. command.
  947.  
  948. This (these) command lines should both shut down the phone connection 
  949. after YARNDIAL has finished; and there will be suppression of prompting.
  950.  
  951. However, either
  952.         YARNDIAL.CMD #
  953. or
  954.         cmd.exe. /c YARNDIAL.CMD #
  955. would perform the same news and mail retrieval operations but the phone
  956. and internet connections would remain up at the end (# is SHIFT-3).
  957.  
  958. Suppression of prompting occurs whenever the variable CHOOSE is set with 
  959. a valid command line argument.  So you could also enter an argument in
  960. the Parameters field of the YARNDIAL object and it would behave as if
  961. it were a command line argument.
  962.  
  963. In v 1.42, I have made it more difficult to run with a scheduler in the 
  964. "do not close connection when YARNDIAL is finished" mode.   If you 
  965. really want to do that, you must edit a variable I added to 
  966. YD_PARMS.DAT, namely OVERRIDE_DNK_DURING_REMOTE.
  967.  
  968. OVERRIDE_DNK_DURING_REMOTE is defaulted to 1 during installation.  That 
  969. overrides leaving the connection up when running YARNDIAL with a valid 
  970. command-line argument.
  971.  
  972. OVERRIDE_DNK_DURING_REMOTE must be set equal to 0 to retain the
  973. "do NOT kill connection" option whenever CHOOSE is set as a command line 
  974. argument.  If you run in normal operation with no command line argument, 
  975. there is no override and the "do not kill connection" mode operates as 
  976. expected.
  977.  
  978. The risk in any unattended "kill connection" or "do not kill connection" 
  979. mode is that some error might cause YARNDIAL to fail and could 
  980. unintentionally keep your phone connection up so you generate excessive 
  981. phone and connect-time charges.
  982.  
  983. I do not use YARNDIAL with a scheduler program for that reason.
  984.  
  985. A change, begun in v 1.41 but cleaned up in v 1.42, and which 
  986. improves reliability of unattended operation for those of you with more 
  987. courage than I possess, is in local error trapping.
  988.  
  989. Local error trapping is now on by default (you must edit YARNDIAL.CMD 
  990. to turn it off).
  991.  
  992. The exit routines in the event of an error are more likely than before 
  993. to close YARNDIAL normally and shut down the phone connection.
  994.  
  995. Even if you have selected the "do not close connection" option and
  996. have set  OVERRIDE_DNK_DURING_REMOTE to 0, if YARNDIAL does 
  997. encounter an error, it should, on exiting,, reverse that option and 
  998. close down the phone connection.  
  999.  
  1000. Since I do not use a scheduler, it would be helpful if someone who does 
  1001. would check this out and see if the connection is really closed down 
  1002. under unattended operation in "do not close connection" mode for the 
  1003. whole gamut of error types: Syntax, Error, Failure, NoValue, Halt and 
  1004. NotReady.  You of course will have to generate those types of errors in 
  1005. controlled fashion.  I only generate them by misadventure.
  1006.  
  1007.  
  1008. 12.00  YOU HAVE NOT INSTALLED YARN AND SOUPER?
  1009. Sections 27.00, 28.00 and 29.00 have very detailed instructions. 
  1010.  
  1011.  
  1012. 13.00  HISTORY
  1013. YARNDIAL started out as a ReXX program which in the beginning did 
  1014. little more than do the work of an flock of OS/2 batch (.CMD) 
  1015. programs to automate dialup, automate the operations of Souper and 
  1016. Yarn to get mail and news and send mail and posts, and - to create 
  1017. a user-friendly menu-driven installer and to creatthen close the 
  1018. connection.  ReXX offered an easy-to-program user interface for 
  1019. unattended operation once YARNDIAL was started. ReXX allowed me to 
  1020. set up menus much more easily than with batch programs.
  1021.  
  1022. The earliest versions of YARNDIAL were configured by editing them 
  1023. with a text editor.  As more and more features and variables were 
  1024. added through a succession of beta versions, editing became more 
  1025. extensive and required more knowledge on the part of the user.  
  1026. Thus, configuration by editing YARNDIAL.CMD was both tedious and 
  1027. prone to user error.
  1028.  
  1029. I decided -- starting with v. 1.3 -- to develop an installer to provide
  1030. a friendlier set up.  The installer (YDINSTL.CMD) creates a unique data 
  1031. file in each Yarn user's home directory to store parameters.
  1032. YDINSTL.CMD does its thing with minimal need to study this external
  1033. documentation you are now reading.  Most input screens either request
  1034. the input of information twice so that verification is accomplished by
  1035. duplication, or it checks for existence of files or directories and
  1036. accomplishes verification automatically.
  1037.  
  1038.    13.10   VERSION HISTORY
  1039.       13.11   YARNDIAL.CMD AND ITS COMPANION INSTALLER YDINSTL.CMD
  1040.  
  1041. 13 Mar 97     YARNDIAL.CMD v. 1.53
  1042.   Some fixes
  1043.  
  1044. 04 Mar 97     YARNDIAL.CMD v. 1.52 (GA Release)
  1045.   Numerous small changes/customization/corrections so runs
  1046.   equally well under Object ReXX as well as Classic ReXX
  1047.  
  1048. 25 Jan 97    1.50 (final beta)  with multiple ISP capability
  1049.   
  1050.  
  1051. 07 Dec 96 to 24 Jan 97   Fixes, improvements, elaboration of v. 1.42
  1052.  
  1053. 07 Dec 96   BETA Release 1.42 (YARNDIAL.CMD and YDINSTL.CMD)
  1054.  
  1055.    VSoup is supported (multithreaded, so faster alternative to Souper).
  1056.  
  1057.    Removed TIMER.CMD, but improved ability to use with  other, better 
  1058.    scheduler programs.  CHOOSE variable is no longer in YD_PARMS.DAT but 
  1059.    is instead expected as a command line argument for use with scheduler 
  1060.    programs 
  1061.  
  1062.    Improvement in how local-error-trapping functions
  1063.  
  1064.    A new data file (YD_ALT.DAT) to supplement YD_PARMS.DAT
  1065.  
  1066.    New directory structure: more like what VSoup uses
  1067.  
  1068.    Fixes applied to all outstanding problems for which root cause
  1069.    has been identified
  1070.  
  1071. 24 Sep 96   BETA Release 1.41 and 1.41a (YARNDIAL.CMD and YDINSTL.CMD)
  1072.  
  1073.    Added TIMER.CMD as a program to run YARNDIAL.CMD remotely
  1074.    that is, to run it, unattended, at preset times.  TIMER.CMD can
  1075.    execute YARNDIAL.CMD unattended and re-run at set intervals,
  1076.    or it can execute YARNDIAL.CMD, unattended, but one time only.
  1077.    (TIMER.CMD was taken out in v 1.42)
  1078.    
  1079.    There are some new screens and a few changes in YDINSTL.CMD.
  1080.    Default for LOCAL_ERROR_TRAPPING in YARNDIAL.CMD is now
  1081.    set to 1 (local error trapping is enabled).
  1082.  
  1083.    INTERFACE_REMOVAL can now be set during the install and it is
  1084.    recommended you set it to 2 (unless you run with multiple modems
  1085.    simultaneously connected AND setting it to 2 gives you problems.
  1086.    In that event, set it to 0 which is no interface removal).
  1087.  
  1088.    YD_PARMS.DAT has a new variable: CHOOSE which is used when
  1089.    YARNDIAL is run in unattended fashion using the TIMER.CMD
  1090.    tool.
  1091.  
  1092.    v 1.41a was a maintenance release.
  1093.  
  1094.    
  1095. 15 Aug 96 - 17Sep96 versions 1.32x - 1.34(beta) (several)
  1096.    For IN-JOY dialer, added ability (optional) to wipe out phantom   
  1097.    router interfaces left up after IN-JOY shuts down.
  1098.  
  1099.    Further improvement in router interface recognition.
  1100.  
  1101.    Optional prompting during the install for all parameters 
  1102.    needed to run Souper, so you do not absolutely need to set up 
  1103.    slippm.exe to use (for example) in-joy.  Configuration of 
  1104.    slippm for installation of YARNDIAL for dialers other than the   
  1105.    IAK dialer and SLIPPM itself and ILINK/2 is still strongly  
  1106.    recommended as it is a time-saver.
  1107.  
  1108.    Added feature that YARNDIAL can be run either to kill the 
  1109.    connection or not to kill it when YARNDIAL finishes.  
  1110.    Improved ability to distinguish which connection is up if one   
  1111.    is up when YARNDIAL starts.
  1112.  
  1113.    Eliminated need for tempfile in wait-for-interface routines.
  1114.  
  1115. 11 Aug 96 v. 1.32(beta)
  1116.    Changed the YARNDIAL wait-for-interface and related subroutines
  1117.    to accomodate a changed netstat.exe released as part of the 
  1118.    Merlin beta.
  1119.  
  1120.    Changed menuing of dialer support in the installer.  ILINK/2 is 
  1121.    now supported as a menu item. You can also specify other   
  1122.    dialers not specifically mentioned in dialer menus.
  1123.  
  1124. 25 Jul 96 v. 1.31 (beta)
  1125.    Improved error-trapping.  Added variable to toggle error-
  1126.    trapping on and off in both YARNDIAL.CMD and YDINSTL.CMD using 
  1127.    the new local_error_trapping variable.
  1128.         
  1129. 19 Jul 96 v. 1.3 (beta)
  1130.    Numerous additions, major cleanup of the code.  Added a 
  1131.    separate installer (YDINSTL.CMD, v. 09(beta)).
  1132.  
  1133. 11 Jun 95        YRNDIAL1 (v 1.1) (NO INSTALLER)
  1134.    Fixed screwed up backing up of replies .Zip file
  1135.  
  1136. 11 Jun 95        YARNDIAL (1.0, original)
  1137.  
  1138.  
  1139. 14.00  SHOULD YOU UPGRADE ANYTHING BEFORE YOU INSTALL?
  1140. If you are using the Warp IAK Dialer, or using (or intend to use) 
  1141. the IBM Dial-Other-Internet-Providers utility (SLIPPM), you may 
  1142. need to update. That should be available by connecting to an 
  1143. updates ftp site.  See Section 33.00 for reference to a link. 
  1144.  
  1145.  
  1146.    14.10   SOUPER
  1147. There were some major changes in recent SOUPER versions.  You 
  1148. should be using SOUPER 14 or 15.  I cannot be sure earlier 
  1149. versions will be able digest all of the command-line arguments I 
  1150. have tacked on to Souper when YARNDIAL runs. 
  1151.  
  1152.  
  1153.    14.20   IBM/ADVANTIS IAK DIALER
  1154.             (FOR CONNECTION TO ADVANTIS ONLY)
  1155. If your dialer is version lower than 1.33, you should upgrade.  As 
  1156. of this writing the latest dialer is v. 1.65.  You can upgrade by 
  1157. signing on to Advantis in the usual way, double clicking on the 
  1158. Retrieve Software Updates Icon, and downloading the latest Dialer.  
  1159. Installation is automatic if you go that route.  Upgrades may also 
  1160. be available off ftp sites supported by IBM/Advantis.
  1161.  
  1162.    14.30   SLIPPM.EXE (DIAL-OTHER-INTERNET-PROVIDERS UTILITY
  1163.             AND SLIP UPGRADES)
  1164. This utility allows you to connect to a provider other than 
  1165. Advantis by either SLIP or PPP, but you may need to get the most 
  1166. recent version or update SLIP and TCPIP.
  1167.  
  1168. If you installed TCPIP and Internet Access as part of a Warp 
  1169. Connect installation, you are OK.  (Note: If you installed Warp 
  1170. Connect, you should have installed the Internet Connection 
  1171. features only as part of the Warp Connect installation or in a 
  1172. post-installation using one of the Selective Install icons in the 
  1173. Warp Connect OS/2 System folder, not from the Bonus Pak).
  1174.  
  1175. If you are running Warp 3.0 (not Warp Connect) you will have 
  1176. installed the Internet Access Kit from the Bonus Pak.  You should 
  1177. upgrade to SLIPPM v 2.0 and the latest TCPIP, if you have not 
  1178. already done so.  That should be available by connecting to an 
  1179. updates ftp site.  See Section 33.00 for reference to a link.
  1180.  
  1181.         14.40   EMX
  1182. (See Section 29.10).  If you will be using VSOUP, you need EMX and
  1183. it must be v 09c.
  1184.  
  1185.  
  1186. 15.00   BEFORE YOU RUN YDINSTL.CMD
  1187. Yarn and Souper must be correctly installed.
  1188.  
  1189. You must be able to connect with your Internet Service Provider 
  1190. with the IAK Dialer, SLIPPM, IN-JOY, ILINK/2, a PPP dialup string, 
  1191. or a SLIP dialup string, or some other dialer. 
  1192.  
  1193. If you are just using the IAK Dialer,  you do not need to set up 
  1194. to connect via SLIPPM, the Dial-Other-Internet-Providers 
  1195. utility.  If otherwise, you should go through the motions of 
  1196. setting up the SLIPPM to connect to your provider.  And in setting 
  1197. up SLIPPM, you MUST fill in the names of your news server, your 
  1198. mail gateway (i.e., your SMTP server), your POP mail server, your 
  1199. pop login ID, and your pop password even though those are not 
  1200. mandatory parameters for operation of SLIPPM.  
  1201.  
  1202. WHY DO THIS?
  1203. Unlike SLIPPM, IN-JOY is a connect-only program and does not store 
  1204. such information as news server, mail gateway, or other similar 
  1205. information which programs like YARNDIAL needs as parameters.  
  1206. SLIPPM and the IBM/Advantis IAK Dialer do, using their respective 
  1207. .INI files, TCPOS2.INI and DIALER.INI.  Furthermore, SLIPPM.EXE, 
  1208. PPP.EXE, SLIP.EXE use the TCPOS2.INI file to record information 
  1209. about the current connection.  IN-JOY does not write to TCPOS2.INI 
  1210. but does have some information aboutr the current connection in 
  1211. the RESOLV file.
  1212.  
  1213. This behind-the-scenes use of the DOIP utility applies to use of a 
  1214. PPP.EXE or SLIP.EXE dialup string, and use of most other dialers 
  1215. including IN-JOY and excluding only the IAK dialer.  IN-JOY does 
  1216. not store all of what is important for YARNDIAL's purposes.  
  1217. Rather IN-JOY just dials and connects.  
  1218.  
  1219.  
  1220. 16.00   NOTES ON USING THE IN-JOY DIALER
  1221. When you set up IN-JOY, it is strongly recommended that you assign 
  1222. a unique interface name for each IN-JOY host connection you set 
  1223. up, and have this be different from interface names that may be in
  1224. use by other dialers or network connections.
  1225.  
  1226. "Interface Name" in IN-JOY is an option on the PPP page (and 
  1227. presumably will be an option on the SLIP page when SLIP is 
  1228. supported.  You can use up to 5 letters (all letters; no numbers)
  1229. and I suggest (it is not mandatory) you use all 5 positions.  This 
  1230. gives you 11,881,376 different combinations ignoring upper/lower 
  1231. case distinctions and makes it overwhelmingly likely that the name 
  1232. you assign will not accidentally coincide with more common, 
  1233. shorter names (most common - ignoring case: PPP, SL, SLIP, LAN, 
  1234. L).  Case, though valid in some interface-name discriminations, is 
  1235. not important to YARNDIAL's interface-checking routines.
  1236.  
  1237. How to identify the current connection if the TCPOS2.INI file is 
  1238. not written-to by IN-JOY?  One very easy way is if we have a 
  1239. UNIQUE name for the interface.  NETSTAT.EXE -r returns active 
  1240. interface routing information, and YARNDIAL can analyze that 
  1241. information.  Thus, by checking first whether IN-JOY is the dialer 
  1242. in use, and then comparing the router interface name against the 
  1243. one in the IN-JOY host configuration data file that we stored in 
  1244. YD_PARMS.DAT, we can positively ID whether an IN-JOY connection 
  1245. corresponds to our YARNDIAL user.
  1246.  
  1247. The logic is in the get_current_connection() subroutine in 
  1248. YARNDIAL.CMD and is somewhat complex.  Future versions will no 
  1249. doubt see changes focussed on that area.
  1250.  
  1251. A PROBLEM WITH IN-JOY
  1252. I have only encountered one major problem with IN-JOY and that
  1253. problem is that sometimes when IN-JOY terminates it does not
  1254. remove the interface routing that NETSTAT -r sees when it checks
  1255. to see if we are connected to our provider.  Thus if a phantom
  1256. interface is left, YARNDIAL dials in, waits for the interface to
  1257. appear in the NETSTAT -r output, and it of course sees one
  1258. immediately.  So it goes on to get/send mail and news.  But we
  1259. are not really connected, so YARNDIAL will sense an error
  1260. condition and quit.  Not good.
  1261.  
  1262. Starting with v. 1.34 of YARNDIAL, you can use (by editing 
  1263. YD_PARMS.DAT) a new INTERFACE_REMOVAL variable that allows 
  1264. you to optionally kill such interfaces when they are left "up" at the 
  1265. conclusion of YARNDIAL.
  1266.  
  1267. I usually set INTERFACE_REMOVAL = 2.
  1268.  
  1269. SETTING INTERFACE_REMOVAL:
  1270.  INTERFACE_REMOVAL=0   Use this if you regularly establish
  1271.    simultaneous connections via SLIP or PPP through more than one 
  1272.    COM port at a time.  But if phantom routings are left by
  1273.    IN-JOY, you will have to live with the problem.  Choose this if 
  1274.    you never use IN-JOY.
  1275.  INTERFACE_REMOVAL=1   Deletes any routing entries left standing
  1276.    but only if IN-JOY is your dialer and if the interf_prefix in
  1277.    the routing entry matches IN-JOY's.  Suggestion: set the 
  1278.    interface name in one of the IN-JOY OPTIONS pages to something
  1279.    unique for your connection to achieve maximum selectivity 
  1280.    during operation of interface_removal = 1 (an IN-JOY interface 
  1281.    name up to five letters long can be used.  Letters only.)
  1282.  INTERFACE_REMOVAL = 2    Regardless of the dialer and whatever is 
  1283.    stored as the interf_prefix, deletes all routing entries at 
  1284.    shut_down of YARNDIAL.  If you have a problem with phantom   
  1285.    routings using IN-JOY and never expect to have to make 
  1286.    simultaneous connections via SLIP or PPP through more than one 
  1287.    COM port at a time or on your network, try setting 
  1288.    interface_removal = 2.
  1289.  
  1290. If INTERFACE_REMOVAL is set equal to 1 or 2 and a routing is left up
  1291. when YARNDIAL exits, the routing is deleted and a message indicating 
  1292. deletion of the routing appears, with indication of the destination
  1293. and router addresses.  The message appears after a line that starts:
  1294.  
  1295.    Killing dialers...
  1296.  
  1297. and will look like the following:
  1298.  
  1299.   delete net 166.72.0.0:  router 166.72.86.98
  1300.  
  1301. The two addresses in decimal dot notation are the respective destination
  1302. and router addresses that would be reported out were NETSAT.EXE -r to
  1303. be run while the phantom routing was up.
  1304.  
  1305.  
  1306. WHY SET UP SLIPPM EVEN IF USING IN-JOY?
  1307. It is a good idea to set up SLIPPM to connect to your provider 
  1308. even if you have no intention of using SLIPPM to dial the 
  1309. provider.  The SLIPPM setup stores parameters in the TCPOS2.INI 
  1310. file in a manner which makes them most readily available to 
  1311. YARNDIAL's installer.  As mentioned earlier, in setting up SLIPPM, 
  1312. you MUST fill in the names of your news server, your mail gateway 
  1313. (i.e., your SMTP server), your POP mail server, your pop login ID, 
  1314. and your pop password.  YARNDIAL needs that information.  It is 
  1315. not mandatory for SLIPPM operation.
  1316.  
  1317.  
  1318. 17.00   ABOUT THE FIX-INTERRUPTED-IMPORT OPTION ON THE MAIN 
  1319.         YARNDIAL MENU
  1320. What does that do when we've selected it?  First, it assumes 
  1321. soup.zip might not have been properly created.  So we try to zip 
  1322. up a file named areas and the various .msg files into an archive 
  1323. named soup.zip. Shouldn't do any harm if soup.zip already existed 
  1324. or if we could not find areas or any .msg files.
  1325.  
  1326. Then it tries to import soup.zip into YARN (by running import.exe 
  1327. soup.zip).  Again, no harm done if there is no soup.zip.
  1328.  
  1329. Then REBUILD.EXE -s is run, which tries to fix YARN's spool and 
  1330. history files.
  1331.  
  1332. Finally REBUILD.EXE -o is run.  This action tries to rebuild 
  1333. YARN's history and overview files.
  1334.  
  1335. You may see some zip errors.  Ignore them.  They probably mean 
  1336. that the .zip file being sought was already processed.  You may 
  1337. also see strange errors such as
  1338.  
  1339.           Assertion failed inscur <size   etc. etc >
  1340.  
  1341. then after the Fix-Inerrupted-Import option has gone its course, 
  1342. re-run it.  It should run OK and should (hope springs eternal) 
  1343. still correct things.
  1344.  
  1345. I've only seen that error (once) when I was importing news.  I ran 
  1346. my Fix option, saw the error first time through, then ran the Fix 
  1347. option again and did not see the error again.  The rebuild went 
  1348. OK.
  1349.  
  1350.  
  1351. 18.00   SOUPER AND VSOUP COMMAND-LINE OPTIONS
  1352. YARNDIAL calls up Souper with command-line options to control 
  1353. whether mail or news is retrieved, or mail, posts, replies are 
  1354. sent.  These command-line options can be changed or added-to by 
  1355. editing the YD_PARMS.DAT file created in your home directory after 
  1356. installation is completed.
  1357.  
  1358. These six elements in YD_PARMS.DAT
  1359.  
  1360.         souper_getmail_xtra_options=
  1361.         souper_getnews_xtra options=
  1362.         souper_send_xtra_options=
  1363. and
  1364.         vsoup_getmail_xtra_options=
  1365.         vsoup_getnews_xtra options=
  1366.         vsoup_send_xtra_options=
  1367.  
  1368. are what gets edited.  Read the Souper documentation before you 
  1369. make changes.  SOUPER(.EXE) is omitted from these statements.  
  1370. Thus, if you wanted to have Souper (or VSOUP) to run as
  1371.  
  1372.         SOUPER.EXE -r
  1373.  
  1374. to retrieve news  without updating the NEWSRC file, you would 
  1375. change souper_getnews_xtra options to read
  1376.  
  1377.         souper_getnews_xtra options=-r
  1378.  
  1379. or do the same with the corresponding vsoup_getnews_xtra options line.
  1380.  
  1381. The Souper (or VSoup)-get-news and Souper-get-mail options are divided
  1382. up into _std_ and _xtra_.  DO NOT ALTER OR EDIT the _std_ options.  
  1383. They are set up to separate getting mail and getting news so that 
  1384. you can choose one, the other, or both. 
  1385.  
  1386. The _std_  options all have Souper running with its -i option.  
  1387. Souper -i  ensures that the configuration settings for Souper such 
  1388. as mail server, mail gateway, news server, etc., all come from 
  1389. YD_PARMS.DAT.
  1390.  
  1391. YDINSTL allows you to choose the  -k option (set maximum size of 
  1392. news-packet), the -l option (that's a lower case "L") (kills 
  1393. articles that contain more than some number you set of lines in 
  1394. the body), and the -a option (new newsgroups added).  YARNDIAL 
  1395. allows you to revise settings on a one-time-only basis for -k and 
  1396. -l options.  It also lets you choose the -r option on a one-time-
  1397. only basis but only lets you change it for mail.  If you select 
  1398. read-only, you do not empty your POP3 mailbox of mail that you 
  1399. retrieve.  I use this when I am retrieving mail at a machine other 
  1400. than my "home" machine.
  1401.  
  1402. FROM YARNDIAL you can also call up the -c option on a one-time-
  1403. only basis (catch up on news: mark as read all but last n articles 
  1404. in each newsgroup).
  1405.  
  1406. Any of the Souper command-line options except -c can be set by 
  1407. editing YD_PARMS.DAT.  If you edit, edit (add, remove, change) 
  1408. the _xtra_options entries.  Don't mess with the _std_options ones.
  1409.  
  1410. The -c option cannot usually be added as an option by simply 
  1411. editing YD_PARMS.DAT because Souper expects -c to be used like so:
  1412.  
  1413.         Souper -c 100
  1414.  
  1415. or together with the -i option:
  1416.  
  1417.         Souper -i -c 100
  1418.  
  1419. YARNDIAL, when you select to do catchup, runs the latter example 
  1420. of use of the -c option.
  1421.  
  1422. When you are connected to your news server and Souper -c xxx is 
  1423. run, article numbers marked as read are appropriately incremented 
  1424. in your NEWSRC file.  Then, while still logged on to your news 
  1425. server, YARNDIAL then passes you to a new menu where you can hoose 
  1426. to actually download the remaining unread ones, or get mail, or 
  1427. send, etc.
  1428.  
  1429.  
  1430. 19.00   ISSUES THAT MAY COME UP DURING OR AFTER INSTALL
  1431. A unique YD_PARMS.DAT parameter file is created for each 
  1432. installation.  It is stored in the home directory which is also 
  1433. unique for each user.  ALL user-definable parameters needed by 
  1434. YARNDIAL are in that file so that in theory the file may be 
  1435. manually created, without going through YDINSTL.
  1436.  
  1437.  
  1438. 20.00   MANUAL INSTALL
  1439. If you are about to try a manual installation (not recommended), 
  1440. an install option is provided that will prompt you for key 
  1441. parameters.  It usually will provide a functional installation at 
  1442. that point, but if it does not, you will need to edit YD_PARMS.DAT 
  1443. to complete the installation.  Godd luck!  It is much easier to 
  1444. configure SLIPPM!
  1445.  
  1446. "I'VE GOT MY PPP.EXE or SLIP.EXE DIALUP STRING AND IT WORKS"
  1447. Set up the SLIPPM Dial-Other-Internet-Providers utility anyway 
  1448. because YDINSTL needs its parameter library.
  1449.  
  1450. Run YDINSTL.CMD  selecting connection_type as 3, and after the 
  1451. installation is done, edit dialup_string in the YD_PARMS.DAT file, 
  1452. setting 
  1453.  
  1454.   dialup_string='start' /N abracadabra
  1455.         (where abracadabra your complete dial up string which will 
  1456.         start with PPP.EXE or SLIP.EXE and extend on forever)
  1457.  
  1458. The 'start' is important (it is START.EXE).
  1459.  
  1460.  
  1461. 21.00   MANUAL INSTALL: THE PASSWORD PROBLEM
  1462. We encode passwords in YDINSTL.CMD so they will not be exposed in 
  1463. their original form in YD_PARMS.DAT to the casual eye.  When 
  1464. YARNDIAL runs, it dencodes them.  If you are trying to manually 
  1465. configure YD_PARMS.DAT, you may need to create encrypted passwords 
  1466. for the adv_password, PWD and POP_PWD fields.
  1467.  
  1468. This can be done with YDINSTL.CMD using its ENCRYPT command-line 
  1469. option.  If you run YDINSTL.CMD from an OS/2 command line as 
  1470. follows:
  1471.  
  1472.         YDINSTL.CMD encrypt MyPassword
  1473.  
  1474. you will see a line on the screen
  1475.  
  1476.         encrypted=xxxxxxxxxxx
  1477.  
  1478. where xxxxxxxxxxx will be the encryption of MyPassword.  Other 
  1479. help info will be displayed.  The number of characters in the 
  1480. encrypted string will be indicated.
  1481.  
  1482. Reference will also be made to a file named word.$$$, which is 
  1483. created in the same directory from which YDINSTL.CMD with the 
  1484. encrypt option was run.  The file will contain the same line of 
  1485. text that was echoed to the screen, and will also indicate the 
  1486. length of the encrypted password to aid in accurately cutting-and-
  1487. pasting it into YD_PARMS.DAT.
  1488.  
  1489. Hint: Change to the directory in which YDINSTL.CMD resides before 
  1490. running YDINSTL.CMD encrypt MyPassword
  1491.  
  1492.  
  1493. 22.00  CONNECTION_TYPE: THE DIFFERENT CHOICES
  1494. CONNECTION_TYPE can be 1 or 3-7.  Very rarely are you likely to 
  1495. use other than 1, 3 or 4.  Selecting 4 during install brings up a 
  1496. sub-menu of dialer options.
  1497.  
  1498.  
  1499.    1 Installed for Advantis via IAK Dialer.
  1500.    2 (Reserved)
  1501.    3 Installed for use of a slip.exe or ppp.exe dialup string.
  1502.    4 Installed for SLIPPM (IBM's Dial-Other-Internet-Providers.
  1503.      Utility) or a SLIPPM replacement such as ILINK/2, IN-JOY, 
  1504.      etc.
  1505.    5 You chose manual configuration: to be prompted for key 
  1506.      parameters
  1507.      followed by manually editing this file as necessary.
  1508.    6 Pot-Luck:  Tries to use any connection that happens to be
  1509.      established.  Connection must be made BEFORE you start 
  1510.      YarnDial.
  1511.    7 Like 6, but does not check for a connection, and uses the 
  1512.      string
  1513.      in dialup_string to dial.
  1514. Anything but 1 or 3-7 for connection_type is an error 
  1515. condition.
  1516.  
  1517.  
  1518. 23.00  MORE ABOUT DIALUP_STRING: A PROGRAMMING NOTE
  1519. YARNDIAL executes dialup_string by doing:
  1520.  
  1521.                  interpret dialup_string
  1522.  
  1523. What you enter for dialup_string should consist of the OS/2 
  1524. executable, the word start (which is the OS/2 executable 
  1525. START.EXE), plus the dialer executable such as ppp.exe, 
  1526. slippm.exe, etc., plus any arguments.  Quotes are used where 
  1527. appropriate for OS/2 executables.  The positioning of quotes is 
  1528. beyond the scope of this document, but if you have problems, I'll 
  1529. be glad to try to help (jlevy@ibm.net).
  1530.  
  1531. Omit the word interpret but always include start.  Depending on 
  1532. your dialer, you may or may not want to run 'start /N' or 'start' 
  1533. without the /N or 'Start /c'.  For IN-JOY, the /c should be used 
  1534. so the OS/2 window is closed after all is done; for SLIPPM it 
  1535. should not be used.
  1536.  
  1537. Below are actual, working, verbatim dialup_strings for real 
  1538. installations.  Where host_app or account or user, etc., appear as 
  1539. arguments, those arguments are evaluated to what values the 
  1540. variables in question have assigned to them.
  1541.  
  1542. A slippm dialup_string (connection_type 4):
  1543.  
  1544.         dialup_string='start SLIPPM.EXE' host_app
  1545.  
  1546. A dialup_string for use of the IAK Dialer (connection_type 1):
  1547.  
  1548.         dialup_string='start DIALER.EXE' account user password
  1549.  
  1550. A dialup_string for the IN-JOY Dialer ( connection_type 4).  Note 
  1551. here we need to change to the IN-JOY directory before executing 
  1552. IN-JOY.EXE (the line below should be all on one line):
  1553.  
  1554.        dialup_string=do; 'D:'; 'cd D:\IN-JOY'; 'start /N D:\IN-
  1555. JOY\IN-JOY.EXE' host_app; end
  1556.  
  1557. In all of the above, YARNDIAL's use of the ReXX function interpret 
  1558. in execution of the string will mean that host_app is evaluated to 
  1559. whatever is assigned to it in YD_PARMS.DAT.
  1560.  
  1561.  
  1562. 24.00  ZIP AND UNZIP FILES
  1563. You can probably use a lot of different compression/uncompress 
  1564. utilities.  Having used InfoZip OS/2 zip and unzip executables now 
  1565. for years, there is in my opinion no reason not to prefer them.  
  1566. The installation as much as invites you to be using them.  I am 
  1567. assuming that if you don't use OS/2 InfoZip utilities you are in 
  1568. their place using PkWare's version 2.04G zip and unzip programs.  
  1569. If you are using something else, there is some help provided below 
  1570. but my own experience curve is a blank.
  1571.  
  1572. 25.00 COMPRESSION EXECUTABLES: OS/2 VERSUS MS-DOS 
  1573. If the zip and unzip programs are OS/2 executables (e.g., as the 
  1574. OS/2 ports from InfoZip), YD_PARMS.DAT will show only the program 
  1575. names (with paths), along with the appropriate options.  The 
  1576. latest InfoZip utilities for OS/2 can be downloaded as archives 
  1577. unz520x2.zip and zip21x2.exe or zip21c2.exe.
  1578.  
  1579. If the compression utility programs are MS-DOS executables (e.g., 
  1580. PkWare's PkZip v 2.04G), you must have the OS/2 command processor 
  1581. call them. OS/2's default command processor is CMD.EXE and it 
  1582. should be used with the /c option, so set  
  1583.  
  1584.          zip_exe=cmd.exe /c zip    plus options                                         
  1585.  
  1586. Examples of zip and unzip options
  1587.         For OS/2 InfoZip                zip -0m
  1588.         For OS/2 InfoZip                unzip -o
  1589.  
  1590.         For MS-DOS PkWare        zip -m -u -o
  1591.         For MS-DOS PkWare        unzip -o
  1592.  
  1593. 26.00  SOME OTHER BREED OF COMPRESSION UTILITIES?
  1594. If you want to use another pair of compress/uncompress utilitites, 
  1595. you will need to set them up carefully.  Have the command 
  1596. processor call the utilities if they are MS-DOS and not OS/2 
  1597. executables, and set the respective compress and uncompress 
  1598. options based on the documentation provided for the particular zip 
  1599. and unzip utilities.
  1600.  
  1601. To help decide on options for some unconventional choice of zip 
  1602. and unzip utilities, you must know what the options do.  Those for 
  1603. the InfoZip programs are decoded below:
  1604.  
  1605.         ZIP -0m   (That's a zero not a letter "O") (This is 
  1606.            the  -0 option combined with the -m option)
  1607.            -0 means we import the files into the zip package 
  1608.            with no compression.
  1609.  
  1610.            The -m option means we move files in, replacing any 
  1611.            of the same name, and once they are in we erase the 
  1612.            originals.
  1613.  
  1614.         UnZIP -o  (That's a lower case letter "o" not a zero.)
  1615.            -o overwrites files without asking
  1616.  
  1617.  
  1618. 27.00  FILES FOR SETTING UP YARN AND SOUPER FROM SCRATCH
  1619.         Section 29.00 is a detailed roadmap for the 
  1620. installation of YARN and SOUPER.  It assumes you are doing a 
  1621. single-user installation or installing for the first user in a 
  1622. multi-user installation.  Section 28.00 covers the installation of 
  1623. the three optional files.  Refer to Section 33.00 for sources of 
  1624. these files.
  1625.  
  1626. Files needed:
  1627.    EMXRT09C.ZIP     EMX is optional if Souper is version 14 or 
  1628.                         higher, but is still recommended.  Version 09C
  1629.                         or higher is required for VSoup
  1630.    METAMAIL.ZIP      (optional but recommended)
  1631.    MIME64.ZIP        (optional but recommended) (other mime en- 
  1632.                         or de-coders are available)
  1633.    SOUPER15.ZIP      latest version
  1634.    YRN2_091.ZIP     latest version. YRN2_090.ZIP is more readily 
  1635.                     available.
  1636.  
  1637.  
  1638. 28.00  INSTALLATION OF EMXRT09C, METAMAIL, MIME64 (RECOMMENDED)
  1639.  
  1640.    28.10   EMXRT09C.ZIP (OPTIONAL DEPENDING ON SOUPER VERSION IF YOU USE 
  1641. SOUPER; REQUIRED AND MUST BE v 09c IFYOU WILL BE USING VSOUP) 
  1642. Souper versions 14 or higher do not require EMX.  However, EMX 
  1643. is needed if you want to use metamail to handle mime-encoded 
  1644. attachments.  It is also needed if you intend to use programs such 
  1645. as mime64 to encode into mime for attachment to mail and posts, or 
  1646. to decode mime messages outside of the Yarn and metamail 
  1647. environment.  It is recommended you install emxrt regardless of 
  1648. the version level of Souper you are using.
  1649.  
  1650. VSoup notonly requires EMX, it requires v 09c (or later).
  1651.  
  1652. Installation of EMXRT:
  1653. Copy emxrt09c.zip into an empty folder (on an HPFS drive if you 
  1654. have a choice) and unzip, retaining directory structure.  Use of 
  1655. the InfoZip utilities (latest unzip is in unzip520x2.zip) 
  1656. automatically retains the directory structure as a default option.  
  1657. If you use MS-DOS PkWare unzip utility (pkunz204.zip) you need to 
  1658. unzip with the command:  unzip -d emxrt09c to retain the directory 
  1659. structure.
  1660.  
  1661. EMXRT09C.ZIP when it unzips creates an emx parent folder (most 
  1662. .zip archives do not create a parent folder).  There are a lot of 
  1663. files in emxrt09c.zip and it just makes good sense to unzip it 
  1664. into a separate directory to contain everything in case of an 
  1665. unzipping error.  In which case there is only one folder cleanly 
  1666. isolated to delete.
  1667.  
  1668. After unzipping, open the temporary folder and you should see only 
  1669. one folder named emx.  If not, and you see a horrendous number of 
  1670. files, that means you did not re-create the directory structure.  
  1671. You need to!
  1672.  
  1673. Assuming you only see the one folder named emx, drag that to 
  1674. whatever disk you want to install emx to (lets assume D:).  Now 
  1675. you have a D:\emx subdirectory with all of the emx files in 
  1676. subdirectories under d:\emx.  You can now delete the emxrt09c.zip.  
  1677.  
  1678. Edit your CONFIG.SYS file.  Add
  1679.         D:\emx\dll to the LIBPATH statement
  1680.         D:\emx\bin to the PATH statement
  1681.  
  1682. Reboot to complete the installation of emxrt.
  1683.  
  1684.  
  1685.    28.20   MIME64.ZIP (OPTIONAL) (Utility to encode/decode mime) 
  1686. Same procedure as for metamail.  Create a directory d:\mime64 and 
  1687. unzip mime64.zip into it.  No need for any changes in CONFIG.SYS.
  1688.  
  1689. Using MIME64:  see Section 28.323  DECODING MIME WITH MIME64.EXE.
  1690.  
  1691.  
  1692.    28.30   METAMAIL.ZIP (OPTIONAL)
  1693. Metamail is needed if you want to be able to decode incoming mime 
  1694. attachments, or attach encoded ones automatically from within 
  1695. Yarn.
  1696.  
  1697. Installation of Metamail:
  1698. Create a subdirectory named metamail on the drive where you want 
  1699. to install it (create, say, d:\metamail).  Place on an HPFS drive 
  1700. if you have a choice.  Copy metamail.zip into that empty folder, 
  1701. and unzip it, retaining any subdirectory structure.  I do NOT add 
  1702. metamail to my path statement in CONFIG.SYS; but rather, I include 
  1703. the full path to metamail in the Yarn CONFIG file so in Yarn's 
  1704. CONFIG file I might have
  1705.  
  1706.       decode-mime=d:\metamail\metamail %f
  1707.  
  1708. That is the most common way.  Alternatively, you could use
  1709.  
  1710.       decode-mime=cmd.exe /c d:\metamail\meta.cmd %f
  1711.  
  1712. where you call metamail from a .CMD file (here META.CMD).  An 
  1713. example of such a .CMD file is provided further on.  There are 
  1714. advantages from calling metamail from a .CMD file which we will 
  1715. cover later.
  1716.  
  1717. Finally, to complete the metamail installation, we will create a 
  1718. file called MAILCAP.YRN, saving it to the d:\metamail directory.  
  1719. Mine contains the following lines at present.  Your graphics 
  1720. viewer could be different.  There are also text editors that do 
  1721. more (in the context of metamail usage), but the basic OS/2 System 
  1722. Editor (E.EXE) is adequate.  You get the idea, though, with this 
  1723. example.  Section 28.32  (Metamail Attachments, Operation, 
  1724. Decoding) explains a bit about what some of these lines do.
  1725.   
  1726. NOTE:  the FORWARD slashes below are correct, even for the paths:  
  1727. a holdover from the UNIX origins of the metamail.exe port to OS/2
  1728.  
  1729. # MAILCAP.YRN
  1730. text/plain; e.exe %s
  1731. text/*; e.exe %s
  1732. image/gif; d:/pmview/pmview.exe %s
  1733. image/jpeg; d:/pmview/pmview.exe %s
  1734. image/jpg; d:/pmview/pmview.exe %s
  1735. image/*; c:/viewer/bin/ib %s
  1736.  
  1737.  
  1738. Finally, modify your CONFIG.SYS file, adding
  1739.  
  1740.                 set mailcaps=d:\metamail\mailcap.yrn
  1741.  
  1742. For some (DOS) programs that some people like to call up from 
  1743. mailcap files, it is useful to also add 
  1744.  
  1745.                 device=c:\os2\mdos\ansi.sys
  1746.  
  1747. After you have edited CONFIG.SYS, reboot.
  1748.  
  1749. My own preference is to write out e-mail with mime-encoded 
  1750. messages to disk as files (when you read the message in YARN, 
  1751. press the s key (lower case "S"), enter the full path and name to 
  1752. save it as (say d:\thing.txt), and press enter to save.  Then I 
  1753. decode with MIME64 (see Section 28.323  DECODING MIME WITH 
  1754. MIME64.EXE).
  1755.  
  1756.  
  1757.       28.31  METAMAIL TRICKS
  1758. When the content-type of a mime-encoded attachment is not 
  1759. supported by a local viewer, metamail gives you the option to save 
  1760. the decoded attachment to a file.  You are asked for a file name 
  1761. to save to (if you don't provide any -- that is, if you just press 
  1762. ENTER -- nothing is saved even though you may see a default 
  1763. filename on the screen).  You must type in a name.
  1764.  
  1765. You can specify drive and path, but if you do not specify drive 
  1766. and path, the default path is your yarn home directory.  This is 
  1767. not a good thing, since, if the name of the file happens to 
  1768. coincide with the name of a file already in that destination 
  1769. directory, you will overwrite the existing file.
  1770.  
  1771. To re-define the default directory for this operation, you can 
  1772. call metamail with a command file that changes to a new default 
  1773. directory first. 
  1774.  
  1775. To make this change:
  1776. alter the decode-mime line in your yarn config file to
  1777.  
  1778. decode-mime=cmd.exe /c d:\metamail\meta.cmd %f
  1779.  
  1780. This will call metamail.exe from a .CMD file, META.CMD, an example 
  1781. of which could be:
  1782.  
  1783. /* META.CMD */
  1784. /* alters default directory
  1785. and then runs metamail*/
  1786. parse arg fn
  1787. '@echo off'
  1788. 'd:'
  1789. 'cd d:\inetdata'
  1790. 'metamail.exe' fn
  1791.  
  1792. d:\metamail is the directory where metamail resides and is where 
  1793. META.CMD will be saved to.
  1794.  
  1795. d:\inetdata is a directory where you will save all decoded files.  
  1796. it is a useful security practice to keep downloaded and decoded 
  1797. files in one place where you can conveniently do virus-checking, 
  1798. etc., before they travel far and wide into your file structure.
  1799.  
  1800. The new default directory MUST EXIST because metamail will not 
  1801. create the directory if it does not exist.
  1802.  
  1803.  
  1804.      28.32  DOING MIME ATTACHMENTS UNDER YARN, METAMAIL 
  1805.              OPERATION, DECODING MULTIPART MESSAGES, AND
  1806.              HANDLING NON-CONFORMING MIME ATTACHMENTS
  1807.  
  1808. In a MIME encoded attachment which has been correctly attached 
  1809. from within YARN, the attachment will be at the end of the e-mail
  1810. or if several in number, in succession at the end with a lot of 
  1811. boundary and other conditions met.  If conditions are not all met, 
  1812. the message(s) will not be decoded directly by metamail, but 
  1813. metamail may give you the opportunity to save the message (or 
  1814. messages if more than one), or it may not.  Not to worry: if 
  1815. metamail doesn't decode, you can still save the entire e-mail as 
  1816. text and that text file can be readily decoded without grief by 
  1817. MIME64.
  1818.  
  1819.      28.321  DOING MIME ATTACHMENTS UNDER YARN
  1820. To do a MIME-encoded attachment:
  1821.      Assumes you have metamail properly installed
  1822.      (refer sections 28.30, 28.31), and emx is installed,
  1823.      and your YARN config file is properly edited)
  1824. 1.  Post an article, followup, send an e-mail, etc. and get the 
  1825. ball rolling by pressing r, R, f, F or M from within YARN.
  1826. 2.  After composing any e-mail text ("Hello, how are you? A file 
  1827. is attached."), go to the very end of the e-mail and press enter.  
  1828. The mime attachment will go where your cursor is and this ENTER 
  1829. assures you of placing the MIME attachment AFTER a carriage 
  1830. return-linefeed (for that reason I always put an extra carriage 
  1831. return at the end of my yarn sig file so that my e-mails always 
  1832. end on a CRLF and not on the last letter of my sig).
  1833. 3.  Save, exit the editor.
  1834. 4.  Yarn will present several choices (depending on Yarn version):
  1835.    CANCEL
  1836.    CHECK SPELLING
  1837.    EDIT
  1838.    ATTACH FILE
  1839.    SEND
  1840. 5.  Select ATTACH FILE.  You will be prompted for the file name 
  1841. and a description.  Then press enter and a mime-encoded attachment 
  1842. will be placed where your cursor was.
  1843. 6.  Not done Yet.  Save and exit the editor again and select EDIT 
  1844. from among the choices presented by Yarn.
  1845. 7. Go down to where the boundary for that attachment is.  Here is 
  1846. a real-life example of what you will see.  
  1847.  
  1848.    --1Pz6vtT0gbQ2XEw
  1849.    Content-Type: application/octet-stream; name="yrndl132.zip"
  1850.    Content-Transfer-Encoding: base64
  1851.    Content-ID: <OgkDyo6G7myK091yn@ibm.net>
  1852.    Content-Description: yarndial + ydinstl .cmd files +read.me
  1853.  
  1854.    UEsDBBQAAAAIAIc1CyHqvnr/3ms  (etc., start of encoded 
  1855. attachment)
  1856.   
  1857.  
  1858. For a zip file, any other binary, or even a text file, metamail 
  1859. will decode this and allow you to save it as a binary with a 
  1860. default name suggested by metamail of yrndl132,zip.
  1861.  
  1862. But suppose this file was a graphic name MyDog.gif.  You could 
  1863. leave it as is and let your recipient save it as a file.
  1864.  
  1865. Or you could edit the content-type line, e.g., changing from
  1866.  
  1867.    Content-Type: application/octet-stream; name="mydog.gif"
  1868.  
  1869. to   
  1870.  
  1871.    Content-Type: image/gif; name="mydog.gif"
  1872.  
  1873. or just
  1874.  
  1875.    Content-Type: image/gif;
  1876.  
  1877. (refer Section 28.324)
  1878.  
  1879. If your recipient has the same MAILCAP file shown above as our
  1880. MAILCAP.YRN, when metamail asks: "process this mime attachment?" 
  1881. and you respond "Y", it will decode the attachment, start up your 
  1882. viewer (PMVIEW in our mailcap.yrn example), open the decoded .GIF 
  1883. file and display it.  If you want to save it as a file, you do 
  1884. that from PMVIEW (using save-as).
  1885.  
  1886. Note from this YOU NEVER WANT TO PUT a line like
  1887.    application/zip; unzip.exe %s
  1888. in your mailcap file, because it would unzip the .ZIP archive and 
  1889. if there was a directory structure, it could replace existing 
  1890. files with no opportunity for you to exercise control.
  1891.  
  1892. 8a.  Still Not done Yet.  Save and exit the editor again.  You can 
  1893. do another attachment (select ATTACH again, repeat steps 2-7).
  1894.  
  1895.    or
  1896.  
  1897. 8b.  If you have no more attachments, just select SEND and you are 
  1898. done.
  1899.  
  1900. In this example, after the first attachment, we really have a 
  1901. multipart MIME message.  The first is the original text 
  1902. ("Hello...", and its content line will read something like
  1903.  
  1904.    Content-Type: text/plain; charset=ISO-8859-1
  1905.  
  1906. this will be opened by our E.EXE editor which our mailcap.yrn file 
  1907. activates for text/plain content-types.
  1908.  
  1909. Then when you've read the message, and you exit the editor, the 
  1910. second part (the image in our example) is opened by PMVIEW.EXE. 
  1911.  
  1912.    
  1913.      28.322  DECODING NON-CONFORMING MIME ATTACHMENTS
  1914. If you were attaching a message and your cursor was not at the end 
  1915. of your e-mail text (say it was above your signature), you would 
  1916. be INSERTING and not ATTACHING (one way to think of it), so the  
  1917. attachment would go at the cursor position instead of at the end 
  1918. of the e-mail.  Metamail may not (will not?) recognize this e-mail 
  1919. as having a valid attachment and will (may) present you with a 
  1920. message to the effect: "can't recognize this, do you want to save 
  1921. as text or ignore?".  This will also happen if the initial 
  1922. boundary (something that starts with two hyphens and 
  1923. looks like this
  1924.  
  1925.           --gc0p4Jq)M2Yt08jU534c0p
  1926.  
  1927. but is not preceded by a carriage return (.ie., is in the middle 
  1928. of a text line like on this line--gc0p4Jq)M2Yt08jU534c0p.
  1929.  
  1930. Metamail may let you save the e-mail as text (say as THING.TXT).  
  1931. Alternatively, From Yarn, after Metamail asks you ("Decode Mime?") 
  1932. you could respond "N", then save the e-mail as text yourself.  To 
  1933. do that, press s (lower case "S") while you are reading the e-mail 
  1934. and after you have responded "N" to "Decode Mime?";  in the window 
  1935. that appears enter the filename to save to with full path, and 
  1936. press Enter to complete the save. 
  1937.  
  1938. Now decode that with MIME64 (next Section). 
  1939.  
  1940.      28.323  DECODING MIME WITH MIME64.EXE
  1941. Say we have saved d:\thing.txt as an e-mail with a single mime-
  1942. encoded attachment.  Even if the attachment did not exactly 
  1943. conform to what metamail expects, running
  1944.  
  1945.         mime64 d:\thing.txt
  1946.  
  1947. will extract and simultaneously decode, producing a file 
  1948. $$$$$$$$.$$$ which you can now rename to .zip or .JPG or .TXT or 
  1949. whatever type it was supposed to be.
  1950.  
  1951. Or you could run
  1952.  
  1953.         mime64 d:\thing.txt yrndl132.zip
  1954.  
  1955. and have it create the correct filename.
  1956.  
  1957. Always: I virus check at that point before I do anything more with 
  1958. it.
  1959.  
  1960. I've never mastered how to use the MIME64 program when the text 
  1961. file being decoded contains more than one MIME-encoded 
  1962. attachments, but if you use a text editor to separate the text 
  1963. file you had saved into separate mime parts (each will start and 
  1964. end with a boundary consting of a double hyphen (--) and some 
  1965. gibberish, e.g.:
  1966.  
  1967.     --gc0p4Jq)M2Yt08jU534c0p
  1968.  
  1969. MIME64 will work flawlessly on each section.
  1970.  
  1971. So edit so as to preserve the initial and final boundaries for 
  1972. each mime part, and once they are separated (precision is not 
  1973. required as long as each separate part has at least the complete 
  1974. initial- boundary-to-final-boundary encoding), simply run MIME64 
  1975. on each. 
  1976.  
  1977.  
  1978.      28.324   CONTENT-TYPE EDITING: MIME ASSOCIATIONS
  1979.  
  1980. Content-Type lines that appear in e-mail messages as part of the 
  1981. MIME attachment (i.e., between the    --gibberish    boundaries) 
  1982. may look like:
  1983.  
  1984.    Content-Type: application/octet-stream; name="yrndl132.zip"
  1985.    Content-Type: image/gif; name="mydog.gif"
  1986.    Content-Type: image/gif;
  1987.  
  1988. The Content-Type application/octet-stream represents the mime-
  1989. type/sub-type for binary files in general, i.e., for those with 
  1990. extensions: .exe, .zip and so forth.  Any file -- binary or 
  1991. otherwise -- may be typed and transmitted this way.
  1992.  
  1993. The Content-Type image/gif represents a mime-type/subtype for a 
  1994. gif type image file and if the content type in the MIME attachment 
  1995. header is
  1996.        Content-Type: image/gif; name="mydog.gif"
  1997.  
  1998. and the line
  1999.       image/gif; d:/pmview/pmview.exe %s
  2000.  
  2001. appears in your mailcap file (as it does in our MAILCAP.YRN 
  2002. example, above, replete with its Unix-based forward slashes), when 
  2003. metamail processes the coded attachment it executes the command
  2004.  
  2005.      d:\pmview\pmview.exe mydog.gif
  2006.  
  2007. The filename mydog.gif has replace %s and the program called 
  2008. (pmview.exe) opens the .GIF file mydog.gif.
  2009.  
  2010. A list of all recognized MIME media associations is available and 
  2011. a reference to such a list can be found in Section 33.00.
  2012.  
  2013. The general system for how these patterns and associations work in 
  2014. terms of the practical construction of working mailcap-file lines 
  2015. can be sketched out as follows:
  2016.  
  2017.         (1) For whatever kind of file are you transmitting, define 
  2018. the content-type/subtype association:  Examples for some image 
  2019. files: image/gif, image/jpg, image/bmp, image/tif, etc.
  2020.  
  2021. gif, jpg, bmp and tif are the subtypes; and correspond to the 
  2022. .GIF, JPG, .BMP, .TIF standard file extensions (usually the same).
  2023.  
  2024.         (2)  Select the program you want to use to open or process 
  2025. or in general act-on those kinds of files.  Construct one or more  
  2026. mailcap lines in the form shown below (remember forward slashes 
  2027. for the paths!)
  2028.  
  2029.       image/gif; d:/foodir/foobar.exe %s
  2030.       image/jpg; d:/foodir/foobar.exe %s
  2031.       image/bmp; d:/foodir/foobar.exe %s
  2032.       image/tif; d:/foodir/foobar.exe %s
  2033.       image/*; d:/somedir/somebar.exe %s
  2034.  
  2035. The last in this train says: any other file of Content-Type image, 
  2036. if its subtype is not specifcally defined by the other four, try 
  2037. to open with somebar.exe.
  2038.  
  2039.  
  2040.         (3)  Note that if the executable foobar.exe is an MS-DOS 
  2041. program, it should be called by the OS/2 command processor and 
  2042. what will appear in the MAILCAP file is
  2043.  
  2044.                 cmd.exe /c d:/foodir/foobar.exe %s
  2045.  
  2046. instead of      d:/foodir/foobar.exe %s
  2047.  
  2048.            28.33  UUENCODED ATTACHMENTS (INSERTIONS)
  2049.                    UNDER YARN, USING YEP
  2050. Note: you need YEP15 or later for this.  See section 33.00 
  2051. First install YEP.
  2052.  
  2053.      28.331  INSTALLING YEP
  2054.    1.       Create a folder, unzip YEPxx.ZIP into it.
  2055.    2.       Edit the YARN config file: replace what you
  2056.             had as editor=xxxxx with the following (use your
  2057.             path to yep.exe):
  2058.                 editor=d:\yep\yep.exe
  2059.    3.       Edit the yep.cfg file (but keep it in the same directory
  2060.             as yep.exe).  Here is the yep.cfg I use (in its entirety).
  2061.             It is set up for use of the OS/2 System Editor.
  2062.  
  2063. ;START OF YEP.CFG
  2064. ; Yarn Editor Pre/Post Processor version 1.5 (YEP) config file
  2065. ; as modified by JLevy
  2066. ; editor codes: (in your Yarn CONFIG should be editor=yep.exe only)
  2067. ; $L - line number (set to second line after message header if used)
  2068. ; $l - (set line number to first line after quoted message if used)
  2069. ; $F - Filename passed by Yarn...
  2070. ; This line defines your text editor, and must be in double quotes.
  2071. ; In this example the editor accepts the -# parameter for line number.
  2072. ; FTE editor:
  2073. ; Editor = "FTE -#$L $F"
  2074. ;
  2075. ; EPM editor (e.exe) or the Enhanced Editor (epm.exe):
  2076. ; Editor = "cmd.exe /c e.exe $F 'goto $L'"
  2077. ; Editor = "cmd.exe /c epm.exe $F 'goto $L'"
  2078. ; NOTE that the final '" is a single quote (') followed by a double quote (")
  2079. Editor = "cmd.exe /c e.exe $F 'goto $L'"
  2080. ;
  2081. ; This value is added to (or subtracted from, if a negative number) the
  2082. ; line number passed to the editor above; for fine tuning preference.
  2083. CursorAdjust = "0"
  2084. ;
  2085. ; Strip all the unused header lines? "No"/"Yes"
  2086. ;CleanHeader = "No"
  2087.  
  2088. ; display the progress dots when entering/exiting Yep? "Yes"/"No"
  2089. ShowDots = "Yes"
  2090. ;END OF YEP.CFG
  2091.  
  2092.      28.332  UUENCODED ATTACHMENTS (INSERTIONS)
  2093. To do a UUENCODED attachment of the file c:\mydir\thisfile.ext,
  2094. insert this line anywhere in your e-mail message (I always put
  2095. it at the very end, after the signature):
  2096.  
  2097. {UUEN:c:\mydir\thisfile.ext}
  2098.  
  2099. The UUENCODED file will be inserted into your e-mail message
  2100. in place of that line when you save the message and exit the editor.
  2101.  
  2102.      28.333  DECODING UUENCODED ATTACHMENTS UNDER YARN
  2103. This works for YRN2_092.  I don't know which earlier Yarn versions
  2104. had the uudecoding feature, or had a "save-directory" setting in the
  2105. CONFIG file.
  2106.  
  2107. To decode while you are reading mail:
  2108.    Press B (SHIFT-B) and the attachment will be decoded and the
  2109.    decoded file saved to the directory you set in Yarn's CONFIG file as
  2110.    the "save-directory".
  2111.  
  2112.      28.334  DECODING UUENCODED ATTACHMENTS THE HARD WAY
  2113. 1.  Save the e-mail message as a text file by pressing s while you are
  2114. reading it in Yarn, and then saving as a file to disk.
  2115.  
  2116. Let us assume you have named it text.txt.
  2117.  
  2118. 2.  run a uudecoding program (see below)
  2119.        uudecode text.zip
  2120.  
  2121. and that's it.  The decoder separates the attachment from the rest of
  2122. the e-mail text.
  2123.  
  2124. UUCODERS/DECODERS
  2125. Of course you need a uudecoder program.  There are gobs of them.
  2126. Usually the distribution .ZIP contains a uucoder and a uudecoder.
  2127.  
  2128. Example:  UUCODE18.ZIP (see Section 33.00 for possible sites),
  2129. which preserves extended attributes, works with long filenames, etc.
  2130.  
  2131. Install the UUCODE and UUDECODE programs, which for some
  2132. involves no more than unzipping into a folder.  For others (such as
  2133. UUCODE18), you may also need to place its DLL file in a directory
  2134. on the LIBPATH.
  2135.  
  2136.  
  2137. 29.00  STEP-BY-STEP-INSTALLATION OF YARN AND SOUPER
  2138. 1.        Create separate temporary directories for each of   
  2139.           YRN2_091.ZIP and SOUPER15.ZIP.  For example: create 
  2140.           d:\yarntemp for yarn and d:\souptemp for Souper.
  2141.  
  2142. 2.        Copy the yarn zipfile into d:\yarntemp and unzip.
  2143.  
  2144. 3.        Copy the Souper zipfile into d:\soupzip and unzip.
  2145.  
  2146. 4.        Decide on a name for a permanent yarn directory and a 
  2147.           permanent home directory (let's assume you use d:\yarnxx
  2148.           and d:\homexx (don't bother to create these directories 
  2149.           as they will be created for you).
  2150.  
  2151. HANDY HINT:  It is possible (my opinion, desirable) to use 
  2152. the same directory as both the yarn directory and the home 
  2153. directory.
  2154.  
  2155. 5.        Edit your CONFIG.SYS file by adding
  2156.                 SET HOME=d:\homexx
  2157.                 SET YARN=d:\yarnxx
  2158.                 SET TZ=EST5EDT
  2159.  
  2160. Set TZ to your time zone.  Do not fail to set the TZ variable.
  2161. VSoup (actually EMX v 09c which VSOUP demands) requires
  2162. TZ to be set, and if you set it incorrectly, you could seem
  2163. to be getting mail before it was sent and that is not a good
  2164. thing. 
  2165.  
  2166. If you insist on using a version of SOUPER earlier than 14 also 
  2167. add
  2168.  
  2169.    SET NNTPSERVER=news-01.ny.us.ibm.net        (or whatever your 
  2170.                                                 news server is)
  2171.  
  2172. If you are using VSoup, VSoup requires that the number of
  2173. file handles for EMX (the EMXOPT environmental variable be
  2174. set to at least 40.  YARNDIAL sets this for you by setting
  2175. EMXOPT=-h40 -c -n.
  2176.  
  2177. 6.        If you have another program that uses a SET HOME 
  2178. assignment, REM it out and temporarily add SET HOME=D:\HOMEXX to 
  2179. your CONFIG.SYS file (then reboot).
  2180.  
  2181. You will be able to eliminate the SET HOME and SET YARN 
  2182. assignments after the installation of YARNDIAL is complete (after 
  2183. you've run YDINSTL.CMD).
  2184.  
  2185. 7.        Do not overlook the TZ statement.  You can get errors if 
  2186. you are way out on local time, and appear to be receiving mail 
  2187. before it was sent.
  2188.  
  2189. 8.        If you are not in the eastern time zone set TZ according 
  2190. to what time zone you are in.  References at the end (Section 
  2191. ) can guide you n how to set up TZ if you live outside the US 
  2192. or in some exotic location where the time zone is set up in a 
  2193. weird way.
  2194.  
  2195. 9.        REBOOT so your new CONFIG.SYS assignments take effect.
  2196.  
  2197. 10.        Open an OS/2 window or full screen session, and change 
  2198. directory to the d:\yarntemp directory.
  2199.  
  2200. 11.        At the [d:\yarntemp] prompt type in ENGLISH D:\YARNXX 
  2201. (ou s'il tu plais, FRANCAIS D:\YARNXX ).  This creates the 
  2202. d:\yarnxx directory and copies files from the temporary directory 
  2203. over to it.
  2204.  
  2205. 12.        Copy Souper.exe from d:\souptemp to d:\yarnxx.  That's 
  2206. as good a place as any to keep it. 
  2207.  
  2208. 13.        Add your first user.  In an OS/2 Window or Full Screen 
  2209. session, change directory to d:\yarnxx.  At the [d:\yarnxx] prompt 
  2210. type in ADDUSER.EXE and press enter.
  2211.  
  2212. Please note that the name and path for the reply-packet file are
  2213. not the same as shown in earlier documentation.  What is shown
  2214. below is preferred because it is more consistent with what is
  2215. required to install VSoup, and setting it up this way now may
  2216. save you grief later and doesn't hurt anything.  for d:\homexx
  2217. substitute what you have as your Yarn HOME directory.
  2218.  
  2219.  
  2220. ADDUSER.EXE will bring up a screen requiring input of 6 
  2221. parameters.
  2222.  
  2223. For our example (remembering that I am jlevy@ibm.net), fill in the 
  2224. blanks:
  2225.  
  2226. home directory                d:\homexx   (must be what you 
  2227.                                         put in  CONFIG.SYS
  2228.                                         as SET HOME)        
  2229. user ID                       jlevy
  2230. host system                   ibm.net
  2231. User's full name              Jerry Levy
  2232. editor program                cmd /c e.exe
  2233. reply-packet file             d:\homexx\yarn\out\reply.zip
  2234.  
  2235. Actually, I use the Enhanced Editor, version 6.03 which I 
  2236. have in the d:\epm6 directory.  So I enter cmd /c d:\epm6\epm.exe 
  2237. for my editor program.
  2238.  
  2239. Make sure these six items are exactly the same as what you 
  2240. have in Yarn's CONFIG when you edit it (step 19).  Note that the 
  2241. editor is always called by the command processor cmd.exe with the 
  2242. /c switch.  This allows re-entry to the editor in the event of 
  2243. successive calls.
  2244.  
  2245. Don't add any other users yet.  We'll get to that later.
  2246.  
  2247. 14.        CREATE A NEWSRC FILE IN THE HOME DIRECTORY
  2248. Use the OS/2 System Editor to create an ASCII file listing all the 
  2249. newsgroups you want to subscribe to.  After each name pace a colon 
  2250. (no space between name and colon).  These are the groups that 
  2251. SOUPER will retrieve news from.  You must also tell Yarn you want 
  2252. to add them (distinction between getting the news and setting Yarn 
  2253. up to display).  You must run NEWGROUP.EXE (see step 17) to get 
  2254. Yarn to understand that these are newsgroups you want Yarn to play 
  2255. with. 
  2256.  
  2257. Example of a NEWSRC file with two newsgroups:
  2258.  
  2259. comp.os.os2.announce:
  2260. comp.os.os2.networking.tcp-ip:
  2261.  
  2262.         Save this file as NEWSRC in the home directory 
  2263. (d:\homexx).  This NEWSRC file is owned by Souper and it records 
  2264. the article numbers you have downloaded from the news server 
  2265. ("read from the news server" even if you never read the article in 
  2266. Yarn).
  2267.  
  2268.         Another file named NEWSRC will be created automatically to 
  2269. record which articles you have read from within Yarn (really read, 
  2270. not just downloaded).  This second NEWSRC file resides in the 
  2271. home\yarn\ subdirectory (in d:\homexx\yarn in our present 
  2272. example).
  2273.  
  2274.         If you add newsgroups, you add them to the NEWSRC in the 
  2275. home directory.  You do not add them to the NEWSRC file in the 
  2276. home\yarn\subdirectory.  Leave that file totally alone.
  2277.  
  2278. Remember that whenever you add a new newsgroup, you must also run 
  2279. NEWGROUP.EXE (step 17).
  2280.  
  2281. 15.        CREATE A SIGNATURE FILE IN THE HOME DIRECTORY
  2282.         Use the OS/2 System Editor to create an ASCII file with 
  2283. how you want to sign e-mail.  For example, it could consist simply 
  2284. of something like.
  2285.  
  2286.                 Jerry Levy (jlevy@ibm.net)
  2287.                 Marblehead, MA USA
  2288.  
  2289. Hit enter twice after the last character is typed so the file ends 
  2290. in two carriage return/linefeed pairs.
  2291.  
  2292.         Save it to d:\homexx.  Whatever you name it and wherever 
  2293. you put it (I recommend putting it in d:\homexx), its name and 
  2294. path should be exactly what you set "signature" equal to in Yarn's 
  2295. CONFIG file (see step 19).
  2296.  
  2297. 16.        CREATE A LIST OF ALL NEWS GROUPS (this is a different 
  2298. file from NEWSRC)
  2299.  
  2300. (SEE ALSO: NOTE ABOUT ADDING NEWSGROUPS AFTER STEP 22)
  2301.         Create a list of newsgroups you are interested in. It's 
  2302. like the NEWSRC you created but leave out the colons.  Save it to 
  2303. d:\homexx.  Name it what you wish (say, NEWSLIST.TXT).  We use it 
  2304. for doing mass operations on keep days and max-keep days.
  2305.  
  2306.         Example:
  2307.  
  2308.                 alt.org.team-os2
  2309.                 comp.os.os2.announce
  2310.  
  2311. 17.        SET KEEP AND MAX-KEEP DAYS FOR NEWS
  2312. (SEE ALSO: NOTE ABOUT ADDING NEWSGROUPS AFTER STEP 22)
  2313.         METHOD 1:        All groups set at the same time and all 
  2314.                          set the same way
  2315. Change to the d:\yarnxx directory.  Then type in (assuming file 
  2316. you created above is called newslist.txt):
  2317.  
  2318.         NEWGROUP.EXE @e:\homexx\newslist.txt 30 30
  2319.  
  2320. and press Enter.
  2321.  
  2322.         Don't forget the @ sign and the full path to newslist.txt!  
  2323. This example sets keep days to 30 (first number) and the max we 
  2324. keep to 30 (second number).  These numbers should agree with what 
  2325. to indicated in Yarn's CONFIG file.
  2326.  
  2327.  
  2328.         METHOD 2:        Each newsgroup set one at a time, or to 
  2329.                          add new groups one at a time.
  2330.  
  2331. Note that in option1 you used the @ sign so that NEWGROUP.EXE 
  2332. acted on a file named newslist.txt.
  2333.  
  2334.         To set keep and max keep days for one single newsgroup 
  2335. and/or to add a group to your list, you don't use the @ sign. Have 
  2336. NEWGROUP.EXE act on the name of the newsgroup.  Type in:
  2337.  
  2338.         NEWGROUP.EXE comp.os.os2.announce 30 30
  2339.  
  2340. and press enter.
  2341.  
  2342. METHOD 1 is greatly to be preferred, because re-running METHOD 2 
  2343. sometimes keeps adding duplicate menu entries into yarn.
  2344.  
  2345. 18.        SET UP A MAIL FILTER RULE FOR INCOMING MAIL
  2346. This is very important:  Before you try to get mail, you must set 
  2347. up filter rules and it is useful to have one that places all 
  2348. incoming e-mail into INBOX.  I only set up this one filter rule.  
  2349. Some people like to create a regular file system with lots of 
  2350. rules.
  2351.  
  2352. Outline:
  2353.         o  At the d:\yarnxx prompt, type in FILTER.EXE and press 
  2354. enter or
  2355.         o  If you've installed YARNDIAL using YDINSTL.CMD, open 
  2356. the desktop folder you created, double click on the YARNUTIL 
  2357. utility object, and at the prompt enter FILTER.EXE and press 
  2358. enter.
  2359.  
  2360. You are now at the mail-rule window:
  2361.         -Press Insert to enter a new rule, give it a name, tab 
  2362.          to each field, and press enter when done.
  2363.         -Press your keyboard INSERT key to insert a new rule
  2364.         -Name this first rule MyMail (example).
  2365.         -Select the TO field by tabbing to it or using 
  2366.          combination of Tab and arrow keys.
  2367.         -Enter your e-mail address (e.g., jlevy@ibm.net)
  2368.         -Tab to field to enter save-in folder
  2369.         -Enter INBOX as the name (all upper case)
  2370.          (it is suggested you use the folder name INBOX for 
  2371.          your genral incoming mail)
  2372.         -Press enter to end the session.
  2373.  
  2374. If this went OK, you will see the rule MyMail.  If you don't see 
  2375. it, you didn't do this correctly so repeat.  Usually this is 
  2376. because some field (e.g, the save-to folder field) was not filled 
  2377. in. 
  2378.  
  2379. 19.        Now open the d:\homexx\yarn\CONFIG file in your OS/2 
  2380. System Editor and inspect all entries.  Edit as necessary with an 
  2381. ASCII text editor.  Superimposing my own preferences, and 
  2382. illustrating how some of the entries might look, the changes you 
  2383. might make are:
  2384.  
  2385.        =====START OF YARN CONFIG EDITING=====
  2386. These lines (at least) are changed
  2387.  
  2388. user=nobody     change to your pop mail user id 
  2389.                 (mine, e.g., is jlevy)
  2390.  
  2391. name=No Name    your name (mine is Jerry Levy)
  2392.  
  2393. host=nowhere    e.g., mine is ibm.net (stuff after 
  2394.                 
  2395. reply-packet=d:\homexx\yarn\out\reply.zip
  2396.                 Here I like to use precisely what VSoup
  2397.                 expects to see so why not use it???
  2398.                 If you use something else, still keep it in the home
  2399.                 directory, though (d:\homexx in this example)
  2400.  
  2401. compress=zip -kjm %f %d/*   I recommend adding full path to the  
  2402.                                zip file
  2403. uncompress=unzip -o %f      Same here
  2404.  
  2405. #Reply-To=nobody@io.org     Remove the # and change to yours(mine 
  2406.                             is jlevy@ibm.net)
  2407.  
  2408. #signature=c:\jim\sig       Remove the # and change to  
  2409.                             d:\homexx\sig.txt, where sig.txt 
  2410.                             contains how you want to sign your e-
  2411.                             mail (e.g.,  name, city, university,
  2412.                             etc.)
  2413.  
  2414. #address-comments=on        Remove #
  2415. #sent-mail=mailed           Definitely remove #
  2416. #sent-news=posted           Definitely remove #
  2417.  
  2418. Remove the # from each of these 10 items (there is also 1 
  2419. line you leave the # in for.  It is continuation of a text 
  2420. line)
  2421.  
  2422. # %a            article number
  2423. # %C            current newsgroup name
  2424. # %f            From: header
  2425. # %i            Message-ID: header
  2426. # %n            Newsgroups: header
  2427. # %t            reply mail address derived from Reply-To: or 
  2428.                      From: header
  2429. # %[name]       value of the header named between the square  
  2430.                      brackets
  2431. # %%            % character
  2432. # %?            space character if the WORLDNETribution is 
  2433.                      less than 80 characters
  2434. # \n            new-line character
  2435.  
  2436.  
  2437. #mail-attribution=%f wrote:     Remove the #
  2438.  
  2439. #followup-attribution=In article %i,%?%f wrote:    Remove the #
  2440.  
  2441. #reply-attribution=In article %i, you wrote:       Remove the #
  2442.  
  2443. #save-directory = e:\inetdata\newsmail   Remove the # and enter 
  2444. path                            
  2445.                                           to a default directory 
  2446. into 
  2447.                                           which save-to-file mail 
  2448. goes.  
  2449.                                           The directory (newsmail 
  2450. here) 
  2451.                                           must exist, so create 
  2452. it.
  2453.                                           
  2454. keep=7            I changed this to 30 (days)
  2455.  
  2456. #max-keep=30       I removed the #
  2457.  
  2458. #next-screen-context-lines=0       Remove the #.  2 or 3 works
  2459.                                    nicely here.
  2460. #charset=iso-8859-1               Remove the #
  2461.  
  2462. #join-truncated-subjects = 21     Remove the #
  2463.  
  2464. #confirm-quit = on                I removed the #
  2465.  
  2466. #decode-mime=metamail %f     If you intend to use mime,  
  2467.                              remove the # and then insert
  2468.                              the full path e.g.,
  2469.                              decode-mime=d:\metamail\metamail %f)
  2470.  
  2471. This final bit of editing of the file concerns colors.  I don't 
  2472. like the way the default colors show up in a window, so I changed 
  2473. to this.  Purely my personal preference.
  2474.  
  2475. # USENET headers
  2476. color header lightgray blue
  2477.  
  2478. # specific USENET headers
  2479. color header-From yellow blue
  2480. color header-Subject yellow blue
  2481.  
  2482. # article body
  2483. color body white blue
  2484.  
  2485. # quoted text
  2486. color quote lightgray blue
  2487.  
  2488. # more line
  2489. color more white cyan
  2490.  
  2491. # display colors
  2492. color window-border       cyan black
  2493. color window-title        cyan black
  2494. color window-text         lightgray black
  2495.  
  2496. color list-border         cyan blue
  2497. color list-title          yellow blue
  2498. color list-text           white blue
  2499. color list-select         white green
  2500.  
  2501. color form-border         yellow blue
  2502. color form-title          white blue
  2503. color form-text           lightgray blue
  2504. color form-active         white cyan
  2505. color form-inactive       lightcyan blue
  2506.  
  2507. color menu-border         cyan blue
  2508. color menu-text           white black
  2509. color menu-select         cyan black
  2510. color menu-hotkey         lightgray black
  2511. color menu-select-hotkey  lightgray white
  2512.  
  2513. If you want to try these color settings, just copy and paste this 
  2514. whole colors Section in place of the defaults in the Yarn CONFIG 
  2515. file. Save a backup of your original Yarn CONFIG first.
  2516.  
  2517.        =====END OF YARN CONFIG EDITING=====
  2518.  
  2519.  
  2520.  
  2521. 20.   THIS COMPLETES SETTING UP YARN AND SOUPER (SINGLE USER)
  2522. At this point you can REM out or remove the SET HOME and SET YARN 
  2523. environmental settings in CONFIG.SYS.  If you don't need to, of 
  2524. course, don't bother, but if you had installed another program 
  2525. which needed its own SET HOME assignment, and you temporarily 
  2526. REMMED that out, you can now restore it.  Do not remove the SET 
  2527. TZ=   statement from CONFIG.SYS. 
  2528.  
  2529. 21.   At this point you no longer need your temporary yarn 
  2530. or Souper directories unless you plan on setting up for multiple 
  2531. users or multiple providers.  You might consider printing out 
  2532. documentation files before you wipe these temporaries out.
  2533.  
  2534. 22.   INSTALLING YARNDIAL WITH YDINSTL.CMD AND TESTING YARN 
  2535.       AND SOUPER
  2536.  
  2537. (SEE ALSO: NOTE ABOUT ADDING NEWSGROUPS AFTER THIS STEP)
  2538.  
  2539. SET UP DIALERS
  2540. If you are using either SLIPPM (the IBM Dial-Other-Internet-
  2541. Providers utility) or the ILINK/2 dialer, you MUST set up
  2542. SLIPPM and verify it can connect to your provider successfully
  2543. before you run YDINSTL.CMD to install YARNDIAL.
  2544.  
  2545. If you are using either the IN-JOY dialer, or a SLIP.EXE or
  2546. PPP.EXE dialup string to connect, you SHOULD set up
  2547. SLIPPM and verify it can conect to your provider successfully
  2548. before you run YDINSTL.CMD to install YARNDIAL.  This is
  2549. because the YARNDIAL installer (YDINSTL.CMD) can extract
  2550. parameters from the TCPOS2.INI file used to store SLIPPM
  2551. setup information. 
  2552.  
  2553. In setting up SLIPPM, you MUST fill in the names of your news
  2554. server, your mail gateway (i.e., your SMTP server), your POP
  2555. mail server, your pop login ID, and your pop password (page 3 of 
  2556. the SLIPPM settings page).
  2557.  
  2558. If you are using the IBM/Advantis IAK Dialer and it is
  2559. configured correctly, you are ready to run YDINSTL.CMD to
  2560. install YARNDIAL.
  2561.  
  2562. After that installation is completed (refer Section 1.00) you can
  2563. test YARN and SOUPER with a correctly, fully installed YARNDIAL.
  2564.  
  2565. A PRIMER ON USING YARN -- TESTING YOUR INSTALLATION
  2566. Start it by opening the desktop folder (YARNDIAL) created after 
  2567. you ran YDINSTL.  Double-click on the YARN-program object.  When 
  2568. the window opens, click in the upper-right corner to maximize the 
  2569. window.
  2570.  
  2571.         Press F1.  Brings up the help menu (all functions).
  2572.  
  2573.         Press Escape.  Returns you (to Yarn).
  2574.  
  2575.         SEND AN E-MAIL TO YOURSELF:  Press Shift M.  Fill in the 
  2576. blank(s) in the window that comes up.  Press Enter and your editor 
  2577. should start.  Type in your message.  Do SAVE, close the editor.  
  2578. The Yarn window will return.  Select SEND (should already be 
  2579. selected, so press Enter).  Press Escape to exit Yarn.  Now start 
  2580. YARNDIAL, and when the menu comes up, select the Export option.
  2581.  
  2582.         GET THE E-MAIL YOU JUST SENT:  (allow time for your 
  2583. Internet Service Provider to process it, at most a few seconds if 
  2584. you provider is worth anything, a minute at most).  Start 
  2585. YARNDIAL, and select the Get-Mail option to retieve it.
  2586.  
  2587.         LOOK AT YOUR FOLDERS:  Now start Yarn again, maximize the 
  2588. window, do Shift-F.  You should see a Mailed folder and an INBOX 
  2589. folder (if you retrieved your e-mail). If you'd posted something 
  2590. to a news group, there would also be a Posted folder.  Select one 
  2591. of these, press Enter, and you can read your INBOX (in-mail), what 
  2592. you've Posted or wht you've Mailed.
  2593. qqq
  2594.         PRINT IT:  While the mail is opened (reading your 
  2595. message), press s (lower case "S").  In the window that appears 
  2596. enter prn and press Enter.  You can alternatively enter a file 
  2597. name (path, too) and save it as a file.  There's an entry in your 
  2598. Yarn CONFIG file for a default directory where to save news, and 
  2599. if you omit the path when you enter the save-to filename, it  
  2600. it goes there.
  2601.  
  2602.         To back out successively from where ever you might be in 
  2603. Yarn: use the Escape key.
  2604.  
  2605.         To see command-help: Press F1.  Great function summary!
  2606.  
  2607. END OF PRIMER.
  2608.  
  2609. 30.00  NOTE ABOUT ADDING NEWSGROUPS
  2610. Sometimes, and I haven't tried to figure out exactly what has to 
  2611. happen for YARN to behave this way, even after you add groups to 
  2612. the home directory NEWSRC, and run NEWGROUP.EXE to add a group and 
  2613. set keep days, or add a host of groups and set keep days all at 
  2614. one time by running NEWGROUP.EXE @newslist.txt 30 30 (example), 
  2615. all groups do not show up in YARN's newsgroup lists when YARN 
  2616. opens.  Not to worry.  If you press either the minus key or your 
  2617. Insert key, the groups will show up in a list and you can select 
  2618. them one by one to add them.  These keys are among the commands 
  2619. listed when you press F1 to bring up YARN's command-help file.
  2620.  
  2621. 31.00  SETTING UP AND INSTALLING FOR MULTIPLE USERS
  2622. If you do use Yarn and Souper for e-mail, and even if you don't, 
  2623. you really should set up yourself as a user with ADDUSER.EXE even 
  2624. if you intend to be the only user.  Most installations are for a 
  2625. single user and involve only one provider.  (Some guides to 
  2626. setting up Yarn and Souper advise against doing so, but do it!).
  2627.  
  2628. After you have set up for a single user, the best way to add other 
  2629. users is as follows
  2630.         a.   You should already have run YDINSTL.CMD and have set 
  2631. up YARNDIAL for your first user.
  2632.         b.  If you haven't wiped out your temporary yarn and 
  2633. Souper directories, go back and do steps 10, 11 and 12 again, 
  2634. setting up a completely new yarn directory.  (If you wiped these 
  2635. temporary folders out, you'll need to repeat steps 1-12).
  2636.         c.  Open up the YARNDIAL SUITE folder which YDINSTL 
  2637. created on your desktop for your first user, double-click on the 
  2638. YarnUtil icon and enter ADDUSER.EXE as the utility you want to 
  2639. run.  Set up a new home directory for this new user by filling in 
  2640. the parameters called for, just as you did for the first user.
  2641.         d.  Run YDINSTL.CMD again (the one you ran for the first 
  2642. user or the on first user or the one copied over into d:\homexx, 
  2643. doesn't matter which).  When prompted for your Home and Yarn 
  2644. directories, key in the ones for this new user.
  2645.         d.  Repeat steps 14-16.
  2646.         e.  Double-click on YarnUtil in the desktop folder you 
  2647. just created for the second user, and run  NEWGROUP.EXE (see step 
  2648. 17) and FILTER (see step 18).
  2649.         f.  Edit the CONFIG file in the YARN subdirectory of the 
  2650. new users HOME directory (see step 19).
  2651.         g.  You're done setting up for a second user or provider.
  2652.  
  2653.  
  2654. 32.00   CONNECTION KILLED OR NOT WHEN YARNDIAL ENDS
  2655. YARNDIAL was originally designed to shut down the dialer and 
  2656. disconnect from the phone line when it finishes.  This was part of 
  2657. the original premise of automating off-line retrieval and sending 
  2658. of news and mail: letting you walk away from the machine without 
  2659. racking up unnecessarily high phone bills or access times.
  2660.  
  2661. Sometimes, however, you may be on-line, and want to get or send 
  2662. mail, and then return to whatever you were doing on-line without 
  2663. having to reconnect.  This feature was implemented to allow you to 
  2664. do that.
  2665.  
  2666. The main menu has seven selections.  If you select the "do-not-
  2667. kill-connection" option (either at install time or by making 
  2668. DO_NOT_KILL_CONNECTION=1 in YD_PARMS.DAT, your seven-selection 
  2669. choice becomes
  2670.  
  2671.        1 2 3 4 5 6 7   Executes functions as shown; goes
  2672.                        off-line when done
  2673. or
  2674.        ! @ # $ % ^ &   Same functions; connection remains up   
  2675.  
  2676.  
  2677. Note: The ! @ # $ % ^ & choices represent shift-1, shift-2, 
  2678. through shift-7 on a US-English keyboard.  Those alternate "stay-
  2679. connected" keys may be changed to suit your own national keyboard 
  2680. by editing DNK_STRING in YD_PARMS.DAT.
  2681.  
  2682.  
  2683. 33.00  WHERE TO GET SOFTWARE AND HELPFUL DOCUMENTATION
  2684. (this Section is work in progress)
  2685.  
  2686.   ftp-os2.nmsu.edu
  2687.   ftp site (hobbes.nmsu.edu)
  2688. These two are really the same site.  
  2689. They are the old-reliables and I rely on them below.
  2690.  
  2691. Equally, either of these (also these two are the same site):
  2692.    ftp.leo.org
  2693.    ftp.informatik.tu-muenchen.de
  2694.  
  2695. The OS/2 Shareware BBS (703-385-4325) will also likely have
  2696. these files.  It can be accessed on the Web as well at   
  2697.    http://www.os2bbs.com.
  2698.  
  2699. A good Web site for searching for software by name or keywords is
  2700.    http://castor.acs.oakland.edu/cgi-bin/vsl-front
  2701. (those are lower-case "L"'s not "one"'s)
  2702.  
  2703. EMX v 09C.ZIP
  2704. Optional if you use Souper and Souper is version 14 or higher, but
  2705. still recommended because you need emx (can be earlier versions)
  2706. for metamail, and for mime64.  
  2707.  
  2708. If you use VSOUP, you not only need emx but it must be
  2709. EMX v 09C.
  2710.    ftp-os2.nmsu.edu/os2/unix/emx09c/emxrt.zip
  2711.  
  2712. METAMAIL.ZIP
  2713. (optional but recommended)
  2714.    ftp-os2.nmsu.edu/os2/unix/metamail.zip
  2715.  
  2716. MIME64.ZIP
  2717. (optional but recommended.  Other mime en- or de-coders are 
  2718. available)
  2719.    ftp-os2.nmsu.edu/os2/unix/metamail.zip
  2720.  
  2721. UUCODE18.ZIP
  2722.    ftp-os2.nmsu.edu/os2/archiver/uucode18.zip
  2723.  
  2724. SOUPER15.ZIP        latest version
  2725.   ftp-os2.nmsu.edu/os2/network/tcpip/souper15.zip
  2726.   also, links to it on http://www.vex.net/yarn
  2727.  
  2728. VSOUP
  2729.    ftp.cdrom.com/pub/os2/internet/vsoup127.zip
  2730.    ftp.leo.org/pubcomp/os/os2/tcpip/news/vsoup127.zip
  2731.  
  2732. YRN2_09x.ZIP        latest version is _092.
  2733.    ftp-os2.nmsu.edu/os2/network/tcpip/yrn2_090.zip
  2734.    links to yrn2_092.zip are on http://www.vex.net/yarn
  2735.  
  2736. INfoZip Utilities (ZIP and UNZIP)
  2737.    ftp-os2/nmsu.edu/os2/archiver/zip21x2.zip
  2738.    ftp-os2.nmsu.edu/os2/archiver/unzip520.zip
  2739.  
  2740. UPDATES OF TCP/IP AND SLIPPM
  2741. In addition to the usual IBM sites, a good bet is John
  2742. Summerfield's web page.
  2743.   http://www.iinet.net.au/~summer/os2/
  2744. You will find links to service packages. The IC12657 package is 
  2745. the latest I could find.  It will take only about 10 minutes to 
  2746. install. 
  2747.  
  2748. PPP.DOC
  2749. Look for it in the c:\tcpip\etc directory or use the Warp SEEK 
  2750. utility to find it.
  2751.  
  2752. PPPINFO.ZIP
  2753. Links to it in
  2754.    http://www.vex.net/~x/bells2.phtml
  2755.  
  2756. YEPxx.ZIP  (you want YEP15 later)
  2757. Links to it in
  2758.    http://www.io.org/~tm/bells2.html
  2759.  
  2760.  
  2761. SLIPPM.FAQ
  2762.    http//www.gnatnet/lstone/FAQ.HTML
  2763.    (That's an "L" stone not a "one" stone)
  2764.  
  2765. PPDIAL29.ZIP
  2766.    ftp-os2/nmsu.edu/os2/network/tcpip/ppdial29.zip
  2767.    (Not only for the software but for its documentation)
  2768.  
  2769. TZ SETTINGS (Config.sys, time zones)
  2770. There is an excellent (readable, complete) discussion in the help 
  2771. file of the time868 program which can be found at
  2772.      ftp-os2/nmsu.edu/os2/network/tcpip/time868b.zip
  2773.  
  2774.    Start time868, click on help, and then search 'all sections'   
  2775.    for TZ.
  2776.  
  2777. There is also TZ information in the Master Help Index (it's in the
  2778. Warp Information folder).  Search for 'time zone' in the Master 
  2779. Help Index.
  2780.  
  2781. COMPLETE LIST OF MEDIA-TYPES (MIME ASSOCIATIONS)
  2782. (MIME TYPE or SUBTYPE and APPLICABLE FILENAME EXTENSIONS)
  2783.  
  2784. example : application/octet-stream represents mime type/subtype 
  2785. for binary files in general, i.e., those with extensions: .exe, 
  2786. .zip and so forth.
  2787.    http://www.isi.edu/in-notes/iana/assignments/media-types
  2788.    (document: media-types, plus others in that directory)
  2789.  
  2790. ACCESSING RFC's and FYI's, General Internet Information
  2791.    General:  try these and wade into them
  2792.       http://www.isi.edu/
  2793.       http://info.internet.isi.edu/
  2794.    Specifically: for RFC's, FYI's:
  2795.       http://info,internet.isi.edu/1/in-notes/
  2796.         and you will see links
  2797.       (note:  that /1/ is a "one" not an "L")
  2798.       RFC's that may be of interest for people already confused by 
  2799.       Mail, MIME and eager to know just how complex it gets:
  2800.          RFC1049  Content-type Headers
  2801.          RFC1341  Multipurpose-Internet-Mail-Extension (MIME)
  2802.          RFC822   ARPA Standard for Internet Messages
  2803.           
  2804. GENERAL INFORMATION AND LINKS TO YARN AND SOUPER
  2805. FILES, DOCUMENTATION, UTILITIES
  2806.    http://www.vex.net/~x/bells2.phtml and links contained therein
  2807.    http://www.vexnet.net/yarn and links contained therein
  2808.    http://www.nic.com/~cannon/getyarn.html and links contained 
  2809.         therein
  2810.    ftp://hobbes.nmsu.edu/os2/comm/soupinst.zip
  2811.          Steve Withers' install notes
  2812.  
  2813.  
  2814.  
  2815. 34.00  BUGS AND ERROR-TRAPPING
  2816. If you have moved the YARNDIAL desktop folder you created during 
  2817. an INSTALL (for example into another desktop folder), if you rerun 
  2818. YDINSTL or run OBJECTS.CMD to recreate the folder on the desktop, 
  2819. the folder does not appear on the desktop, but instead refreshes 
  2820. the one you moved into the location you moved it to. 
  2821.  
  2822. We can trap and identify various types of ReXX error conditions:  
  2823. Error, Syntax, Failure, Novalue, Halt and Notready, by setting 
  2824.  
  2825.         local_error_trapping = 1
  2826.  
  2827. For some kinds of trapped errors when local_error_trapping is
  2828. set =1, the line number returned in SIGL is either the end of the
  2829. .CMD file or the line jumped to upon the error.  In most cases,
  2830. however, SIGL returns the offending line.
  2831.  
  2832. JL     Marblehead, MA
  2833.  
  2834. 
  2835.  
  2836.