home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / comm / jrc102.lzh / Q&A.doc < prev    next >
Text File  |  1991-04-03  |  18KB  |  385 lines

  1. JR-Comm 1.02 - FREQUENTLY ASKED QUESTIONS
  2. -----------------------------------------
  3.  
  4.    This text was extracted from chapter 19 of the JR-Comm 1.02 users manual.
  5.  
  6.  
  7.  
  8. - MY FILE TRANSFERS ARE MUCH SLOWER THAN THOSE WITH OTHER PROGRAMS. WHY?
  9.  
  10.      There are several causes of this happening.  If one or more are
  11.      present, you will get very slow transfer rates as their effects are
  12.      cumulative.  Most of this discussion pertains to ZMODEM downloads,
  13.      which is by and large, the most common type of transfer performed with
  14.      JR-Comm.
  15.  
  16.           There are three options that standout above all others in terms
  17.      of slow file transfer performance.  One, the "Escape ctrl chars"
  18.      option in the FILE TRANSFER PARAMETERS requester effects ZMODEM file
  19.      transfers only, but tremendously.  DO NOT USE THIS OPTION UNLESS YOU
  20.      ABSOLUETLY NEED TO!!!
  21.  
  22.           The second option, "File saver" in the GENERAL PARAMETERS
  23.      requester effects any type of download.  What this causes JR-Comm to
  24.      do is to close and then reopen the file each time a disk write
  25.      operation is performed.  By doing this, the file is gauranteed to
  26.      contain some data if a system crash occurs during a file download. 
  27.      What this also means is that the file transfer is going to be slowed
  28.      down significantly since there is additional overhead needed to reopen
  29.      and reposition the file pointer each time an access occurs.  You have
  30.      to determine if the throughput penalty this option imposes is less of
  31.      a factor then possibly losing a file.
  32.  
  33.           The last reason for slower transfers has to do with high-speed
  34.      ZMODEM and YMODEM-g uploads only.  If the "Overdrive" feature is not
  35.      enabled, JR-Comm will not do a burst mode send of data out the serial
  36.      port.  Although it can speed up throughput by a good margin, it has
  37.      the drawback of increasing error recovery time.  It is not recommended
  38.      for noisy connections or for baud rates below 9600bps.
  39.  
  40.           Although not a severe, having XON/XOFF handshake active when
  41.      starting a ZMODEM file transfer will also slow it down somewhat.  The
  42.      confusion with XON/XOFF arises from the fact that JR-Comm does not
  43.      deactivate it when a ZMODEM transfer is initiated like most of the
  44.      other Amiga communications programs that are out there.  This is not
  45.      correct though because, unlike XMODEM technology protocols, ZMODEM is
  46.      a full streaming protocol designed for packet switched networks that
  47.      may overflow portions of a busy network without XON/XOFF handshake
  48.      active to regulate data flow.  
  49.  
  50.           The "Disk check" option will slow down the beginning of a file
  51.      transfer due to JR-Comm performing a free space check before
  52.      proceeding with the transfer.
  53.  
  54.           The "Logfile active" option will also slow down batch transfers
  55.      since a write to the logfile performed at the completion of each file
  56.      transfered.
  57.  
  58.  
  59.  
  60.  
  61. - I'M GETTING DOWNLOAD ERRORS AT OR ABOVE 9600BPS WITH AN MNP MODEM.
  62.  
  63.      Since an MNP modem is an error correcting device that gives you an
  64.      error free connection, any errors at high baud rates can only mean one
  65.      thing; data being lost between the modem and computer.  The cause of
  66.      this is due to the cpu getting locked-out long enough for the most
  67.      recently received data byte to be overwritten by the next incoming
  68.      byte.  Unfortunately, the internal serial port does not buffer these
  69.      bytes like some of the more advanced UARTS (Universal Asynchronous
  70.      Receive Transmit device) available these days.  Thus, the cpu has a
  71.      fairly critical "window of opportunity" in order to successfully fetch
  72.      data as it is received.
  73.  
  74.           Unlike the IBM style computer, the Amiga does not have the
  75.      ability to simply pop in an alternate (and more powerful) UART that
  76.      would eliminate this problem.  Do not despair however.  There are a
  77.      few simple things that you can check to determine the cause of these
  78.      bytes getting lost.  
  79.  
  80.           Using an 8 or 16 color screen can have a direct effect on these
  81.      problems, try dropping down to a Workbench or 2 color screen to see if
  82.      this eliminates the errors.
  83.  
  84.           Next, are you running JR-Comm or any other task with an
  85.      excessively high priority?  Do you have any device drivers (hard disk
  86.      drivers are a common one) that run at an unreasonably high priority? 
  87.      Is the hard disk controller you're using a programmed I/O version?  If
  88.      it is, contact the manufacturer for help.  Use the diagnostic key
  89.      sequence in JR-Comm to create a ram:jrc.diag file and examine its
  90.      contents or contact the support BBS for additional help.
  91.  
  92.           If the task priority in the GENERAL PARAMETERS requester hasn't
  93.      been modified, you may want to bump it up one or two at a time and see
  94.      if this cures the problem.
  95.  
  96.           Having more than two floppy drives connected (one internal and
  97.      one external) will definitely give you problems with the internal
  98.      serial port.  This is due to AmigaDOS checking for a changed disk once
  99.      every second or so for each drive.  The same holds true for certain
  100.      hard disk controller devices that have more than two or three
  101.      partitions active.  Believe it or not, AmigaDOS also checks each
  102.      partition once every second to see if it too has been changed!  
  103.  
  104.           Finally, check if you are running any cpu intensive tasks in the
  105.      background while you're downloading.  
  106.  
  107.           Although the Amiga is a multitasking machine, the resources
  108.      available are finite, especially when you're running JR-Comm (or any
  109.      communications program) at 9600bps or 19.2kbps (anything higher than
  110.      19.2kbps is definitely not recommended with the internal port). 
  111.      Remember that the internal port can't buffer the data it receives, so
  112.      don't bog down the cpu or it won't be able to respond to the data fast
  113.      enough to prevent it from being overwritten.
  114.  
  115.           If you still continue to receive errors contact the support BBS
  116.      for any additional help that may have been discovered since the
  117.      printing of this manual.
  118.  
  119.           As an aside, you may wish to look into a third party serial board
  120.      for the A2000 and A3000 series of Amiga computers.  These boards can
  121.      greatly reduce the problems you may be having, especially if you can't
  122.      completely eliminate them.
  123.  
  124.  
  125.  
  126. - WHY DOESN'T JR-COMM HAVE A YMODEM-batch PROTOCOL?
  127.  
  128.      It does.  YMODEM is a batch protocol, thus calling it "batch" would be
  129.      redundant.  There are really only two variations of TRUE YMODEM(tm). 
  130.      The first is YMODEM and the second is the YMODEM-g protocol for use
  131.      with reliable data connections, such as an MNP modem.
  132.  
  133.           The trouble lies in the fact that some telecommunications
  134.      software authors took it upon themselves to implement only some of the
  135.      features of YMODEM and still call it YMODEM.  The most common variant
  136.      being what is now properly called XMODEM-1k.  Later, after realizing
  137.      the errors of their ways, they added YMODEM-batch, but called it that
  138.      to save face with their users.
  139.  
  140.           If the protocol that calls itself YMODEM does not send filename,
  141.      size and date information (JR-Comm will tell you this by "stepping
  142.      down" to XMODEM), it is really XMODEM-1k.
  143.  
  144.           There are some other versions that will send this information,
  145.      but will not support batch operation.  You can still use JR-Comm's
  146.      YMODEM in these instances too.
  147.  
  148.           Finally, there are some very old versions of YMODEM that you may
  149.      run into that cannot handle the 1024 byte block that is in widespread
  150.      use today.  This is the reason for the YMODEM and YMODEM-1k options in
  151.      the FILE TRANSFER PARAMETERS requester.  In almost all cases, leave
  152.      the 1k version selected.  Only use the other for instances where the
  153.      receiver must have 128 byte blocks sent.
  154.  
  155.           JR-Comm has enough intelligence built-in to handle almost any of
  156.      the mutant versions of this protocol that you may run into.  If you do
  157.      run into an especially uncommon strain of this protocol, please report
  158.      it to the BBS so that it can be modified to deal with it in a future
  159.      release.
  160.  
  161.  
  162.  
  163. - WHY DOES JR-COMM SOMETIMES TAKE SO LONG TO ABORT A FILE TRANSFER?
  164.  
  165.      JR-Comm tries very hard to prevent leftover data from an aborted file
  166.      transfer from splattering all over your display.  If the wait is
  167.      extraordinarily long you can click on the close window gadget a few
  168.      times to cause a hard abort to occur regardless of what data is left
  169.      in the pipe.
  170.  
  171.           Although ZMODEM transfers will generally abort faster, the XMODEM
  172.      technology protocols can take a good deal of time to abort.  The main
  173.      reason for this is that the receiver can only detect an abort sequence
  174.      at the start of a block.  It cannot determine this while receiving the
  175.      data portion of the block.  So, you may have to wait for as many as
  176.      1,028 bytes to be sent or received before it will begin the abort
  177.      sequence.  The "Overdrive" option will aggravate this delay
  178.      substantially for low baud rates.
  179.  
  180.  
  181.  
  182. - ALL FILE TRANSFERS IMMEDIATELY ABORT WITH "Carrier not detected..."
  183.  
  184.      This is related to the previous problem except that the carrier detect
  185.      signal (DCD) is never active, even when it should be.  The two most
  186.      likely causes for this occurring would be a defective serial cable or
  187.      modem.  Check the modem manual to verify that your modem does have a
  188.      functioning DCD signal and that the serial cable passes this signal.  
  189.  
  190.  
  191.  
  192. - ATREDES BBS ZMODEM DOWNLOADS SOMETIMES HAVE "WEIRD" FILE SIZES.
  193.  
  194.      Some versions of the Atredes BBS system had a bug that gave incorrect
  195.      information for this protocol.  The file will be received correctly
  196.      though.  Inform the sysop of that system to upgrade to a newer
  197.      version.
  198.  
  199.  
  200.  
  201. - FILE TRANSFERS WITH A BBS-PC! SYSTEM <INSERT YOUR PROBLEM HERE>.
  202.  
  203.      Unfortunately, there is no easy way to determine which version of
  204.      BBS-PC! you are really dealing with.  Although it may "say" that it is
  205.      version 4.20 (or whatever), it could be any one of a number of
  206.      releases due to the publisher of this product not bumping the version
  207.      number as they fix things.  The only certain way is to know the file
  208.      size of the executable for this program and, as a caller to the
  209.      system, you cannot find this out.
  210.  
  211.           Contact the sysop of the system in question to determine what is
  212.      the best way to correct the problems you're experiencing with this
  213.      BBS.
  214.  
  215.  
  216.  
  217.  - WHY DO DOWNLOADS SOMETIMES TAKE LONGER THAN UPLOADS TO THE SAME SYSTEM?
  218.  
  219.      This is not a problem.  It is simply that any download, regardless of
  220.      the protocol being used, is entirely dependent on the speed of the
  221.      sending system.  You can only receive a file as fast as it is being
  222.      sent to you.
  223.  
  224.  
  225.  
  226. - JR-COMM WILL NOT ENABLE CTS HANDSHAKE.
  227.  
  228.      In order to use CTS/RTS handshake, your modem must have the DSR and
  229.      CTS signals active.  Check your manual so that you can set the modem
  230.      to always have DSR active and have CTS remain active (but not set high
  231.      permanently) when offline.
  232.  
  233.  
  234.  
  235. - THE ONLINE TIMER IS ALWAYS COUNTING, EVEN WHEN OFFLINE.
  236.  
  237.                          -and-
  238.  
  239.  - THE DIALER REFUSES TO DIAL, REPORTS: "Exiting, carrier present."
  240.  
  241.      These two problems are due to the carrier detect signal (DCD) always
  242.      being active.  Check the manual to the modem for the proper command
  243.      and/or hardware switch in order to set the modem so that this signal
  244.      is only active when a carrier signal is present.
  245.  
  246.           If the modem (or cable) doesn't allow you to correct this
  247.      problem, you will have to disable the carrier detect logic in JR-Comm
  248.      by setting the button gadget "Ignore carrier detect" which is located
  249.      in the MODEM PARAMETERS requester.
  250.  
  251.  
  252.  
  253. - THE DIALER ALWAYS REMOVES AN ENTRY AFTER THREE DIAL ATTEMPTS.
  254.  
  255.      You modem must be able to RELIABLY detect a busy signal or it will
  256.      return a NO CARRIER response.  If three of these responses are
  257.      received for a selected entry the dialer will deselect it.
  258.  
  259.           If your modem does not detect busy signals, also known as "blind
  260.      dialing", or it is not reliably detecting them, you must activate the
  261.      "Ignore No Carrier" option in the MODEM PARAMETERS requester to
  262.      deactivate this feature of the dialer.
  263.  
  264.  
  265.  
  266. - THE DIALER ALWAYS SETS THE BAUD RATE TO SOMETHING OTHER THAN THE   
  267.    SELECTED OR CONNECTED RATE, WHY?
  268.  
  269.      There are two reasons why this would happen.  The most common one
  270.      would be have the "Auto-baud" option in the MODEM PARAMETERS requester
  271.      active while your modem is not set (or capable) of returning extended
  272.      result codes for the "CONNECT" message.  The second reason is if your
  273.      modem does not adhere to the Hayes standard for these extended result
  274.      codes.  Please refer to section 2.8.5 for more details about the auto-
  275.      baud feature.
  276.  
  277.  
  278.  
  279. - THE MODEM SOMETIMES "MISSES" THE DIAL COMMAND SENT BY THE DIALER.
  280.  
  281.      Some modems have trouble decoding an "AT" command sequence when the
  282.      characters are sent too fast.  Set the "Dial pacing" parameter in the
  283.      MODEM PARAMETERS requester to a value that allows your modem to
  284.      reliably receive the dial command.  This value represents tenths of a
  285.      second delay between each character in the command string.
  286.  
  287.  
  288.  
  289. - MY MACROS ARE SENDING INCORRECT DATA WHEN USING THE IBM DOORWAY MODE.
  290.  
  291.      This is normal.  Function key macros are disabled during Doorway mode
  292.      due to JR-Comm emulating the hexadecimal scan key codes that are sent
  293.      whenever a key is pressed while this mode is active.  For this reason
  294.      you cannot have macros when using this mode.
  295.  
  296.  
  297.  
  298. - JR-COMM SOMETIMES REPORTS THAT IT COULDN'T OPEN A WINDOW.
  299.  
  300.      You're running JR-Comm on a system that has little free memory.  Use a
  301.      screen with less colors.
  302.  
  303.  
  304.  
  305. - I'M USING JR-COMM TO DIAL OUT ON A BBS LINE.  HOW DO I PREVENT IT FROM
  306.    EXITING AFTER RECEIVING A "RING" OR 3 "NO DIALTONE" MESSAGES?
  307.  
  308.      The "RING" message in the MODEM PARAMETERS REQUESTER will have to be
  309.      deleted in order to disable that feature.  The "NO DIALTONE" feature
  310.      of the dialer can't really be disabled, but a work around has been
  311.      developed that will "fool" the dialer.
  312.  
  313.           What you need to do is first delete the "NO DIALTONE" string. 
  314.      Now, change the "NO CARRIER" to "NO DIALTONE".  Lastly, set the
  315.      "Ignore no carrier" option in the MODEM PARAMETERS requester.
  316.  
  317.           What this accomplishes is that the dialer will treat the "NO
  318.      DIALTONE" response as if the modem was a dumb Hayes that was using
  319.      blind dialing.  Although an intelligent modem that has a call
  320.      progression feature can still return a "NO CARRIER" response if the
  321.      modem times out without the remote system picking up or if it fails to
  322.      detect a "BUSY" signal, the "Ignore no carrier" feature will prevent
  323.      the dialer from removing the phone entry from the selected list.
  324.  
  325.  
  326.  
  327. - WHY DO 4 DOTS APPEAR IN THE STATUS LINE WHEN USING VT-10x?
  328.  
  329.      These dots represent the four LED indicators on a real VT-10x
  330.      terminal.  They are software controlled by the remote system during
  331.      operation.  An '*' character is used to indicate that the LED is "on".
  332.  
  333.  
  334.  
  335. - JR-COMM HAS TROUBLE KEEPING UP WITH 16 COLOR ANSI.  WHY?
  336.  
  337.      If you're using an Amiga that only has chip ram or "pseudo-fast" ram
  338.      instead of "true" fast ram, the cpu is going to be locked-out during
  339.      display and scroll functions.  An 8 color screen should help eliminate
  340.      the slow operation that occurs on systems with no true fast ram.
  341.  
  342.           True fast ram is different than ram expansion that resides at the
  343.      hexadecimal $C00000 address, such as the 512k A501 expansion for the
  344.      A500.
  345.  
  346.           A 16 color screen also is limited to 2400bps operation.  Somewhat
  347.      less for PAL screens, even if fast ram is installed.  If you're using
  348.      a high-speed modem, you should drop down to at least an 8 color
  349.      screen, or risk serial data loss.  See the next problem discussion
  350.      which is closely related to this one.
  351.  
  352.  
  353.  
  354. - WHY ARE THE COLORS ORDERED DIFFERENTLY THEN A TRUE MS-DOS MACHINE?
  355.  
  356.      JR-Comm uses a translation table to convert the ANSI sequences that
  357.      change color to the correct hue.  This was done to make the various
  358.      requesters and default white on black text look "right" on the Amiga. 
  359.      If the "correct" color ordering was used, the default text would have
  360.      been red for both the terminal and the string gadgets in the
  361.      requesters.
  362.  
  363.           The color scheme was further designed to allow the gadgets and
  364.      their labels to be readable from a 2 color to 16 color screen.
  365.  
  366.  
  367.  
  368. - BUT, DID IT HAVE TO EMULATE THE "FLICKER" OF THE OLD CGA MONITORS TOO?
  369.  
  370.      The slight flicker you see as colored text scrolls up the screen is a
  371.      result of the blitter scrolling each of the four component bitplanes
  372.      that make up a 16 color screen one at a time.  Since the total scroll
  373.      operation takes longer than the time to refresh and paint the bitplane
  374.      data once or twice, you see a small flicker.  Some of the colors are
  375.      more prone to this than others.  The color scheme of the palette was
  376.      also modified to take this into account by separating some of the more
  377.      offending colors to minimize this effect.  Unfortunately, this wasn't
  378.      completely successful.
  379.  
  380.           A future version of JR-Comm may have a better solution to this. 
  381.      Only authorized system calls and methods were used to prevent problems
  382.      from occurring with the new version(s) of Kickstart and Workbench that
  383.      were still under development when JR-Comm 1.02 was released.
  384.  
  385.