home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / ck208 / cku208.tar.gz / cku208.tar / ckubwr.txt < prev    next >
Text File  |  2003-03-10  |  250KB  |  5,197 lines

  1.  
  2.                        C-Kermit 8.0 Unix Hints and Tips
  3.                                        
  4.      Frank da Cruz
  5.      [1]The Kermit Project, [2]Columbia University
  6.      
  7.    As of: C-Kermit 8.0.208 14 March 2003
  8.    This page last updated: Sun Mar 9 17:35:30 2003 (New York USA Time)
  9.    
  10.      IF YOU ARE READING A PLAIN-TEXT version of this document, note it
  11.      is a plain-text dump of a Web page. You can visit the original (and
  12.      possibly more up-to-date) Web page here:
  13.      
  14.   [3]http://www.columbia.edu/kermit/ckubwr.html
  15.  
  16.      Since the material in this file has been accumulating since 1985,
  17.      some (much) of it might be dated. [4]Feedback from experts on
  18.      particular OS's and platforms is always welcome. 
  19.      
  20.    [ [5]C-Kermit ] [ [6]Installation Instructions ] [ [7]TUTORIAL ]
  21.     ________________________________________________________________________
  22.   
  23.   CONTENTS
  24.   
  25.     1. [8]INTRODUCTION
  26.     2. [9]PREBUILT C-KERMIT BINARIES
  27.     3. [10]NOTES ON SPECIFIC UNIX VERSIONS
  28.     4. [11]GENERAL UNIX-SPECIFIC LIMITATIONS AND BUGS
  29.     5. [12]INITIALIZATION AND COMMAND FILES
  30.     6. [13]COMMUNICATION SPEED SELECTION
  31.     7. [14]COMMUNICATIONS AND DIALING
  32.     8. [15]HARDWARE FLOW CONTROL
  33.     9. [16]TERMINAL CONNECTION AND KEY MAPPING
  34.    10. [17]FILE TRANSFER
  35.    11. [18]EXTERNAL FILE TRANSFER PROTOCOLS
  36.    12. [19]SECURITY
  37.    13. [20]MISCELLANEOUS USER REPORTS
  38.    14. [21]THIRD-PARTY DRIVERS
  39.        
  40.    Quick Links:   [ [22]Linux ] [ [23]*BSD ] [ [24]AIX ] [ [25]HP-UX ] [
  41.    [26]Solaris ] [ [27]SCO ] [ [28]DEC/Compaq ]
  42.     ________________________________________________________________________
  43.   
  44.   1. INTRODUCTION
  45.   
  46.    [ [29]Top ] [ [30]Contents ] [ [31]Next ]
  47.    
  48.    SECTION CONTENTS
  49.    
  50.   1.1. [32]Documentation
  51.   1.2. [33]Technical Support
  52.   1.3. [34]The Year 2000
  53.   1.4. [35]The Euro
  54.  
  55.    THIS IS WHAT USED TO BE CALLED the "beware file" for the Unix version
  56.    of C-Kermit, previously distributed as ckubwr.txt and, before that, as
  57.    ckuker.bwr, after the fashion of old Digital Equipment Corporation
  58.    (DEC) software releases that came with release notes (describing what
  59.    had changed) and a "beware file" listing known bugs, limitations,
  60.    "non-goals", and things to watch out for. The C-Kermit beware file has
  61.    been accumulating since 1985, and it applies to many different
  62.    hardware platforms and operating systems, and many versions of them,
  63.    so it is quite large. Prior to C-Kermit 8.0, it was distributed only
  64.    in plain-text format. Now it is available as a Web document with
  65.    links, internal cross references, and so on, to make it easier to use.
  66.    
  67.    This document applies to Unix C-Kermit in general, as well as to
  68.    specific Unix variations like [36]Linux, [37]AIX, [38]HP-UX,
  69.    [39]Solaris, and so on, and should be read in conjunction with the
  70.    [40]platform-independent C-Kermit beware file, which contains similar
  71.    information, but applying to all versions of C-Kermit (VMS, Windows,
  72.    OS/2, AOS/VS, VOS, etc, as well as to Unix).
  73.    
  74.    There is much in this document that is (only) of historical interest.
  75.    The navigation links should help you skip directly to the sections
  76.    that are relevant to you. Numerous offsite Web links are supposed to
  77.    lead to further information but, as you know, Web links go stale
  78.    frequently and without warning. If you can supply additional,
  79.    corrected, updated, or better Web links, please feel free to [41]let
  80.    us know.
  81.    
  82.   1.1. Documentation
  83.   
  84.    [ [42]Top ] [ [43]Contents ] [ [44]Next ]
  85.    
  86.    C-Kermit 6.0 is documented in the book [45]Using C-Kermit, Second
  87.    Edition, by Frank da Cruz and Christine M. Gianone, Digital Press,
  88.    Burlington, MA, USA, ISBN 1-55558-164-1 (1997), 622 pages. This
  89.    remains the definitive C-Kermit documentation. Until the third edition
  90.    is published (sorry, there is no firm timeframe for this), please also
  91.    refer to:
  92.    
  93.    [46]Supplement to Using C-Kermit, Second Edition, For C-Kermit 7.0
  94.           Thorough documentation of features new to version 7.0.
  95.           
  96.    [47]Supplement to Using C-Kermit, Second Edition, For C-Kermit 8.0
  97.           Thorough documentation of features new to version 8.0.
  98.           
  99.   1.2. Technical Support
  100.   
  101.    [ [48]Top ] [ [49]Contents ] [ [50]Section Contents ] [ [51]Next ] [
  102.    [52]Previous ]
  103.    
  104.    For information on how to get technical support, please visit:
  105.    
  106.     [53]http://www.columbia.edu/kermit/support.html
  107.  
  108.   1.3. The Year 2000
  109.   
  110.    [ [54]Top ] [ [55]Contents ] [ [56]Section Contents ] [ [57]Next ] [
  111.    [58]Previous ]
  112.    
  113.    The Unix version of C-Kermit, release 6.0 and later, is "Year 2000
  114.    compliant", but only if the underlying operating system is too.
  115.    Contact your Unix operating system vendor to find out which operating
  116.    system versions, patches, hardware, and/or updates are required.
  117.    (Quite a few old Unixes are still in operation in the new millenium,
  118.    but with their date set 28 years in the past so at least the non-year
  119.    parts of the calendar are correct.)
  120.    
  121.    As of C-Kermit 6.0 (6 September 1996), post-millenium file dates are
  122.    recognized, transmitted, received, and reproduced correctly during the
  123.    file transfer process in C-Kermit's File Attribute packets. If
  124.    post-millenium dates are not processed correctly on the other end,
  125.    file transfer still takes place, but the modification or creation date
  126.    of the received file might be incorrect. The only exception would be
  127.    if the "file collision update" feature is being used to prevent
  128.    unnecessary transfer of files that have not changed since the last
  129.    time a transfer took place; in this case, a file might be transferred
  130.    unnecessarily, or it might not be transferred when it should have
  131.    been. Correct operation of the update feature depends on both Kermit
  132.    programs having the correct date and time.
  133.    
  134.    Of secondary importance are the time stamps in the transaction and/or
  135.    debug logs, and the date-related script programming constructs, such
  136.    as \v(date), \v(ndate), \v(day), \v(nday), and perhaps also the
  137.    time-related ones, \v(time) and \v(ntime), insofar as they might be
  138.    affected by the date. The \v(ndate) is a numeric-format date of the
  139.    form yyyymmdd, suitable for both lexical and numeric comparison and
  140.    sorting: e.g. 19970208 or 20011231. If the underlying operating system
  141.    returns the correct date information, these variables will have the
  142.    proper values. If not, then scripts that make decisions based on these
  143.    variables might not operate correctly.
  144.    
  145.    Most date-related code is based upon the C Library asctime() string,
  146.    which always has a four-digit year. In Unix, the one bit of code in
  147.    C-Kermit that is an exception to this rule is several calls to
  148.    localtime(), which returns a pointer to a tm struct, in which the year
  149.    is presumed to be expressed as "years since 1900". The code depends on
  150.    this assumption. Any platforms that violate it will need special
  151.    coding. As of this writing, no such platforms are known.
  152.    
  153.    Command and script programming functions that deal with dates use
  154.    C-Kermit specific code that always uses full years.
  155.    
  156.   1.4. The Euro
  157.   
  158.    [ [59]Top ] [ [60]Contents ] [ [61]Section Contents ] [ [62]Previous ]
  159.    
  160.    C-Kermit 7.0 and later support Unicode (ISO 10646), ISO 8859-15 Latin
  161.    Alphabet 9, PC Code Page 858, Windows Code Pages 1250 and 1251, and
  162.    perhaps other character sets, that encode the Euro symbol, and can
  163.    translate among them as long as no intermediate character-set is
  164.    involved that does not include the Euro.
  165.     ________________________________________________________________________
  166.   
  167.   2. PREBUILT C-KERMIT BINARIES
  168.   
  169.    [ [63]Top ] [ [64]Contents ] [ [65]Next ] [ [66]Previous ]
  170.    
  171.    It is often dangerous to run a binary C-Kermit (or any other) program
  172.    built on a different computer. Particularly if that computer had a
  173.    different C compiler, libraries, operating system version, processor
  174.    features, etc, and especially if the program was built with shared
  175.    libraries, because as soon as you update the libraries on your system,
  176.    they no longer match the ones referenced in the binary, and the binary
  177.    might refuse to load when you run it, in which case you'll see error
  178.    messages similar to:
  179.    
  180.   Could not load program kermit
  181.   Member shr4.o not found or file not an archive
  182.   Could not load library libcurses.a[shr4.o]
  183.   Error was: No such file or directory
  184.  
  185.    (These samples are from AIX.) To avoid this problem, we try to build
  186.    C-Kermit with statically linked libraries whenever we can, but this is
  187.    increasingly impossible as shared libraries become the norm.
  188.    
  189.    It is often OK to run a binary built on an earlier OS version, but it
  190.    is rarely possible (or safe) to run a binary built on a later one, for
  191.    example to run a binary built under Solaris 8 on Solaris 2.6.
  192.    Sometimes even the OS-or-library patch/ECO level makes a difference.
  193.    
  194.    A particularly insidious problem occurs when a binary was built on a
  195.    version of the OS that has patches from the vendor (e.g. to
  196.    libraries); in many cases you won't be able to run such a binary on an
  197.    unpatched version of the same platform.
  198.    
  199.    When in doubt, build C-Kermit from the source code on the computer
  200.    where it is to be run (if possible!). If not, ask us for a binary
  201.    specific to your configuration. We might have one, and if we don't, we
  202.    might be able to find somebody who will build one for you.
  203.     ________________________________________________________________________
  204.   
  205.   3. NOTES ON SPECIFIC UNIX VERSIONS
  206.   
  207.    [ [67]Top ] [ [68]Contents ] [ [69]Next ] [ [70]Previous ]
  208.    
  209.    SECTION CONTENTS
  210.    
  211.   3.0.  [71]C-KERMIT ON PC-BASED UNIXES
  212.   3.1.  [72]C-KERMIT AND AIX
  213.   3.2.  [73]C-KERMIT AND HP-UX
  214.   3.3.  [74]C-KERMIT AND LINUX
  215.   3.4.  [75]C-KERMIT AND NEXTSTEP
  216.   3.5.  [76]C-KERMIT AND QNX
  217.   3.6.  [77]C-KERMIT AND SCO
  218.   3.7.  [78]C-KERMIT AND SOLARIS
  219.   3.8.  [79]C-KERMIT AND SUNOS
  220.   3.9.  [80]C-KERMIT AND ULTRIX
  221.   3.10. [81]C-KERMIT AND UNIXWARE
  222.   3.11. [82]C-KERMIT AND APOLLO SR10
  223.   3.12. [83]C-KERMIT AND TANDY XENIX 3.0
  224.   3.13. [84]C-KERMIT AND OSF/1 (DIGITAL UNIX) (TRU64 UNIX)
  225.   3.14. [85]C-KERMIT AND SGI IRIX
  226.   3.15. [86]C-KERMIT AND THE BEBOX
  227.   3.16. [87]C-KERMIT AND DG/UX
  228.   3.17. [88]C-KERMIT AND SEQUENT DYNIX
  229.   3.18. [89]C-KERMIT AND {FREE,OPEN,NET}BSD
  230.   3.19. [90]C-KERMIT AND MAC OS X (Rhapsody, Darwin)
  231.   3.20. [91]C-KERMIT AND COHERENT
  232.  
  233.    The following sections apply to specific Unix versions. Most of them
  234.    contain references to FAQs (Frequently Asked Questions), but these
  235.    tend to be ephemeral. For possibly more current information see:
  236.    
  237.   [92]http://www.faqs.org
  238.  
  239.    One thread that runs through many of them, and implicitly perhaps
  240.    through all, concerns the problems that occur when trying to dial out
  241.    on a serial device that is (also) enabled for dialing in. The
  242.    "solutions" to this problem are many, varied, diverse, and usually
  243.    gross, involving configuring the device for bidirectional use. This is
  244.    done in a highly OS-dependent and often obscure manner, and the
  245.    effects (good or evil) are also highly dependent on the particular OS
  246.    (and getty variety, etc). Many examples are given in the
  247.    [93]OS-specific sections below.
  248.    
  249.    An important point to keep in mind is that C-Kermit is a
  250.    cross-platform, portable software program. It was not designed
  251.    specifically and only for your particular Unix version, or for that
  252.    matter, for Unix in particular at all. It also runs on VMS, AOS/VS,
  253.    VOS, and other non-Unix platforms. All the Unix versions of C-Kermit
  254.    share common i/o modules, with compile-time #ifdef constructions used
  255.    to account for the differences among the many Unix products and
  256.    releases. If you think that C-Kermit is behaving badly or missing
  257.    something on your particular Unix version, you might be right -- we
  258.    can't claim to be expert in hundreds of different OS / version /
  259.    hardware / library combinations. If you're a programmer, take a look
  260.    at the source code and [94]send us your suggested fixes or changes. Or
  261.    else just [95]send us a report about what seems to be wrong and we'll
  262.    see what we can do.
  263.     ________________________________________________________________________
  264.   
  265.   3.0. C-KERMIT ON PC-BASED UNIXES
  266.   
  267.    [ [96]Top ] [ [97]Contents ] [ [98]Section Contents ] [ [99]Next ]
  268.    
  269.    SECTION CONTENTS
  270.    
  271.   3.0.1. [100]Interrupt Conflicts
  272.   3.0.2. [101]Windows-Specific Hardware
  273.   3.0.3. [102]Modems
  274.   3.0.4. [103]Character Sets
  275.   3.0.5. [104]Keyboard, Screen, and Mouse Access
  276.   3.0.6. [105]Laptops
  277.  
  278.   3.0.1. Interrupt Conflicts
  279.   
  280.    [ [106]Top ] [ [107]Contents ] [ [108]Section Contents ] [ [109]Next ]
  281.    
  282.    PCs are not the best platform for real operating systems like Unix.
  283.    The architecture suffers from numerous deficiencies, not the least of
  284.    which is the stiflingly small number of hardware interrupts (either 7
  285.    or 15, many of which are preallocated). Thus adding devices, using
  286.    multiple serial ports, etc, is always a challenge and often a
  287.    nightmare. The free-for-all nature of the PC market and the lack of
  288.    standards combined with the diversity of Unix OS versions make it
  289.    difficult to find drivers for any particular device on any particular
  290.    version of Unix.
  291.    
  292.    Of special interest to Kermit users is the fact that there is no
  293.    standard provision in the PC architecture for more than 2
  294.    communication (serial) ports. COM3 and COM4 (or higher) will not work
  295.    unless you (a) find out the hardware address and interrupt for each,
  296.    (b) find out how to provide your Unix version with this information,
  297.    and (c) actually set up the configuration in the Unix startup files
  298.    (or whatever other method is used). Watch out for interrupt conflicts,
  299.    especially when using a serial mouse, and don't expect to be able to
  300.    use more than two serial ports.
  301.    
  302.    The techniques for resolving interrupt conflicts are different for
  303.    each operating system (Linux, NetBSD, etc). In general, there is a
  304.    configuration file somewhere that lists COM ports, something like
  305.    this:
  306.    
  307.   com0    at isa? port 0x3f8 irq 4      # DOS COM1
  308.   com1    at isa? port 0x2f8 irq 3      # DOS COM2
  309.  
  310.    The address and IRQ values in this file must agree with the values in
  311.    the PC BIOS and with the ports themselves, and there must not be more
  312.    than one device with the same interrupt. Unfortunately, due to the
  313.    small number of available interrupts, installing new devices on a PC
  314.    almost always creates a conflict. Here is a typical tale from a Linux
  315.    user (Fred Smith) about installing a third serial port:
  316.    
  317.      ...problems can come from a number of causes. The one I fought with
  318.      for some time, and finally conquered, was that my modem is on an
  319.      add-in serial port, cua3/IRQ5. By default IRQ5 has a very low
  320.      priority, and does not get enough service in times when the system
  321.      is busy to prevent losing data. This in turn causes many resends.
  322.      There are two 'fixes' that I know of, one is to relax hard disk
  323.      interrupt hogging by using the correct parameter to hdparm, but I
  324.      don't like that one because the hdparm man page indicates it is
  325.      risky to use. The other one, the one I used, was to get 'irqtune'
  326.      and use it to give IRQ5 the highest priority instead of nearly the
  327.      lowest. Completely cured the problem.
  328.      
  329.    Here's another one from a newsgroup posting:
  330.    
  331.      After much hair pulling, I've discovered why my serial port won't
  332.      work. Apparently my [PC] has three serial devices (two comm ports
  333.      and an IR port), of which only two at a time can be active. I
  334.      looked in the BIOS setup and noticed that the IR port was
  335.      activated, but didn't realize at the time that this meant that COM2
  336.      was thereby de-activated. I turned off the IR port and now the
  337.      serial port works as advertised.
  338.     ________________________________________________________________________
  339.   
  340.   3.0.2. Windows-Specific Hardware
  341.   
  342.    [ [110]Top ] [ [111]Contents ] [ [112]Section Contents ] [ [113]Next ]
  343.    [ [114]Previous ]
  344.    
  345.    To complicate matters, the PC platform is becoming increasingly and
  346.    inexorably Windows-oriented. More and more add-on devices are "Windows
  347.    only" -- meaning they are incomplete and rely on proprietary
  348.    Windows-based software drivers to do the jobs that you would expect
  349.    the device itself to do. PCMCIA, PCI, or "Plug-n-Play" devices are
  350.    rarely supported on PC-based Unix versions such as SCO; Winmodems,
  351.    Winprinters, and the like are not supported on any Unix variety (with
  352.    [115]a few exceptions). The self-proclaimed Microsoft PC 97 (or later)
  353.    standard only makes matters worse since its only purpose to ensure
  354.    that PCs are "optimized to run Windows 95 and Windows NT 4.0 and
  355.    future versions of these operating systems".
  356.    
  357.    With the exception noted (the Lucent modem, perhaps a handful of
  358.    others by the time you read this), drivers for "Win" devices are
  359.    available only for Windows, since the Windows market dwarfs that of
  360.    any particular Unix brand, and for that matter all Unixes (or for that
  361.    matter, all non-Windows operating systems) combined. If your version
  362.    of Unix (SCO, Linux, BSDI, FreeBSD, etc) does not support a particular
  363.    device, then C-Kermit can't use it either. C-Kermit, like any Unix
  364.    application, must access all devices through drivers and not directly
  365.    because Unix is a real operating system.
  366.    
  367.    Don't waste time thinking that you, or anybody else, could write a
  368.    Linux (or other Unix) driver for a Winmodem or other "Win" device.
  369.    First of all, these devices generally require realtime control, but
  370.    since Unix is a true multitasking operating system, realtime device
  371.    control is not possible outside the kernel. Second, the specifications
  372.    for these devices are secret and proprietary, and each one (and each
  373.    version of each one) is potentially different. Third, a Winmodem
  374.    driver would be enormously complex; it would take years to write and
  375.    debug, by which time it would be obsolete.
  376.    
  377.    A more recent generation of PCs (circa 1999-2000) is marketed as
  378.    "Legacy Free". One can only speculate what that could mean. Most
  379.    likely it means it will ONLY run the very latest versions of Windows,
  380.    and is made exclusively of Winmodems, Winprinters, Winmemory, and
  381.    Win-CPU-fans (Legacy Free is a concept [116]pioneered by Microsoft).
  382.    
  383.    Before you buy a new PC or add-on equipment, especially serial ports,
  384.    internal modems, or printers, make sure they are compatible with your
  385.    version of Unix. This is becoming an ever-greater challenge; only a
  386.    huge company like Microsoft can afford to be constantly cranking out
  387.    and/or verifying drivers for the thousands of video boards, sound
  388.    cards, network adapters, SCSI adapters, buses, etc, that spew forth in
  389.    an uncontrolled manner from all corners of the world on a daily basis.
  390.    With very few exceptions, makers of PCs assemble the various
  391.    components and then verify them only with Windows, which they must do
  392.    since they are, no doubt, preloading the PC with Windows. To find a
  393.    modern PC that is capable of running a variety of non-Windows
  394.    operating systems (e.g. Linux, SCO OpenServer, Unixware, and Solaris)
  395.    is a formidable challenge requiring careful study of each vendor's
  396.    "compatibility lists" and precise attention to exact component model
  397.    numbers and revision levels.
  398.     ________________________________________________________________________
  399.   
  400.   3.0.3. Modems
  401.   
  402.    [ [117]Top ] [ [118]Contents ] [ [119]Section Contents ] [ [120]Next ]
  403.    [ [121]Previous ]
  404.    
  405.    External modems are recommended:
  406.    
  407.      * They don't need any special drivers.
  408.      * You can use the lights and speaker to troubleshoot dialing.
  409.      * You can share them among all types of computers.
  410.      * You can easily turn them off and on when power-cycling seems
  411.        warranted.
  412.      * They are more likely to have manuals.
  413.        
  414.    Internal PC modems (even when they are not Winmodems, which is
  415.    increasingly unlikely in new PCs) are always trouble, especially in
  416.    Unix. Even when they work for dialing out, they might not work for
  417.    dialing in, etc. Problems that occur when using an internal modem can
  418.    almost always be eliminated by switching to an external one. Even when
  419.    an internal modem is not a Winmodem or Plug-n-Play, it is often a
  420.    no-name model of unknown quality -- not the sort of thing you want
  421.    sitting directly on your computer's bus. (Even if it does not cause
  422.    hardware problems, it probably came without a command list, so no Unix
  423.    software will know how to control it.) For more about Unix compatible
  424.    modems, see:
  425.    
  426.   [122]http://www.idir.net/~gromitkc/winmodem.html
  427.  
  428.    Remember that PCs, even now -- more than two decades after they were
  429.    first introduced -- are not (in general) capable of supporting more
  430.    than 2 serial devices. Here's a short success story from a recent
  431.    newsgroup posting: "I have a Diamond SupraSonic II dual modem in my
  432.    machine. What I had to end up doing is buying a PS/2 mouse and port
  433.    and install it. Had to get rid of my serial mouse. I also had to
  434.    disable PnP in my computer bios. I was having IRQ conflicts between my
  435.    serial mouse and 'com 3'. Both modems work fine for me. My first modem
  436.    is ttyS0 and my second is ttyS1." Special third-party multiport boards
  437.    such as [123]DigiBoard are available for certain Unix platforms
  438.    (typically SCO, maybe Linux) that come with special platform-specific
  439.    drivers.
  440.     ________________________________________________________________________
  441.   
  442.   3.0.4. Character Sets
  443.   
  444.    [ [124]Top ] [ [125]Contents ] [ [126]Section Contents ] [ [127]Next ]
  445.    [ [128]Previous ]
  446.    
  447.    PCs generally have PC code pages such as CP437 or CP850, and these are
  448.    often used by PC-based Unix operating systems, particularly on the
  449.    console. These are supported directly by C-Kermit's SET FILE
  450.    CHARACTER-SET and SET TERMINAL CHARACTER-SET commands. Some PC-based
  451.    Unix versions, such as recent Red Hat Linux releases, might also
  452.    support Microsoft Windows code pages such as CP1252, or even Latin
  453.    Alphabet 1 itself (perhaps displayed with CP437 glyphs). (And work is
  454.    in progress to support Unicode UTF8 in Linux.)
  455.    
  456.    Certain Windows code pages are not supported directly by C-Kermit, but
  457.    since they are ISO Latin Alphabets with nonstandard "extensions" in
  458.    the C1 control range, you can substitute the corresponding Latin
  459.    alphabet (or other character set) in any C-Kermit character-set
  460.    related commands:
  461.    
  462.   Windows Code Page    Substitution
  463.    CP 1004              Latin-1
  464.    CP 1051              HP Roman-8
  465.  
  466.    Other Windows code pages are mostly (or totally) incompatible with
  467.    their Latin Alphabet counterparts (e.g. CP1250 and Latin-2), and
  468.    several of these are already supported by C-Kermit 7.0 and later
  469.    (1250, 1251, and 1252).
  470.     ________________________________________________________________________
  471.   
  472.   3.0.5. Keyboard, Screen, and Mouse Access
  473.   
  474.    [ [129]Top ] [ [130]Contents ] [ [131]Section Contents ] [ [132]Next ]
  475.    [ [133]Previous ]
  476.    
  477.    Finally, note that as a real operating system, Unix (unlike Windows)
  478.    does not provide the intimate connection to the PC keyboard, screen,
  479.    and mouse that you might expect. Unix applications can not "see" the
  480.    keyboard, and therefore can not be programmed to understand F-keys,
  481.    Editing keys, Arrow keys, Alt-key combinations, and the like. This is
  482.    because:
  483.    
  484.     a. Unix is a portable operating system, not only for PCs;
  485.     b. Unix sessions can come from anywhere, not just the PC's own
  486.        keyboard and screen; and:
  487.     c. even though it might be possible for an application that actually
  488.        is running on the PC's keyboard and screen to access these devices
  489.        directly, there are no APIs (outside of X) for this.
  490.     ________________________________________________________________________
  491.   
  492.   3.0.6. Laptops
  493.   
  494.    [ [134]Top ] [ [135]Contents ] [ [136]Section Contents ] [
  495.    [137]Previous ]
  496.    
  497.    (To be filled in . . .)
  498.     ________________________________________________________________________
  499.   
  500.   3.1. C-KERMIT AND AIX
  501.   
  502.    [ [138]Top ] [ [139]Contents ] [ [140]Section Contents ] [ [141]Next ]
  503.    [ [142]Previous ]
  504.    
  505.    SECTION CONTENTS
  506.    
  507.   3.1.1. [143]AIX: General
  508.   3.1.2. [144]AIX: Network Connections
  509.   3.1.3. [145]AIX: Serial Connections
  510.   3.1.4. [146]AIX: File Transfer
  511.   3.1.5. [147]AIX: Xterm Key Map
  512.  
  513.    For additional information see:
  514.      * [148]http://www.emerson.emory.edu/services/aix-faq/
  515.      * [149]http://www.faqs.org/faqs/by-newsgroup/comp/comp.unix.aix.html
  516.      * [150]http://www.cis.ohio-state.edu/hypertext/faq/usenet/aix-faq/to
  517.        p.html
  518.      * [151]http://aixpdslib.seas.ucla.edu/
  519.      * [152]http://www.rootvg.net (AIX history)
  520.      * [153]ftp://rtfm.mit.edu/pub/usenet/news.answers/aix-faq/part1
  521.      * [154]ftp://mirrors.aol.com/pub/rtfm/usenet-by-hierarchy/comp/unix/
  522.        aix
  523.        
  524.    and/or read the [155]comp.unix.aix newsgroup.
  525.       ______________________________________________________________________
  526.     
  527.     3.1.1. AIX: General
  528.     
  529.    [ [156]Top ] [ [157]Contents ] [ [158]Section Contents ] [ [159]Next ]
  530.    
  531.    About AIX version numbers: "uname -a" tells the two-digit version
  532.    number, such as 3.2 or 4.1. The three-digit form can be seen with the
  533.    "oslevel" command (this information is unavailable at the API level
  534.    and is reportedly obtained by scanning the installed patch list).
  535.    Supposedly all three-digit versions within the same two-digit version
  536.    (e.g. 4.3.1, 4.3.2) are binary compatible; i.e. a binary built on any
  537.    one of them should run on all others, but who knows. Most AIX
  538.    advocates tell you that any AIX binary will run on any AIX version
  539.    greater than or equal to the one under which it was built, but
  540.    experience with C-Kermit suggests otherwise. It is always best to run
  541.    a binary built under your exact same AIX version, down to the third
  542.    decimal place, if possible. Ideally, build it from source code
  543.    yourself. Yes, this advice would be easier to follow if AIX came with
  544.    a C compiler.
  545.       ______________________________________________________________________
  546.     
  547.     3.1.2. AIX: Network Connections
  548.     
  549.    [ [160]Top ] [ [161]Contents ] [ [162]Section Contents ] [ [163]Next ]
  550.    [ [164]Previous ]
  551.    
  552.    File transfers into AIX 4.2 or 4.3 through the AIX Telnet or Rlogin
  553.    server have been observed to fail (or accumulate huge numbers of
  554.    correctable errors, or even disconnect the session), when exactly the
  555.    same kind of transfers into AIX 4.1 work without incident, as do such
  556.    transfers into all non-AIX platforms on the same kind of connections
  557.    (with a few exceptions noted elsewhere in this document). AIX 4.3.3
  558.    seems to be particularly fragile in this regard; the weakness seems to
  559.    be in its pseudoterminal (pty) driver. High-speed streaming transfers
  560.    work perfectly, however, if the AIX Telnet server and pty driver are
  561.    removed from the picture; e.g, by using "set host * 3000" on AIX.
  562.    
  563.    The problem can be completely cured by replacing the IBM Telnet server
  564.    with [165]MIT's Kerberos Telnet server -- even if you don't actually
  565.    use the Kerberos part. Diagnosis: AIX pseudoterminals (which are
  566.    controlled by the Telnet server to give you a login terminal for your
  567.    session) have quirks that not even IBM knows about. The situation with
  568.    AIX 5.x is not known, but if it has the same problem, the same cure is
  569.    available.
  570.    
  571.    Meanwhile, the only remedy when going through the IBM Telnet server is
  572.    to cut back on Kermit's performance settings until you find a
  573.    combination that works:
  574.    
  575.      * SET STREAMING OFF
  576.      * SET WINDOW-SIZE small-number
  577.      * SET { SEND, RECEIVE } PACKET-LENGTH small-number
  578.      * SET PREFIXING { CAUTIOUS, ALL }
  579.        
  580.    In some cases, severe cutbacks are required, e.g. those implied by the
  581.    ROBUST command. Also be sure that the AIX C-Kermit on the remote end
  582.    has "set flow none" (which is the default). NOTE: Maybe this one can
  583.    also be addressed by starting AIX telnetd with the "-a" option. The
  584.    situation with SSH connections is not known, but almost certainly the
  585.    same.
  586.    
  587.    When these problems occur, the system error log contains:
  588.    
  589.   LABEL:          TTY_TTYHOG
  590.   IDENTIFIER:     0873CF9F
  591.   Type:           TEMP
  592.   Resource Name:  pts/1
  593.  
  594.   Description
  595.   TTYHOG OVER-RUN
  596.  
  597.   Failure Causes
  598.   EXCESSIVE LOAD ON PROCESSOR
  599.  
  600.   Recommended Actions
  601.   REDUCE SYSTEM LOAD.
  602.   REDUCE SERIAL PORT BAUD RATE
  603.  
  604.    Before leaving the topic of AIX pseudoterminals, it is very likely
  605.    that Kermit's PTY and SSH commands do not work well either, for the
  606.    same reason that Telnet connections into AIX don't work well. A brief
  607.    test with "pty rlogin somehost" got a perfectly usable terminal
  608.    (CONNECT) session, but file-transfer problems like those just
  609.    described.
  610.    
  611.    Reportedly, telnet from AIX 4.1-point-something to non-Telnet ports
  612.    does not work unless the port number is in the /etc/services file;
  613.    it's not clear from the report whether this is a problem with AIX
  614.    Telnet (in which case it would not affect Kermit), or with the sockets
  615.    library (in which case it would). The purported fix is IBM APAR
  616.    IX61523.
  617.    
  618.    C-Kermit SET HOST or TELNET from one AIX 3.1 (or earlier) system to
  619.    another won't work right unless you set your local terminal type to
  620.    something other than AIXTERM. When your terminal type is AIXTERM, AIX
  621.    TELNET sends two escapes whenever you type one, and the AIX telnet
  622.    server swallows one of them. This has something to do with the "hft"
  623.    device. This behavior seems to be removed in AIX 3.2 and later.
  624.       ______________________________________________________________________
  625.     
  626.     3.1.3. AIX: Serial Connections
  627.     
  628.    [ [166]Top ] [ [167]Contents ] [ [168]Section Contents ] [ [169]Next ]
  629.    [ [170]Previous ]
  630.    
  631.    In AIX 3, 4, or 5, C-Kermit won't be able to "set line /dev/tty0" (or
  632.    any other dialout device) if you haven't installed "cu" or "uucp" on
  633.    your system, because installing these is what creates the UUCP
  634.    lockfile directory. If SET LINE commands always result in "Sorry,
  635.    access to lock denied", even when C-Kermit has been given the same
  636.    owner, group, and permissions as cu:
  637.    
  638.   -r-sr-xr-x   1 uucp     uucp       67216 Jul 27 1999  cu
  639.  
  640.    and even when you run it as root, then you must go back and install
  641.    "cu" from your AIX installation media.
  642.    
  643.    According to IBM's "From Strength to Strength" document (21 April
  644.    1998), in AIX 4.2 and later "Async supports speeds on native serial
  645.    ports up to 115.2kbps". However, no API is documented to achieve
  646.    serial speeds higher than 38400 bps. Apparently the way to do this --
  647.    which might or might not work only on the IBM 128-port multiplexer --
  648.    is:
  649.    
  650.   cxma-stty fastbaud /dev/tty0
  651.  
  652.    which, according to "man cxma-stty":
  653.    
  654.      fastbaud Alters the baud rate table, so 50 baud becomes 57600 baud.
  655.      -fastbaud Restores the baud rate table, so 57600 baud becomes 50
  656.      baud.
  657.      
  658.    Presumably (but not certainly) this extrapolates to 110 "baud" becomes
  659.    76800 bps, and 150 becomes 115200 bps. So to use high serial speeds in
  660.    AIX 4.2 or 4.3, the trick would be to give the "cxma-stty fastbaud"
  661.    command for the desired tty device before starting Kermit, and then
  662.    use "set speed 50", "set speed 110", or "set speed 150" to select
  663.    56700, 76800, or 115200 bps. It is not known whether cxma-stty
  664.    requires privilege.
  665.    
  666.    According to one report, "Further investigation with IBM seems to
  667.    indicate that the only hardware capable of doing this is the 128-port
  668.    multiplexor with one (or more) of the 16 port breakout cables
  669.    (Enhanced Remote Async Node 16-Port EIA-232). We are looking at about
  670.    CDN$4,000 in hardware just to hang a 56kb modem on there. Of course,
  671.    we can then hang 15 more, if we want. This hardware combo is described
  672.    to be good to 230.4kbps."
  673.    
  674.    Another report says (quote from AIX newsgroup, March 1999):
  675.    
  676.      The machine type and the adapter determine the speed that one can
  677.      actually run at. The older microchannel machines have much slower
  678.      crystal frequencies and may not go beyond 76,800. A feature put
  679.      into AIX 421 allows one to key in non-POSIX baud rates and if the
  680.      uart can support that speed, it will get set. this applies also to
  681.      43p's and beyond. 115200 is the max for the 43P's native serial
  682.      port. As crytal frequencies continue to increase, the built-in
  683.      serial ports speeds will improve. To use 'uucp' or 'ate' at the
  684.      higher baud rates, configure the port for the desired speed, but
  685.      set the speed of uucp or ate to 50. Any non-POSIX speeds set in the
  686.      ttys configuration will the be used. In the case of the 128-port
  687.      adapters or the ISA 8-port or PCI 8-port adapter, there are only a
  688.      few higher baud rates.
  689.      
  690.     a. Change the port to enable high baud rates:
  691.           + B50 for 57600
  692.           + B75 for 76800
  693.           + B110 for 115200
  694.           + B200 for 230000
  695.     b. chdev -l ttyX -a fastbaud=enable
  696.           + For the 128 ports original style rans, only 57600 bps is
  697.             supported.
  698.           + For the new enhanced RANs, up to 230Kbps is supported.
  699.        
  700.    In AIX 2.2.1 on the RT PC with the 8-port multiplexer, SET SPEED 38400
  701.    gives 9600 bps, but SET SPEED 19200 gives 19200 (on the built-in S1
  702.    port).
  703.    
  704.    Note that some RS/6000s (e.g. the IBM PowerServer 320) have
  705.    nonstandard rectangular 10-pin serial ports; the DB-25 connector is
  706.    NOT a serial port; it is a parallel printer port. IBM cables are
  707.    required for the serial ports, (The IBM RT PC also had rectangular
  708.    serial ports -- perhaps the same as these, perhaps different.)
  709.    
  710.    If you dial in to AIX through a modem that is connected directly to an
  711.    AIX port (e.g. on the 128-port multiplexer) and find that data is
  712.    lost, especially when uploading files to the AIX system (and system
  713.    error logs report buffer overruns on the port):
  714.    
  715.     1. Make sure the port and modem are BOTH configured for hardware
  716.        (RTS/CTS) flow control. The port is configured somewhere in the
  717.        system configuration, outside of Kermit.
  718.     2. Tell C-Kermit to "set flow keep"; experimentation shows that SET
  719.        FLOW RTS/CTS has no effect when used in remote mode (i.e. on
  720.        /dev/tty, as opposed to a specify port device).
  721.     3. Fixes for bugs in the original AIX 4.2 tty (serial i/o) support
  722.        and other AIX bugs are available from IBM at:
  723.  
  724.   [171]http://service.software.ibm.com/rs6000/
  725.        Downloads -> Software Fixes -> Download FixDist gets an
  726.        application for looking up known problems.
  727.        
  728.    Many problems reported with bidirectional terminal lines on AIX 3.2.x
  729.    on the RS/6000. Workaround: don't use bidirectional terminal lines, or
  730.    write a shell-script wrapper for Kermit that turns getty off on the
  731.    line before starting Kermit, or before Kermit attempts to do the SET
  732.    LINE. (But note: These problems MIGHT be fixed in C-Kermit 6.0 and
  733.    later.) The commands for turning getty off and on (respectively) are
  734.    /usr/sbin/pdisable and /usr/sbin/penable.
  735.       ______________________________________________________________________
  736.     
  737.     3.1.4. AIX: File Transfer
  738.     
  739.    [ [172]Top ] [ [173]Contents ] [ [174]Section Contents ] [ [175]Next ]
  740.    [ [176]Previous ]
  741.    
  742.    Evidently AIX 4.3 (I don't know about earlier versions) does not allow
  743.    open files to be overwritten. This can cause Kermit transfers to fail
  744.    when FILE COLLISION is OVERWRITE, where they might work on other Unix
  745.    varieties or earlier AIX versions.
  746.    
  747.    Transfer of binary -- and maybe even text -- files can fail in AIX if
  748.    the AIX terminal has particular port can have character-set
  749.    translation done for it by the tty driver. The following advice from a
  750.    knowledgeable AIX user:
  751.    
  752.      [This feature] has to be checked (and set/cleared) with a separate
  753.      command, unfortunately stty doesn't handle this. To check:
  754.      
  755.   $ setmaps
  756.   input map: none installed
  757.   output map: none installed
  758.  
  759.      If it says anything other than "none installed" for either one, it
  760.      is likely to cause a problem with kermit. To get rid of installed
  761.      maps:
  762.      
  763.   $ setmaps -t NOMAP
  764.  
  765.      However, I seem to recall that with some versions of AIX before
  766.      3.2.5, only root could change the setting. I'm not sure what
  767.      versions - it might have only been under AIX 3.1 that this was
  768.      true. At least with AIX 3.2.5 an ordinary user can set or clear the
  769.      maps.
  770.      
  771.    On the same problem, another knowledgeable AIX user says:
  772.    
  773.      The way to get information on the NLS mapping under AIX (3.2.5
  774.      anyway) is as follows. From the command line type:
  775.      
  776.   lsattr -l tty# -a imap -a omap -E -H
  777.  
  778.      Replace the tty number for the number sign above. This will give a
  779.      human readable output of the settings that looks like this;
  780.      
  781.   # lsattr -l tty2 -a imap -a omap -E -H
  782.   attribute value description     user_settable
  783.  
  784.   imap      none  INPUT map file  True
  785.   omap      none  OUTPUT map file True
  786.  
  787.      If you change the -H to a -O, you get output that can easily be
  788.      processed by another program or a shell script, for example:
  789.      
  790.   # lsattr -l tty2 -a imap -a omap -E -O
  791.   #imap:omap
  792.   none:none
  793.  
  794.      To change the settings from the command line, the chdev command is
  795.      used with the following syntax.
  796.      
  797.   chdev -l tty# -a imap='none' -a omap='none'
  798.  
  799.      Again substituting the appropriate tty port number for the number
  800.      sign, "none" being the value we want for C-Kermit. Of course, the
  801.      above can also be changed by using the SMIT utility and selecting
  802.      devices - tty. (...end quote)
  803.       ______________________________________________________________________
  804.     
  805.     3.1.5. AIX: Xterm Key Map
  806.     
  807.    [ [177]Top ] [ [178]Contents ] [ [179]Section Contents ] [
  808.    [180]Previous ]
  809.    
  810.    Here is a sample configuration for setting up an xterm keyboard for
  811.    VT220 or higher terminal emulation on AIX, courtesy of Bruce Momjian,
  812.    Drexel Hill, PA. Xterm can be started like this:
  813.    
  814.   xterm $XTERMFLAGS +rw +sb +ls $@ -tm 'erase ^? intr ^c' -name vt220 \
  815.           -title vt220 -tn xterm-220 "$@" &
  816.  
  817. ---------------------------------------------------------------------------
  818.   XTerm*VT100.Translations: #override \n\
  819.           <Key>Home: string(0x1b) string("[3~") \n \
  820.           <Key>End: string(0x1b) string("[4~") \n
  821.   vt220*VT100.Translations: #override \n\
  822.   Shift   <Key>F1: string("[23~") \n \
  823.   Shift   <Key>F2: string("[24~") \n \
  824.   Shift   <Key>F3: string("[25~") \n \
  825.   Shift   <Key>F4: string("[26~") \n \
  826.   Shift   <Key>F5: string("[K~") \n \
  827.   Shift   <Key>F6: string("[31~") \n \
  828.   Shift   <Key>F7: string("[31~") \n \
  829.   Shift   <Key>F8: string("[32~") \n \
  830.   Shift   <Key>F9: string("[33~") \n \
  831.   Shift   <Key>F10: string("[34~") \n \
  832.   Shift   <Key>F11: string("[28~") \n \
  833.   Shift   <Key>F12: string("[29~") \n \
  834.           <Key>Print: string(0x1b) string("[32~") \n\
  835.           <Key>Cancel: string(0x1b) string("[33~") \n\
  836.           <Key>Pause: string(0x1b) string("[34~") \n\
  837.           <Key>Insert: string(0x1b) string("[2~") \n\
  838.           <Key>Delete: string(0x1b) string("[3~") \n\
  839.           <Key>Home: string(0x1b) string("[1~") \n\
  840.           <Key>End: string(0x1b) string("[4~") \n\
  841.           <Key>Prior: string(0x1b) string("[5~") \n\
  842.           <Key>Next: string(0x1b) string("[6~") \n\
  843.           <Key>BackSpace: string(0x7f) \n\
  844.           <Key>Num_Lock: string(0x1b) string("OP") \n\
  845.           <Key>KP_Divide: string(0x1b) string("Ol") \n\
  846.           <Key>KP_Multiply: string(0x1b) string("Om") \n\
  847.           <Key>KP_Subtract: string(0x1b) string("OS") \n\
  848.           <Key>KP_Add: string(0x1b) string("OM") \n\
  849.           <Key>KP_Enter: string(0x1b) string("OM") \n\
  850.           <Key>KP_Decimal: string(0x1b) string("On") \n\
  851.           <Key>KP_0: string(0x1b) string("Op") \n\
  852.           <Key>KP_1: string(0x1b) string("Oq") \n\
  853.           <Key>KP_2: string(0x1b) string("Or") \n\
  854.           <Key>KP_3: string(0x1b) string("Os") \n\
  855.           <Key>KP_4: string(0x1b) string("Ot") \n\
  856.           <Key>KP_5: string(0x1b) string("Ou") \n\
  857.           <Key>KP_6: string(0x1b) string("Ov") \n\
  858.           <Key>KP_7: string(0x1b) string("Ow") \n\
  859.           <Key>KP_8: string(0x1b) string("Ox") \n\
  860.           <Key>KP_9: string(0x1b) string("Oy") \n
  861.  
  862.   !       <Key>Up: string(0x1b) string("[A") \n\
  863.   !       <Key>Down: string(0x1b) string("[B") \n\
  864.   !       <Key>Right: string(0x1b) string("[C") \n\
  865.   !       <Key>Left: string(0x1b) string("[D") \n\
  866.  
  867.   *visualBell:    true
  868.   *saveLines:     1000
  869.   *cursesemul:    true
  870.   *scrollKey:     true
  871.   *scrollBar:     true
  872.     ________________________________________________________________________
  873.   
  874.   3.2. C-KERMIT AND HP-UX
  875.   
  876.    [ [181]Top ] [ [182]Contents ] [ [183]Section Contents ] [ [184]Next ]
  877.    [ [185]Previous ]
  878.    
  879.    SECTION CONTENTS
  880.    
  881.   3.2.0. [186]Common Problems
  882.   3.2.1. [187]Building C-Kermit on HP-UX
  883.   3.2.2. [188]File Transfer
  884.   3.2.3. [189]Dialing Out and UUCP Lockfiles in HP-UX
  885.   3.2.4. [190]Notes on Specific HP-UX Releases
  886.   3.2.5. [191]HP-UX and X.25
  887.  
  888.    REFERENCES
  889.    
  890.    For further information, read the [192]comp.sys.hp.hpux newsgroup.
  891.    
  892.    C-Kermit is included as part of the HP-UX operating system by contract
  893.    between Hewlett Packard and Columbia University for HP-UX 10.00 and
  894.    later. Each level of HP-UX includes a freshly built C-Kermit binary in
  895.    /bin/kermit, which should work correctly. Binaries built for regular
  896.    HP-UX may be used on Trusted HP-UX and vice-versa, except for use as
  897.    IKSD because of the different authentication methods.
  898.    
  899.   3.2.0. Common Problems
  900.   
  901.    [ [193]Top ] [ [194]Contents ] [ [195]Section Contents ] [ [196]Next ]
  902.    
  903.    Some HP workstations have a BREAK/RESET key. If you hit this key while
  904.    C-Kermit is running, it might kill or suspend the C-Kermit process.
  905.    C-Kermit arms itself against these signals, but evidently the
  906.    BREAK/RESET key is -- at least in some circumstances, on certain HP-UX
  907.    versions -- too powerful to be caught. (Some report that the first
  908.    BREAK/RESET shows up as SIGINT and is caught by C-Kermit's former
  909.    SIGINT handler even when SIGINT is currently set to SIG_IGN; the
  910.    second kills Kermit; other reports suggest the first BREAK/RESET sends
  911.    a SIGTSTP (suspend signal) to Kermit, which it catches and suspends
  912.    itself. You can tell C-Kermit to ignore suspend signals with SET
  913.    SUSPEND OFF. You can tell C-Kermit to ignore SIGINT with SET COMMAND
  914.    INTERRUPTION OFF. It is not known whether these commands also grant
  915.    immunity to the BREAK/RESET key (one report states that with SET
  916.    SUSPEND OFF, the BREAK/RESET key is ignored the first four times, but
  917.    kills Kermit the 5th time). In any case:
  918.    
  919.     1. If this key is mapped to SIGINT or SIGTSTP, C-Kermit catches or
  920.        ignores it, depending on which mode (CONNECT, command, etc) Kermit
  921.        is in.
  922.     2. If it causes HP-UX to kill C-Kermit, there is nothing C-Kermit can
  923.        do to prevent it.
  924.        
  925.    When HP-UX is on the remote end of the connection, it is essential
  926.    that HP-UX C-Kermit be configured for Xon/Xoff flow control (this is
  927.    the default, but in case you change it and then experience
  928.    file-transfer failures, this is a likely reason).
  929.     ________________________________________________________________________
  930.   
  931.   3.2.1. Building C-Kermit on HP-UX
  932.   
  933.    [ [197]Top ] [ [198]Contents ] [ [199]Section Contents ] [ [200]Next ]
  934.    [ [201]Previous ]
  935.    
  936.      This section applies mainly to old (pre-10.20) HP-UX version on
  937.      old, slow, and/or memory-constrained hardware.
  938.      
  939.    During the C-Kermit 6.0 Beta cycle, something happened to ckcpro.w
  940.    (or, more precisely, the ckcpro.c file that is generated from it)
  941.    which causes HP optimizing compilers under HP-UX versions 7.0 and 8.0
  942.    (apparently on all platforms) as well as under HP-UX 9.0 on Motorola
  943.    platforms only, to blow up. In versions 7.0 and 8.0 the problem has
  944.    spread to other modules.
  945.    
  946.    The symptoms vary from the system grinding to a halt, to the compiler
  947.    crashing, to the compilation of the ckcpro.c module taking very long
  948.    periods of time, like 9 hours. This problem is handled by compiling
  949.    the modules that tickle it without optimization; the new C-Kermit
  950.    makefile takes care of this, and shows how to do it in case the same
  951.    thing begins happening with other modules.
  952.    
  953.    On HP-UX 9.0, a kernel parameter, maxdsiz (maximum process data
  954.    segment size), seems to be important. On Motorola systems, it is 16MB
  955.    by default, whereas on RISC systems the default is much bigger.
  956.    Increasing maxdsiz to about 80MB seems to make the problem go away,
  957.    but only if the system also has a lot of physical memory -- otherwise
  958.    it swaps itself to death.
  959.    
  960.    The optimizing compiler might complain about "some optimizations
  961.    skipped" on certain modules, due to lack of space available to the
  962.    optimizer. You can increase the space (the incantation depends on the
  963.    particular compiler version -- see the [202]makefile), but doing so
  964.    tends to make the compilations take a much longer time. For example,
  965.    the "hpux0100o+" makefile target adds the "+Onolimit" compiler flag,
  966.    and about an hour to the compile time on an HP-9000/730. But it *does*
  967.    produce an executable that is about 10K smaller :-)
  968.    
  969.    In the makefile, all HP-UX entries automatically skip optimization of
  970.    problematic modules.
  971.     ________________________________________________________________________
  972.   
  973.   3.2.2. File Transfer
  974.   
  975.    [ [203]Top ] [ [204]Contents ] [ [205]Section Contents ] [ [206]Next ]
  976.    [ [207]Previous ]
  977.    
  978.    Telnet connections into HP-UX versions up to and including 11.11 (and
  979.    possibly 11.20) tend not to lend themselves to file transfer due to
  980.    limitations, restrictions, and/or bugs in the HP-UX Telnet server
  981.    and/or pseudoterminal (pty) driver.
  982.    
  983.    In C-Kermit 6.0 (1996) an unexpected slowness was noted when
  984.    transferring files over local Ethernet connections when an HP-UX
  985.    system (9.05 or 10.00) was on the remote end. The following experiment
  986.    was conducted to determine the cause. C-Kermit 6.0 was used; the
  987.    situation is slightly better using C-Kermit 7.0's streaming feature
  988.    and HP-UX 10.20 on the far end.
  989.    
  990.    The systems were HP-UX 10.00 (on 715/33) and SunOS 4.1.3 (on
  991.    Sparc-20), both on the same local 10Mbps Ethernet, packet length 4096,
  992.    parity none, control prefixing "cautious", using only local disks on
  993.    each machine -- no NFS. In the C-Kermit 6.0 (ACK/NAK) case, the window
  994.    size was 20; in the streaming case there is no window size (i.e. it is
  995.    infinite). The test file was C-Kermit executable, transferred in
  996.    binary mode. Conditions were relatively poor: the Sun and the local
  997.    net heavily loaded; the HP system is old, slow, and
  998.    memory-constrained.
  999.    
  1000.                    C-Kermit 6.0...    C-Kermit 7.0...
  1001.  Local    Remote   ACK/NAK........    Streaming......
  1002.  Client   Server   Send    Receive    Send    Receive
  1003.   Sun      HP       36       18        64       18
  1004.   HP       HP       25       15        37       16
  1005.   HP       Sun      77       83       118       92
  1006.   Sun      Sun      60       60       153      158
  1007.  
  1008.    So whenever HP is the remote we have poor performance. Why?
  1009.    
  1010.      * Changing file display to CRT has no effect (so it's not the curses
  1011.        library on the client side).
  1012.      * Changing TCP RECV-BUFFER or SEND-BUFFER has little effect.
  1013.      * Telling the client to make a binary-mode connection (SET TELNET
  1014.        BINARY REQUESTED, which successfully negotiates a binary
  1015.        connection) has no effect on throughput.
  1016.        
  1017.    BUT... If I start HP-UX C-Kermit as a TCP service:
  1018.    
  1019.   set host * 3000
  1020.   server
  1021.  
  1022.    and then from the client "set host xxx 3000", I get:
  1023.    
  1024.                    C-Kermit 6.0...    C-Kermit 7.0...
  1025.  Local    Remote   ACK/NAK........    Streaming......
  1026.  Client   Server   Send    Receive    Send    Receive
  1027.   Sun      HP       77       67       106      139
  1028.   HP       HP       50       50        64       62
  1029.   HP       Sun      57       85       155      105
  1030.   Sun      Sun      57       50       321      314
  1031.  
  1032.    Therefore the HP-UX telnet server or pty driver seems to be adding
  1033.    more overhead than the SunOS one, and most others. When going through
  1034.    this type of connection (a remote telnet server) there is little
  1035.    Kermit can do improve matters, since the telnet server and pty driver
  1036.    are between the two Kermits, and neither Kermit program can have any
  1037.    influence over them (except putting the Telnet connection in binary
  1038.    mode, but that doesn't help).
  1039.    
  1040.    (The numbers for the HP-HP transfers are lower than the others since
  1041.    both Kermit processes are running on the same slow 33MHz CPU.)
  1042.    
  1043.    Matters seem to have deteriorated in HP-UX 11. Now file transfers over
  1044.    Telnet connections fail completely, rather than just being slow. In
  1045.    the following trial, a Telnet connection was made from Kermit 95 to
  1046.    HP-UX 11.11 on an HP-9000/785/B2000 over local 10Mbps Ethernet running
  1047.    C-Kermit 8.00 in server mode (under the HP-UX Telnet server):
  1048.    
  1049.                    Text........    Binary......
  1050.   Stream  Pktlen   GET     SEND    GET     SEND
  1051.     On     4000    Fail    Fail    Fail    Fail
  1052.     Off    4000    Fail    Fail    Fail    Fail
  1053.     Off    2000    OK      Fail    OK      Fail
  1054.     On     2000    OK      Fail    OK      Fail
  1055.     On     3000    Fail    Fail    Fail    Fail
  1056.     On     2500    Fail    Fail    Fail    Fail
  1057.     On     2047    OK      Fail    OK      Fail
  1058.     On     2045    OK      Fail    OK      Fail
  1059.     Off     500    OK      OK      OK      OK
  1060.     On      500    OK      Fail    OK      Fail
  1061.     On      240    OK      Fail    OK      Fail
  1062.  
  1063.    As you can see, downloads are problematic unless the receiver's Kermit
  1064.    packet length is 2045 or less, but uploads work only with streaming
  1065.    disabled and the packet length restricted to 500. To force file
  1066.    transfers to work on this connection, the desktop Kermit must be told
  1067.    to:
  1068.    
  1069.   set streaming off
  1070.   set receive packet-length 2000
  1071.   set send packet-length 500
  1072.  
  1073.    However, if a connection is made between the same two programs on the
  1074.    same two computers over the same network, but this time a direct
  1075.    socket-to-socket connection bypassing the HP-UX Telnet server and pty
  1076.    driver (tell HP-UX C-Kermit to "set host /server * 3000 /raw"; tell
  1077.    desktop client program to "set host blah 3000 /raw"), everything works
  1078.    perfectly with the default Kermit settings (streaming, 4K packets,
  1079.    liberal control-character unprefixing, 8-bit transparency, etc):
  1080.    
  1081.                    Text........    Binary......
  1082.   Stream  Pktlen   GET     SEND    GET     SEND
  1083.     On     4000    OK      OK      OK      OK
  1084.  
  1085.    And in this case, transfer rates were approximately 900,000 cps. To
  1086.    verify that the behavior reported here is not caused by the new Kermit
  1087.    release, the same experiment was performed on a Telnet connection from
  1088.    the same PC over the same network to the old 715/33 running HP-UX
  1089.    10.20 and C-Kermit 8.00. Text and binary uploads and downloads worked
  1090.    perfectly (albeit slowly) with all the default settings -- streaming,
  1091.    4K packets, etc.
  1092.     ________________________________________________________________________
  1093.   
  1094.   3.2.3. Dialing Out and UUCP Lockfiles in HP-UX
  1095.   
  1096.    [ [208]Top ] [ [209]Contents ] [ [210]Section Contents ] [ [211]Next ]
  1097.    [ [212]Previous ]
  1098.    
  1099.    HP workstations do not come with dialout devices configured; you have
  1100.    to do it yourself (as root). First look in /dev to see what's there;
  1101.    for example in HP-UX 10.00 or later:
  1102.    
  1103.   ls -l /dev/cua*
  1104.   ls -l /dev/tty*
  1105.  
  1106.    If you find a tty0p0 device but no cua0p0, you'll need to creat one if
  1107.    you want to dial out; the tty0p0 does not work for dialing out. It's
  1108.    easy: start SAM; in the main Sam window, double-click on Peripheral
  1109.    Device, then in the Peripheral Devices window, double-click on
  1110.    Terminals and Modems. In the Terminals and Modems dialog, click on
  1111.    Actions, then choose "Add modem" and fill in the blanks. For example:
  1112.    Port number 0, speed 57600 (higher speeds tend not to work reliably),
  1113.    "Use device for calling out", do NOT "Receive incoming calls" (unless
  1114.    you know what you are doing), leave "CCITT modem" unchecked unless you
  1115.    really have one, and do select "Use hardware flow control (RTS/CTS)".
  1116.    Then click OK. This creates cua0p0 as well as cul0p0 and ttyd0p0
  1117.    
  1118.    If the following sequence:
  1119.    
  1120.   set line /dev/cua0p0 ; or other device
  1121.   set speed 115200     ; or other normal speed
  1122.  
  1123.    produces the message "?Unsupported line speed". This means either that
  1124.    the port is not configured for dialout (go into SAM as described above
  1125.    and make sure "Use device for calling out" is selected), or else that
  1126.    speed you have given (such as 460800) is supported by the operating
  1127.    system but not by the physical device (in which case, use a lower
  1128.    speed like 57600).
  1129.    
  1130.    In HP-UX 9.0, serial device names began to change. The older names
  1131.    looked like "/dev/cua00", "/dev/tty01", etc (sometimes with only one
  1132.    digit). The newer names have two digits with the letter "p" in
  1133.    between. HP-UX 8.xx and earlier have the older form, HP-UX 10.00 and
  1134.    later have the newer form. HP-UX 9.xx has the newer form on Series 800
  1135.    machines, and the older form on other hardware models. The situation
  1136.    is summarized in the following table (the Convio 10.0 column applies
  1137.    to HP-UX 10 and 11).
  1138.    
  1139.   Converged HP-UX Serial I/O Filenames : TTY Mux Naming
  1140.   ---------------------------------------------------------------------
  1141.   General meaning      Old Form     S800 9.0           Convio 10.0
  1142.   ---------------------------------------------------------------------
  1143.   tty* hardwired ports  tty<YY>     tty<X>p<Y>         tty<D>p<p>
  1144.                                     diag:mux<X>        diag:mux<D>
  1145.   ---------------------------------------------------------------------
  1146.   ttyd* dial-in modems  ttyd<YY>    ttyd<X>p<Y>        ttyd<D>p<p>
  1147.                                     diag:ttyd<X>p<Y>   diag:ttyd<D>p<p>
  1148.   ---------------------------------------------------------------------
  1149.   cua* auto-dial out    cua<YY>     cua<X>p<Y>         cua<D>p<p>
  1150.                                     diag:cua<X>p<Y>
  1151.   ---------------------------------------------------------------------
  1152.   cul* dial-out         cul<YY>     cul<X>p<Y>         cul<D>p<p>
  1153.                                     diag:cul<X>p<Y>
  1154.   ---------------------------------------------------------------------
  1155.    <X>= LU (Logical Unit)  <D>= Devspec (decimal card instance)
  1156.    <Y> or <YY> = Port      <p>= Port
  1157.  
  1158.    For dialing out, you should use the cua or cul devices. When
  1159.    C-Kermit's CARRIER setting is AUTO or ON, C-Kermit should pop back to
  1160.    its prompt automatically if the carrier signal drops, e.g. when you
  1161.    log out from the remote computer or service. If you use the tty<D>p<d>
  1162.    (e.g. tty0p0) device, the carrier signal should be ignored. The
  1163.    tty<D>p<d> device should be used for direct connections where the
  1164.    carrier signal does not follow RS-232 conventions (use the cul device
  1165.    for hardwired connections through a true null modem). Do not use the
  1166.    ttyd<D>p<d> device for dialing out.
  1167.    
  1168.    Kermit's access to serial devices is controlled by "UUCP lockfiles",
  1169.    which are intended to prevent different users using different software
  1170.    programs (Kermit, cu, etc, and UUCP itself) from accessing the same
  1171.    serial device at the same time. When a device is in use by a
  1172.    particular user, a file with a special name is created in:
  1173.    
  1174.   /var/spool/locks  (HP-UX 10.00 and later)
  1175.   /usr/spool/uucp   (HP-UX 9.xx and earlier)
  1176.  
  1177.    The file's name indicates the device that is in use, and its contents
  1178.    indicates the process ID (pid) of the process that is using the
  1179.    device. Since serial devices and the locks directory are not both
  1180.    publicly readable and writable, Kermit and other communication
  1181.    software must be installed setuid to the owner (bin) of the serial
  1182.    device and setgid to the group (daemon) of the /var/spool/locks
  1183.    directory. Kermit's setuid and setgid privileges are enabled only when
  1184.    opening the device and accessing the lockfiles.
  1185.    
  1186.    Let's say "unit" means a string of decimal digits (the interface
  1187.    instance number) followed (in HP-UX 10.00 and later) by the letter "p"
  1188.    (lowercase), followed by another string of decimal digits (the port
  1189.    number on the interface), e.g.:
  1190.    
  1191.   "0p0", "0p1", "1p0", etc       (HP-UX 10.00 and later)
  1192.   "0p0", "0p1", "1p0", etc       (HP-UX 9.xx on Series 800)
  1193.   "00",  "01",  "10",  "0", etc  (HP-UX 9.xx not on Series 800)
  1194.   "00",  "01",  "10",  "0", etc  (HP-UX 8.xx and earlier)
  1195.  
  1196.    Then a normal serial device (driver) name consists of a prefix ("tty",
  1197.    "ttyd", "cua", "cul", or possibly "cuad" or "culd") followed by a
  1198.    unit, e.g. "cua0p0". Kermit's treatment of UUCP lockfiles is as close
  1199.    as possible to that of the HP-UX "cu" program. Here is a table of the
  1200.    lockfiles that Kermit creates for unit 0p0:
  1201.    
  1202.   Selection      Lockfile 1     Lockfile 2  
  1203.   /dev/tty0p0    LCK..tty0p0    (none)
  1204. * /dev/ttyd0p0   LCK..ttyd0p0   (none)
  1205.   /dev/cua0p0    LCK..cua0p0    LCK..ttyd0p0
  1206.   /dev/cul0p0    LCK..cul0p0    LCK..ttyd0p0
  1207.   /dev/cuad0p0   LCK..cuad0p0   LCK..ttyd0p0
  1208.   /dev/culd0p0   LCK..culd0p0   LCK..ttyd0p0
  1209.   <other>        LCK..<other>   (none)
  1210.  
  1211.    (* = Dialin device, should not be used.)
  1212.    
  1213.    In other words, if the device name begins with "cu", a second lockfile
  1214.    for the "ttyd" device, same unit, is created, which should prevent
  1215.    dialin access on that device.
  1216.    
  1217.    The <other> case allows for symbolic links, etc, but of course it is
  1218.    not foolproof since we have no way of telling which device is really
  1219.    being used.
  1220.    
  1221.    When C-Kermit tries to open a dialout device whose name ends with a
  1222.    "unit", it searches the lockfile directory for all possible names for
  1223.    the same unit. For example, if user selects /dev/cul2p3, Kermit looks
  1224.    for lockfiles named:
  1225.    
  1226.   LCK..tty2p3
  1227.   LCK..ttyd2p3
  1228.   LCK..cua2p3
  1229.   LCK..cul2p3
  1230.   LCK..cuad2p3
  1231.   LCK..culd2p3
  1232.  
  1233.    If any of these files are found, Kermit opens them to find out the ID
  1234.    (pid) of the process that created them; if the pid is still valid, the
  1235.    process is still active, and so the SET LINE command fails and the
  1236.    user is informed of the pid so s/he can use "ps" to find out who is
  1237.    using the device.
  1238.    
  1239.    If the pid is not valid, the file is deleted. If all such files (i.e.
  1240.    with same "unit" designation) are successfully removed, then the SET
  1241.    LINE command succeeds; up to six messages are printed telling the user
  1242.    which "stale lockfiles" are being removed.
  1243.    
  1244.    When the "set line" command succeeds in HP-UX 10.00 and later,
  1245.    C-Kermit also creates a Unix System V R4 "advisory lock" as a further
  1246.    precaution (but not guarantee) against any other process obtaining
  1247.    access to the device while you are using it.
  1248.    
  1249.    If the selected device was in use by "cu", Kermit can't open it,
  1250.    because "cu" has changed its ownership, so we never get as far as
  1251.    looking at the lockfiles. In the normal case, we can't even look at
  1252.    the device to see who the owner is because it is visible only to its
  1253.    (present) owner. In this case, Kermit says (for example):
  1254.    
  1255.   /dev/cua0p0: Permission denied
  1256.  
  1257.    When Kermit releases a device it has successfully opened, it removes
  1258.    all the lockfiles that it created. This also happens whenever Kermit
  1259.    exits "under its own power".
  1260.    
  1261.    If Kermit is killed with a device open, the lockfile(s) are left
  1262.    behind. The next Kermit program that tries to assign the device, under
  1263.    any of its various names, will automatically clean up the stale
  1264.    lockfiles because the pids they contain are invalid. The behavior of
  1265.    cu and other communication programs under these conditions should be
  1266.    the same.
  1267.    
  1268.    Here, by the way, is a summary of the differences between the HP-UX
  1269.    port driver types from John Pezzano of HP:
  1270.    
  1271.      There are three types of device files for each port.
  1272.      
  1273.      The ttydXXX device file is designed to work as follows:
  1274.      
  1275.     1. The process that opens it does NOT get control of the port until
  1276.        CD is asserted. This was intentional (over 15 years ago) to allow
  1277.        getty to open the port but not control it until someone called in.
  1278.        If a process wants to use the direct or callout device files
  1279.        (ttyXXX and culXXX respectively), they will then get control and
  1280.        getty would be blocked. This eliminated the need to use uugetty
  1281.        (and its inherent problems with lock files) for modems. You can
  1282.        see this demonstrated by the fact that "ps -ef" shows a ? in the
  1283.        tty column for the getty process as getty does not have the port
  1284.        yet.
  1285.     2. Once CD is asserted, the port is controlled by getty (or the
  1286.        process handling an incoming call) if there was no process using
  1287.        the port. The ? in the "ps" command now shows the port. At this
  1288.        point, the port accepts data.
  1289.        
  1290.      Therefore you should use either the callout culXXX device file
  1291.      (immediate control but no data until CD is asserted) or the direct
  1292.      device file ttyXXX which gives immediate control and immediate data
  1293.      and which ignores by default modem control signals.
  1294.      
  1295.      The ttydXXX device should be used only for callin and my
  1296.      recommendation is to use it only for getty and uugetty.
  1297.     ________________________________________________________________________
  1298.   
  1299.   3.2.4 Notes on Specific HP-UX Releases
  1300.   
  1301.    SECTION CONTENTS
  1302.    
  1303.   3.2.4.1. [213]HP-UX 11
  1304.   3.2.4.2. [214]HP-UX 10
  1305.   3.2.4.3. [215]HP-UX 9
  1306.   3.2.4.4. [216]HP-UX 8
  1307.   3.2.4.5. [217]HP-UX 7 and Earlier
  1308.  
  1309.   3.2.4.1. HP-UX 11
  1310.   
  1311.    [ [218]Top ] [ [219]Contents ] [ [220]Section Contents ] [ [221]Next ]
  1312.    
  1313.    As noted in [222]Section 3.2.2, the HP-UX 11 Telnet server and/or
  1314.    pseudoterminal driver are a serious impediment to file transfer over
  1315.    Telnet connections into HP-UX. If you have a Telnet connection into
  1316.    HP-UX 11, tell your desktop Kermit program to:
  1317.    
  1318.   set streaming off
  1319.   set receive packet-length 2000
  1320.   set send packet-length 500
  1321.  
  1322.    File transfer speeds over connections from HP-UX 11 (dialed or Telnet)
  1323.    are not impeded whatsoever, and can go at whatever speed is allowed by
  1324.    the connection and the Kermit partner on the far end.
  1325.    
  1326.    PA-RISC binaries for HP-UX 10.20 or later should run on any PA-RISC
  1327.    system, S700 or S800, as long as the binary was not built under a
  1328.    later HP-UX version than the host operating system. HP-UX 11.00 and
  1329.    11.11 are only for PA-RISC systems. HP-UX 11.20 is only for IA64
  1330.    (subsequent HP-UX releases will be for both PA-RISC and IA64). To
  1331.    check binary compatibility, the following C-Kermit 8.0 binaries were
  1332.    run successfully on an HP-9000/785 with HP-UX 11.11:
  1333.    
  1334.      * Model 7xx HP-UX 10.20
  1335.      * Model 8xx HP-UX 10.20
  1336.      * Model 7xx HP-UX 11.00
  1337.      * Model 8xx HP-UX 11.00
  1338.      * Model 7xx HP-UX 11.11
  1339.      * Model 8xx HP-UX 11.11
  1340.        
  1341.    Binaries built under some of the earlier HP-UX releases, such as 9.05,
  1342.    might also work, but only if built for the same hardware family (e.g.
  1343.    s700).
  1344.     ________________________________________________________________________
  1345.   
  1346.   3.2.4.2. HP-UX 10
  1347.   
  1348.    [ [223]Top ] [ [224]Contents ] [ [225]Section Contents ] [ [226]Next ]
  1349.    [ [227]Previous ]
  1350.    
  1351.    Beginning in HP-UX 10.10, libcurses is linked to libxcurses, the new
  1352.    UNIX95 (X/Open) version of curses, which has some serious bugs; some
  1353.    routines, when called, would hang and never return, some would dump
  1354.    core. Evidently libxcurses contains a select() routine, and whenever
  1355.    C-Kermit calls what it thinks is the regular (sockets) select(), it
  1356.    gets the curses one, causing a segmentation fault. There is a patch
  1357.    for this from HP, PHCO_8086, "s700_800 10.10 libcurses patch", "shared
  1358.    lib curses program hangs on 10.10", "10.10 enhanced X/Open curses core
  1359.    dumps due to using wrong select call", 96/08/02 (you can tell if the
  1360.    patch is installed with "what /usr/lib/libxcurses.1"; the unpatched
  1361.    version is 76.20, the patched one is 76.20.1.2). It has been verified
  1362.    that C-Kermit works OK with the patched library, but results are not
  1363.    definite for HP-UX 10.20 or higher.
  1364.    
  1365.    To ensure that C-Kermit works even on non-patched HP-UX 10.10 systems,
  1366.    separate makefile entries are provided for HP-UX 10.00/10.01, 10.10,
  1367.    10.20, etc, in which the entries for 10.10 and above link with
  1368.    libHcurses, which is "HP curses", the one that was used in
  1369.    10.00/10.01. HP-UX 11.20 and later, however, link with libcurses, as
  1370.    libHcurses disappeared in 11.20.
  1371.     ________________________________________________________________________
  1372.   
  1373.   3.2.4.3. HP-UX 9
  1374.   
  1375.    [ [228]Top ] [ [229]Contents ] [ [230]Section Contents ] [ [231]Next ]
  1376.    [ [232]Previous ]
  1377.    
  1378.    HP-UX 9.00 and 9.01 need patch PHNE_10572 (note: this replaces
  1379.    PHNE_3641) for hptt0.o, asio0.o, and ttycomn.o in libhp-ux.a. Contact
  1380.    Hewlett Packard if you need this patch. Without it, the dialout device
  1381.    (tty) will be hung after first use; subsequent attempts to use will
  1382.    return an error like "device busy". (There are also equivalent patches
  1383.    for s700 9.03 9.05 9.07 (PHNE_10573) and s800 9.00 9.04 (PHNE_10416).
  1384.    
  1385.    When C-Kermit is in server mode, it might have trouble executing
  1386.    REMOTE HOST commands. This problem happens under HP-UX 9.00 (Motorola)
  1387.    and HP-UX 9.01 (RISC) IF the C-Shell is the login shell AND with the
  1388.    C-Shell Revision 70.15. Best thing is to install HP's Patch PHCO_4919
  1389.    for Series 300/400 and PHCO_5015 for the Series 700/800. PHCO_5015 is
  1390.    called "s700_800 9.X cumulative csh(1) patch with memory leak fix"
  1391.    which works for HP-UX 9.00, 9.01, 9.03, 9.04, 9.05 and 9.07. At least
  1392.    you need C-Shell Revision 72.12!
  1393.    
  1394.    C-Kermit works fine -- including its curses-based file-transfer
  1395.    display -- on the console terminal, in a remote session (e.g. when
  1396.    logged in to the HP 9000 on a terminal port or when telnetted or
  1397.    rlogin'd), and in an HP-VUE hpterm window or an xterm window.
  1398.     ________________________________________________________________________
  1399.   
  1400.   3.2.4.4. HP-UX 8
  1401.   
  1402.    [ [233]Top ] [ [234]Contents ] [ [235]Section Contents ] [ [236]Next ]
  1403.    [ [237]Previous ]
  1404.    
  1405.    To make C-Kermit work on HP-UX 8.05 on a model 720, obtain and install
  1406.    HP-UX patch PHNE_0899. This patch deals with a lot of driver issues,
  1407.    particularly related to communication at higher speeds.
  1408.    
  1409.    One user reports:
  1410.    
  1411.      On HP-UX 8 DON'T install 'tty patch' PHKL_4656, install PHKL_3047
  1412.      instead! Yesterday I tried this latest tty patch PHKL_4656 and had
  1413.      terrible problems. This patch should fix RTS/CTS problems. With
  1414.      text transver all looks nice. But when I switched over to binary
  1415.      files the serial interface returned only rubish to C-Kermit. All
  1416.      sorts of protocol, CRC and packed errors I had. After several tests
  1417.      and after uninstalling that patch, all transvers worked fine. MB's
  1418.      of data without any errors. So keep your fingers away from that
  1419.      patch. If anybody needs the PHKL_3047 patch I have it here. It is
  1420.      no longer availabel from HP's patch base.
  1421.     ________________________________________________________________________
  1422.   
  1423.   3.2.4.5. HP-UX 7 and Earlier
  1424.   
  1425.    [ [238]Top ] [ [239]Contents ] [ [240]Section Contents ] [
  1426.    [241]Previous ]
  1427.    
  1428.    When transferring files into HP-UX 5 or 6 over a Telnet connection,
  1429.    you must not use streaming, and you must not use a packet length
  1430.    greater than 512. However, you can use streaming and longer packets
  1431.    when sending files from HP-UX on a Telnet connection. In C-Kermit 8.0,
  1432.    the default receive packet length for HP-UX 5 and 6 was changed to 500
  1433.    (but you can still increase it with SET RECEIVE PACKET-LENGTH if you
  1434.    wish, e.g. for non-Telnet connections). Disable streaming with SET
  1435.    STREAMING OFF.
  1436.    
  1437.    The HP-UX 5.00 version of C-Kermit does not include the fullscreen
  1438.    file-transfer because of problems with the curses library.
  1439.    
  1440.    If HP-UX 5.21 with Wollongong TCP/IP is on the remote end of a Telnet
  1441.    connection, streaming transfers to HP-UX invariably fail. Workaround:
  1442.    SET STREAMING OFF. Packets longer than about 1000 should not be used.
  1443.    Transfers from these systems, however, can use streaming and/or longer
  1444.    packets.
  1445.    
  1446.    Reportedly, "[there is] a bug in C-Kermit using HP-UX version 5.21 on
  1447.    the HP-9000 series 500 computers. It only occurs when the controlling
  1448.    terminal is using an HP-27140 six-port modem mux. The problem is not
  1449.    present if the controlling terminal is logged into an HP-27130
  1450.    eight-port mux. The symptom is that just after dialing successfully
  1451.    and connecting Kermit locks up and the port is unusable until both
  1452.    forks of Kermit and the login shell are killed." (This report predates
  1453.    C-Kermit 6.0 and might no longer apply.)
  1454.     ________________________________________________________________________
  1455.   
  1456.   3.2.5. HP-UX and X.25
  1457.   
  1458.    [ [242]Top ] [ [243]Contents ] [ [244]Section Contents ] [
  1459.    [245]Previous ]
  1460.    
  1461.    Although C-Kermit presently does not include built-in support for
  1462.    HP-UX X.25 (as it does for the Sun and IBM X.25 products), it can
  1463.    still be used to make X.25 connections as follows: start Kermit and
  1464.    then telnet to localhost. After logging back in, start padem as you
  1465.    would normally do to connect over X.25. Padem acts as a pipe between
  1466.    Kermit and X.25. In C-Kermit 7.0, you might also be able to avoid the
  1467.    "telnet localhost" step by using:
  1468.    
  1469.   C-Kermit> pty padem address
  1470.  
  1471.    This works if padem uses standard i/o (who knows?).
  1472.     ________________________________________________________________________
  1473.   
  1474.   3.3. C-KERMIT AND LINUX
  1475.   
  1476.    [ [246]Top ] [ [247]Contents ] [ [248]Section Contents ] [ [249]Next ]
  1477.    [ [250]Previous ]
  1478.    
  1479.    SECTION CONTENTS
  1480.    
  1481.   3.3.1. [251]Problems Building C-Kermit for Linux
  1482.   3.3.2. [252]Problems with Serial Devices in Linux
  1483.   3.3.3. [253]Terminal Emulation in Linux
  1484.   3.3.4. [254]Dates and Times
  1485.   3.3.5. [255]Startup Errors
  1486.   3.3.6. [256]The Fullscreen File Transfer Display
  1487.  
  1488.    REFERENCES
  1489.    
  1490.    For further information, read the [257]comp.os.linux.misc,
  1491.    [258]comp.os.linux.answers, and other Linux-oriented newsgroups, and
  1492.    see:
  1493.    
  1494.    The Linux Document Project (LDP)
  1495.           [259]http://www.tldp.org/
  1496.           
  1497.    The Linux FAQ
  1498.           [260]http://www.tldp.org/FAQ/Linux-FAQ.html
  1499.           
  1500.    The Linux HOWTOs (especially the Serial HOWTO)
  1501.           
  1502.      [261]http://www.tldp.org/HOWTO/Serial-HOWTO.html
  1503.           
  1504.      [262]http://tldp.org/HOWTO/Modem-HOWTO.html
  1505.           
  1506.      [263]ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO
  1507.           
  1508.      [264]ftp://tsx-11.mit.edu/pub/linux/docs/HOWTO
  1509.           
  1510.      [265]http://www.tldp.org/HOWTO/
  1511.           
  1512.      [266]http://www.tldp.org/hmirrors.html
  1513.           
  1514.    Linux Vendor Tech Support Pages:
  1515.           
  1516.      [267]http://www.redhat.com/apps/support/
  1517.           
  1518.      [268]http://www.debian.org/support
  1519.           
  1520.      [269]http://www.slackware.com/support/
  1521.           
  1522.      [270]http://www.caldera.com/support/
  1523.           
  1524.      [271]http://www.suse.com/support/
  1525.           
  1526.      [272]http://www.mandrake.com/support/
  1527.           
  1528.      [273]http://www.turbolinux.com/support/
  1529.           
  1530.    Linux Winmodem Support
  1531.           [274]http://www.linmodems.org/
  1532.           
  1533.    Also see general comments on PC-based Unixes in [275]Section 3.0.
  1534.    
  1535.    What Linux version is it? -- "uname -a" supplies only kernel
  1536.    information, but these days it's the distribution that matters: Red
  1537.    Hat 7.3, Debian 2.2, Slackware 8.0, etc. Unfortunately there's no
  1538.    consistent way to get the distribution version. Usually it's in a
  1539.    distribution-specific file:
  1540.    
  1541.      Red Hat: /etc/issue or /etc/redhat-release
  1542.      Debian: /etc/debian_version
  1543.      Slackware: /etc/slackware-version (at least in later versions)
  1544.    
  1545.    Did you know: DECnet is available for Linux? See:
  1546.    
  1547.   [276]http://linux.dreamtime.org/decnet/
  1548.  
  1549.    (But there is no support for it in C-Kermit -- anybody interested in
  1550.    adding it, please [277]let us know).
  1551.    
  1552.    Before proceeding, let's handle the some of the most frequently asked
  1553.    question in the Linux newsgroups:
  1554.    
  1555.     1. Neither C-Kermit nor any other Linux application can use
  1556.        Winmodems, except in the [278]rare cases where Linux drivers have
  1557.        been written for them. See [279]Section 3.0.2 for details.
  1558.     2. "Why does it take such a long time to make a telnet connection to
  1559.        (or from) my Linux PC?" (this applies to C-Kermit and to regular
  1560.        Telnet). Most telnet servers these days perform reverse DNS
  1561.        lookups on the client (for security and/or logging reasons). If
  1562.        the Telnet client's address cannot be found by the server's local
  1563.        DNS server, the DNS request goes out to the Internet at large, and
  1564.        this can take quite some time. The solution to this problem is to
  1565.        make sure that both client and host are registered in DNS, and
  1566.        that the registrations are exported. C-Kermit itself performs
  1567.        reverse DNS lookups unless you tell it not to; this is to allow
  1568.        C-Kermit to let you know which host it is actually connected to in
  1569.        case you have made a connection to a host pool (multihomed host).
  1570.        You can disable C-Kermit's reverse DNS lookup with SET TCP
  1571.        REVERSE-DNS-LOOKUP OFF.
  1572.     3. (Any question that has the word "Telnet" in it...) The knee-jerk
  1573.        reaction is "don't use Telnet, use SSH!" There's nothing wrong
  1574.        with Telnet. In fact it's far superior to SSH as a protocol in
  1575.        terms of features and extensibility, not to mention platform
  1576.        neutrality. The issue lurking behind the knee-jerk reaction is
  1577.        security. SSH is thought to be secure, whereas Telnet is thought
  1578.        to be insecure. This is true for clear-text Telnet (because
  1579.        passwords travel in the clear across the network), but apparently
  1580.        few people realize that [280]secure Telnet clients and servers
  1581.        have been available for years, and these are more secure than SSH
  1582.        (for reasons explained [281]HERE.
  1583.     4. (Any question that has the word "FTP" in it...) The knee-jerk
  1584.        reaction being "Don't use FTP, use SCP!" (or SFTP). Same answer as
  1585.        above, but moreso. SCP and SFTP are not only not platform neutral,
  1586.        they're diversity-hostile. They don't transfer files only in
  1587.        binary mode, which mangles text files across different platforms,
  1588.        to the same degree the platform's text-file record format and
  1589.        character set differ. An extreme example would be an VB-format
  1590.        EBCDIC text file on an IBM mainframe, binary transfer of which to
  1591.        Unix would do you little good indeed. FTP was designed with
  1592.        diversity in mind and secure versions are available.
  1593.     ________________________________________________________________________
  1594.   
  1595.   3.3.1. Problems Building C-Kermit for Linux
  1596.   
  1597.    [ [282]Top ] [ [283]Contents ] [ [284]Section Contents ] [ [285]Next ]
  1598.    
  1599.    Modern Linux distributions like Red Hat give you a choice at
  1600.    installation whether to include "developer tools". Obviously, you
  1601.    can't build C-Kermit or any other C program from source code if you
  1602.    have not installed the developer tools. But to confuse matters, you
  1603.    might also have to choose (separately) to install the "curses" or
  1604.    "ncurses" terminal control library; thus it is possible to install the
  1605.    C compiler and linker, but omit the (n)curses library and headers. If
  1606.    curses is not installed, you will not be able to build a version of
  1607.    C-Kermit that supports the fullscreen file-transfer display, in which
  1608.    case you'll need to use the "linuxnc" makefile target (nc = No Curses)
  1609.    or else install ncurses before building.
  1610.    
  1611.    There are all sorts of confusing issues caused by the many and varied
  1612.    Linux distributions. Some of the worst involve the curses library and
  1613.    header files: where are they, what are they called, which ones are
  1614.    they really? Other vexing questions involve libc5 vs libc6 vs glibc vs
  1615.    glibc2 (C libraries), gcc vs egcs vs lcc (compilers), plus using or
  1616.    avoiding features that were added in a certain version of Linux or a
  1617.    library or a distribution, and are not available in others. As of
  1618.    C-Kermit 8.0, these questions should be resolved by the "linux"
  1619.    makefile target itself, which does a bit of looking around to see
  1620.    what's what, and then sets the appropriate CFLAGS.
  1621.     ________________________________________________________________________
  1622.   
  1623.   3.3.2. Problems with Serial Devices in Linux
  1624.   
  1625.    [ [286]Top ] [ [287]Contents ] [ [288]Section Contents ] [ [289]Next ]
  1626.    [ [290]Previous ]
  1627.    
  1628.      Also see: "man setserial", "man irqtune".
  1629.      And: [291]Sections 3.0, [292]6, [293]7, and [294]8 of this
  1630.      document.
  1631.      
  1632.      NOTE: Red Hat Linux 7.2 and later include a new API that allows
  1633.      serial-port arbitration by non-setuid/gid programs. This API has
  1634.      not yet been added to C-Kermit. If C-Kermit is to be used for
  1635.      dialing out on Red Hat 7.2 or later, it must still be installed as
  1636.      described in in Sections [295]10 and [296]11 of the
  1637.      [297]Installation Instructions. 
  1638.      
  1639.    Don't expect it to be easy. Queries like the following are posted to
  1640.    the Linux newsgroups almost daily:
  1641.    
  1642.      Problem of a major kind with my Compaq Presario 1805 in the sense
  1643.      that the pnpdump doesn't find the modem and the configuration tells
  1644.      me that the modem is busy when I set everything by hand!
  1645.      
  1646.      I have <some recent SuSE distribution>, kernel 2.0.35. Using the
  1647.      Compaq tells me that the modem (which is internal) is on COM2, with
  1648.      the usual IRQ and port numbers. Running various Windows diagnostics
  1649.      show me AT-style commands exchanged so I have no reason to beleive
  1650.      that it is a Winmodem. Also, the diagnostics under Win98 tell me
  1651.      that I am talking to an NS 16550AN.
  1652.      
  1653.    [Editor's note: This does not necessarily mean it isn't a Winmodem.]
  1654.    
  1655.      Under Linux, no joy trying to talk to the modem on /dev/cua1
  1656.      whether via minicom, kppp, or chat; kppp at least tells me that
  1657.      tcgetattr() failed.
  1658.      
  1659.      Usage of setserial:
  1660.      
  1661.   setserial /dev/cua1 port 0x2F8 irq 3 autoconfig
  1662.   setserial -g /dev/cua1
  1663.  
  1664.      tells me that the uart is 'unknown'. I have tried setting the UART
  1665.      manullay via. setserial to 16550A, 16550, and the other one (8550?)
  1666.      (I didn't try 16540). None of these manual settings resulted in any
  1667.      success.
  1668.      
  1669.      A look at past articles leads me to investigate PNP issues by
  1670.      calling pnpdump but pnpdump returns "no boards found". I have
  1671.      looked around on my BIOS (Phoenix) and there is not much evidence
  1672.      of it being PNP aware. However for what it calls "Serial port A",
  1673.      it offers a choice of Auto, Disabled or Manual settings (currently
  1674.      set to Auto), but using the BIOS interface I tried to change to
  1675.      'manual' and saw the default settings offered to be were 0x3F8 and
  1676.      IRQ 4 (COM1). The BIOS menus did not give me any chance to
  1677.      configure COM2 or any "modem". I ended up not saving any BIOS
  1678.      changes in the course of my investigations.
  1679.      
  1680.    You can also find out a fair amount about your PC's hardware
  1681.    configuration in the text files in /proc, e.g.:
  1682.    
  1683.   -r--r--r--    1 root            0 Sep  4 14:00 /proc/devices
  1684.   -r--r--r--    1 root            0 Sep  4 14:00 /proc/interrupts
  1685.   -r--r--r--    1 root            0 Sep  4 14:00 /proc/ioports
  1686.   -r--r--r--    1 root            0 Sep  4 14:00 /proc/pci
  1687.  
  1688.    From the directory listing they look like empty files, but in fact
  1689.    they are text files that you "cat":
  1690.    
  1691. $ cat /proc/pci
  1692.    Bus  0, device  14, function  0:
  1693.      Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 1).
  1694.        IRQ 10.
  1695.        I/O at 0x1050 [0x1057].
  1696.  
  1697. $ setserial -g /dev/ttyS4
  1698. /dev/ttyS4, UART: 16550A, Port: 0x1050, IRQ: 10
  1699.  
  1700. $ cat /proc/ioports
  1701. 1050-1057 : US Robotics/3Com 56K FaxModem Model 5610
  1702.    1050-1057 : serial(auto)
  1703.  
  1704. $ cat /proc/interrupts
  1705.             CPU0
  1706.    0:    7037515          XT-PIC  timer
  1707.    1:          2          XT-PIC  keyboard
  1708.    2:          0          XT-PIC  cascade
  1709.    4:          0          XT-PIC  serial
  1710.    8:          1          XT-PIC  rtc
  1711.    9:     209811          XT-PIC  usb-uhci, eth0
  1712.   14:     282015          XT-PIC  ide0
  1713.   15:          6          XT-PIC  ide1
  1714.  
  1715.    Watch out for PCI, PCMCIA and Plug-n-Play devices, Winmodems, and the
  1716.    like (see cautions in [298]Section 3.0 Linux supports Plug-n-Play
  1717.    devices to some degree via the isapnp and pnpdump programs; read the
  1718.    man pages for them. (If you don't have them, look on your installation
  1719.    CD for isapnptool or download it from sunsite or a sunsite mirror or
  1720.    other politically correct location du jour).
  1721.    
  1722.    PCI modems do not use standard COM port addresses. The I/O address and
  1723.    IRQ are assigned by the BIOS. All you need to do to get one working,
  1724.    find out the I/O address and interrupt number with (as root) "lspci -v
  1725.    | more" and then give the resulting address and interrupt number to
  1726.    setserial.
  1727.    
  1728.    Even when you have a real serial port, always be wary of interrupt
  1729.    conflicts and similar PC hardware configuration issues: a PC is not a
  1730.    real computer like other Unix workstations -- it is generally pieced
  1731.    together from whatever random components were the best bargain on the
  1732.    commodity market the week it was built. Once it's assembled and boxed,
  1733.    not even the manufacturer will remember what it's made of or how it
  1734.    was put together because they've moved on to a new model. Their job is
  1735.    to get it (barely) working with Windows; for Linux and other OS's you
  1736.    are on your own.
  1737.    
  1738.    "set line /dev/modem" or "set line /dev/ttyS2", etc, results in an
  1739.    error, "/dev/modem is not a tty". Cause unknown, but obviously a
  1740.    driver issue, not a Kermit one (Kermit uses "isatty()" to check that
  1741.    the device is a tty, so it knows it will be able to issue all the
  1742.    tty-related ioctl's on it, like setting the speed & flow control). Try
  1743.    a different name (i.e. driver) for the same port, e.g. "set line
  1744.    /dev/cua2" or whatever.
  1745.    
  1746.    To find what serial ports were registered at the most recent system
  1747.    boot, type (as root): "grep tty /var/log/dmesg".
  1748.    
  1749.    "set modem type xxx" (where xxx is the name of a modem) followed by
  1750.    "set line /dev/modem" or "set
  1751.    line /dev/ttyS2", etc, hangs (but can be interrupted with Ctrl-C).
  1752.    Experimentation shows that if the modem is configured to always assert
  1753.    carrier (&C0) the same command does not hang. Again, a driver issue.
  1754.    Use /dev/cua2 (or whatever) instead. (Or not -- hopefully none of
  1755.    these symptoms occurs in C-Kermit 7.0 or later.)
  1756.    
  1757.    "set line /dev/cua0" reports "Device is busy", but "set line
  1758.    /dev/ttyS0" works OK.
  1759.    
  1760.    In short: If the cua device doesn't work, try the corresponding ttyS
  1761.    device. If the ttyS device doesn't work, try the corresponding cua
  1762.    device -- but note that Linux developers do not recommend this, and
  1763.    are phasing out the cua devices. From /usr/doc/faq/howto/Serial-HOWTO:
  1764.    
  1765.    12.4. What's The Real Difference Between the /dev/cuaN And /dev/ttySN
  1766.           Devices?
  1767.           The only difference is the way that the devices are opened. The
  1768.           dialin devices /dev/ttySN are opened in blocking mode, until CD
  1769.           is asserted (ie someone connects). So, when someone wants to
  1770.           use the /dev/cuaN device, there is no conflict with a program
  1771.           watching the /dev/ttySN device (unless someone is connected of
  1772.           course). The multiple /dev entries, allow operation of the same
  1773.           physical device with different operating characteristics. It
  1774.           also allows standard getty programs to coexist with any other
  1775.           serial program, without the getty being retrofitted with
  1776.           locking of some sort. It's especially useful since standard
  1777.           Unix kernel file locking, and UUCP locking are both advisory
  1778.           and not mandatory.
  1779.           
  1780.    It was discovered during development of C-Kermit 7.0 that rebuilding
  1781.    C-Kermit with -DNOCOTFMC (No Close/Open To Force Mode Change) made the
  1782.    aforementioned problem with /dev/ttyS0 go away. It is not yet clear,
  1783.    however, what its affect might be on the /dev/cua* devices. As of 19
  1784.    March 1998, this option has been added to the CFLAGS in the makefile
  1785.    entries for Linux ("make linux").
  1786.    
  1787.    Note that the cua device is now "deprecated", and new editions of
  1788.    Linux will phase (have phased) it out in favor of the ttyS device. See
  1789.    (if it's still there):
  1790.    
  1791.   [299]http://linuxwww.db.erau.edu/mail_archives/linux-kernel/Mar_98/1441.html
  1792.  
  1793.    (no, of course it isn't; you'll have to use your imagination). One
  1794.    user reported that C-Kermit 7.0, when built with egcs 1.1.2 and run on
  1795.    Linux 2.2.6 with glibc 2.1 (hardware unknown but probably a PC) dumps
  1796.    core when given a "set line /dev/ttyS1" command. When rebuilt with
  1797.    gcc, it works fine.
  1798.    
  1799.    All versions of Linux seem to have the following deficiency: When a
  1800.    modem call is hung up and CD drops, Kermit can no longer read the
  1801.    modem signals; SHOW COMMUNICATIONS says "Modem signals not available".
  1802.    The TIOCMGET ioctl() returns -1 with errno 5 ("I/O Error").
  1803.    
  1804.    The Linux version of POSIX tcsendbreak(), which is used by C-Kermit to
  1805.    send regular (275msec) and long (1.5sec) BREAK signals, appears to
  1806.    ignore its argument (despite its description in the man page and info
  1807.    topic), and always sends a regular 275msec BREAK. This has been
  1808.    observed in Linux versions ranging from Debian 2.1 to Red Hat 7.1.
  1809.     ________________________________________________________________________
  1810.   
  1811.   3.3.3. Terminal Emulation in Linux
  1812.   
  1813.    [ [300]Top ] [ [301]Contents ] [ [302]Section Contents ] [ [303]Next ]
  1814.    [ [304]Previous ]
  1815.    
  1816.    C-Kermit is not a terminal emulator. For a brief explanation of why
  1817.    not, see [305]Section 3.0.5. For a fuller explanation, [306]ClICK
  1818.    HERE.
  1819.    
  1820.    In Unix, terminal emulation is supplied by the Window in which you run
  1821.    Kermit: the regular console screen, which provides Linux Console
  1822.    "emulation" via the "console" termcap entry, or under X-Windows in an
  1823.    xterm window, which gives VTxxx emulation. An xterm that includes
  1824.    color ANSI and VT220 emulation is available with Xfree86:
  1825.    
  1826.   [307]http://dickey.his.com/xterm/xterm.html
  1827.  
  1828.    Before starting C-Kermit in an xterm window, you might need to tell
  1829.    the xterm window's shell to "stty sane".
  1830.    
  1831.    To set up your PC console keyboard to send VT220 key sequences when
  1832.    using C-Kermit as your communications program in an X terminal window
  1833.    (if it doesn't already), create a file somewhere (e.g. in /root/)
  1834.    called .xmodmaprc, containing something like the following:
  1835.    
  1836.   keycode 77  = KP_F1       ! Num Lock     => DEC Gold (PF1)
  1837.   keycode 112 = KP_F2       ! Keypad /     => DEC PF1
  1838.   keycode 63  = KP_F3       ! Keypad *     => DEC PF3
  1839.   keycode 82  = KP_F4       ! Keypad -     => DEC PF4
  1840.   keycode 111 = Help        ! Print Screen => DEC Help
  1841.   keycode 78  = F16         ! Scroll Lock  => DEC Do
  1842.   keycode 110 = F16         ! Pause        => DEC Do
  1843.   keycode 106 = Find        ! Insert       => DEC Find
  1844.   keycode 97  = Insert      ! Home         => DEC Insert
  1845.   keycode 99  = 0x1000ff00  ! Page Up      => DEC Remove
  1846.   keycode 107 = Select      ! Delete       => DEC Select
  1847.   keycode 103 = Page_Up     ! End          => DEC Prev Screen
  1848.   keycode 22  = Delete      ! Backspace sends Delete (127)
  1849.  
  1850.    Then put "xmodmap filename" in your .xinitrc file (in your login
  1851.    directory), e.g.
  1852.    
  1853.   xmodmap /root/.xmodmaprc
  1854.  
  1855.    Of course you can move things around. Use the xev program to find out
  1856.    key codes.
  1857.    
  1858.    Console-mode keys are mapped separately using loadkeys, and different
  1859.    keycodes are used. Find out what they are with showkey.
  1860.    
  1861.    For a much more complete VT220/320 key mapping for [308]Xfree86 xterm,
  1862.    [309]CLICK HERE.
  1863.     ________________________________________________________________________
  1864.   
  1865.   3.3.4. Dates and Times
  1866.   
  1867.    [ [310]Top ] [ [311]Contents ] [ [312]Section Contents ] [ [313]Next ]
  1868.    [ [314]Previous ]
  1869.    
  1870.    If C-Kermit's date-time (e.g. as shown by its DATE command) differs
  1871.    from the system's date and time:
  1872.    
  1873.     a. Make sure the libc to which Kermit is linked is set to GMT or is
  1874.        not set to any time zone. Watch out for mixed libc5/libc6 systems;
  1875.        each must be set indpendently.
  1876.     b. If you have changed your TZ environment variable, make sure it is
  1877.        exported. This is normally done in /etc/profile or /etc/TZ.
  1878.     ________________________________________________________________________
  1879.   
  1880.   3.3.5. Startup Errors
  1881.   
  1882.    [ [315]Top ] [ [316]Contents ] [ [317]Section Contents ] [ [318]Next ]
  1883.    [ [319]Previous ]
  1884.    
  1885.    C-Kermit should work on all versions of Linux current through March
  1886.    2003, provided it was built on the same version you have, with the
  1887.    same libraries and header files (just get the source code and "make
  1888.    linux"). Binaries tend not to travel well from one Linux machine to
  1889.    another, due to their many differences. There is no guarantee that a
  1890.    particular C-Kermit binary will not stop working at a later date,
  1891.    since Linux tends to change out from under its applications. If that
  1892.    happens, rebuild C-Kermit from source. If something goes wrong with
  1893.    the build process, look on the [320]C-Kermit website for a newer
  1894.    version. If you have the latest version, then [321]report the problem
  1895.    to us.
  1896.    
  1897.    Inability to transfer files in Red Hat 7.2: the typical symptom would
  1898.    be if you start Kermit and tell it to RECEIVE, it fails right away
  1899.    with "?/dev/tty: No such device or address" or "?Bad file descriptor".
  1900.    One report says this is because of csh, and if you change your shell
  1901.    to bash or other shell, it doesn't happen. Another report cite bugs in
  1902.    Red Hat 7.2 Telnetd "very seldom (if ever) providing a controlling
  1903.    tty, and lots of other people piled on saying they have the same
  1904.    problem.") A third theory is that this happens only when Linux has
  1905.    been installed without "virtual terminal support".
  1906.    
  1907.    A search of RedHat's errata pages shows a bug advisory (RHBA-2001-153)
  1908.    issued 13 November 2001, but updated 6 December, about this same
  1909.    symptom (but with tcsh and login.) Seems that login was not always
  1910.    assigning a controlling TTY for the session, which would make most use
  1911.    of "/dev/tty" somewhat less than useful.
  1912.    
  1913.   [322]http://www.redhat.com/support/errata/RHBA-2001-153.html
  1914.  
  1915.    Quoting: "Due to terminal handling problems in /bin/login, tcsh would
  1916.    not find the controlling terminal correctly, and a shell in single
  1917.    user mode would exhibit strange terminal input characteristics. This
  1918.    update fixes both of these problems."
  1919.    
  1920.    Since the Red Hat 5.1 release (circa August 1998), there have been
  1921.    numerous reports of prebuilt Linux executables, and particularly the
  1922.    Kermit RPM for Red Hat Linux, not working; either it won't start at
  1923.    all, or it gives error messages about "terminal type unknown" and
  1924.    refuses to initialize its curses support. The following is from the
  1925.    [323]Kermit newsgroup:
  1926.    
  1927.      From: rchandra@hal9000.buf.servtech.com
  1928.      Newsgroups: comp.protocols.kermit.misc
  1929.      Subject: Red Hat Linux/Intel 5.1 and ncurses: suggestions
  1930.      Date: 22 Aug 1998 15:54:46 GMT
  1931.      Organization: Verio New York
  1932.      Keywords: RedHat RPM 5.1
  1933.      
  1934.      Several factors can influence whether "linux" is recognized as a
  1935.      terminal type on many Linux systems.
  1936.      
  1937.     1. Your program, or the libraries it linked with (if statically
  1938.        linked), or the libraries it dynamically links with at runtime,
  1939.        are looking for an entry in /etc/termcap that isn't there. (not
  1940.        likely, but possible... I believe but am not certain that this is
  1941.        a very old practice in very old [n]curses library implementations
  1942.        to use a single file for all terminal descriptions.)
  1943.     2. Your program, or the libraries...are looking for a terminfo file
  1944.        that just plain isn't there. (also not so likely, since many
  1945.        people in other recent message threads said that other programs
  1946.        work OK).
  1947.     3. Your program, or the libraries...are looking for a terminfo file
  1948.        that is stored at a pathname that isn't expected by your program,
  1949.        the libraries--and so on. I forgot if I read this in the errata
  1950.        Web page or where exactly I discovered this (Netscape install?
  1951.        Acrobat install?), but it may just be that one libc (let's say for
  1952.        sake of argument, libc5, but I don't know this to be true) expects
  1953.        your terminfo to be in /usr/share/terminfo, and the other (let's
  1954.        say libc6/glibc) expects /usr/lib/terminfo. I remember that the
  1955.        specific instructions in this bugfix/workaround were to do the
  1956.        following or equivalent:
  1957.  
  1958.   cd /usr/lib
  1959.   ln -s ../share/terminfo ./terminfo
  1960.        or:
  1961.  
  1962.   ln -s /usr/share/terminfo /usr/lib/terminfo
  1963.  
  1964.      So what this says is that the terminfo database/directory structure
  1965.      can be accessed by either path. When something goes to reference
  1966.      /usr/lib/terminfo, the symlink redirects it to essentially
  1967.      /usr/share/terminfo, which is where it really resides on your
  1968.      system. I personally prefer wherever possible to use relative
  1969.      symlinks, because they still hold, more often than break, across
  1970.      mount points, particularly NFS mounts, where the directory
  1971.      structure may be different on the different systems.
  1972.      
  1973.    Evidently the terminfo file moved between Red Hat 5.0 and 5.1, but Red
  1974.    Hat did not include a link to let applications built prior to 5.1 find
  1975.    it. Users reported that installing the link fixes the problem.
  1976.     ________________________________________________________________________
  1977.   
  1978.   3.3.6. The Fullscreen File Transfer Display
  1979.   
  1980.    [ [324]Top ] [ [325]Contents ] [ [326]Section Contents ] [
  1981.    [327]Previous ]
  1982.    
  1983.    Starting with ncurses versions dated 1998-12-12 (about a year before
  1984.    ncurses 5.0), ncurses sets the terminal for buffered i/o, but
  1985.    unfortunately is not able to restore it upon exit from curses (via
  1986.    endwin()). Thus after a file transfer that uses the fullscreen file
  1987.    transfer display, the terminal no longer echos nor responds
  1988.    immediately to Tab, ?, and other special command characters. The same
  1989.    thing happens on other platforms that use ncurses, e.g. FreeBSD.
  1990.    Workarounds:
  1991.    
  1992.      * Use SET XFER DISPLAY BRIEF, CRT, SERIAL, or NONE instead of
  1993.        FULLSCREEN; or:
  1994.      * Rebuild with KFLAGS=-DNONOSETBUF (C-Kermit 8.0)
  1995.        
  1996.    In Red Hat 7.1, when using C-Kermit in a Gnome terminal window, it was
  1997.    noticed that when the fullscreen file transfer display exits (via
  1998.    endwin()), the previous (pre-file-transfer-display) screen is
  1999.    restored. Thus you can't look at the completed display to see what
  2000.    happened. This is a evidently a new feature of xterm. I can only
  2001.    speculate that initscreen() and endwin() must send some kind of
  2002.    special escape sequences that command xterm to save and restore the
  2003.    screen. To defeat this effect, tell Linux you have a vt100 or other
  2004.    xterm-compatible terminal that is not actually an xterm, or else tell
  2005.    Kermit to SET TRANSFER DISPLAY to something besides FULLSCREEN.
  2006.     ________________________________________________________________________
  2007.   
  2008.   3.4. C-KERMIT AND NEXTSTEP
  2009.   
  2010.    [ [328]Top ] [ [329]Contents ] [ [330]Section Contents ] [ [331]Next ]
  2011.    [ [332]Previous ]
  2012.    
  2013.    Run C-Kermit in a Terminal, Stuart, or xterm window, or when logged in
  2014.    remotely through a serial port or TELNET connection. C-Kermit does not
  2015.    work correctly when invoked directly from the NeXTSTEP File Viewer or
  2016.    Dock. This is because the terminal-oriented gtty, stty, & ioctl calls
  2017.    don't work on the little window that NeXTSTEP pops up for non-NeXTSTEP
  2018.    applications like Kermit. CBREAK and No-ECHO settings do not take
  2019.    effect in the command parser -- commands are parsed strictly line at a
  2020.    time. "set line /dev/cua" works. During CONNECT mode, the console
  2021.    stays in cooked mode, so characters are not transmitted until carriage
  2022.    return or linefeed is typed, and you can't escape back. If you want to
  2023.    run Kermit directly from the File Viewer, then launch it from a shell
  2024.    script that puts it in the desired kind of window, something like this
  2025.    (for "Terminal"):
  2026.    
  2027.   Terminal -Lines 24 -Columns 80 -WinLocX 100 -WinLocY 100 $FONT $FONTSIZE \
  2028.   -SourceDotLogin -Shell /usr/local/bin/kermit &
  2029.  
  2030.    C-Kermit does not work correctly on a NeXT with NeXTSTEP 3.0 to which
  2031.    you have established an rlogin connection, due to a bug in NeXTSTEP
  2032.    3.0, which has been reported to NeXT.
  2033.    
  2034.    The SET CARRIER command has no effect on the NeXT -- this is a
  2035.    limitation of the NeXTSTEP serial-port device drivers.
  2036.    
  2037.    Hardware flow control on the NeXT is selected not by "set flow
  2038.    rts/cts" in Kermit (since NeXTSTEP offers no API for this), but
  2039.    rather, by using a specially-named driver for the serial device:
  2040.    /dev/cufa instead /dev/cua; /dev/cufb instead of /dev/cub. This is
  2041.    available only on 68040-based NeXT models (the situation for Intel
  2042.    NeXTSTEP implementations is unknown).
  2043.    
  2044.    NeXT-built 68030 and 68040 models have different kinds of serial
  2045.    interfaces; the 68030 has a Macintosh-like RS-422 interface, which
  2046.    lacks RTS and CTS signals; the 68040 has an RS-423 (RS-232 compatible)
  2047.    interface, which supports the commonly-used modem signals. WARNING:
  2048.    the connectors look exactly the same, but the pins are used in
  2049.    completely DIFFERENT ways -- different cables are required for the two
  2050.    kinds of interfaces.
  2051.    
  2052.      IF YOU GET LOTS OF RETRANSMISSIONS during file transfer, even when
  2053.      using a /dev/cuf* device and the modem is correctly configured for
  2054.      RTS/CTS flow control, YOU PROBABLY HAVE THE WRONG KIND OF CABLE.
  2055.      
  2056.    On the NeXT, Kermit reportedly (by TimeMon) causes the kernel to use a
  2057.    lot of CPU time when using a "set line" connection. That's because
  2058.    there is no DMA channel for the NeXT serial port, so the port must
  2059.    interrupt the kernel for each character in or out.
  2060.    
  2061.    One user reported trouble running C-Kermit on a NeXT from within
  2062.    NeXT's Subprocess class under NeXTstep 3.0, and/or when rlogin'd from
  2063.    one NeXT to another: Error opening /dev/tty:, congm: No such device or
  2064.    address. Diagnosis: Bug in NeXTSTEP 3.0, cure unknown.
  2065.     ________________________________________________________________________
  2066.   
  2067.   3.5. C-KERMIT AND QNX
  2068.   
  2069.    [ [333]Top ] [ [334]Contents ] [ [335]Section Contents ] [ [336]Next ]
  2070.    [ [337]Previous ]
  2071.    
  2072.    See also: The [338]comp.os.qnx newsgroup.
  2073.    
  2074.    Support for QNX 4.x was added in C-Kermit 5A(190). This is a
  2075.    full-function implementation, thoroughly tested on QNX 4.21 and later,
  2076.    and verified to work in both 16-bit and 32-bit versions. The 16-bit
  2077.    version was dropped in C-Kermit 7.0 since it can no longer be built
  2078.    successfully (after stripping most most features, I succeeded in
  2079.    getting it to compile and link without complaint, but the executable
  2080.    just beeps when you run it); for 16-bit QNX 4.2x, use C-Kermit 6.0 or
  2081.    earlier, or else [339]G-Kermit.
  2082.    
  2083.    The 32-bit version (and the 16-bit version prior to C-Kermit 7.0)
  2084.    supports most of C-Kermit's advanced features including TCP/IP, high
  2085.    serial speeds, hardware flow-control, modem-signal awareness, curses
  2086.    support, etc.
  2087.    
  2088.    BUG: In C-Kermit 6.0 on QNX 4.22 and earlier, the fullscreen file
  2089.    transfer display worked fine the first time, but was fractured on
  2090.    subsequent file transfers. Cause and cure unknown. In C-Kermit 7.0 and
  2091.    QNX 4.25, this no longer occurs. It is not known if it would occur in
  2092.    C-Kermit 7.0 or later on earlier QNX versions.
  2093.    
  2094.    Dialout devices are normally /dev/ser1, /dev/ser2, ..., and can be
  2095.    opened explicitly with SET LINE. Reportedly, "/dev/ser" (no unit
  2096.    number) opens the first available /dev/sern device.
  2097.    
  2098.    Like all other Unix C-Kermit implementations, QNX C-Kermit does not
  2099.    provide any kind of terminal emulation. Terminal specific functions
  2100.    are provided by your terminal, terminal window (e.g. QNX Terminal or
  2101.    xterm), or emulator.
  2102.    
  2103.    QNX C-Kermit, as distributed, does not include support for UUCP
  2104.    line-locking; the QNX makefile entries (qnx32 and qnx16) include the
  2105.    -DNOUUCP switch. This is because QNX, as distributed, does not include
  2106.    UUCP, and its own communications software (e.g. qterm) does not use
  2107.    UUCP line locking. If you have a UUCP product installed on your QNX
  2108.    system, remove the -DNOUUCP switch from the makefile entry and
  2109.    rebuild. Then check to see that Kermit's UUCP lockfile conventions are
  2110.    the same as those of your UUCP package; if not, read the [340]UUCP
  2111.    lockfile section of the [341]Installation Instructions and make the
  2112.    necessary changes to the makefile entry (e.g. add -DHDBUUCP).
  2113.    
  2114.    QNX does, however, allow a program to get the device open count. This
  2115.    can not be a reliable form of locking unless all applications do it,
  2116.    so by default, Kermit uses this information only for printing a
  2117.    warning message such as:
  2118.    
  2119.   C-Kermit>set line /dev/ser1
  2120.   WARNING - "/dev/ser1" looks busy...
  2121.  
  2122.    However, if you want to use it as a lock, you can do so with:
  2123.    
  2124.   SET QNX-PORT-LOCK { ON, OFF }
  2125.  
  2126.    This is OFF by default; if you set in ON, C-Kermit will fail to open
  2127.    any dialout device when its open count indicates that another process
  2128.    has it open. SHOW COMM (in QNX only) displays the setting, and if you
  2129.    have a port open, it also shows the open count.
  2130.    
  2131.    As of C-Kermit 8.0, C-Kermit's "open-count" form of line locking works
  2132.    only in QNX4, not in QNX6 (this might change in a future C-Kermit
  2133.    release).
  2134.     ________________________________________________________________________
  2135.   
  2136.   3.6. C-KERMIT AND SCO
  2137.   
  2138.    [ [342]Top ] [ [343]Contents ] [ [344]Section Contents ] [ [345]Next ]
  2139.    [ [346]Previous ]
  2140.    
  2141.    SECTION CONTENTS
  2142.    
  2143. 3.6.1. [347]SCO XENIX
  2144. 3.6.2. [348]SCO UNIX and OSR5
  2145. 3.6.3. [349]Unixware
  2146. 3.6.4. [350]Open UNIX 8
  2147.  
  2148.    REFERENCES
  2149.    
  2150.      * The comp.unix.sco.* newsgroups.
  2151.      * [351]Section 3.10 below for Unixware.
  2152.      * The following FAQs:
  2153.        
  2154.         The comp.sco.misc FAQ:
  2155.                 [352]http://aplawrence.com/SCOFAQ/
  2156.                 
  2157.         Caldera (SCO) comp.unix.sco.programmer FAQ:
  2158.                 [353]http://www.zenez.com/cgi-bin/scoprogfaq/faq.pl
  2159.                 
  2160.         The UnixWare 7/OpenUNIX 8 FAQ:
  2161.                 [354]http://www.zenez.com/cgi-bin/scouw7faq/faq.pl
  2162.                 [355]http://zenez.pcunix.com/cgi-bin/scouw7faq/faq.pl
  2163.                 
  2164.         High Speed Modems for SCO Unix:
  2165.                 [356]http://pcunix.com/Unixart/modems.html
  2166.                 
  2167.         The UnixWare FAQ
  2168.                 [357]http://www.freebird.org/faq/
  2169.                 
  2170.         The UnixWare 1.x and 2.0 Programmer FAQ
  2171.                 [358]http://www.freebird.org/faq/developer.html
  2172.                 
  2173.         Caldera Support Knowledge Base
  2174.                 [359]http://support.caldera.com/caldera
  2175.                 
  2176.    Also see general comments on PC-based Unixes in [360]Section 3.0.
  2177.    
  2178.   3.6.1. SCO XENIX
  2179.   
  2180.    [ [361]Top ] [ [362]Contents ] [ [363]Section Contents ] [ [364]Next ]
  2181.    
  2182.    Old Xenix versions... Did you know: Xenix 3.0 is *older* than Xenix
  2183.    2.0?
  2184.    
  2185.    In Xenix 2.3.4 and probably other Xenix versions, momentarily dropping
  2186.    DTR to hang up a modem does not work. DTR goes down but does not come
  2187.    up again. Workaround: Use SET MODEM HANGUP-METHOD MODEM-COMMAND.
  2188.    Anybody who would like to fix this is welcome to take a look at
  2189.    tthang() in [365]ckutio.c. Also: modem signals can not be read in
  2190.    Xenix, and the maximum serial speed is 38400.
  2191.    
  2192.    There is all sorts of confusion among SCO versions, particularly when
  2193.    third- party communications boards and drivers are installed,
  2194.    regarding lockfile naming conventions, as well as basic functionality.
  2195.    As far as lockfiles go, all bets are off if you are using a
  2196.    third-party multiport board. At least you have the source code.
  2197.    Hopefully you also have a C compiler :-)
  2198.    
  2199.    Xenix 2.3.0 and later claim to support RTSFLOW and CTSFLOW, but this
  2200.    is not modern bidirectional hardware flow control; rather it
  2201.    implements the original RS-232 meanings of these signals for
  2202.    unidirectional half-duplex line access: If both RTSFLOW and CTSFLOW
  2203.    bits are set, Xenix asserts RTS when it wants to send data and waits
  2204.    for CTS assertion before it actually starts sending data (also,
  2205.    reportedly, even this is broken in Xenix 2.3.0 and 2.3.1).
  2206.     ________________________________________________________________________
  2207.   
  2208.   3.6.2. SCO UNIX AND OSR5
  2209.   
  2210.    [ [366]Top ] [ [367]Contents ] [ [368]Section Contents ] [ [369]Next ]
  2211.    [ [370]Previous ]
  2212.    
  2213.    SCO systems tend to use different names (i.e. drivers) for the same
  2214.    device. Typically /dev/tty1a refers to a terminal device that has no
  2215.    modem control; open, read, write, and close operations do not depend
  2216.    on carrier. On the other hand, /dev/tty1A (same name, but with final
  2217.    letter upper case), is the same device with modem control, in which
  2218.    carrier is required (the SET LINE command does not complete until
  2219.    carrier appears, read/write operations fail if there is no carrier,
  2220.    etc).
  2221.    
  2222.    SCO OpenServer 5.0.5 and earlier do not support the reading of modem
  2223.    signals. Thus "show comm" does not list modem signals, and C-Kermit
  2224.    does not automatically pop back to its prompt when the modem hangs up
  2225.    the connection (drops CD). The ioctl() call for this is simply not
  2226.    implmented, at least not in the standard drivers. OSR5.0.6 attempts to
  2227.    deal with modem signals but fails; however OSR5.0.6a appears to
  2228.    function properly.
  2229.    
  2230.    Dialing is likely not to work well in SCO OpenServer 5.0.x because
  2231.    many of the serial-port APIs simply do not operate when using the
  2232.    standard drivers. For example, if DTR is dropped by the recommended
  2233.    method (setting speed to 0 for half a seconds, then restoring the
  2234.    speed), DTR and RTS go down but never come back up. When in doubt SET
  2235.    MODEM HANGUP-METHOD MODEM-COMMAND or SET DIAL HANGUP OFF.
  2236.    
  2237.    On the other hand, certain functions that might not (do not) work
  2238.    right or at all when using SCO drivers (e.g. high serial speeds,
  2239.    hardware flow control, and/or reading of modem signals) might work
  2240.    right when using third-party drivers. (Example: hardware flow control
  2241.    works, reportedly, only on uppercase device like tty1A -- not tty1a --
  2242.    and only when CLOCAL is clear when using the SCO sio driver, but there
  2243.    are no such restrictions in, e.g., [371]Digiboard drivers).
  2244.    
  2245.    One user reports that he can't transfer large files with C-Kermit
  2246.    under SCO OSR5.0.0 and 5.0.4 -- after the first 5K, everything falls
  2247.    apart. Same thing without Kermit -- e.g. with ftp over a PPP
  2248.    connection. Later, he said that replacing SCO's SIO driver with FAS,
  2249.    an alternative communications driver, made the problem go away:
  2250.    
  2251.   [372]ftp://ftp.fu-berlin.de/pub/unix/driver/fas
  2252.  
  2253.    With regard to bidirectional serial ports on OpenServer 5.0.4, the
  2254.    following advice appeared on an SCO-related newsgroup:
  2255.    
  2256.      No amount of configuration information is going to help you on
  2257.      5.0.4 unless it includes the kludge for the primary problem. With
  2258.      almost every modem, the 5.0.4 getty will barf messages and may or
  2259.      may not connect. There are 2 solutions and only one works on 5.0.4.
  2260.      Get the atdialer binary from a 5.0.0 system and substitute it for
  2261.      the native 5.0.4 atdialer. The other solution is to upgrade to
  2262.      5.0.5. And, most of all, on any OpenServer products, do NOT run the
  2263.      badly broken Modem Manager. Configure the modems in the time
  2264.      honored way that dates back to Xenix.
  2265.      
  2266.    Use SCO-provided utilities for switching the directionality of a modem
  2267.    line, such as "enable" and "disable" commands. For example, to dial
  2268.    out on tty1a, which is normally set up for logins:
  2269.    
  2270.   disable tty1a
  2271.   kermit -l /dev/tty1a
  2272.   enable tty1a
  2273.  
  2274.    If a tty device is listed as an ACU in /usr/lib/uucp/Devices and is
  2275.    enabled, getty resets the ownership and permissions to uucp.uucp and
  2276.    640 every time the device is released. If you want to use the device
  2277.    only for dialout, and you want to specify other owners or permissions,
  2278.    you should disable it in /usr/lib/uucp/Devices; this will prevent
  2279.    getty from doing things to it. You should also changes the device's
  2280.    file modes in /etc/conf/node.d/sio by changing fields 5-7 for the
  2281.    desired device(s); this determines how the devices are set if you
  2282.    relink the kernel.
  2283.    
  2284.    One SCO user of C-Kermit 5A(190) reported that only one copy of Kermit
  2285.    can run at a time when a Stallion Technologies multiport boards are
  2286.    installed. Cause, cure, and present status unknown (see [373]Section
  2287.    14 for more info regarding Stallion).
  2288.    
  2289.    Prior to SCO OpenServer 5.0.4, the highest serial port speed supported
  2290.    by SCO was 38400. However, in some SCO versions (e.g. OSR5) it is
  2291.    possible to map rarely-used lower speeds (like 600 and 1800) to higher
  2292.    ones like 57600 and 115200. To find out how, go to
  2293.    [374]http://www.sco.com/ and search for "115200". In OSR5.0.4, serial
  2294.    speeds up to 921600 are supported through the POSIX interface;
  2295.    C-Kermit 6.1.193 or later, when built for OSR5.0.4 using /bin/cc (NOT
  2296.    the UDK, which hides the high-speed definitions from CPP), supports
  2297.    these speeds, but you might be able to run this binary on earlier
  2298.    releases to get the high serial speeds, depending on various factors,
  2299.    described by Bela Lubkin of SCO:
  2300.    
  2301.   Serial speeds under SCO Unix / Open Desktop / OpenServer
  2302.   ========================================================
  2303.   Third party drivers (intelligent serial boards) may provide any speeds
  2304.   they desire; most support up to 115.2Kbps.
  2305.  
  2306.   SCO's "sio" driver, which is used to drive standard serial ports with
  2307.   8250/16450/16550 and similar UARTs, was limited to 38400bps in older
  2308.   releases.  Support for rates through 115.2Kbps was added in the
  2309.   following releases:
  2310.  
  2311.     SCO OpenServer Release 5.0.0 (requires supplement "rs40b")
  2312.     SCO OpenServer Release 5.0.2 (requires supplement "rs40a" or "rs40b")
  2313.     SCO OpenServer Release 5.0.4 or later
  2314.     SCO Internet FastStart Release 1.0.0 or later
  2315.  
  2316.    SCO supplements are at [375]ftp://ftp.sco.com/; the "rs40" series are
  2317.    under directory /Supplements/internet
  2318.    
  2319.    Kermit includes the high serial speeds in all OSR5 builds, but that
  2320.    does not necessarily mean they work. For example, on our in-house
  2321.    5.0.5 system, SET SPEED 57600 or higher seems to succeed (no error
  2322.    occurs) but when we read the speed back the driver says it is 50.
  2323.    Similarly, 76800 becomes 75, and 115200 becomes 110. Testing shows the
  2324.    resulting speed is indeed the low one we read back, not the high one
  2325.    we asked for. Moral: Use speeds higher than 38400 with caution on SCO
  2326.    OSR5.
  2327.    
  2328.    Reportedly, if you have a script that makes a TCP/IP SET HOST (e.g.
  2329.    Telnet) connection to SCO 3.2v4.2 with TCP/IP 1.2.1, and then does the
  2330.    following:
  2331.    
  2332.   script $ exit
  2333.   hangup
  2334.  
  2335.    this causes a pseudoterminal (pty) to be consumed on the SCO system;
  2336.    if you do it enough times, it will run out of ptys. An "exit" command
  2337.    is being sent to the SCO shell, and a HANGUP command is executed
  2338.    locally, so the chances are good that both sides are trying to close
  2339.    the connection at once, perhaps inducing a race condition in which the
  2340.    remote pty is not released. It was speculated that this would be fixed
  2341.    by applying SLS net382e, but it did not. Meanwhile, the workaround is
  2342.    to insert a "pause" between the SCRIPT and HANGUP commands. (The
  2343.    situation with later SCO releases is not known.)
  2344.    
  2345.    SCO UNIX and OpenServer allow their console and/or terminal drivers to
  2346.    be configured to translate character sets for you. DON'T DO THIS WHEN
  2347.    USING KERMIT! First of all, you don't need it -- Kermit itself already
  2348.    does this for you. And second, it will (a) probably ruin the
  2349.    formatting of your screens (depending on which emulation you are
  2350.    using); and (b) interfere with all sorts of other things -- legibility
  2351.    of non-ASCII text on the terminal screen, file transfer, etc. Use:
  2352.    
  2353.   mapchan -n
  2354.  
  2355.    to turn off this feature.
  2356.    
  2357.    Note that there is a multitude of SCO entries in the makefile, many of
  2358.    them exhibiting an unusually large number of compiler options. Some
  2359.    people actually understand all of this. Reportedly, things are
  2360.    settling down with SCO OpenServer 5.x and Unixware 7 (and Open UNIX 8
  2361.    and who knows what the next one will be -- Linux probably) -- the SCO
  2362.    UDK compiler is said to generate binaries that will run on either
  2363.    platform, by default, automatically. When using gcc or egcs, on the
  2364.    other hand, differences persist, plus issues regarding the type of
  2365.    binary that is generated (COFF, ELF, etc), and where and how it can
  2366.    run. All of this could stand further clarification by SCO experts.
  2367.     ________________________________________________________________________
  2368.   
  2369.   3.6.3. Unixware
  2370.   
  2371.    [ [376]Top ] [ [377]Contents ] [ [378]Section Contents ] [ [379]Next ]
  2372.    [ [380]Previous ]
  2373.    
  2374.    Unixware changed hands several times before landing at SCO, and so has
  2375.    its [381]own section in this document. (Briefly: AT&T UNIX Systems
  2376.    Laboratories sold the rights to the UNIX name and to System V R4 (or
  2377.    R5?) to Novell; later Novell spun its UNIX division off into a new
  2378.    company called Univel, which eventually was bought by SCO, which later
  2379.    was bought by Caldera, which later sort of semi-spun-off SCO...)
  2380.     ________________________________________________________________________
  2381.   
  2382.   3.6.4. Open UNIX 8
  2383.   
  2384.    [ [382]Top ] [ [383]Contents ] [ [384]Section Contents ] [
  2385.    [385]Previous ]
  2386.    
  2387.    SCO was bought by Caldera in 2000 or 2001 and evolved Unixware 7.1
  2388.    into Caldera Open UNIX 8.00. It's just like Unixware 7.1 as far as
  2389.    Kermit is concerned (the Unixware 7.1 makefile target works for Open
  2390.    UNIX 8.00, and in fact a Unixware 7.1 Kermit binary built on Unixware
  2391.    7.1 runs under OU8; a separate OU8 makefile target exists simply to
  2392.    generate an appropriate program startup herald). Open Unix is now
  2393.    defunct; subsequent releases are called UnixWare again (e.g. UnixWare
  2394.    7.1.3).
  2395.     ________________________________________________________________________
  2396.   
  2397.   3.7. C-KERMIT AND SOLARIS
  2398.   
  2399.    [ [386]Top ] [ [387]Contents ] [ [388]Section Contents ] [ [389]Next ]
  2400.    [ [390]Previous ]
  2401.    
  2402.    SECTION CONTENTS
  2403.    
  2404. 3.7.1. [391]Serial Port Configuration
  2405. 3.7.2. [392]Serial Port Problems
  2406. 3.7.3. [393]SunLink X.25
  2407. 3.7.4. [394]Sun Workstation Keyboard Mapping
  2408. 3.7.5. [395]Solaris 2.4 and Earlier
  2409.  
  2410.    REFERENCES
  2411.    
  2412.      * The [396]comp.unix.solaris newsgroup
  2413.      * [397]http://access1.sun.com/
  2414.      * [398]http://docs.sun.com/
  2415.      * [399]http://www.sunhelp.com/
  2416.      * [400]http://www.wins.uva.nl/pub/solaris/solaris2/
  2417.      * [401]http://www.wins.uva.nl/cgi-bin/sfaq.cgi
  2418.      * [402]ftp://ftp.wins.uva.nl/pub/solaris
  2419.      * [403]http://www.science.uva.nl/pub/solaris/solaris2.html
  2420.        
  2421.    And about serial communications in particular, see "Celeste's Tutorial
  2422.    on Solaris 2.x Modems and Terminals":
  2423.    
  2424.   [404]http://www.stokely.com/
  2425.  
  2426.    In particular:
  2427.    
  2428.   [405]http://www.stokely.com/unix.sysadm.resources/faqs.sun.html
  2429.  
  2430.    For PC-based Solaris, also see general comments on PC-based Unixes in
  2431.    [406]Section 3.0. Don't expect Solaris or any other kind of Unix to
  2432.    work right on a PC until you resolve all interrupt conflicts. Don't
  2433.    expect to be able to use COM3 or COM4 (or even COM2) until you have
  2434.    configured their addresses and interrupts.
  2435.     ________________________________________________________________________
  2436.   
  2437.   3.7.1. Serial Port Configuration
  2438.   
  2439.    [ [407]Top ] [ [408]Contents ] [ [409]Section Contents ] [
  2440.    [410]Section Contents ] [ [411]Next ]
  2441.    
  2442.    Your serial port can't be used -- or at least won't work right --
  2443.    until it is enabled in Solaris. For example, you get a message like
  2444.    "SERIAL: Operation would block" when attempting to dial. This probably
  2445.    indicates that the serial port has not been enabled for use with
  2446.    modems. You'll need to follow the instructions in your system setup or
  2447.    management manual, such as (e.g.) the Desktop SPARC Sun System &
  2448.    Network Manager's Guide, which should contain a section "Setting up
  2449.    Modem Software"; read it and follow the instructions. These might (or
  2450.    might not) include running a program called "eeprom", editing some
  2451.    system configuration file (such as, for example:
  2452.    
  2453.   /platform/i86pc/kernel/drv/asy.conf
  2454.  
  2455.    and then doing a configuration reboot, or running some other programs
  2456.    like drvconfig and devlinks. "man eeprom" for details.
  2457.    
  2458.    Also, on certain Sun models like IPC, the serial port hardware might
  2459.    need to have a jumper changed to make it an RS-232 port rather than
  2460.    RS-423.
  2461.    
  2462.    eeprom applies only to real serial ports, not to "Spiff" devices
  2463.    (serial port expander), in which case setup with Solaris' admintool is
  2464.    required.
  2465.    
  2466.    Another command you might need to use is pmadm, e.g.:
  2467.    
  2468.   pmadm -d -p zsmon -s tty3
  2469.   pmadm -e -p zsmon -s tty3
  2470.  
  2471.    You can use the following command to check if a process has the device
  2472.    open:
  2473.    
  2474.   fuser -f /dev/term/3
  2475.  
  2476.    In some cases, however (according to Sun support, May 2001) "It is
  2477.    still possible that a zombie process has hold of the port EVEN IF
  2478.    there is no lock file and the fuser command comes up empty. In that
  2479.    case, the only way to resolve the problem is by rebooting."
  2480.    
  2481.    If you can't establish communication through a serial port to a device
  2482.    that is not asserting CD (Carrier Detect), try setting the environment
  2483.    variable "ttya-ignore-cd" to "true" (replace "ttya" with the port
  2484.    name).
  2485.     ________________________________________________________________________
  2486.   
  2487.   3.7.2. Serial Port Problems
  2488.   
  2489.    [ [412]Top ] [ [413]Contents ] [ [414]Section Contents ] [ [415]Next ]
  2490.    [ [416]Previous ]
  2491.    
  2492.    Current advice from Sun is to always the /dev/cua/x devices for
  2493.    dialing out, rather than the /dev/term/x. Nevertheless, if you have
  2494.    trouble dialing out with one, try the other.
  2495.    
  2496.    Reportedly, if you start C-Kermit and "set line" to a port that has a
  2497.    modem connected to it that is not turned on, and then "set flow
  2498.    rts/cts", there might be some (unspecified) difficulties closing the
  2499.    device because the CTS signal is not coming in from the modem.
  2500.     ________________________________________________________________________
  2501.   
  2502.   3.7.3. SunLink X.25
  2503.   
  2504.    [ [417]Top ] [ [418]Contents ] [ [419]Section Contents ] [ [420]Next ]
  2505.    [ [421]Previous ]
  2506.    
  2507.    The built-in SunLink X.25 support for Solaris 2.3/2.4./25 and SunLink
  2508.    8.01 or 9.00 works OK provided the X.25 system has been installed and
  2509.    initialized properly. Packet sizes might need to be reduced to 256,
  2510.    maybe even less, depending on the configuration of the X.25
  2511.    installation. On one connection where C-Kermit 6.0 was tested, very
  2512.    large packets and window sizes could be used in one direction, but
  2513.    only very small ones would work in the other.
  2514.    
  2515.    In any case, according to Sun, C-Kermit's X.25 support is superfluous
  2516.    with SunLink 8.x / Solaris 2.3. Quoting an anonymous Sun engineer:
  2517.    
  2518.      ... there is now no need to include any X.25 code within kermit. As
  2519.      of X.25 8.0.1 we support the use of kermit, uucp and similar
  2520.      protocols over devices of type /dev/xty. This facility was there in
  2521.      8.0, and should also work on the 8.0 release if patch 101524 is
  2522.      applied, but I'm not 100% sure it will work in all cases, which is
  2523.      why we only claim support from 8.0.1 onwards.
  2524.      
  2525.      When configuring X.25, on the "Advanced Configuration->Parameters"
  2526.      screen of the x25tool you can select a number of XTY devices. If
  2527.      you set this to be > 1, press Apply, and reboot, you will get a
  2528.      number of /dev/xty entries created.
  2529.      
  2530.      Ignore /dev/xty0, it is a special case. All the others can be used
  2531.      exactly as if they were a serial line (e.g. /dev/tty) connected to
  2532.      a modem, except that instead of using Hayes-style commands, you use
  2533.      PAD commands.
  2534.      
  2535.      From kermit you can do a 'set line' command to, say, /dev/xty1,
  2536.      then set your dialing command to be "CALL 12345678", etc. All the
  2537.      usual PAD commands will work (SET, PAR, etc).
  2538.      
  2539.      I know of one customer in Australia who is successfully using this,
  2540.      with kermit scripts, to manage some X.25-connected switches. He
  2541.      used standard kermit, compiled for Solaris 2, with X.25 8.0 xty
  2542.      devices.
  2543.     ________________________________________________________________________
  2544.   
  2545.   3.7.4. Sun Workstation Keyboard Mapping
  2546.   
  2547.    [ [422]Top ] [ [423]Contents ] [ [424]Section Contents ] [ [425]Next ]
  2548.    [ [426]Previous ]
  2549.    
  2550.    Hints for using a Sun workstation keyboard for VT emulation when
  2551.    accessing VMS, from the [427]comp.os.vms newsgroup:
  2552.    
  2553.      From: Jerry Leichter <leichter@smarts.com>
  2554.      Newsgroups: comp.os.vms
  2555.      Subject: Re: VT100 keyboard mapping to Sun X server
  2556.      Date: Mon, 19 Aug 1996 12:44:21 -0400
  2557.      
  2558.      > I am stuck right now using a Sun keyboard (type 5) on systems
  2559.      running SunOS
  2560.      > and Solaris. I would like to use EVE on an OpenVMS box with
  2561.      display back to
  2562.      > the Sun. Does anyone know of a keyboard mapping (or some other
  2563.      procedure)
  2564.      > which will allow the Sun keyboard to approximate a VT100/VT220?
  2565.      
  2566.      You can't get it exactly - because the keypad has one fewer key -
  2567.      but you can come pretty close. Here's a set of keydefs I use:
  2568.      
  2569.   keycode 101=KP_0
  2570.   keycode 119=KP_1
  2571.   keycode 120=KP_2
  2572.   keycode 121=KP_3
  2573.   keycode 98=KP_4
  2574.   keycode 99=KP_5
  2575.   keycode 100=KP_6
  2576.   keycode 75=KP_7
  2577.   keycode 76=KP_8
  2578.   keycode 77=KP_9
  2579.   keycode 52=KP_F1
  2580.   keycode 53=KP_F2
  2581.   keycode 54=KP_F3
  2582.   keycode 57=KP_Decimal
  2583.   keycode 28=Left
  2584.   keycode 29=Right
  2585.   keycode 30=KP_Separator
  2586.   keycode 105=KP_F4
  2587.   keycode 78=KP_Subtract
  2588.   keycode 8=Left
  2589.   keycode 10=Right
  2590.   keycode 32=Up
  2591.   keycode 33=Down
  2592.   keycode 97=KP_Enter
  2593.  
  2594.      Put this in a file - I use "keydefs" in my home directory and feed
  2595.      it into xmodmap:
  2596.      
  2597.   xmodmap - <$HOME/keydefs
  2598.  
  2599.      This takes care of the arrow keys and the "calculator" key cluster.
  2600.      The "+" key will play the role of the DEC "," key. The Sun "-" key
  2601.      will be like the DEC "-" key, though it's in a physically different
  2602.      position - where the DEC PF4 key is. The PF4 key is ... damn, I'm
  2603.      not sure where "key 105" is. I *think* it may be on the leftmost
  2604.      key of the group of four just above the "calculator" key cluster.
  2605.      
  2606.      I also execute the following (this is all in my xinitrc file):
  2607.      
  2608.   xmodmap -e 'keysym KP_Decimal = KP_Decimal'
  2609.   xmodmap -e 'keysym BackSpace = Delete BackSpace' \
  2610.           -e 'keysym Delete = BackSpace Delete'
  2611.   xmodmap -e 'keysym KP_Decimal = Delete Delete KP_Decimal'
  2612.   xmodmap -e 'add mod1 = Meta_R'
  2613.   xmodmap -e 'add mod1 = Meta_L'
  2614.  
  2615.      Beware of one thing about xmodmap: Keymap changes are applied to
  2616.      the *whole workstation*, not just to individual windows. There is,
  2617.      in fact, no way I know of to apply them to individual windows.
  2618.      These definitions *may* confuse some Unix programs (and/or some
  2619.      Unix users).
  2620.      
  2621.      If you're using Motif, you may also need to apply bindings at the
  2622.      Motif level. If just using xmodmap doesn't work, I can try and dig
  2623.      that stuff up for you.
  2624.     ________________________________________________________________________
  2625.   
  2626.   3.7.5. Solaris PPP Connections
  2627.   
  2628.    [ [428]Top ] [ [429]Contents ] [ [430]Section Contents ] [ [431]Next ]
  2629.    [ [432]Previous ]
  2630.    
  2631.    The following is a report from a user of C-Kermit 8.0 on Solaris 8 and
  2632.    9, who had complained that while Kermit file transfers worked
  2633.    perfectly on direct (non-PPP) dialout connections, they failed
  2634.    miserably on PPP connections. We suggested that the PPP dialer
  2635.    probably was not setting the port and/or modem up in the same way that
  2636.    Kermit did:
  2637.    
  2638.      I want to get back on this and tell you what the resolution was.
  2639.      You pointed me in the direction of flow control, which turned out
  2640.      to be the key.
  2641.      
  2642.      Some discussion on the comp.unix.solaris newsgroup led to some
  2643.      comments from Greg Andrews about the need to use the uucp driver to
  2644.      talk to the modem (/dev/cua/a). I had to remind Greg that no matter
  2645.      what the manpages for the zs and se drivers say, the ppp that Sun
  2646.      released with Solaris 8 7/01, and has in Solaris 9, is a setuid
  2647.      root program, and simply trying to make a pppd call from user space
  2648.      specifying /dev/cua/a would fail because of permissions. Greg
  2649.      finally put the question to the ppp people, who came back with
  2650.      information that is not laid out anywhere in the docs available for
  2651.      Solaris users. Namely, put /dev/cua/a in one of the priviledged
  2652.      options files in the /etc/ppp directory. That, plus resetting the
  2653.      OBP ttya-ignore-cd flag (this is Sun hardware) to false, seems to
  2654.      have solved the problems.
  2655.      
  2656.      While I note that I had installed Kermit suid to uucp to use
  2657.      /dev/cua/a on this particular box, it seems to run fine through
  2658.      /dev/term/a. Not so with pppd.
  2659.      
  2660.      With this change in place, I seem to be able to upload and download
  2661.      through telnet run on Kermit with the maximum length packets. I
  2662.      note that the window allocation display does show STREAMING, using
  2663.      telnet. Running ssh on Kermit, I see the standard 1 of 30 windows
  2664.      display, and note that there appears to be a buffer length limit
  2665.      between 1000 and 2000 bytes. Run with 1000, and it's tick-tock,
  2666.      solid as a rock. With 2000 I see timeout errors and RTS/CTS action
  2667.      on the modem.
  2668.      
  2669.    Kermit's packet-length and other controls let you make adjustments
  2670.    like this to get around whatever obstacles might be thrown up -- in
  2671.    this case (running Kermit over ssh), the underling Solaris PTY driver.
  2672.     ________________________________________________________________________
  2673.   
  2674.   3.7.6. Solaris 2.4 and Earlier
  2675.   
  2676.    [ [433]Top ] [ [434]Contents ] [ [435]Section Contents ] [
  2677.    [436]Previous ]
  2678.    
  2679.    C-Kermit can't be compiled successfully under Solaris 2.3 using
  2680.    SUNWspro cc 2.0.1 unless at least some of the following patches are
  2681.    applied to cc (it is not known which one(s), if any, fix the problem):
  2682.    
  2683.      * 100935-01 SparcCompiler C 2.0.1: bad code generated when addresses
  2684.        of two double arguments are involved
  2685.      * 100961-05 SPARCcompilers C 2.0.1: conditional expression with
  2686.        function returning structure gives wrong value
  2687.      * 100974-01 SparcWorks 2.0.1: dbx jumbo patch
  2688.      * 101424-01 SPARCworks 2.0.1 maketool SEGV's instantly on Solaris
  2689.        2.3
  2690.        
  2691.    With unpatched cc 2.0.1, the symptom is that certain modules generate
  2692.    truncated object files, resulting in many unresolved references at
  2693.    link time.
  2694.    
  2695.      The rest of the problems in this section have to do with
  2696.      bidirectional terminal ports and the Solaris Port Monitor. A bug in
  2697.      C-Kermit 5A ticked a bug in Solaris. The C-Kermit bug was fixed in
  2698.      version 6.0, and the Solaris bug was fixed in 2.4 (I think, or
  2699.      maybe 2.5). 
  2700.      
  2701.    Reportedly, "C-Kermit ... causes a SPARCstation running Solaris 2.3 to
  2702.    panic after the modem connects. I have tried compiling C-Kermit with
  2703.    Sun's unbundled C compiler, with GCC Versions 2.4.5 and 2.5.3, with
  2704.    make targets 'sunos51', 'sunos51tcp', 'sunos51gcc', and even 'sys5r4',
  2705.    and each time it compiles and starts up cleanly, but without fail, as
  2706.    soon as I dial the number and get a 'CONNECT' message from the modem,
  2707.    I get:
  2708.    
  2709.   BAD TRAP
  2710.   kermit: Data fault
  2711.   kernel read fault at addr=0x45c, pme=0x0
  2712.   Sync Error Reg 80 <INVALID>
  2713.   ...
  2714.   panic: Data Fault.
  2715.   ...
  2716.   Rebooting...
  2717.  
  2718.    The same modem works fine for UUCP/tip calling." Also (reportedly),
  2719.    this only happens if the dialout port is configured as in/out via
  2720.    admintool. If it is configured as out-only, no problem. This is the
  2721.    same dialing code that works on hundreds of other System-V based Unix
  2722.    OS's. Since it should be impossible for a user program to crash the
  2723.    operating system, this problem must be chalked up to a Solaris bug.
  2724.    Even if you SET CARRIER OFF, CONNECT, and dial manually by typing
  2725.    ATDTnnnnnnn, the system panics as soon as the modem issues its CONNECT
  2726.    message. (Clearly, when you are dialing manually, C-Kermit does not
  2727.    know a thing about the CONNECT message, and so the panic is almost
  2728.    certainly caused by the transition of the Carrier Detect (CD) line
  2729.    from off to on.) This problem was reported by many users, all of whom
  2730.    say that C-Kermit worked fine on Solaris 2.1 and 2.2. If the
  2731.    speculation about CD is true, then a possible workaround might be to
  2732.    configure the modem to leave CD on (or off) all the time. Perhaps by
  2733.    the time you read this, a patch will have been issued for Solaris 2.3.
  2734.    
  2735.    The following is from Karl S. Marsh, Systems & Networks Administrator,
  2736.    AMBIX Systems Corp, Rochester, NY:
  2737.    
  2738.      Environment: Solaris 2.3 Patch 101318-45 C-Kermit 5A(189) (and
  2739.      presumably this applies to 188 and 190 also). eeprom setting:
  2740.      
  2741.   ttya-rts-dtr-off=false
  2742.   ttya-ignore-cd=false
  2743.   ttya-mode=19200,8,n,8,-
  2744.  
  2745.      To use C-Kermit on a bidirectional port in this environment, do not
  2746.      use admintool to configure the port. Use admintool to delete any
  2747.      services running on the port and then quit admintool and issue the
  2748.      following command:
  2749.      
  2750.   pmadm -a -p zsmon -s ttyb -i root -fu -v 1 -m "`ttyadm -b -d /dev/term/b \
  2751.   -l conttyH -m ldterm,ttcompat -s /usr/bin/login -S n`"
  2752.  
  2753.      [NOTE: This was copied from a blurry fax, so please check it
  2754.      carefully] where:
  2755.      
  2756.   -a = Add service
  2757.   -p = pmtag (zsmon)
  2758.   -s = service tag (ttyb)
  2759.   -i = id to be associated with service tag (root)
  2760.   -fu = create utmp entry
  2761.   -v = version of ttyadm
  2762.   -m = port monitor-specific portion of the port monitor administrative file
  2763.        entry for the service
  2764.   -b = set up port for bidirectional use
  2765.   -d = full path name of device
  2766.   -l = which ttylabel in the /etc/ttydefs file to use
  2767.   -m = a list of pushable STREAMS modules
  2768.   -s = pathname of service to be invoked when connection request received
  2769.   -S = software carrier detect on or off (n = off)
  2770.  
  2771.      "This is exactly how I was able to get Kermit to work on a
  2772.      bi-directional port without crashing the system."
  2773.      
  2774.    On the Solaris problem, also see SunSolve Bug ID 1150457 ("Using
  2775.    C-Kermit, get Bad Trap on receiving prompt from remote system").
  2776.    Another user reported "So, I have communicated with the Sun tech
  2777.    support person that submitted this bug report [1150457]. Apparently,
  2778.    this bug was fixed under one of the jumbo kernel patches. It would
  2779.    seem that the fix did not live on into 101318-45, as this is EXACTLY
  2780.    the error that I see when I attempt to use kermit on my system."
  2781.    
  2782.    Later (Aug 94)... C-Kermit dialout successfully tested on a Sun4m with
  2783.    a heavily patched Solaris 2.3. The patches most likely to have been
  2784.    relevant:
  2785.    
  2786.      * 101318-50: SunOS 5.3: Jumbo patch for kernel (includes libc,
  2787.        lockd)
  2788.      * 101720-01: SunOS 5.3: ttymon - prompt not always visible on a
  2789.        modem connection
  2790.      * 101815-01: SunOS 5.3: Data fault in put() NULL queue passed from
  2791.        ttycommon_qfull()
  2792.      * 101328-01: SunOS 5.3: Automation script to properly setup tty
  2793.        ports prior to PCTS execution
  2794.        
  2795.    Still later (Nov 94): another user (Bo Kullmar in Sweden) reports that
  2796.    after using C-Kermit to dial out on a bidirectional port, the port
  2797.    might not answer subsequent incoming calls, and says "the problem is
  2798.    easy enough to fix with the Serial Port Manager; I just delete the
  2799.    service and install it again using the graphical interface, which
  2800.    underneath uses commands like sacadm and pmadm." Later Bo reports, "I
  2801.    have found that if I run Kermit with the following script then it
  2802.    works. This script is for /dev/cua/a, "-s a" is the last a in
  2803.    /dev/cua/a:
  2804.    
  2805.   #! /bin/sh
  2806.   kermit
  2807.   sleep 2
  2808.   surun pmadm -e -p zsmon -s a
  2809.     ________________________________________________________________________
  2810.   
  2811.   3.8. C-KERMIT AND SUNOS
  2812.   
  2813.    [ [437]Top ] [ [438]Contents ] [ [439]Section Contents ] [ [440]Next ]
  2814.    [ [441]Previous ]
  2815.    
  2816.    For additional information, see "Celeste's Tutorial on SunOS 4.1.3+
  2817.    Modems and Terminals":
  2818.    
  2819.   [442]http://www.stokely.com/
  2820.  
  2821.    For FAQs, etc, from Sun, see:
  2822.      * [443]http://access1.sun.com/
  2823.        
  2824.    For history of Sun models and SunOS versions, see (should be all the
  2825.    same):
  2826.      * [444]http://www.ludd.luth.se/~bear/project/sun/sun.hardware.txt
  2827.      * [445]ftp://ftp.netcom.com/pub/ru/rubicon/sun.hdwr.ref
  2828.      * [446]ftp://ftp.intnet.net/pub/SUN/Sun-Hardware-Ref
  2829.        
  2830.    Sun SPARCstation users should read the section "Setting up Modem
  2831.    Software" in the Desktop SPARC Sun System & Network Manager's Guide.
  2832.    If you don't set up your serial ports correctly, Kermit (and other
  2833.    communications software) won't work right.
  2834.    
  2835.    Also, on certain Sun models like IPC, the serial port hardware might
  2836.    need to have a jumper changed to make it an RS-232 port rather than
  2837.    RS-423.
  2838.    
  2839.    Reportedly, C-Kermit does not work correctly on a Sun SPARCstation in
  2840.    an Open Windows window with scrolling enabled. Disable scrolling, or
  2841.    else invoke Kermit in a terminal emulation window (xterm, crttool,
  2842.    vttool) under SunView (this might be fixed in later SunOS releases).
  2843.    
  2844.    On the Sun with Open Windows, an additional symptom has been reported:
  2845.    outbound SunLink X.25 connections "magically" translate CR typed at
  2846.    the keyboard into LF before transmission to the remote host. This
  2847.    doesn't happen under SunView.
  2848.    
  2849.    SET CARRIER ON, when used on the SunOS 4.1 version of C-Kermit
  2850.    (compiled in the BSD universe), causes the program to hang
  2851.    uninterruptibly when SET LINE is issued for a device that is not
  2852.    asserting carrier. When Kermit is built in the Sys V universe on the
  2853.    same computer, there is no problem (it can be interrupted with
  2854.    Ctrl-C). This is apparently a limitation of the BSD-style tty driver.
  2855.    
  2856.    SunOS 4.1 C-Kermit has been observed to dump core when running a
  2857.    complicated script program under cron. The dump invariably occurs in
  2858.    ttoc(), while trying to output a character to a TCP/IP TELNET
  2859.    connection. ttoc() contains a write() call, and when the system or the
  2860.    network is very busy, the write() call can get stuck for long periods
  2861.    of time. To break out of deadlocks caused by stuck write() calls,
  2862.    there is an alarm around the write(). It is possible that the core
  2863.    dump occurs when this alarm signal is caught. (This one has not been
  2864.    observed recently -- possibly fixed in edit 190.)
  2865.    
  2866.    On Sun computers with SunOS 4.0 or 4.1, SET FLOW RTS/CTS works only if
  2867.    the carrier signal is present from the communication device at the
  2868.    time when C-Kermit enters packet mode or CONNECT mode. If carrier is
  2869.    not sensed (e.g. when dialing), C-Kermit does not attempt to turn on
  2870.    RTS/CTS flow control. This is because the SunOS serial device driver
  2871.    does not allow characters to be output if RTS/CTS is set (CRTSCTS) but
  2872.    carrier (and DSR) are not present. Workaround (maybe): SET CARRIER OFF
  2873.    before giving the SET LINE command, establish the connection, then SET
  2874.    FLOW RTS/CTS
  2875.    
  2876.    It has also been reported that RTS/CTS flow control under SunOS 4.1
  2877.    through 4.1.3 works only on INPUT, not on output, and that there is a
  2878.    patch from Sun to correct this problem: Patch-ID# T100513-04, 20 July
  2879.    1993 (this patch might apply only to SunOS 4.1.3). It might also be
  2880.    necessary to configure the eeprom parameters of the serial port; e.g.
  2881.    do the following as root at the shell prompt:
  2882.    
  2883.   eeprom  ttya-ignore-cd=false
  2884.   eeprom  ttya-rts-dtr-off=true
  2885.  
  2886.    There have been reports of file transfer failures on Sun-3 systems
  2887.    when using long packets and/or large window sizes. One user says that
  2888.    when this happens, the console issues many copies of this message:
  2889.    
  2890.   chaos vmunix: zs1: ring buffer overflow
  2891.  
  2892.    This means that SunOS is not scheduling Kermit frequently enough to
  2893.    service interrupts from the zs serial device (Zilog 8350 SCC serial
  2894.    communication port) before its input silo overflows. Workaround: use
  2895.    smaller packets and/or a smaller window size, or use "nice" to
  2896.    increase Kermit's priority. Use hardware flow control if available, or
  2897.    remove other active processes before running Kermit.
  2898.    
  2899.    SunLink X.25 support in C-Kermit 5A(190) was built and tested
  2900.    successfully under SunOS 4.1.3b and SunLink X.25 7.00.
  2901.     ________________________________________________________________________
  2902.   
  2903.   3.9. C-KERMIT AND ULTRIX
  2904.   
  2905.    [ [447]Top ] [ [448]Contents ] [ [449]Section Contents ] [ [450]Next ]
  2906.    [ [451]Previous ]
  2907.    
  2908.    See also: The [452]comp.unix.ultrix and [453]comp.sys.dec newsgroups.
  2909.    
  2910.    There is no hardware flow control in Ultrix. That's not a Kermit
  2911.    deficiency, but an Ultrix one.
  2912.    
  2913.    When sending files to C-Kermit on a Telnet connection to a remote
  2914.    Ultrix system, you must SET PREFIXING ALL (or at least prefix more
  2915.    control characters than are selected by SET PREFIXING CAUTIOUS).
  2916.    
  2917.    Reportedly, DEC ULTRIX 4.3 is immune to C-Kermit's disabling of
  2918.    SIGQUIT, which is the signal that is generated when the user types
  2919.    Ctrl-\, which kills the current process (i.e. C-Kermit) and dumps
  2920.    core. Diagnosis and cure unknown. Workaround: before starting C-Kermit
  2921.    -- or for that matter, when you first log in because this applies to
  2922.    all processes, not just Kermit -- give the following Unix command:
  2923.    
  2924.   stty quit undef
  2925.  
  2926.    Certain operations driven by RS-232 modem signal do not work on
  2927.    DECstations or other DEC platforms whose serial interfaces use MMP
  2928.    connectors (DEC version of RJ45 telephone jack with offset tab). These
  2929.    connectors convey only the DSR and DTR modem signals, but not carrier
  2930.    (CD), RTS, CTS, or RI. Use SET CARRIER OFF to enable communication, or
  2931.    "hotwire" DSR to CD.
  2932.    
  2933.    The maximum serial speed on the DECstation 5000 is normally 19200, but
  2934.    various tricks are available (outside Kermit) to enable higher rates.
  2935.    For example, on the 5000/200, 19200 can be remapped (somehow,
  2936.    something to do with "a bit in the SIR", whatever that is) to 38400,
  2937.    but in software you must still refer to this speed as 19200; you can't
  2938.    have 19200 and 38400 available at the same time.
  2939.    
  2940.    19200, reportedly, is also the highest speed supported by Ultrix, but
  2941.    NetBSD reportedly supports speeds up to 57600 on the DECstation,
  2942.    although whether and how well this works is another question.
  2943.    
  2944.    In any case, given the lack of hardware flow control in Ultrix, high
  2945.    serial speeds are problematic at best.
  2946.     ________________________________________________________________________
  2947.   
  2948.   3.10. C-KERMIT AND UNIXWARE
  2949.   
  2950.    [ [454]Top ] [ [455]Contents ] [ [456]Section Contents ] [ [457]Next ]
  2951.    [ [458]Previous ]
  2952.    
  2953.    See also:
  2954.      * The Freebird Project (Unixware software repository)
  2955.        [459]http://www.freebird.org/
  2956.      * The UnixWare FAQ: [460]http://www.freebird.org/faq/
  2957.      * The following newsgroups:
  2958.           + [461]comp.unix.unixware.misc
  2959.           + [462]comp.unix.sco.misc.
  2960.        
  2961.    Also see general comments on PC-based Unixes in [463]Section 3.0. By
  2962.    the way, this section is separate from the SCO (Caldera) section
  2963.    because at the time this section was started, Unixware was owned by a
  2964.    company called Univel. Later it was sold to Novell, and then to SCO.
  2965.    Still later, SCO was sold to Caldera.
  2966.    
  2967.    In Unixware 2.0 and later, the preferred serial device names (drivers)
  2968.    are /dev/term/00 (etc), rather than /dev/tty00 (etc). Note the
  2969.    following correspondence of device names and driver characteristics:
  2970.    
  2971.   New name       Old name     Description              
  2972.   /dev/term/00   /dev/tty00   ???
  2973.   /dev/term/00h  /dev/tty00h  Modem signals and hardware flow control
  2974.   /dev/term/00m  /dev/tty00m  Modem signals(?)
  2975.   /dev/term/00s  /dev/tty00s  Modem signals and software flow control
  2976.   /dev/term/00t  /dev/tty00t  ???
  2977.  
  2978.    Lockfile names use device.major.minor numbers, e.g.:
  2979.    
  2980.   /var/spool/locks/LK.7679.003.005
  2981.  
  2982.    The minor number varies according to the device name suffix (none, h,
  2983.    m, s, or t). Only the device and major number are compared, and thus
  2984.    all of the different names for the same physical device (e.g. all of
  2985.    those shown in the table above) interlock effectively.
  2986.    
  2987.    Prior to UnixWare 7, serial speeds higher than 38400 are not
  2988.    supported. In UnixWare 7, we also support 57600 and 115200, plus some
  2989.    unexpected ones like 14400, 28800, and 76800, by virtue of a strange
  2990.    new interface, evidently peculiar to UnixWare 7, discovered while
  2991.    digging through the header files: tcsetspeed(). Access to this
  2992.    interface is allowed only in POSIX builds, and thus the UnixWare 7
  2993.    version of C-Kermit is POSIX-based, unlike C-Kermit for Unixware 1.x
  2994.    and 2.x (since the earlier UnixWare versions did not support high
  2995.    serial speeds, period).
  2996.    
  2997.    HOWEVER, turning on POSIX features engages all of the "#if
  2998.    (!_POSIX_SOURCE)" clauses in the UnixWare header files, which in turn
  2999.    prevent us from having modem signals, access to the hardware flow
  3000.    control APIs, select(), etc -- in short, all the other things we need
  3001.    in communications software, especially when high speeds are used. Oh
  3002.    the irony. And so C-Kermit must be shamelessly butchered -- as it has
  3003.    been so many times before -- to allow us to have the needed features
  3004.    from the POSIX and non-POSIX worlds. See the UNIXWAREPOSIX sections of
  3005.    [464]ckutio.c.
  3006.    
  3007.    After the butchery, we wind up with Unixware 2.x having full
  3008.    modem-signal capability, but politically-correct Unixware 7.x lacking
  3009.    the ability to automatically detect a broken connection when carrier
  3010.    drops.
  3011.    
  3012.    Meanwhile the Unixware tcsetspeed() function allows any number at all
  3013.    (any long, 0 or positive) as an argument and succeeds if the number is
  3014.    a legal bit rate for the serial device, and fails otherwise. There is
  3015.    no list anywhere of legal speeds. Thus the SET SPEED keyword table
  3016.    ("set speed ?" to see it) is hardwired based on trial and error with
  3017.    all known serial speeds, the maximum being 115200. However, to allow
  3018.    for the possibility that other speeds might be allowed in the future
  3019.    (or with different port drivers), the SET SPEED command for UnixWare 7
  3020.    only allows you to specify any number at all; a warning is printed if
  3021.    the number is not in the list, but the number is accepted anyway; the
  3022.    command succeeds if tcsetspeed() accepts the number, and fails
  3023.    otherwise.
  3024.    
  3025.    In C-Kermit 8.0 testing, it was noticed that the POSIX method for
  3026.    hanging up the phone by dropping DTR (set speed 0, pause, restore
  3027.    speed) did not actually drop DTR. The APIs do not return any error
  3028.    indication, but nothing happens. I changed tthang() to skip the
  3029.    special case I had made for Unixware and instead follow the normal
  3030.    path: if TIOCSDTR is defined use that, otherwise blah blah... It turns
  3031.    out TIOCSDTR *is* defined, and it works.
  3032.    
  3033.    So in Unixware (at least in 2.1.3) we can read modem signals, hangup
  3034.    by toggling DTR, and so on, BUT... But once the remote hangs up and
  3035.    Carrier drops, the API for reading modem signals ceases to function;
  3036.    although the device is still open, the TIOCMGET ioctl always raises
  3037.    errno 6 = ENXIO, "No such device or address".
  3038.    
  3039.    Old business:
  3040.    
  3041.    Using C-Kermit 6.0 on the UnixWare 1.1 Application Server, one user
  3042.    reported a system panic when the following script program is executed:
  3043.    
  3044.   set line /dev/tty4
  3045.   set speed 9600
  3046.   output \13
  3047.   connect
  3048.  
  3049.    The panic does not happen if a PAUSE is inserted:
  3050.    
  3051.   set line /dev/tty4
  3052.   set speed 9600
  3053.   pause 1
  3054.   output \13
  3055.   connect
  3056.  
  3057.    This is using a Stallion EasyIO card installed as board 0 on IRQ 12 on
  3058.    a Gateway 386 with the Stallion-supplied driver. The problem was
  3059.    reported to Novell and Stallion and (reportedly) is now fixed.
  3060.     ________________________________________________________________________
  3061.   
  3062.   3.11. C-KERMIT AND APOLLO SR10
  3063.   
  3064.    [ [465]Top ] [ [466]Contents ] [ [467]Section Contents ] [ [468]Next ]
  3065.    [ [469]Previous ]
  3066.    
  3067.    Reportedly, version 5A(190), when built under Apollo SR10 using "make
  3068.    sr10-bsd", compiles, links, and executes OK, but leaves the terminal
  3069.    unusable after it exits -- the "cs7" or "cs8" (character size)
  3070.    parameter has become cs5. The terminal must be reset from another
  3071.    terminal. Cause and cure unknown. Suggested workaround: Wrap Kermit in
  3072.    a shell script something like:
  3073.    
  3074.   kermit @*
  3075.   stty sane
  3076.     ________________________________________________________________________
  3077.   
  3078.   3.12. C-KERMIT AND TANDY XENIX 3.0
  3079.   
  3080.    [ [470]Top ] [ [471]Contents ] [ [472]Section Contents ] [ [473]Next ]
  3081.    [ [474]Previous ]
  3082.    
  3083.    C-Kermit 7.0 was too big to be built on Tandy Xenix, even in a minimum
  3084.    configuration; version 6.0 is the last one that fits.
  3085.    
  3086.    Reportedly, in C-Kermit 6.0, if you type lots of Ctrl-C's during
  3087.    execution of the initialization file, ghost Kermit processes will be
  3088.    created, and will compete for the keyboard. They can only be removed
  3089.    via "kill -9" from another terminal, or by rebooting. Diagnosis --
  3090.    something strange happening with the SIGINT handler while the process
  3091.    is reading the directory (it seems to occur during the SET PROMPT
  3092.    [\v(dir)] ... sequence). Cure: unknown. Workaround: don't interrupt
  3093.    C-Kermit while it is executing its init file on the Tandy 16/6000.
  3094.     ________________________________________________________________________
  3095.   
  3096.   3.13. C-KERMIT AND OSF/1 (DIGITAL UNIX) (TRU64 UNIX)
  3097.   
  3098.    [ [475]Top ] [ [476]Contents ] [ [477]Section Contents ] [ [478]Next ]
  3099.    [ [479]Previous ]
  3100.    
  3101.    While putting together and testing C-Kermit 8.0, it was discovered
  3102.    that binaries built for one version of Tru64 Unix (e.g. 4.0G) might
  3103.    exhibit very strange behavior if run on a different version of Tru64
  3104.    Unix (e.g. 5.1A). The typical symptom was that a section of the
  3105.    initialization file would be skipped, notably locating the dialing
  3106.    and/or network directory as well as finding and executing the
  3107.    customization file, ~/.mykermrc. This problem also is reported to
  3108.    occur on Tru64 Unix 5.0 (Rev 732) even when running a C-Kermit binary
  3109.    that was built there. However, the Tru64 5.1A binary works correctly
  3110.    on 5.0. Go figure.
  3111.    
  3112.    When making Telnet connections to a Digital Unix or Tru64 system, and
  3113.    your Telnet client forwards your user name, the Telnet server
  3114.    evidently stuffs the username into login's standard input, and you
  3115.    see:
  3116.    
  3117.   login: ivan
  3118.   Password:
  3119.  
  3120.    This is clearly going to play havoc with scripts that look for
  3121.    "login:". Workaround (when Kermit is your Telnet client): SET LOGIN
  3122.    USER to nothing, to prevent Kermit from sending your user ID.
  3123.    
  3124.    Before you can use a serial port on a new Digital Unix system, you
  3125.    must run uucpsetup to enable or configure the port. Evidently the
  3126.    /dev/tty00 and 01 devices that appear in the configuration are not
  3127.    usable; uucpsetup turns them into /dev/ttyd00 and 01, which are. Note
  3128.    that uucpsetup and other uucp-family programs are quite primitive --
  3129.    they only know about speeds up to 9600 bps and their selection of
  3130.    modems dates from the early 1980s. None of this affects Kermit, though
  3131.    -- with C-Kermit, you can use speeds up to 115200 bps (at least in
  3132.    DU4.0 and later) and modern modems with hardware flow control and all
  3133.    the rest.
  3134.    
  3135.    Reportedly, if a modem is set for &S0 (assert DSR at all times), the
  3136.    system resets or drops DTR every 30 seconds; reportedly DEC says to
  3137.    set &S1.
  3138.    
  3139.    Digital Unix 3.2 evidently wants to believe your terminal is one line
  3140.    longer than you say it is, e.g. when a "more" or "man" command is
  3141.    given. This is has nothing to do with C-Kermit, but tends to annoy
  3142.    those who use Kermit or other terminal emulators to access Digital
  3143.    Unix systems. Workaround: tell Unix to "stty rows 23" (or whatever).
  3144.    
  3145.    Reportedly, there is some bizarre behavior when trying to use a
  3146.    version of C-Kermit built on one Digital Unix 4.0 system on another
  3147.    one, possibly due to differing OS or library revision levels; for
  3148.    example, the inability to connect to certain TCP/IP hosts. Solution:
  3149.    rebuild C-Kermit from source code on the system where you will be
  3150.    using it.
  3151.    
  3152.    Digital Unix tgetstr() causes a segmentation fault. C-Kermit 7.0 added
  3153.    #ifdefs to avoid calling this routine in Digital Unix. As a result,
  3154.    the SCREEN commands always send ANSI escape sequences -- even though
  3155.    curses knows your actual terminal type.
  3156.    
  3157.    Reportedy the Tru64 Unix 4.0E 1091 Telnet server does not tolerate
  3158.    streaming transfers into itself, at least not when the sending Kermit
  3159.    is on the same local network. Solution: tell one Kermit or the other
  3160.    (or both) to "set streaming off". This might or might be the case with
  3161.    earlier and/or later Tru64, Digital Unix, and OSF/1 releases.
  3162.     ________________________________________________________________________
  3163.   
  3164.   3.14. C-KERMIT AND SGI IRIX
  3165.   
  3166.    [ [480]Top ] [ [481]Contents ] [ [482]Section Contents ] [ [483]Next ]
  3167.    [ [484]Previous ]
  3168.    
  3169.    See also:
  3170.      * The [485]comp.sys.sgi.misc and [486]comp.sys.sgi.admin newsgroups.
  3171.        [487]The SGI website
  3172.      * The SGI FAQ:
  3173.           + [488]http://www-viz.tamu.edu/~sgi-faq/
  3174.           + [489]ftp://viz.tamu.edu/pub/sgi/faq/
  3175.        
  3176.    About IRIX version numbers: "uname -a" tells the "two-digit" version
  3177.    number, such as "5.3" or "6.5". The three-digit form can be seen with
  3178.    "uname -R". (this information is unavailable at the simple API level).
  3179.    Supposedly all three-digit versions within the same two-digit version
  3180.    (e.g. 6.5.2, 6.5.3) are binary compatible; i.e. a binary built on any
  3181.    one of them should run on all others. The "m" suffix denotes just
  3182.    patches; the "f" suffix indicates that features were added.
  3183.    
  3184.    An IRIX binary built on lower MIPS model (Instruction Set
  3185.    Architecture, ISA) can run on higher models, but not vice versa:
  3186.    
  3187.      MIPS1 R3000 and below
  3188.      MIPS2 R4000
  3189.      MIPS3 R4x00
  3190.      MIPS4 R5000 and above
  3191.      
  3192.    Furthermore, there are different Application Binary Inferfaces (ABIs):
  3193.    
  3194.      COFF 32 bits, IRIX 5.3, 5.2, 5.1, 4.x and below
  3195.      o32 ELF 32 bits, IRIX 5.3, 6.0 - 6.5
  3196.      N32 ELF 32 bits, IRIX 6.2 - 6.5
  3197.      N64 ELF 64 bits, IRIX 6.2 - 6.5
  3198.      
  3199.    Thus a prebuilt IRIX binary works on a particular machine only if (a)
  3200.    the machine's IRIX version (to one decimal place) is equal to or
  3201.    greater than the version under which the binary was built; (b) the
  3202.    machine's MIPS level is greater or equal to that of the binary; and
  3203.    (c) the machine supports the ABI of the binary. If all three
  3204.    conditions are not satisfied, of course, you can build a binary
  3205.    yourself from source code since, unlike some other Unix vendors, SGI
  3206.    does supply a C compiler and libraries.
  3207.    
  3208.    SGI did not supply an API for hardware flow control prior to IRIX 5.2.
  3209.    C-Kermit 6.1 and higher for IRIX 5.2 and higher supports hardware flow
  3210.    control in the normal way, via "set flow rts/cts".
  3211.    
  3212.    For hardware flow control on earlier IRIX and/or C-Kermit versions,
  3213.    use the ttyf* (modem control AND hardware flow control) devices and
  3214.    not the ttyd* (direct) or ttym* (modem control but no hardware flow
  3215.    control) ones, and obtain the proper "hardware handshaking" cable from
  3216.    SGI, which is incompatible with the ones for the Macintosh and NeXT
  3217.    even though they look the same ("man serial" for further info) and
  3218.    tell Kermit to "set flow keep" and "set modem flow rts/cts".
  3219.    
  3220.    Serial speeds higher than 38400 are available in IRIX 6.2 and later,
  3221.    on O-class machines (e.g. Origin, Octane) only, and are supported by
  3222.    C-Kermit 7.0 and later. Commands such as "set speed 115200" may be
  3223.    given on other models (e.g. Iris, Indy, Indigo) but will fail because
  3224.    the OS reports an invalid speed for the device.
  3225.    
  3226.    Experimentation with both IRIX 5.3 and 6.2 shows that when logged in
  3227.    to IRIX via Telnet, that remote-mode C-Kermit can't send files if the
  3228.    packet length is greater than 4096; the Telnet server evidently has
  3229.    this restriction (or bug), since there is no problem sending long
  3230.    packets on serial or rlogin connections. However, it can receive files
  3231.    with no problem if the packet length is greater than 4096. As a
  3232.    workaround, the FAST macro for IRIX includes "set send packet-length
  3233.    4000". IRIX 6.5.1 does not have this problem, so evidently it was
  3234.    fixed some time after IRIX 6.2. Tests show file-transfer speeds are
  3235.    better (not worse) with 8K packets than with 4K packets from IRIX
  3236.    6.5.1.
  3237.    
  3238.    Reportedly some Indys have bad serial port hardware. IRIX 5.2, for
  3239.    example, needs patch 151 to work around this; or upgrade to a later
  3240.    release. Similarly, IRIX 5.2 has several problems with serial i/o,
  3241.    flow control, etc. Again, patch or upgrade.
  3242.    
  3243.    Reportedly on machines with IRIX 4.0, Kermit cannot be suspended by
  3244.    typing the suspend ("swtch") character if it was started from csh,
  3245.    even though other programs can be suspended this way, and even though
  3246.    the Z and SUSPEND commands still work correctly. This is evidently
  3247.    because IRIX's csh does not deliver the SIGTSTP signal to Kermit. The
  3248.    reason other programs can be suspended in the same environment is
  3249.    probably that they do not trap SIGTSTP themselves, so the shell is
  3250.    doing the suspending rather than the application.
  3251.    
  3252.    Also see notes about IRIX 3.x in the [490]C-Kermit for Unix
  3253.    Installation Instructions.
  3254.    
  3255.    If you have problems making TCP/IP connections in versions of IRIX
  3256.    built with GCC 2.95.2, see the bugs section of:
  3257.    
  3258.   [491]http://freeware.sgi.com/Installable/gcc-2.95.2.html.
  3259.  
  3260.    Reportedly, if you allow gcc to compile C-Kermit on Irix you should be
  3261.    aware that there might be problems with some of the network code. The
  3262.    specifics are at
  3263.    [492]http://freeware.sgi.com/Installable/gcc-2.95.2.html; scroll down
  3264.    to the "known bugs" section at the end of the document.
  3265.     ________________________________________________________________________
  3266.   
  3267.   3.15. C-KERMIT AND THE BEBOX
  3268.   
  3269.    [ [493]Top ] [ [494]Contents ] [ [495]Section Contents ] [ [496]Next ]
  3270.    [ [497]Previous ]
  3271.    
  3272.    See also: The [498]comp.sys.be newsgroup.
  3273.    
  3274.    The BeBox has been discontinued and BeOS repositioned for PC
  3275.    platforms. The POSIX parts of BeOS are not finished, nor is the
  3276.    sockets library, therefore a fully functional version of C-Kermit is
  3277.    not possible. In version 6.0 of C-Kermit, written for BeOS DR7, it was
  3278.    possible to:
  3279.    
  3280.      * set line /dev/serial2 (and probably the other serial ports)
  3281.      * set speed 115200 (and at least some of the lower baud rates)
  3282.      * connect
  3283.      * set modem type hayes (and likely others, too)
  3284.      * dial phone-number
  3285.      * set send packet-length 2048 (other lengths for both send and
  3286.        receive)
  3287.      * set receive packet length 2048
  3288.      * set file type binary (text mode works, too) (with remote kermit
  3289.        session in server mode)
  3290.      * put bedrop.jpg
  3291.      * get bedrop.jpg
  3292.      * get bedrop.jpg bedrop.jpg2
  3293.      * finish, bye
  3294.        
  3295.    The following do not work:
  3296.      * kermit does not detect modem hangup
  3297.      * !/RUN/PUSH [commandline command]
  3298.      * Running kermit in remote mode
  3299.      * Using other protocols (x/y/zmodem)
  3300.      * TCP networking interface (Be's TCP/IP API has a ways to go, still)
  3301.        
  3302.    C-Kermit does not work on BeOS DR8 because of changes in the
  3303.    underlying APIs. Unfortunately not enough changes were made to allow
  3304.    the regular POSIX-based C-Kermit to work either. Note: the lack of a
  3305.    fork() service requires the select()-based CONNECT module, but there
  3306.    is no select(). There is a select() in DR8, but it doesn't work.
  3307.    
  3308.    C-Kermit 7.0 was built for BeOS 4.5 and works in remote mode. It does
  3309.    not include networking support since the APIs are still not there. It
  3310.    is not known if dialing out works, but probably not. Be experts are
  3311.    welcome to lend a hand.
  3312.     ________________________________________________________________________
  3313.   
  3314.   3.16. C-KERMIT AND DG/UX
  3315.   
  3316.    [ [499]Top ] [ [500]Contents ] [ [501]Section Contents ] [ [502]Next ]
  3317.    [ [503]Previous ]
  3318.    
  3319.    Somebody downloaded the C-Kermit 6.0 binary built under DG/UX 5.40 and
  3320.    ran it under DG/UX 5.4R3.10 -- it worked OK except that file dates for
  3321.    incoming files were all written as 1 Jan 1970. Cause and cure unknown.
  3322.    Workaround: SET ATTRIBUTE DATE OFF. Better: Use a version of C-Kermit
  3323.    built under and for DG/UX 5.4R3.10.
  3324.     ________________________________________________________________________
  3325.   
  3326.   3.17. C-KERMIT AND SEQUENT DYNIX
  3327.   
  3328.    [ [504]Top ] [ [505]Contents ] [ [506]Section Contents ] [ [507]Next ]
  3329.    [ [508]Previous ]
  3330.    
  3331.    Reportedly, when coming into a Sequent Unix (DYNIX) system through an
  3332.    X.25 connection, Kermit doesn't work right because the Sequent's
  3333.    FIONREAD ioctl returns incorrect data. To work around, use the
  3334.    1-character-at-a-time version of myread() in ckutio.c (i.e. undefine
  3335.    MYREAD in ckutio.c and rebuild the program). This is unsatisfying
  3336.    because two versions of the program would be needed -- one for use
  3337.    over X.25, and the other for serial and TCP/IP connections.
  3338.     ________________________________________________________________________
  3339.   
  3340.   3.18. C-KERMIT AND {FREE,OPEN,NET}BSD
  3341.   
  3342.    [ [509]Top ] [ [510]Contents ] [ [511]Section Contents ] [ [512]Next ]
  3343.    [ [513]Previous ]
  3344.    
  3345.    Some NebBSD users have reported difficulty escaping back from CONNECT
  3346.    mode, usually when running NetBSD on non-PC hardware. Probably a
  3347.    keyboard issue.
  3348.    
  3349.    NetBSD users have also reported that C-Kermit doesn't pop back to the
  3350.    prompt if the modem drops carrier. This needs to be checked out &
  3351.    fixed if possible.
  3352.    
  3353.    (All the above seems to work properly in C-Kermit 7.0 and later.)
  3354.     ________________________________________________________________________
  3355.   
  3356.   3.19. C-KERMIT AND MAC OS X (Rhapsody, Darwin, Jaguar)
  3357.   
  3358.    [ [514]Top ] [ [515]Contents ] [ [516]Section Contents ] [ [517]Next ]
  3359.    [ [518]Previous ]
  3360.    
  3361.    Nomenclature:
  3362.  
  3363.   mac os x server 1.0   = rhapsody 5.3
  3364.   mac os x server 1.0.1 = rhapsody 5.4
  3365.   mac os x server 1.0.2 = rhapsody 5.5
  3366.   mac os x server 1.2   = rhapsody 5.6
  3367.  
  3368.   mac os x 10.0 and 10.0.x run on darwin 1.3.y
  3369.   mac os x 10.1 and 10.1.x run on darwin 1.4.y
  3370.  
  3371.   mac os x (client) to darwin =(approximately)= X11 to unix
  3372.  
  3373.    Evidently hardware flow control doesn't work. This has been reported
  3374.    to Apple (June 2001), no response yet that I know of.
  3375.     ________________________________________________________________________
  3376.   
  3377.   3.20. C-KERMIT AND COHERENT
  3378.   
  3379.    [ [519]Top ] [ [520]Contents ] [ [521]Section Contents ] [
  3380.    [522]Previous ]
  3381.    
  3382.    Also see:
  3383.    
  3384.      [523]http://www.uni-giessen.de/faq/archiv/coherent-faq.general/msg00
  3385.    000.html
  3386.    
  3387.    Mark Williams COHERENT was perhaps the first commercial Unix-based
  3388.    operating system for PCs, first appearing about 1983 or -84 for the
  3389.    PC/XT (?), and popular until about 1993, when Linux took over.
  3390.    C-Kermit, as of version 8.0, is still current for COHERENT 386 4.2
  3391.    (i.e. only for i386 and above). Curses is included, but lots of other
  3392.    features are omitted due to lack of the appropriate OS features, APIs,
  3393.    libraries, hardware, or just space: e.g. TCP/IP, floating-point
  3394.    arithmetic, learned scripts. Earlier versions of COHERENT ran on 8086
  3395.    and 80286, but these are to small to build or run C-Kermit, but
  3396.    G-Kermit should be OK (as might be ancient versions of C-Kermit).
  3397.    
  3398.    You can actually build a version with floating point support -- just
  3399.    take -DNOFLOAT out of CFLAGS and add -lm to LIBS; NOFLOAT is the
  3400.    default because COHERENT tends to run on old PCs that don't have
  3401.    floating-point hardware. You can also add "-f" to CFLAGS to have it
  3402.    link in the floating-point emulation library. Also I'm not sure why
  3403.    -DNOLEARN is included, since it depends on select(), which COHERENT
  3404.    has.
  3405.     ________________________________________________________________________
  3406.   
  3407.   4. GENERAL UNIX-SPECIFIC HINTS, LIMITATIONS, AND BUGS
  3408.   
  3409.    [ [524]Top ] [ [525]Contents ] [ [526]Next ] [ [527]Previous ]
  3410.    
  3411.   4.1. Modem Signals
  3412.   
  3413.    There seems to be an escalating demand for the ability to control
  3414.    "dumb serial devices" (such as "smartcard readers", barcode readers,
  3415.    etc) by explicitly manipulating modem signals, particularly RTS. This
  3416.    might have been easy to do in DOS, where there is no operating system
  3417.    standing between the application and the serial device, but it is
  3418.    problematic in Unix, where modem signals are controlled by the serial
  3419.    device driver. If the driver does not provide an API for doing this,
  3420.    then the application can't do it. If it does provide an API, expect it
  3421.    to be totally different on each Unix platform, since there is no
  3422.    standard for this.
  3423.    
  3424.   4.2. NFS Troubles
  3425.   
  3426.    Beginning with C-Kermit 6.0, the default C-Kermit prompt includes your
  3427.    current (working) directory; for example:
  3428.    
  3429.   [/usr/olga] C-Kermit>
  3430.  
  3431.    (In C-Kermit 7.0 the square braces were replaced by round parentheses
  3432.    to avoid conflicts with ISO 646 national character sets.)
  3433.    
  3434.    If that directory is on an NFS-mounted disk, and NFS stops working or
  3435.    the disk becomes unavailable, C-Kermit will hang waiting for NFS
  3436.    and/or the disk to come back. Whether you can interrupt C-Kermit when
  3437.    it is hung this way depends on the specific OS. Kermit has called the
  3438.    operating systems's getcwd() function, and is waiting for it to
  3439.    return. Some versions of Unix (e.g. HP-UX 9.x) allow this function to
  3440.    be interrupted with SIGINT (Ctrl-C), others (such as HP-UX 8.x) do
  3441.    not. To avoid this effect, you can always use SET PROMPT to change
  3442.    your prompt to something that does not involve calling getcwd(), but
  3443.    if NFS is not responding, C-Kermit will still hang any time you give a
  3444.    command that refers to an NFS-mounted directory. Also note that in
  3445.    some cases, the uninterruptibility of NFS-dependent system or library
  3446.    calls is considered a bug, and sometimes there are patches. For HP-UX,
  3447.    for example:
  3448.    
  3449.                                                         replaced by:
  3450.   HP-UX 10.20     libc    PHCO_8764                     PHCO_14891/PHCO_16723
  3451.   HP-UX 10.10     libc    PHCO_8763                     PHCO_14254/PHCO_16722
  3452.   HP-UX 9.x       libc    PHCO_7747       S700          PHCO_13095
  3453.   HP-UX 9.x       libc    PHCO_6779       S800          PHCO_11162
  3454.  
  3455.   4.3. C-Kermit as Login Shell
  3456.   
  3457.    You might have reason to make C-Kermit the login shell for a specific
  3458.    user, by entering the pathname of Kermit (possibly with command-line
  3459.    switches, such as -x to put it in server mode) into the shell field of
  3460.    the /etc/passwd file. This works pretty well. In some cases, for
  3461.    "ultimate security", you might want to use a version built with
  3462.    -DNOPUSH (see the [528]Configurations Options document for this, but
  3463.    even if you don't, then PUSHing or shelling out from C-Kermit just
  3464.    brings up a new copy of C-Kermit (but warning: this does not prevent
  3465.    the user from explicitly running a shell; e.g. "run /bin/sh"; use
  3466.    NOPUSH to prevent this).
  3467.    
  3468.   4.4. C-Kermit versus screen and splitvt
  3469.   
  3470.    C-Kermit file transfers will probably not work if attemped through the
  3471.    "splitvt" or GNU "screen" programs because the screen optimization (or
  3472.    at least, line wrapping, control-character absorption) done by this
  3473.    package interferes with Kermit's packets.
  3474.    
  3475.    The same can apply to any other environment in which the user's
  3476.    session is captured, monitored, recorded, or manipulated. Examples
  3477.    include the 'script' program (for making a typescript of a session),
  3478.    the Computronics PEEK package and pksh (at least versions of it prior
  3479.    to 1.9K), and so on.
  3480.    
  3481.    You might try the following -- what we call "doomsday Kermit" --
  3482.    settings to push packets through even the densest and most obstructive
  3483.    connections, such as "screen" and "splitvt" (and certain kinds of 3270
  3484.    protocol emulators): Give these commands to BOTH Kermit programs:
  3485.    
  3486.   SET FLOW NONE
  3487.   SET CONTROL PREFIX ALL
  3488.   SET RECEIVE PACKET-LENGTH 70
  3489.   SET RECEIVE START 62
  3490.   SET SEND START 62
  3491.   SET SEND PAUSE 100
  3492.   SET BLOCK B
  3493.  
  3494.    If it works, it will be slow.
  3495.    
  3496.   4.5. C-Kermit versus DOS Emulators
  3497.   
  3498.    On Unix workstations equipped with DOS emulators like SoftPC, watch
  3499.    out for what these emulators do to the serial port drivers. After
  3500.    using a DOS emulator, particularly if you use it to run DOS
  3501.    communications software, you might have to reconfigure the serial
  3502.    ports for use by Unix.
  3503.    
  3504.   4.6. C-Kermit versus Job Control
  3505.   
  3506.    Interruption by Ctrl-Z makes Unix C-Kermit try to suspend itself with
  3507.    kill(0,SIGTSTP), but only on platforms that support job control, as
  3508.    determined by whether the symbol SIGTSTP is defined (or on POSIX or
  3509.    SVR4 systems, if syconf(_SC_JOB_CONTROL) or _POSIX_JOB_CONTROL in
  3510.    addition to SIGTSTP). However, if Kermit is running under a login
  3511.    shell (such as the original Bourne shell) that does not support job
  3512.    control, the user's session hangs and must be logged out from another
  3513.    terminal, or hung up on. There is no way Kermit can defend itself
  3514.    against this. If you use a non-job control shell on a computer that
  3515.    supports job control, give a command like "stty susp undef" to fix it
  3516.    so the suspend signal is not attached to any particular key, or give
  3517.    the command SET SUSPEND OFF to C-Kermit, or build C-Kermit with
  3518.    -DNOJC.
  3519.    
  3520.   4.7. Dates and Times
  3521.   
  3522.    Unix time conversion functions typically apply locale rules to return
  3523.    local time in terms of any seasonal time zone change in effect for the
  3524.    given date. The diffdate function assumes that the same timezone rules
  3525.    are in effect for both dates, but a date with timezone information
  3526.    will be converted to the local time zone in effect at the given time,
  3527.    e.g., a GMT specification will produce either a Standard Time or
  3528.    Daylight Savings Time, depending on which applies at the given time.
  3529.    An example using the 2001 seasonal change from EDT (-0400) to EST
  3530.    (-0500):
  3531.    
  3532.   C-Kermit> DATE 20011028 05:01:02 GMT  ; EDT
  3533.   20011028 01:01:02
  3534.   C-Kermit> DATE 20011028 06:01:02 GMT  ; EST
  3535.   20011028 01:01:02
  3536.   C-Kermit>
  3537.  
  3538.    but the implicit change in timezone offset is not recognized:
  3539.    
  3540.   C-Kermit> echo \fdiffdate(20011028 05:01:02 GMT, 20011028 06:01:02 GMT)
  3541.   +0:00
  3542.   C-Kermit>
  3543.  
  3544.    Date/time arithmetic, offsets, delta times, and timezone support are
  3545.    new to C-Kermit 8.0, and might be expected to evolve and improve in
  3546.    subsequent releases.
  3547.    
  3548.    On some platforms, files downloaded with HTTP receive the current
  3549.    timestamp, rather than the HTTP "Last Modified" time (this can be
  3550.    fixed by including utime.h, e.g. in SunOS and Tru64...).
  3551.    
  3552.   4.8. Pseudoterminals
  3553.   
  3554.    The SSH and PTY commands work by assigning a pseudoterminal and
  3555.    reading and writing from it. Performance varies according to the
  3556.    specific platform ranging from very fast to very flow.
  3557.    
  3558.    SSH and PTY commands can fail if (a) all pseudoterminals are in use;
  3559.    or (b) you do not have read/write access to the pseudoterminal that
  3560.    was assigned. An example of (b) was reported with the Zipslack
  3561.    Slackware Linux distribution, in which the pseudoterminals were
  3562.    created with crw-r--r-- permission, instead of crw-rw-rw-.
  3563.    
  3564.   4.9. Miscellaneous
  3565.   
  3566.      * Reportedly, the Unix C-Kermit server, under some conditions, on
  3567.        certain particular systems, fails to log out its login session
  3568.        upon receipt of a BYE command. Before relying on the BYE command
  3569.        working, test it a few times to make sure it works on your system:
  3570.        there might be system configuration or security mechanisms to
  3571.        prevent an inferior process (like Kermit) from killing a superior
  3572.        one (like the login shell).
  3573.      * On AT&T 7300 (3B1) machines, you might have to "stty nl1" before
  3574.        starting C-Kermit. Do this if characters are lost during
  3575.        communications operations.
  3576.      * Under the bash shell (versions prior to 1.07 from CWRU), "pushing"
  3577.        to an inferior shell and then exiting back to Kermit leaves Kermit
  3578.        in the background such that it must be explicitly fg'd. This is
  3579.        reportedly fixed in version 1.07 of bash (and definitely in modern
  3580.        bash versions).
  3581.     ________________________________________________________________________
  3582.   
  3583.   5. INITIALIZATION AND COMMAND FILES
  3584.   
  3585.    [ [529]Top ] [ [530]Contents ] [ [531]Next ] [ [532]Previous ]
  3586.    
  3587.    C-Kermit's initialization file for Unix is .kermrc (lowercase, starts
  3588.    with period) in your home directory, unless Kermit was built with the
  3589.    system-wide initialization-file option (see the [533]C-Kermit for Unix
  3590.    Installation Instructions).
  3591.    
  3592.    C-Kermit identifies your home directory based on the environment
  3593.    variable, HOME. Most Unix systems set this variable automatically when
  3594.    you log in. If C-Kermit can't find your initialization file, check
  3595.    your HOME variable:
  3596.    
  3597.   echo $HOME      (at the Unix prompt)
  3598.  
  3599.    or:
  3600.    
  3601.   echo \$(HOME)   (at the C-Kermit prompt)
  3602.  
  3603.    If HOME is not defined, or is defined incorrectly, add the appropriate
  3604.    definition to your Unix .profile or .login file, depending on your
  3605.    shell:
  3606.    
  3607.   setenv HOME full-pathname-of-your-home-directory  (C-Shell, .login file)
  3608.  
  3609.    or:
  3610.    
  3611.   HOME=full-pathname-of-your-home-directory         (sh, ksh, .profile file)
  3612.   export HOME
  3613.  
  3614.    NOTE: Various other operations depend on the correct definition of
  3615.    HOME. These include the "tilde-expansion" feature, which allows you to
  3616.    refer to your home directory as "~" in filenames used in C-Kermit
  3617.    commands, e.g.:
  3618.    
  3619.   send ~/.kermrc
  3620.  
  3621.    as well as the \v(home) variable.
  3622.    
  3623.    Prior to version 5A(190), C-Kermit would look for its initialization
  3624.    file in the current directory if it was not found in the home
  3625.    directory. This feature was removed from 5A(190) because it was a
  3626.    security risk. Some people, however, liked this behavior and had
  3627.    .kermrc files in all their directories that would set up things
  3628.    appropriately for the files therein. If you want this behavior, you
  3629.    can accomplish it in various ways, for example:
  3630.    
  3631.      * Create a shell alias, for example:
  3632.   alias kd="kermit -Y ./.kermrc"
  3633.      * Create a .kermrc file in your home directory, whose contents are:
  3634.  
  3635.   take ./.kermrc
  3636.  
  3637.    Suppose you need to pass a password from the Unix command line to a
  3638.    C-Kermit script program, in such a way that it does not show up in
  3639.    "ps" or "w" listings. Here is a method (not guaranteed to be 100%
  3640.    secure, but definitely more secure than the more obvious methods):
  3641.    
  3642.   echo mypassword | kermit myscript
  3643.  
  3644.    The "myscript" file contains all the commands that need to be executed
  3645.    during the Kermit session, up to and including EXIT, and also includes
  3646.    an ASK or ASKQ command to read the password from standard input, which
  3647.    has been piped in from the Unix 'echo' command, but it must not
  3648.    include a CONNECT command. Only "kermit myscript" shows up in the ps
  3649.    listing.
  3650.     ________________________________________________________________________
  3651.   
  3652.   6. COMMUNICATION SPEED SELECTION
  3653.   
  3654.    [ [534]Top ] [ [535]Contents ] [ [536]Next ] [ [537]Previous ]
  3655.    
  3656.    Version-7 based Unix implementations, including 4.3 BSD and earlier
  3657.    and Unix systems based upon BSD, use a 4-bit field to record a serial
  3658.    device's terminal speed. This leaves room for 16 speeds, of which the
  3659.    first 14 are normally:
  3660.    
  3661.      0, 50, 75, 110, 134.5, 150, 200, 300, 600, 1200, 1800, 2400, 4800,
  3662.      and 9600
  3663.      
  3664.    The remaining two are usually called EXTA and EXTB, and are defined by
  3665.    the particular Unix implementation. C-Kermit determines which speeds
  3666.    are available on your system based on whether symbols for them are
  3667.    defined in your terminal device header files. EXTA is generally
  3668.    assumed to be 19200 and EXTB 38400, but these assumptions might be
  3669.    wrong, or they might not apply to a particular device that does not
  3670.    support these speeds. Presumably, if you try to set a speed that is
  3671.    not legal on a particular device, the driver will return an error, but
  3672.    this can not be guaranteed.
  3673.    
  3674.    On these systems, it is usually not possible to select a speed of
  3675.    14400 bps for use with V.32bis modems. In that case, use 19200 or
  3676.    38400 bps, configure your modem to lock its interface speed and to use
  3677.    RTS/CTS flow control, and tell C-Kermit to SET FLOW RTS/CTS and SET
  3678.    DIAL SPEED-MATCHING OFF.
  3679.    
  3680.    The situation is similar, but different, in System V. SVID Third
  3681.    Edition lists the same speeds, 0 through 38400.
  3682.    
  3683.    Some versions of Unix, and/or terminal device drivers that come with
  3684.    certain third-party add-in high-speed serial communication interfaces,
  3685.    use the low "baud rates" to stand for higher ones. For example, SET
  3686.    SPEED 50 gets you 57600 bps; SET SPEED 75 gets you 76800; SET SPEED
  3687.    110 gets 115200.
  3688.    
  3689.    SCO ODT 3.0 is an example where a "baud-rate-table patch" can be
  3690.    applied that can rotate the tty driver baud rate table such that
  3691.    600=57600 and 1800=115k baud. Similarly for Digiboard
  3692.    multiport/portservers, which have a "fastbaud" setting that does this.
  3693.    Linux has a "setserial" command that can do it, etc.
  3694.    
  3695.    More modern Unixes support POSIX-based speed setting, in which the
  3696.    selection of speeds is not limited by a 4-bit field. C-Kermit 6.1
  3697.    incorporates a new mechanism for finding out (at compile time) which
  3698.    serial speeds are supported by the operating system that does not
  3699.    involve editing of source code by hand; on systems like Solaris 5.1,
  3700.    IRIX 6.2, and SCO OSR5.0.4, "set speed ?" will list speeds up to
  3701.    460800 or 921600. In C-Kermit 7.0 and later:
  3702.    
  3703.     1. If a symbol for a particular speed (say B230400 for 230400 bps)
  3704.        appears in whatever header file defines acceptable serial speeds
  3705.        (e.g. <termbits.h> or <sys/termios.h> or <sys/ttydev.h>, etc), the
  3706.        corresponding speed will appear in C-Kermit's "set speed ?" list.
  3707.     2. The fact that a given speed is listed in the header files and
  3708.        appears in C-Kermit's list does not mean the driver will accept
  3709.        it. For example, a computer might have some standard serial ports
  3710.        plus some add-on ones with different drivers that accept a
  3711.        different repertoire of speeds.
  3712.     3. The fact that a given speed is accepted by the driver does not
  3713.        guarantee the underlying hardware can accept it.
  3714.        
  3715.    When Kermit is given a "set speed" command for a particular device,
  3716.    the underlying system service is called to set the speed; its return
  3717.    code is checked and the SET SPEED command fails if the return code
  3718.    indicates failure. Regardless of the system service return status, the
  3719.    device's speed is then read back and if it does not match the speed
  3720.    that was requested, an error message is printed and the command fails.
  3721.    
  3722.    Even when the command succeeds, this does not guarantee successful
  3723.    operation at a particular speed, especially a high one. That depends
  3724.    on electricity, information theory, etc. How long is the cable, what
  3725.    is its capacitance, how well is it shielded, etc, not to mention that
  3726.    every connection has two ends and its success depends on both of them.
  3727.    (With the obvious caveats about internal modems, is the cable really
  3728.    connected, interrupt conflicts, etc etc etc).
  3729.    
  3730.    Note, in particular, that there is a certain threshold above which
  3731.    modems can not "autobaud" -- i.e. detect the serial interface speed
  3732.    when you type AT (or whatever else the modem's recognition sequence
  3733.    might be). Such modems need to be engaged at a lower speed (say 2400
  3734.    or 9600 or even 115200 -- any speed below their autobaud threshold)
  3735.    and then must be given a modem-specific command (which can be found in
  3736.    the modem manual) to change their interface speed to the desired
  3737.    higher speed, and then the software must also be told to change to the
  3738.    new, higher speed.
  3739.    
  3740.    For additional information, read [538]Section 9.5 of the Installation
  3741.    Instructions, plus any platform-specific notes in [539]Section 3
  3742.    above.
  3743.     ________________________________________________________________________
  3744.   
  3745.   7. COMMUNICATIONS AND DIALING
  3746.   
  3747.    [ [540]Top ] [ [541]Contents ] [ [542]Next ] [ [543]Previous ]
  3748.    
  3749.   7.1. Serial Ports and Modems
  3750.   
  3751.    If you SET LINE to a serial port modem-control device that has nothing
  3752.    plugged in to it, or has a modem connected that is powered off, and
  3753.    you have not given a prior SET MODEM TYPE or SET CARRIER-WATCH OFF
  3754.    command, the SET LINE command is likely to hang. In most cases, you
  3755.    can Ctrl-C out. If not, you'll have to kill C-Kermit from another
  3756.    terminal.
  3757.    
  3758.    Similarly, if you give a SET MODEM TYPE HAYES (or USR, or any other
  3759.    modem type besides DIRECT, NONE, or UNKNOWN) and then SET LINE to an
  3760.    empty port, the subsequent close (implicit or explicit) is liable to
  3761.    hang or even crash (through no fault of Kermit's -- the hanging or
  3762.    crashing is inside a system call such as cfsetospeed() or close()).
  3763.    
  3764.    The SET CARRIER-WATCH command works as advertised only if the
  3765.    underlying operating system and device drivers support this feature;
  3766.    in particular only if a read() operation returns immediately with an
  3767.    error code if the carrier signal goes away or, failing that, if
  3768.    C-Kermit can obtain the modem signals from the device driver (you can
  3769.    tell by giving a "set line" command to a serial device, and then a
  3770.    "show communications" command -- if modem signals are not listed,
  3771.    C-Kermit won't be able to detect carrier loss, the WAIT command will
  3772.    not work, etc). Of course, the device itself (e.g. modem) must be
  3773.    configured appropriately and the cables convey the carrier and other
  3774.    needed signals, etc.
  3775.    
  3776.    If you dial out from Unix system, but then notice a lot of weird
  3777.    character strings being stuck into your session at random times
  3778.    (especially if they look like +++ATQ0H0 or login banners or prompts),
  3779.    that means that getty is also trying to control the same device.
  3780.    You'll need to dial out on a device that is not waiting for a login,
  3781.    or else disable getty on the device.
  3782.    
  3783.    As of version 7.0, C-Kermit makes explicit checks for the Carrier
  3784.    Detect signal, and so catches hung-up connections much better than 6.0
  3785.    and earlier. However, it still can not be guaranteed to catch every
  3786.    ever CD on-to-off transition. For example, when the HP-UX version of
  3787.    C-Kermit is in CONNECT mode on a dialed connection and CARRIER-WATCH
  3788.    ON or AUTO, and you turn off the modem, HP-UX is stuck in a read()
  3789.    that never returns. (C-Kermit does not pop back to its prompt
  3790.    automatically, but you can still escape back.)
  3791.    
  3792.    If, on the other hand, you log out from the remote system, and it
  3793.    hangs up, and CD drops on the local modem, C-Kermit detects this and
  3794.    pops back to the prompt as it should. (Evidently there can be a
  3795.    difference between CD and DSR turning off at the same time, versus CD
  3796.    turning off while DSR stays on; experimentation with &S0/&S1/&S2 on
  3797.    your modem might produce the desired results).
  3798.    
  3799.    When Unix C-Kermit exits, it closes (and must close) the
  3800.    communications device. If you were dialed out, this will most likely
  3801.    hang up the connection. If you want to get out of Kermit and still use
  3802.    Kermit's communication device, you have several choices:
  3803.    
  3804.     1. Shell out from Kermit or suspend Kermit, and refer to the device
  3805.        literally (as in "term -blah -blah < /dev/cua > /dev/cua").
  3806.     2. Shell out from Kermit and use the device's file descriptor which
  3807.        Kermit makes available to you in the \v(ttyfd) variable.
  3808.     3. Use C-Kermit's REDIRECT command.
  3809.     4. Use C-Kermit new EXEC /REDIRECT command.
  3810.        
  3811.    If you are having trouble dialing:
  3812.    
  3813.     1. Make sure the dialout line is configured correctly. More about
  3814.        this below.
  3815.     2. Make sure all necessary patches are installed for your operating
  3816.        system.
  3817.     3. If you can't dial on a "bidirectional" line, then configure it for
  3818.        outbound-only (remove the getty) and try again. (The mechanisms --
  3819.        if any -- for grabbing bidirectional lines for dialout vary wildly
  3820.        among Unix implementations and releases, and C-Kermit -- which
  3821.        runs on well over 300 different Unix variations -- makes no effort
  3822.        to keep up with them; the recommended method for coping with this
  3823.        situation is to wrap C-Kermit in a shell script that takes the
  3824.        appropriate actions.)
  3825.     4. Make sure C-Kermit's SET DIAL and SET MODEM parameters agree with
  3826.        the modem you are actually using -- pay particular attention to
  3827.        SET DIAL SPEED-MATCHING.
  3828.     5. If MODEM HANGUP-METHOD is set to RS232-SIGNAL, change it to
  3829.        MODEM-COMMAND. Or vice-versa.
  3830.     6. Try SET DIAL HANGUP OFF before the DIAL command. Also, SET DIAL
  3831.        DISPLAY ON to watch what's happening. See [544]Section 8 of the
  3832.        [545]Installation Instructions.
  3833.     7. Read pages 50-67 of [546]Using C-Kermit.
  3834.     8. As a last resort, don't use the DIAL command at all; SET CARRIER
  3835.        OFF and CONNECT to the modem and dial interactively, or write a
  3836.        script program to dial the modem.
  3837.        
  3838.    Make sure your dialout line is correctly configured for dialing out
  3839.    (as opposed to login). The method for doing this is different for each
  3840.    kind of Unix system. Consult your system documentation for configuring
  3841.    lines for dialing out (for example, Sun SparcStation IPC users should
  3842.    read the section "Setting up Modem Software" in the Desktop SPARC Sun
  3843.    System & Network Manager's Guide; HP-9000 workstation users should
  3844.    consult the manual Configuring HP-UX for Peripherals, etc).
  3845.    
  3846.    Symptom: DIAL works, but a subsequent CONNECT command does not.
  3847.    Diagnosis: the modem is not asserting Carrier Detect (CD) after the
  3848.    connection is made, or the cable does not convey the CD signal. Cure:
  3849.    Reconfigure the modem, replace the cable. Workaround: SET CARRIER OFF
  3850.    (at least in System-V based Unix versions).
  3851.    
  3852.    For Berkeley-Unix-based systems (4.3BSD and earlier), Kermit includes
  3853.    code to use LPASS8 mode when parity is none, which is supposed to
  3854.    allow 8-bit data and Xon/Xoff flow control at the same time. However,
  3855.    as of edit 174, this code is entirely disabled because it is
  3856.    unreliable: even though the host operating system might (or might not)
  3857.    support LPASS8 mode correctly, the host access protocols (terminal
  3858.    servers, telnet, rlogin, etc) generally have no way of finding out
  3859.    about it and therefore render it ineffective, causing file transfer
  3860.    failures. So as of edit 174, Kermit once again uses rawmode for 8-bit
  3861.    data, and so there is no Xon/Xoff flow control during file transfer or
  3862.    terminal emulation in the Berkeley-based versions (4.3 and earlier,
  3863.    not 4.4).
  3864.    
  3865.    Also on Berkeley-based systems (4.3 and earlier), there is apparently
  3866.    no way to configure a dialout line for proper carrier handling, i.e.
  3867.    ignore carrier during dialing, require carrier thereafter, get a fatal
  3868.    error on any attempt to read from the device after carrier drops (this
  3869.    is handled nicely in System V by manipulation of the CLOCAL flag). The
  3870.    symptom is that carrier loss does not make C-Kermit pop back to the
  3871.    prompt automatically. This is evident on the NeXT, for example, but
  3872.    not on SunOS, which supports the CLOCAL flag. This is not a Kermit
  3873.    problem, but a limitation of the underlying operating system. For
  3874.    example, the cu program on the NeXT doesn't notice carrier loss
  3875.    either, whereas cu on the Sun does.
  3876.    
  3877.    On certain AT&T Unix systems equipped with AT&T modems, DIAL and
  3878.    HANGUP don't work right. Workarounds: (1) SET DIAL HANGUP OFF before
  3879.    attempting to dial; (2) If HANGUP doesn't work, SET LINE, and then SET
  3880.    LINE <device> to totally close and reopen the device. If all else
  3881.    fails, SET CARRIER OFF.
  3882.    
  3883.    C-Kermit does not contain any particular support for AT&T DataKit
  3884.    devices. You can use Kermit software to dial in to a DataKit line, but
  3885.    C-Kermit does not contain the specialized code required to dial out
  3886.    from a DataKit line. If the Unix system is connected to DataKit via
  3887.    serial ports, dialout should work normally (e.g. set line /dev/ttym1,
  3888.    set speed 19200, connect, and then see the DESTINATION: prompt, from
  3889.    which you can connect to another computer on the DataKit network or to
  3890.    an outgoing modem pool, etc). But if the Unix system is connected to
  3891.    the DataKit network through the special DataKit interface board, then
  3892.    SET LINE to a DataKit pseudodevice (such as /dev/dk031t) will not work
  3893.    (you must use the DataKit "dk" or "dkcu" program instead). In C-Kermit
  3894.    7.0 and later, you can make Kermit connections "though" dk or dkcu
  3895.    using "set line /pty".
  3896.    
  3897.    In some BSD-based Unix C-Kermit versions, SET LINE to a port that has
  3898.    nothing plugged in to it with SET CARRIER ON will hang the program (as
  3899.    it should), but it can't be interrupted with Ctrl-C. The interrupt
  3900.    trap is correctly armed, but apparently the Unix open() call cannot be
  3901.    interrupted in this case. When SET CARRIER is OFF or AUTO, the SET
  3902.    LINE will eventually return, but then the program hangs
  3903.    (uninterruptibly) when the EXIT or QUIT command (or, presumably,
  3904.    another SET LINE command) is given. The latter is probably because of
  3905.    the attempt to hang up the modem. (In edit 169, a timeout alarm was
  3906.    placed around this operation.)
  3907.    
  3908.    With SET DIAL HANGUP OFF in effect, the DIAL command might work only
  3909.    once, but not again on the same device. In that case, give a CLOSE
  3910.    command to close the device, and then another SET LINE command to
  3911.    re-open the same device. Or rebuild your version of Kermit with the
  3912.    -DCLSOPN compile-time switch.
  3913.    
  3914.    The DIAL command says "To cancel: Type your interrupt character
  3915.    (normally Ctrl-C)." This is just one example of where program messages
  3916.    and documentation assume your interrupt character is Ctrl-C. But it
  3917.    might be something else. In most (but not necessarily all) cases, the
  3918.    character referred to is the one that generates the SIGINT signal. If
  3919.    Ctrl-C doesn't act as an interrupt character for you, type the Unix
  3920.    command "stty -a" or "stty all" or "stty everything" to see what your
  3921.    interrupt character is. (Kermit could be made to find out what the
  3922.    interrupt character is, but this would require a lot of
  3923.    platform-dependent coding and #ifdefs, and a new routine and interface
  3924.    between the platform-dependent and platform-independent parts of the
  3925.    program.)
  3926.    
  3927.    In general, the hangup operation on a serial communication device is
  3928.    prone to failure. C-Kermit tries to support many, many different kinds
  3929.    of computers, and there seems to be no portable method for hanging up
  3930.    a modem connection (i.e. turning off the RS-232 DTR signal and then
  3931.    turning it back on again). If HANGUP, DIAL, and/or Ctrl-\H do not work
  3932.    for you, and you are a programmer, look at the tthang() function in
  3933.    ckutio.c and see if you can add code to make it work correctly for
  3934.    your system, and send the code to the address above. (NOTE: This
  3935.    problem has been largely sidestepped as of edit 188, in which Kermit
  3936.    first attempts to hang up the modem by "escaping back" via +++ and
  3937.    then giving the modem's hangup command, e.g. ATH0, when DIAL
  3938.    MODEM-HANGUP is ON, which is the default setting.)
  3939.    
  3940.    Even when Kermit's modem-control software is configured correctly for
  3941.    your computer, it can only work right if your modem is also configured
  3942.    to assert the CD signal when it is connected to the remote modem and
  3943.    to hang up the connection when your computer drops the DTR signal. So
  3944.    before deciding Kermit doesn't work with your modem, check your modem
  3945.    configuration AND the cable (if any) connecting your modem to the
  3946.    computer -- it should be a straight-through modem cable conducting the
  3947.    signals FG, SG, TD, RD, RTS, CTS, DSR, DTR, CD, and RI.
  3948.    
  3949.    Many Unix systems keep aliases for dialout devices; for example,
  3950.    /dev/acu might be an alias for /dev/tty00. But most of these Unix
  3951.    systems also use UUCP lockfile conventions that do not take this
  3952.    aliasing into account, so if one user assigns (e.g.) /dev/acu, then
  3953.    another user can still assign the same device by referring to its
  3954.    other name. This is not a Kermit problem -- Kermit must follow the
  3955.    lockfile conventions used by the vendor-supplied software (cu, tip,
  3956.    uucp).
  3957.    
  3958.    The SET FLOW-CONTROL KEEP option should be given *before* any
  3959.    communication (dialing, terminal emulation, file transfer,
  3960.    INPUT/OUTPUT/TRANSMIT, etc) is attempted, if you want C-Kermit to use
  3961.    all of the device's preexisting flow-control related settings. The
  3962.    default flow-control setting is XON/XOFF, and it will take effect when
  3963.    the first communication-related command is given, and a subsequent SET
  3964.    FLOW KEEP command will not necessarily know how to restore *all* of
  3965.    the device's original flow-control settings.
  3966.    
  3967.   7.2. Network Connections
  3968.   
  3969.    C-Kermit tries to use the 8th bit for data when parity is NONE, and
  3970.    this generally works on real Unix terminal (tty) devices, but it often
  3971.    does not work when the Unix system is accessed over a network via
  3972.    telnet or rlogin protocols, including (in many cases) through terminal
  3973.    servers. For example, an Encore computer with Annex terminal servers
  3974.    only gives a 7-bit path if the rlogin protocol is selected in the
  3975.    terminal server but it gives the full 8 bits if the proprietary RDP
  3976.    protocol is used.
  3977.    
  3978.    If file transfer does not work through a host to which you have
  3979.    rlogin'd, use "rlogin -8" rather than "rlogin". If that doesn't work,
  3980.    tell both Kermit programs to "set parity space".
  3981.    
  3982.    The Encore TELNET server does not allow long bursts of input. When you
  3983.    have a TELNET connection to an Encore, tell C-Kermit on the Encore to
  3984.    SET RECEIVE PACKET-LENGTH 200 or thereabouts.
  3985.     ________________________________________________________________________
  3986.   
  3987.   8. HARDWARE FLOW CONTROL
  3988.   
  3989.    [ [547]Top ] [ [548]Contents ] [ [549]Next ] [ [550]Previous ]
  3990.    
  3991.    SET FLOW RTS/CTS is available in Unix C-Kermit only when the
  3992.    underlying operating system provides an Application Program Interface
  3993.    (API) for turning this feature on and off under program control, which
  3994.    turns out to be a rather rare feature among Unix systems. To see if
  3995.    your Unix C-Kermit version supports hardware flow control, type "set
  3996.    flow ?" at the C-Kermit prompt, and look for "rts/cts" among the
  3997.    options. Other common situations include:
  3998.    
  3999.     1. The API is available, so "set flow rts/cts" appears as a valid
  4000.        C-Kermit command, but it doesn't do anything because the device
  4001.        driver (part of the operating system) was never coded to do
  4002.        hardware flow control. This is common among System V R4
  4003.        implementations (details below).
  4004.     2. The API is not available, so "set flow rts/cts" does NOT appear as
  4005.        a valid C-Kermit command, but you can still get RTS/CTS flow
  4006.        control by selecting a specially named device in your SET LINE
  4007.        command. Examples:
  4008.           + NeXTSTEP: /dev/cufa instead of /dev/cua, /dev/cufb instead of
  4009.             /dev/cub (68040 only; "man zs" for further info).
  4010.           + IRIX: /dev/ttyf2 instead of /dev/ttyd2 or /dev/ttym2 ("man 7
  4011.             serial").
  4012.     3. The API is available, doesn't work, but a workaround as in (2) can
  4013.        be used.
  4014.     4. The API is available, but Kermit doesn't know about it. In these
  4015.        cases, you can usually use an stty command to enable RTS/CTS on
  4016.        the device, e.g. "stty crtscts" or "stty ctsflow", "stty rtsflow",
  4017.        before starting Kermit, and then tell Kermit to SET FLOW KEEP.
  4018.     5. No API and no special device drivers. Hardware flow control is
  4019.        completely unavailable.
  4020.        
  4021.    System V R4 based Unixes are supposed to supply a <termiox.h> file,
  4022.    which gives Kermit the necessary interface to command the terminal
  4023.    driver to enable/disable hardware flow control. Unfortunately, but
  4024.    predictably, many implementations of SVR4 whimsically place this file
  4025.    in /usr/include/sys rather than /usr/include (where SVID clearly
  4026.    specifies it should be; see SVID, Third Edition, V1, termiox(BA_DEV).
  4027.    Thus if you build C-Kermit with any of the makefile entries that
  4028.    contain -DTERMIOX or -DSTERMIOX (the latter to select
  4029.    <sys/termiox.h>), C-Kermit will have "set flow rts/cts" and possibly
  4030.    other hardware flow-control related commands. BUT... That does not
  4031.    necessarily mean that they will work. In some cases, the underlying
  4032.    functions are simply not coded into the operating system.
  4033.    
  4034.    WARNING: When hardware flow control is available, and you enable in
  4035.    Kermit on a device that is not receiving the CTS signal, Kermit can
  4036.    hang waiting for CTS to come up. This is most easily seen when the
  4037.    local serial port has nothing plugged in to it, or is connected to an
  4038.    external modem that is powered off.
  4039.     ________________________________________________________________________
  4040.   
  4041.   9. TERMINAL CONNECTION AND KEY MAPPING
  4042.   
  4043.    [ [551]Top ] [ [552]Contents ] [ [553]Next ] [ [554]Previous ]
  4044.    
  4045.    C-Kermit is not a terminal emulator. Refer to page 147 of [555]Using
  4046.    C-Kermit, 2nd Edition: "Most versions of C-Kermit -- Unix, VMS,
  4047.    AOS/VS, VOS, etc -- provide terminal connection without emulation.
  4048.    These versions act as a 'semitransparent pipe' between the remote
  4049.    computer and your terminal, terminal emulator, console driver, or
  4050.    window, which in turn emulates (or is) a specific kind of terminal."
  4051.    The environment in which you run C-Kermit is up to you.
  4052.    
  4053.    If you are an X Windows user, you should be aware of an alternative to
  4054.    xterm that supports VT220 emulation, from Thomas E. Dickey:
  4055.    
  4056.   [556]http://dickey.his.com/xterm/xterm.html
  4057.  
  4058.    Unix C-Kermit's SET KEY command currently can not be used with keys
  4059.    that generate "wide" scan codes or multibyte sequences, such as
  4060.    workstation function or arrow keys, because Unix C-Kermit does not
  4061.    have direct access to the keyboard.
  4062.    
  4063.    However, many Unix workstations and/or console drivers provide their
  4064.    own key mapping feature. With xterm, for example, you can use
  4065.    'xmodmap' ("man xmodmap" for details); here is an xterm mapping to map
  4066.    the Sun keyboard to DEC VT200 values for use with VT-terminal oriented
  4067.    applications like VMS EVE:
  4068.    
  4069.   keycode 101=KP_0
  4070.   keycode 119=KP_1
  4071.   keycode 120=KP_2
  4072.   keycode 121=KP_3
  4073.   keycode 98=KP_4
  4074.   keycode 99=KP_5
  4075.   keycode 100=KP_6
  4076.   keycode 75=KP_7
  4077.   keycode 76=KP_8
  4078.   keycode 77=KP_9
  4079.   keycode 52=KP_F1
  4080.   keycode 53=KP_F2
  4081.   keycode 54=KP_F3
  4082.   keycode 57=KP_Decimal
  4083.   keycode 28=Left
  4084.   keycode 29=Right
  4085.   keycode 30=KP_Separator
  4086.   keycode 105=KP_F4
  4087.   keycode 78=KP_Subtract
  4088.   keycode 8=Left
  4089.   keycode 10=Right
  4090.   keycode 32=Up
  4091.   keycode 33=Down
  4092.   keycode 97=KP_Enter
  4093.  
  4094.    Users of Linux consoles can use loadkeys ("man dumpkeys loadkeys
  4095.    keytables" for details. The format used by loadkeys is compatible with
  4096.    that used by Xmodmap, although it is not definitely certain that the
  4097.    keycodes are compatible for different keyboard types (e.g. Sun vs HP
  4098.    vs PC, etc).
  4099.     ________________________________________________________________________
  4100.   
  4101.   10. FILE TRANSFER
  4102.   
  4103.    [ [557]Top ] [ [558]Contents ] [ [559]Next ] [ [560]Previous ]
  4104.    
  4105.    If uploads (or downloads) fail immediately, give the CAUTIOUS command
  4106.    to Kermit and try again. If they still fail, then try SET PREFIXING
  4107.    ALL. If they still fail, try SET PARITY SPACE. If they still fail, try
  4108.    ROBUST.
  4109.    
  4110.    If reception (particularly of large files and/or binary files) begins
  4111.    successfully but then fail constently after a certain amount of bytes
  4112.    have been sent, check:
  4113.    
  4114.      * Your ulimit ("ulimit -a")
  4115.      * The amount of available space on the target disk ("df ." or "df -k
  4116.        .")
  4117.      * Your personal disk quota (platform- and site-dependent)
  4118.      * The maximum file size on the receiver's file system (e.g. 2GB in
  4119.        old verions the Linux VFS file system, and/or in applications that
  4120.        have not been recoded to use new "large file" APIs).
  4121.      * If it's an NFS-mounted disk (if so, try uploading to a local disk)
  4122.      * Is there an "idle limit" on the receiving end?
  4123.        
  4124.    If none of these seem to explain it, then the problem is not size
  4125.    related, but reflects some clash between the file contents and the
  4126.    characteristics of the connection, in which case follow the
  4127.    instructions in the first paragraph of this section.
  4128.    
  4129.    Suppose two copies of Kermit are receiving files into the same
  4130.    directory, and the files have the same name, e.g. "foo.bar". Whichever
  4131.    one starts first opens an output file called "foo.bar". The second one
  4132.    sees there is already a foo.bar file, and so renames the existing
  4133.    foo.bar to foo.bar.~1~ (or whatever). When the first file has been
  4134.    received completely, Kermit goes to change its modification time and
  4135.    permissions to those given by the file sender in the Attribute packet.
  4136.    But in Unix, the APIs for doing this take a filename, not a file
  4137.    descriptor. Since the first Kermit's file has been renamed, and the
  4138.    second Kermit is using the original name, the first Kermit changes the
  4139.    modtime and permissions of the second Kermit's file, not its own.
  4140.    Although there might be a way to work around this in the code, e.g.
  4141.    using inode numbers to keep track of which file is which, this would
  4142.    be tricky and most likely not very portable. It's better to set up
  4143.    your application to prevent such things from happening, which is easy
  4144.    enough using the script language, filename templates, etc.
  4145.    
  4146.    Suppose you start C-Kermit with a command-line argument to send or
  4147.    receive a file (e.g. "kermit -r") and then type Ctrl-\c immediately
  4148.    afterwards to escape back and initiate the other end of the transfer,
  4149.    BUT your local Kermit's escape character is not Ctrl-\. In this case,
  4150.    the local Kermit passes the Ctrl-\ to the remote system, and if this
  4151.    is Unix, Ctrl-\ is likely to be its SIGQUIT character, which causes
  4152.    the current program to halt and dump core. Well, just about the first
  4153.    thing C-Kermit does when it starts is to disable the SIGQUIT signal.
  4154.    However, it is still possible for SIGQUIT to cause Kermit to quit and
  4155.    dump core if it is delivered while Kermit is being loaded or started,
  4156.    before the signal can be disabled. There's nothing Kermit itself can
  4157.    do about this, but you can prevent it from happening by disabling
  4158.    SIGQUIT in your Unix session. The command is usually something like:
  4159.    
  4160.   stty quit undef
  4161.  
  4162.    Unix C-Kermit does not reject incoming files on the basis of size.
  4163.    There appears to be no good (reliable, portable) way to determine in
  4164.    advance how much disk space is available, either on the device, or
  4165.    (when quotas or other limits are involved) to the user.
  4166.    
  4167.    Unix C-Kermit discards all carriage returns from incoming files when
  4168.    in text mode.
  4169.    
  4170.    If C-Kermit has problems creating files in writable directories when
  4171.    it is installed setuid or setgid on BSD-based versions of Unix such as
  4172.    NeXTSTEP 3.0, it probably needs to be rebuilt with the -DSW_ACC_ID
  4173.    compilation switch.
  4174.    
  4175.    If you SET FILE DISPLAY FULLSCREEN, and C-Kermit complains "Sorry,
  4176.    terminal type not supported", it means that the terminal library
  4177.    (termcap or termlib) that C-Kermit was built with does not know about
  4178.    a terminal whose name is the current value of your TERM environment
  4179.    variable. If this happens, but you want to have the fullscreen file
  4180.    transfer display, EXIT from C-Kermit and set a Unix terminal type from
  4181.    among the supported values that is also supported by your terminal
  4182.    emulator, or else have an entry for your terminal type added to the
  4183.    system termcap and/or terminfo database.
  4184.    
  4185.    If you attempt to suspend C-Kermit during local-mode file transfer and
  4186.    then continue it in the background (via bg), it will block for "tty
  4187.    output" if you are using the FULLSCREEN file transfer display. This is
  4188.    apparently a problem with curses. Moving a local-mode file transfer
  4189.    back and forth between foreground and background works correctly,
  4190.    however, with the SERIAL, CRT, BRIEF, or NONE file transfer displays.
  4191.    
  4192.    If C-Kermit's command parser no longer echoes, or otherwise acts
  4193.    strangely, after returning from a file transfer with the fullscreen
  4194.    (curses) display, and the curses library for your version of Unix
  4195.    includes the newterm() function, then try rebuilding your version of
  4196.    C-Kermit with -DCK_NEWTERM. Similarly if it echoes doubly, which might
  4197.    even happen during a subsequent CONNECT session. If rebuilding with
  4198.    -DCK_NEWTERM doesn't fix it, then there is something very strange
  4199.    about your system's curses library, and you should probably not use
  4200.    it. Tell C-Kermit to SET FILE DISPLAY CRT, BRIEF, or anything else
  4201.    other than FULLSCREEN, and/or rebuild without -DCK_CURSES, and without
  4202.    linking with (termlib and) curses. Note: This problem seemed to have
  4203.    escalated in C-Kermit 7.0, and -DCK_NEWTERM had to be added to many
  4204.    builds that previously worked without it: Linux, AIX 4.1, DG/UX, etc.
  4205.    In the Linux case, it is obviously because of changes in the (n)curses
  4206.    library; the cause in the other cases is not known.
  4207.    
  4208.    C-Kermit creates backup-file names (such as "oofa.txt.~1~") based on
  4209.    its knowledge of the maximum filename length on the platform where it
  4210.    is running, which is learned at compile time, based on MAXNAMLEN or
  4211.    equivalent symbols from the system header files. But suppose C-Kermit
  4212.    is receiving files on a Unix platform that supports long filenames,
  4213.    but the incoming files are being stored on an NFS-mounted file system
  4214.    that supports only short names. NFS maps the external system to the
  4215.    local APIs, so C-Kermit has no way of knowing that long names will be
  4216.    truncated. Or that C-Kermit is running on a version of Unix that
  4217.    supports both long-name and short-name file systems simultaneously
  4218.    (such as HP-UX 7.00). This can cause unexpected behavior when creating
  4219.    backup files, or worse. For example, you are sending a group of files
  4220.    whose names are differentiated only by characters past the point at
  4221.    which they would be truncated, each file will overwrite the previous
  4222.    one upon arrival.
  4223.     ________________________________________________________________________
  4224.   
  4225.   11. EXTERNAL FILE TRANSFER PROTOCOLS
  4226.   
  4227.    [ [561]Top ] [ [562]Contents ] [ [563]Next ] [ [564]Previous ]
  4228.    
  4229.    SECTION CONTENTS
  4230.    
  4231.   11.1. [565]C-Kermit as an External Protocol
  4232.   11.2. [566]Invoking External Protocols from C-Kermit
  4233.  
  4234.    Unix C-Kermit can be used in conjunction with other communications
  4235.    software in various ways. C-Kermit can be invoked from another
  4236.    communications program as an "external protocol", and C-Kermit can
  4237.    also invoke other communication software to perform external
  4238.    protocols.
  4239.    
  4240.    This sort of operation makes sense only when you are dialing out from
  4241.    your Unix system (or making a network connection from it). If the Unix
  4242.    system is the one you have dialed in to, you don't need any of these
  4243.    tricks. Just run the desired software on your Unix system instead of
  4244.    Kermit. When dialing out from a Unix system, the difficulty is getting
  4245.    two programs to share the same communication device in spite of the
  4246.    Unix UUCP lockfile mechanism, which would normally prevent any
  4247.    sharing, and preventing the external protocol from closing (and
  4248.    therefore hanging up) the device when it exits back to the program
  4249.    that invoked it.
  4250.    
  4251.   11.1. C-KERMIT AS AN EXTERNAL PROTOCOL
  4252.   
  4253.    [ [567]Top ] [ [568]Contents ] [ [569]Section Contents ] [ [570]Next ]
  4254.    
  4255.    (This section deleted; see [571]Using C-Kermit, 2nd Ed, Chapter 14.)
  4256.    
  4257.    "pcomm" is a general-purpose terminal program that provides file
  4258.    transfer capabilities itself (X- and YMODEM variations) and the
  4259.    ability to call on external programs to do file transfers (ZMODEM and
  4260.    Kermit, for example). You can tell pcomm the command to send or
  4261.    receive a file with an external protocol:
  4262.  
  4263.                         Send                            Receive  
  4264.         ZMODEM          sz filename                     rz
  4265.         Kermit          kermit -s filename              kermit -r
  4266.  
  4267.    pcomm runs external programs for file transfer by making stdin and
  4268.    stdout point to the modem port, and then exec-ing "/bin/sh -c xxx"
  4269.    (where xxx is the appropriate command). However, C-Kermit does not
  4270.    treat stdin and stdout as the communication device unless you instruct
  4271.    it:
  4272.    
  4273.  
  4274.                         Send                            Receive  
  4275.         Kermit          kermit -l 0 -s filename         kermit -l 0 -r
  4276.  
  4277.    The "-l 0" option means to use file descriptor 0 for the communication
  4278.    device.
  4279.    
  4280.    In general, any program can pass any open file descriptor to C-Kermit
  4281.    for the communication device in the "-l" command-line option. When
  4282.    Kermit is given a number as the argument to the "-l" option, it simply
  4283.    uses it as a file descriptor, and it does not attempt to close it upon
  4284.    exit.
  4285.    
  4286.    Here's another example, for Seyon (a Linux communication program).
  4287.    First try the technique above. If that works, fine; otherwise... If
  4288.    Seyon does not give you a way to access and pass along the file
  4289.    descriptor, but it starts up the Kermit program with its standard i/o
  4290.    redirected to its (Seyon's) communications file descriptor, you can
  4291.    also experiment with the following method, which worked here in brief
  4292.    tests on SunOS. Instead of having Seyon use "kermit -r" or "kermit -s
  4293.    filename" as its Kermit protocol commands, use something like this
  4294.    (examples assume C-Kermit 6.0):
  4295.    
  4296.    For serial connections:
  4297.           
  4298.  
  4299.   kermit -YqQl 0 -r                     <-- to receive
  4300.   kermit -YqQl 0 -s filename(s)         <-- to send one or more files
  4301.  
  4302.    For Telnet connections:
  4303.           
  4304.  
  4305.   kermit -YqQF 0 -r                     <-- to receive
  4306.   kermit -YqQF 0 -s filename(s)         <-- to send one or more files
  4307.  
  4308.    Command line options:
  4309.    
  4310.   Y    - skip executing the init file
  4311.   Q    - use fast file transfer settings (default in 8.0)
  4312.   l 0  - transfer files using file descriptor 0 for a serial connection
  4313.   F 0  - transfer files using file descriptor 0 for a Telnet connection
  4314.   q    - quiet - no messages
  4315.   r    - receive
  4316.   s    - send
  4317.  
  4318.   11.2. INVOKING EXTERNAL PROTOCOLS FROM C-KERMIT
  4319.   
  4320.    [ [572]Top ] [ [573]Contents ] [ [574]Section Contents ] [
  4321.    [575]Previous ]
  4322.    
  4323.      (This section is obsolete, but not totally useless. See Chapter 14
  4324.      of [576]Using C-Kermit, 2nd Edition). 
  4325.      
  4326.    After you have opened a communication link with C-Kermit's SET LINE
  4327.    (SET PORT) or SET HOST (TELNET) command, C-Kermit makes its file
  4328.    descriptor available to you in the \v(ttyfd) variable so you can pass
  4329.    it along to other programs that you RUN from C-Kermit. Here, for
  4330.    example, C-Kermit runs itself as an external protocol:
  4331.    
  4332.   C-Kermit>set modem type hayes
  4333.   C-Kermit>set line /dev/acu
  4334.   C-Kermit>set speed 2400
  4335.   C-Kermit>dial 7654321
  4336.    Call complete.
  4337.   C-Kermit>echo \v(ttyfd)
  4338.    3
  4339.   C-Kermit>run kermit -l \v(ttyfd)
  4340.  
  4341.    Other programs that accept open file descriptors on the command line
  4342.    can be started in the same way.
  4343.    
  4344.    You can also use your shell's i/o redirection facilities to assign
  4345.    C-Kermit's open file descriptor (ttyfd) to stdin or stdout. For
  4346.    example, old versions of the Unix ZMODEM programs, sz and rz, when
  4347.    invoked as external protocols, expect to find the communication device
  4348.    assigned to stdin and stdout with no option for specifying any other
  4349.    file descriptor on the sz or rz command line. However, you can still
  4350.    invoke sz and rz as exterior protocols from C-Kermit if your current
  4351.    shell ($SHELL variable) is ksh (the Korn shell) or bash (the
  4352.    Bourne-Again shell), which allows assignment of arbitrary file
  4353.    descriptors to stdin and stdout:
  4354.    
  4355.   C-Kermit> run rz <&\v(ttyfd) >&\v(ttyfd)
  4356.  
  4357.    or:
  4358.    
  4359.   C-Kermit> run sz oofa.zip <&\v(ttyfd) >&\v(ttyfd)
  4360.  
  4361.    In version 5A(190) and later, you can use C-Kermit's REDIRECT command,
  4362.    if it is available in your version of C-Kermit, to accomplish the same
  4363.    thing without going through the shell:
  4364.    
  4365.   C-Kermit> redirect rz
  4366.  
  4367.    or:
  4368.    
  4369.   C-Kermit> redirect sz oofa.zip
  4370.  
  4371.    A complete set of rz,sz,rb,sb,rx,sx macros for Unix C-Kermit is
  4372.    defined in the file ckurzsz.ini. It automatically chooses the best
  4373.    redirection method (but is redundant since C-Kermit 6.0, which now has
  4374.    built-in support for external protocols via its SET PROTOCOL command).
  4375.    
  4376.    Note that external protocols can be used on C-Kermit SET LINE or SET
  4377.    HOST connections only if they operate through standard input and
  4378.    standard output. If they open their own connections, Kermit can't
  4379.    redirect them over its own connection.
  4380.     ________________________________________________________________________
  4381.   
  4382.   12. SECURITY
  4383.   
  4384.    [ [577]Top ] [ [578]Contents ] [ [579]Next ] [ [580]Previous ]
  4385.    
  4386.    As of version 7.0, C-Kermit supports a wide range of security options
  4387.    for authentication and encryption: Kerberos 4, Kerberos 5 / GSSAPI,
  4388.    SSL/TLS, and SRP. See the separate [581]security document for details.
  4389.     ________________________________________________________________________
  4390.   
  4391.   13. MISCELLANEOUS USER REPORTS
  4392.   
  4393.    [ [582]Top ] [ [583]Contents ] [ [584]Next ] [ [585]Previous ]
  4394.    
  4395. Date: Thu, 12 Mar 92 1:59:25 MEZ
  4396. From: Walter Mecky <walter@rent-a-guru.de>
  4397. Subject: Help.Unix.sw
  4398. To: svr4@pcsbst.pcs.com, source@usl.com
  4399.  
  4400. PRODUCT:        Unix
  4401. RELEASE:        Dell SVR4 V2.1 (is USL V3.0)
  4402. MACHINE:        AT-386
  4403. PATHNAME:       /usr/lib/libc.so.1
  4404.                 /usr/ccs/lib/libc.a
  4405. ABSTRACT:       Function ttyname() does not close its file descriptor
  4406. DESCRIPTION:
  4407.         ttyname(3C) opens /dev but never closes it. So if it is called
  4408.         often enough the open(2) in ttyname() fails. Because the broken
  4409.         ttyname() is in the shared lib too all programs using it can
  4410.         fail if they call it often enough. One important program is
  4411.         uucico which calls ttyname for every file it transfers.
  4412.  
  4413.    Here is a little test program if your system has the bug:
  4414.    
  4415. #include <stdlib.h>
  4416. #include <stdio.h>
  4417. main() {
  4418.     int i = 0;
  4419.     while (ttyname(0) != NULL)
  4420.       i++;
  4421.     perror("ttyname");
  4422.     printf("i=%d\n", i);
  4423. }
  4424.  
  4425.    If this program runs longer than some seconds you don't have the bug.
  4426.    
  4427.    WORKAROUND: None FIX: Very easy if you have source code.
  4428.    
  4429.    Another user reports some more explicit symptoms and recoveries:
  4430.    
  4431. > What happens is when invoking ckermit we get one of the following
  4432. > error messages:
  4433. >   You must set line
  4434. >   Not a tty
  4435. >   No more processes.
  4436. > One of the following three actions clears the peoblem:
  4437. >   shutdown -y -g0 -i6
  4438. >   kill -9 the ttymon with the highest PID
  4439. >   Invoke sysadm and disable then enable the line you want to use.
  4440. > Turning off respawn of sac -t 300 and going to getty's and uugetty's
  4441. > does not help.
  4442. >
  4443. > Also C-Kermit reports "?timed out closing /dev/ttyxx".
  4444. > If this happens all is well.
  4445.  
  4446. ------------------------------
  4447.  
  4448.    (Note: the following problem also occurs on SGI and probably many
  4449.    other Unix systems):
  4450.    
  4451.    From: James Spath <spath@jhunix.hcf.jhu.edu>
  4452.    To: Info-Kermit-Request@cunixf.cc.columbia.edu
  4453.    Date: Wed, 9 Sep 1992 20:20:28 -0400
  4454.    Subject: C-Kermit vs uugetty (or init) on Sperry 5000
  4455.    
  4456.    We have successfully compiled the above release on a Unisys/Sperry
  4457.    5000/95. We used the sys5r3 option, rather than sys5r2 since we have
  4458.    VR3 running on our system. In order to allow dialout access to
  4459.    non-superusers, we had to do "chmod 666 /dev/tty###, where it had been
  4460.    -rw--w--w- (owned by uucp), and to do "chmod +w /usr/spool/locks". We
  4461.    have done text and binary file transfers through local and remote
  4462.    connections.
  4463.    
  4464.    The problem concerning uucp ownership and permissions is worse than I
  4465.    thought at first. Apparently init or uugetty changes the file
  4466.    permissions after each session. So I wrote the following C program to
  4467.    open a set of requested tty lines. I run this for any required
  4468.    outgoing line prior to a Kermit session.
  4469.    
  4470.    ------ cut here -------
  4471. /* opentty.c -- force allow read on tty lines for modem i/o */
  4472. /* idea from: restrict.c -- System 5 Admin book Thomas/Farrow p. 605 */
  4473. /* /jes jim spath {spath@jhunix.hcj.jhu.edu } */
  4474. /* 08-Sep-92 NO COPYRIGHT. */
  4475. /* this must be suid to open other tty lines */
  4476.  
  4477. /* #define DEBUG */
  4478. #define TTY "/dev/tty"
  4479. #define LOK "/usr/spool/locks/LCK..tty"
  4480. #include <stdio.h>
  4481.  
  4482. /* allowable lines: */
  4483. #define TOTAL_LINES 3
  4484. static char allowable[TOTAL_LINES][4] = { "200", "201", "300" };
  4485. static int total=TOTAL_LINES;
  4486. int allow;
  4487.  
  4488. /* states: */
  4489. #define TTY_UNDEF 0
  4490. #define TTY_LOCK  1
  4491. #define TTY_OKAY  2
  4492.  
  4493. main(argc, argv)
  4494. int argc; char *argv[]; {
  4495.     char device[512];
  4496.     char lockdev[512];
  4497.     int i;
  4498.     if (argc == 1) {
  4499.         fprintf(stderr, "usage: open 200 [...]\n");
  4500.     }
  4501.     while (--argc > 0 && (*++argv) != NULL ) {
  4502. #ifdef DEBUG
  4503.         fprintf(stderr, "TRYING: %s%s\n", TTY, *argv);
  4504. #endif
  4505.         sprintf(device, "%s%s", TTY, *argv);
  4506.         sprintf(lockdev, "%s%s", LOK, *argv);
  4507.         allow = TTY_UNDEF; i = 0;
  4508.         while (i <= total) { /* look at all defined lines */
  4509. #ifdef DEBUG
  4510.             fprintf(stderr, "LOCKFILE? %s?\n", lockdev);
  4511. #endif
  4512.             if (access(lockdev, 00) == 0) {
  4513.                 allow=TTY_LOCK;
  4514.                 break;
  4515.             }
  4516. #ifdef DEBUG
  4517.             fprintf(stderr, "DOES:%s==%s?\n", allowable[i], *argv);
  4518. #endif
  4519.             if (strcmp(allowable[i], *argv) == 0)
  4520.               allow=TTY_OKAY;
  4521.             i++;
  4522.         }
  4523. #ifdef DEBUG
  4524.         fprintf(stderr, "allow=%d\n", allow);
  4525. #endif
  4526.         switch (allow) {
  4527.           case TTY_UNDEF:
  4528.             fprintf (stderr, "open: not allowed on %s\n", *argv);
  4529.             break;
  4530.           case TTY_LOCK:
  4531.             fprintf (stderr, "open: device locked: %s\n", lockdev);
  4532.             break;
  4533.           case TTY_OKAY:
  4534.             /* attempt to change mode on device */
  4535.             if (chmod (device, 00666) < 0)
  4536.               fprintf (stderr, "open: cannot chmod on %s\n", device);
  4537.             break;
  4538.           default:
  4539.             fprintf (stderr, "open: FAULT\n");
  4540.         }
  4541.     }
  4542.     exit (0);
  4543. }
  4544.     ________________________________________________________________________
  4545.   
  4546.   14. THIRD-PARTY DRIVERS
  4547.   
  4548.    [ [586]Top ] [ [587]Contents ] [ [588]Next ] [ [589]Previous ]
  4549.    
  4550.    Unix versions, especially those for PCs (SCO, Unixware, etc) might be
  4551.    augmented by third-party communication-board drivers from Digiboard,
  4552.    Stallion, etc. These can sometimes complicate matters for Kermit
  4553.    considerably since Kermit has no way of knowing that it is going
  4554.    through a possibly nonstandard driver. Various examples are listed in
  4555.    the earlier sections of this document; search for Stallion, Digiboard,
  4556.    etc. Additionally:
  4557.    
  4558.      * The Stallion Technologies EasyConnection serial board driver does
  4559.        not always report the state of DSR as low. From Stallion (October
  4560.        1997): "Unfortunately, this is a bug in our driver. We have
  4561.        implemented all of the other TIOMC functions, eg DTR, DCD, RTS and
  4562.        CTS, but not DSR. Our driver should report the actual state of DSR
  4563.        on those of our cards that have a DSR signal. That the driver
  4564.        always reports DSR as not asserted (0), is a bug in the driver.
  4565.        The driver should be either reporting the state of DSR correctly
  4566.        on those cards that support DSR or as always asserted (1) on those
  4567.        cards that do not have a DSR signal. This will be fixed in a
  4568.        future version of our drivers; at this time I cannot say when this
  4569.        will be." And later, "As far as I can tell, we don't support the
  4570.        termios/termiox ioctls that relate specifically to DSR and RI; all
  4571.        the rest are supported. This will, as I mentioned earlier, be
  4572.        fixed in the next release of our ATA software."
  4573.        - World Wide Escalation Support, Stallion Technologies, Toowong
  4574.        QLD, [590]support@stallion.oz.au.
  4575.        
  4576.    Later (December 1997, from the same source):
  4577.    
  4578.      * We have now released a new version of the ATA software, version
  4579.        5.4.0. This version fixes the problem with the states of the DSR
  4580.        and RI signals and how they were being reported by the driver.
  4581.        This is the problem that you reported in October. The DSR signal
  4582.        is reported correctly on those cards that support the DSR signal,
  4583.        such as the early revision of the EasyIO card and the
  4584.        EasyConnection 8D4 panel, and as always asserted on those cards
  4585.        that do not support the DSR signal in the hardware. The new driver
  4586.        is available from our Web site, [591]www.stallion.com, in the
  4587.        /drivers/ata5/UnixWare directory.
  4588.        
  4589.    [ [592]Top ] [ [593]Contents ] [ [594]C-Kermit Home ] [ [595]C-Kermit
  4590.    8.0 Overview ] [ [596]Kermit Home ]
  4591.      _________________________________________________________________
  4592.    
  4593.    C-Kermit 8.0 Unix Hints and Tips / [597]The Kermit Project /
  4594.    [598]Columbia University / [599]kermit@columbia.edu / 14 March 2003
  4595.  
  4596. References
  4597.  
  4598.    1. http://www.columbia.edu/kermit/
  4599.    2. http://www.columbia.edu/
  4600.    3. http://www.columbia.edu/kermit/ckubwr.html
  4601.    4. mailto:kermit-support@columbia.edu
  4602.    5. http://www.columbia.edu/kermit/ckermit.html
  4603.    6. http://www.columbia.edu/kermit/ckuins.html
  4604.    7. http://www.columbia.edu/kermit/ckututor.html
  4605.    8. http://www.columbia.edu/kermit/ckubwr.html#x1
  4606.    9. http://www.columbia.edu/kermit/ckubwr.html#x2
  4607.   10. http://www.columbia.edu/kermit/ckubwr.html#x3
  4608.   11. http://www.columbia.edu/kermit/ckubwr.html#x4
  4609.   12. http://www.columbia.edu/kermit/ckubwr.html#x5
  4610.   13. http://www.columbia.edu/kermit/ckubwr.html#x6
  4611.   14. http://www.columbia.edu/kermit/ckubwr.html#x7
  4612.   15. http://www.columbia.edu/kermit/ckubwr.html#x8
  4613.   16. http://www.columbia.edu/kermit/ckubwr.html#x9
  4614.   17. http://www.columbia.edu/kermit/ckubwr.html#x10
  4615.   18. http://www.columbia.edu/kermit/ckubwr.html#x11
  4616.   19. http://www.columbia.edu/kermit/ckubwr.html#x12
  4617.   20. http://www.columbia.edu/kermit/ckubwr.html#x13
  4618.   21. http://www.columbia.edu/kermit/ckubwr.html#x14
  4619.   22. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4620.   23. http://www.columbia.edu/kermit/ckubwr.html#x3.18
  4621.   24. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4622.   25. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4623.   26. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  4624.   27. http://www.columbia.edu/kermit/ckubwr.html#x3.6
  4625.   28. http://www.columbia.edu/kermit/ckubwr.html#x3.13
  4626.   29. http://www.columbia.edu/kermit/ckubwr.html#top
  4627.   30. http://www.columbia.edu/kermit/ckubwr.html#contents
  4628.   31. http://www.columbia.edu/kermit/ckubwr.html#x2
  4629.   32. http://www.columbia.edu/kermit/ckubwr.html#x1.1
  4630.   33. http://www.columbia.edu/kermit/ckubwr.html#x1.2
  4631.   34. http://www.columbia.edu/kermit/ckubwr.html#x1.3
  4632.   35. http://www.columbia.edu/kermit/ckubwr.html#x1.4
  4633.   36. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4634.   37. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4635.   38. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4636.   39. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  4637.   40. http://www.columbia.edu/kermit/ckcbwr.html
  4638.   41. mailto:kermit-support@columbia.edu
  4639.   42. http://www.columbia.edu/kermit/ckubwr.html#top
  4640.   43. http://www.columbia.edu/kermit/ckubwr.html#contents
  4641.   44. http://www.columbia.edu/kermit/ckubwr.html#x1.2
  4642.   45. http://www.columbia.edu/kermit/ck60manual.html
  4643.   46. http://www.columbia.edu/kermit/ckermit70.html
  4644.   47. http://www.columbia.edu/kermit/ckermit80.html
  4645.   48. http://www.columbia.edu/kermit/ckubwr.html#top
  4646.   49. http://www.columbia.edu/kermit/ckubwr.html#contents
  4647.   50. http://www.columbia.edu/kermit/ckubwr.html#x1
  4648.   51. http://www.columbia.edu/kermit/ckubwr.html#x1.3
  4649.   52. http://www.columbia.edu/kermit/ckubwr.html#x1.1
  4650.   53. http://www.columbia.edu/kermit/support.html
  4651.   54. http://www.columbia.edu/kermit/ckubwr.html#top
  4652.   55. http://www.columbia.edu/kermit/ckubwr.html#contents
  4653.   56. http://www.columbia.edu/kermit/ckubwr.html#x1
  4654.   57. http://www.columbia.edu/kermit/ckubwr.html#x1.4
  4655.   58. http://www.columbia.edu/kermit/ckubwr.html#x1.2
  4656.   59. http://www.columbia.edu/kermit/ckubwr.html#top
  4657.   60. http://www.columbia.edu/kermit/ckubwr.html#contents
  4658.   61. http://www.columbia.edu/kermit/ckubwr.html#x1
  4659.   62. http://www.columbia.edu/kermit/ckubwr.html#x1.3
  4660.   63. http://www.columbia.edu/kermit/ckubwr.html#top
  4661.   64. http://www.columbia.edu/kermit/ckubwr.html#contents
  4662.   65. http://www.columbia.edu/kermit/ckubwr.html#x3
  4663.   66. http://www.columbia.edu/kermit/ckubwr.html#x1
  4664.   67. http://www.columbia.edu/kermit/ckubwr.html#top
  4665.   68. http://www.columbia.edu/kermit/ckubwr.html#contents
  4666.   69. http://www.columbia.edu/kermit/ckubwr.html#x4
  4667.   70. http://www.columbia.edu/kermit/ckubwr.html#x2
  4668.   71. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4669.   72. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4670.   73. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4671.   74. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4672.   75. http://www.columbia.edu/kermit/ckubwr.html#x3.4
  4673.   76. http://www.columbia.edu/kermit/ckubwr.html#x3.5
  4674.   77. http://www.columbia.edu/kermit/ckubwr.html#x3.6
  4675.   78. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  4676.   79. http://www.columbia.edu/kermit/ckubwr.html#x3.8
  4677.   80. http://www.columbia.edu/kermit/ckubwr.html#x3.9
  4678.   81. http://www.columbia.edu/kermit/ckubwr.html#x3.10
  4679.   82. http://www.columbia.edu/kermit/ckubwr.html#x3.11
  4680.   83. http://www.columbia.edu/kermit/ckubwr.html#x3.12
  4681.   84. http://www.columbia.edu/kermit/ckubwr.html#x3.13
  4682.   85. http://www.columbia.edu/kermit/ckubwr.html#x3.14
  4683.   86. http://www.columbia.edu/kermit/ckubwr.html#x3.15
  4684.   87. http://www.columbia.edu/kermit/ckubwr.html#x3.16
  4685.   88. http://www.columbia.edu/kermit/ckubwr.html#x3.17
  4686.   89. http://www.columbia.edu/kermit/ckubwr.html#x3.18
  4687.   90. http://www.columbia.edu/kermit/ckubwr.html#x3.19
  4688.   91. http://www.columbia.edu/kermit/ckubwr.html#x3.20
  4689.   92. http://www.faqs.org/
  4690.   93. http://www.columbia.edu/kermit/x3
  4691.   94. mailto:kermit-support@columbia.edu
  4692.   95. http://www.columbia.edu/kermit/support.html
  4693.   96. http://www.columbia.edu/kermit/ckubwr.html#top
  4694.   97. http://www.columbia.edu/kermit/ckubwr.html#contents
  4695.   98. http://www.columbia.edu/kermit/ckubwr.html#x3
  4696.   99. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4697.  100. http://www.columbia.edu/kermit/ckubwr.html#x3.0.1
  4698.  101. http://www.columbia.edu/kermit/ckubwr.html#x3.0.2
  4699.  102. http://www.columbia.edu/kermit/ckubwr.html#x3.0.3
  4700.  103. http://www.columbia.edu/kermit/ckubwr.html#x3.0.4
  4701.  104. http://www.columbia.edu/kermit/ckubwr.html#x3.0.5
  4702.  105. http://www.columbia.edu/kermit/ckubwr.html#x3.0.6
  4703.  106. http://www.columbia.edu/kermit/ckubwr.html#top
  4704.  107. http://www.columbia.edu/kermit/ckubwr.html#contents
  4705.  108. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4706.  109. http://www.columbia.edu/kermit/ckubwr.html#x3.0.2
  4707.  110. http://www.columbia.edu/kermit/ckubwr.html#top
  4708.  111. http://www.columbia.edu/kermit/ckubwr.html#contents
  4709.  112. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4710.  113. http://www.columbia.edu/kermit/ckubwr.html#x3.0.3
  4711.  114. http://www.columbia.edu/kermit/ckubwr.html#x3.0.1
  4712.  115. http://www.linmodems.org/
  4713.  116. http://www.microsoft.com/hwdev/platform/PCdesign/LR/default.asp
  4714.  117. http://www.columbia.edu/kermit/ckubwr.html#top
  4715.  118. http://www.columbia.edu/kermit/ckubwr.html#contents
  4716.  119. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4717.  120. http://www.columbia.edu/kermit/ckubwr.html#x3.0.4
  4718.  121. http://www.columbia.edu/kermit/ckubwr.html#x3.0.2
  4719.  122. http://www.idir.net/~gromitkc/winmodem.html
  4720.  123. http://www.digi.com/
  4721.  124. http://www.columbia.edu/kermit/ckubwr.html#top
  4722.  125. http://www.columbia.edu/kermit/ckubwr.html#contents
  4723.  126. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4724.  127. http://www.columbia.edu/kermit/ckubwr.html#x3.0.5
  4725.  128. http://www.columbia.edu/kermit/ckubwr.html#x3.0.3
  4726.  129. http://www.columbia.edu/kermit/ckubwr.html#top
  4727.  130. http://www.columbia.edu/kermit/ckubwr.html#contents
  4728.  131. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4729.  132. http://www.columbia.edu/kermit/ckubwr.html#x3.0.6
  4730.  133. http://www.columbia.edu/kermit/ckubwr.html#x3.0.4
  4731.  134. http://www.columbia.edu/kermit/ckubwr.html#top
  4732.  135. http://www.columbia.edu/kermit/ckubwr.html#contents
  4733.  136. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4734.  137. http://www.columbia.edu/kermit/ckubwr.html#x3.0.5
  4735.  138. http://www.columbia.edu/kermit/ckubwr.html#top
  4736.  139. http://www.columbia.edu/kermit/ckubwr.html#contents
  4737.  140. http://www.columbia.edu/kermit/ckubwr.html#x3
  4738.  141. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4739.  142. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4740.  143. http://www.columbia.edu/kermit/ckubwr.html#x3.1.1
  4741.  144. http://www.columbia.edu/kermit/ckubwr.html#x3.1.2
  4742.  145. http://www.columbia.edu/kermit/ckubwr.html#x3.1.3
  4743.  146. http://www.columbia.edu/kermit/ckubwr.html#x3.1.4
  4744.  147. http://www.columbia.edu/kermit/ckubwr.html#x3.1.5
  4745.  148. http://www.emerson.emory.edu/services/aix-faq/
  4746.  149. http://www.faqs.org/faqs/by-newsgroup/comp/comp.unix.aix.html
  4747.  150. http://www.cis.ohio-state.edu/hypertext/faq/usenet/aix-faq/top.html
  4748.  151. http://aixpdslib.seas.ucla.edu/
  4749.  152. http://www.rootvg.net(AIXhistory)/
  4750.  153. ftp://rtfm.mit.edu/pub/usenet/news.answers/aix-faq/part1
  4751.  154. ftp://mirrors.aol.com/pub/rtfm/usenet-by-hierarchy/comp/unix/aix
  4752.  155. news:comp.unix.aix
  4753.  156. http://www.columbia.edu/kermit/ckubwr.html#top
  4754.  157. http://www.columbia.edu/kermit/ckubwr.html#contents
  4755.  158. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4756.  159. http://www.columbia.edu/kermit/ckubwr.html#x3.1.2
  4757.  160. http://www.columbia.edu/kermit/ckubwr.html#top
  4758.  161. http://www.columbia.edu/kermit/ckubwr.html#contents
  4759.  162. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4760.  163. http://www.columbia.edu/kermit/ckubwr.html#x3.1.3
  4761.  164. http://www.columbia.edu/kermit/ckubwr.html#x3.1.1
  4762.  165. http://www.columbia.edu/kermit/security.html#servers
  4763.  166. http://www.columbia.edu/kermit/ckubwr.html#top
  4764.  167. http://www.columbia.edu/kermit/ckubwr.html#contents
  4765.  168. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4766.  169. http://www.columbia.edu/kermit/ckubwr.html#x3.1.4
  4767.  170. http://www.columbia.edu/kermit/ckubwr.html#x3.1.2
  4768.  171. http://service.software.ibm.com/rs6000/
  4769.  172. http://www.columbia.edu/kermit/ckubwr.html#top
  4770.  173. http://www.columbia.edu/kermit/ckubwr.html#contents
  4771.  174. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4772.  175. http://www.columbia.edu/kermit/ckubwr.html#x3.1.5
  4773.  176. http://www.columbia.edu/kermit/ckubwr.html#x3.1.3
  4774.  177. http://www.columbia.edu/kermit/ckubwr.html#top
  4775.  178. http://www.columbia.edu/kermit/ckubwr.html#contents
  4776.  179. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4777.  180. http://www.columbia.edu/kermit/ckubwr.html#x3.1.4
  4778.  181. http://www.columbia.edu/kermit/ckubwr.html#top
  4779.  182. http://www.columbia.edu/kermit/ckubwr.html#contents
  4780.  183. http://www.columbia.edu/kermit/ckubwr.html#x3
  4781.  184. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4782.  185. http://www.columbia.edu/kermit/ckubwr.html#x3.1
  4783.  186. http://www.columbia.edu/kermit/ckubwr.html#x3.2.0
  4784.  187. http://www.columbia.edu/kermit/ckubwr.html#x3.2.1
  4785.  188. http://www.columbia.edu/kermit/ckubwr.html#x3.2.2
  4786.  189. http://www.columbia.edu/kermit/ckubwr.html#x3.2.3
  4787.  190. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4
  4788.  191. http://www.columbia.edu/kermit/ckubwr.html#x3.2.5
  4789.  192. news:comp.sys.hp.hpux
  4790.  193. http://www.columbia.edu/kermit/ckubwr.html#top
  4791.  194. http://www.columbia.edu/kermit/ckubwr.html#contents
  4792.  195. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4793.  196. http://www.columbia.edu/kermit/ckubwr.html#x3.2.1
  4794.  197. http://www.columbia.edu/kermit/ckubwr.html#top
  4795.  198. http://www.columbia.edu/kermit/ckubwr.html#contents
  4796.  199. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4797.  200. http://www.columbia.edu/kermit/ckubwr.html#x3.2.2
  4798.  201. http://www.columbia.edu/kermit/ckubwr.html#x3.2.0
  4799.  202. ftp://kermit.columbia.edu/kermit/f/makefile
  4800.  203. http://www.columbia.edu/kermit/ckubwr.html#top
  4801.  204. http://www.columbia.edu/kermit/ckubwr.html#contents
  4802.  205. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4803.  206. http://www.columbia.edu/kermit/ckubwr.html#x3.2.3
  4804.  207. http://www.columbia.edu/kermit/ckubwr.html#x3.2.1
  4805.  208. http://www.columbia.edu/kermit/ckubwr.html#top
  4806.  209. http://www.columbia.edu/kermit/ckubwr.html#contents
  4807.  210. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4808.  211. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4
  4809.  212. http://www.columbia.edu/kermit/ckubwr.html#x3.2.2
  4810.  213. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.1
  4811.  214. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.2
  4812.  215. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.3
  4813.  216. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.4
  4814.  217. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.5
  4815.  218. http://www.columbia.edu/kermit/ckubwr.html#top
  4816.  219. http://www.columbia.edu/kermit/ckubwr.html#contents
  4817.  220. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4818.  221. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.2
  4819.  222. http://www.columbia.edu/kermit/ckubwr.html#x3.2.2
  4820.  223. http://www.columbia.edu/kermit/ckubwr.html#top
  4821.  224. http://www.columbia.edu/kermit/ckubwr.html#contents
  4822.  225. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4
  4823.  226. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.3
  4824.  227. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.1
  4825.  228. http://www.columbia.edu/kermit/ckubwr.html#top
  4826.  229. http://www.columbia.edu/kermit/ckubwr.html#contents
  4827.  230. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4
  4828.  231. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.4
  4829.  232. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.2
  4830.  233. http://www.columbia.edu/kermit/ckubwr.html#top
  4831.  234. http://www.columbia.edu/kermit/ckubwr.html#contents
  4832.  235. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4
  4833.  236. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.5
  4834.  237. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.3
  4835.  238. http://www.columbia.edu/kermit/ckubwr.html#top
  4836.  239. http://www.columbia.edu/kermit/ckubwr.html#contents
  4837.  240. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4
  4838.  241. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4.4
  4839.  242. http://www.columbia.edu/kermit/ckubwr.html#top
  4840.  243. http://www.columbia.edu/kermit/ckubwr.html#contents
  4841.  244. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4842.  245. http://www.columbia.edu/kermit/ckubwr.html#x3.2.4
  4843.  246. http://www.columbia.edu/kermit/ckubwr.html#top
  4844.  247. http://www.columbia.edu/kermit/ckubwr.html#contents
  4845.  248. http://www.columbia.edu/kermit/ckubwr.html#x3
  4846.  249. http://www.columbia.edu/kermit/ckubwr.html#x3.4
  4847.  250. http://www.columbia.edu/kermit/ckubwr.html#x3.2
  4848.  251. http://www.columbia.edu/kermit/ckubwr.html#x3.3.1
  4849.  252. http://www.columbia.edu/kermit/ckubwr.html#x3.3.2
  4850.  253. http://www.columbia.edu/kermit/ckubwr.html#x3.3.3
  4851.  254. http://www.columbia.edu/kermit/ckubwr.html#x3.3.4
  4852.  255. http://www.columbia.edu/kermit/ckubwr.html#x3.3.5
  4853.  256. http://www.columbia.edu/kermit/ckubwr.html#x3.3.6
  4854.  257. news:comp.os.linux.misc
  4855.  258. news:comp.os.linux.answers
  4856.  259. http://www.tldp.org/
  4857.  260. http://www.tldp.org/FAQ/Linux-FAQ.html
  4858.  261. http://www.tldp.org/HOWTO/Serial-HOWTO.html
  4859.  262. http://tldp.org/HOWTO/Modem-HOWTO.html
  4860.  263. ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO
  4861.  264. ftp://tsx-11.mit.edu/pub/linux/docs/HOWTO
  4862.  265. http://www.tldp.org/HOWTO/
  4863.  266. http://www.tldp.org/hmirrors.html
  4864.  267. http://www.redhat.com/apps/support/
  4865.  268. http://www.debian.org/support
  4866.  269. http://www.slackware.com/support/
  4867.  270. http://www.caldera.com/support/
  4868.  271. http://www.suse.com/support/
  4869.  272. http://www.mandrake.com/support/
  4870.  273. http://www.turbolinux.com/support/
  4871.  274. http://www.linmodems.org/
  4872.  275. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4873.  276. http://linux.dreamtime.org/decnet/
  4874.  277. mailto:kermit-support@columbia.edu
  4875.  278. http://www.linmodems.org/
  4876.  279. http://www.columbia.edu/kermit/ckubwr.html#x3.0.2
  4877.  280. http://www.columbia.edu/kermit/security.html#servers
  4878.  281. http://www.columbia.edu/kermit/sshclient.html
  4879.  282. http://www.columbia.edu/kermit/ckubwr.html#top
  4880.  283. http://www.columbia.edu/kermit/ckubwr.html#contents
  4881.  284. http://www.columbia.edu/kermit/ckubwr.html#x3
  4882.  285. http://www.columbia.edu/kermit/ckubwr.html#x3.3.2
  4883.  286. http://www.columbia.edu/kermit/ckubwr.html#top
  4884.  287. http://www.columbia.edu/kermit/ckubwr.html#contents
  4885.  288. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4886.  289. http://www.columbia.edu/kermit/ckubwr.html#x3.3.3
  4887.  290. http://www.columbia.edu/kermit/ckubwr.html#x3.3.1
  4888.  291. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4889.  292. http://www.columbia.edu/kermit/ckubwr.html#x6
  4890.  293. http://www.columbia.edu/kermit/ckubwr.html#x7
  4891.  294. http://www.columbia.edu/kermit/ckubwr.html#x8
  4892.  295. http://www.columbia.edu/kermit/ckuins.html#x10
  4893.  296. http://www.columbia.edu/kermit/ckuins.html#x11
  4894.  297. http://www.columbia.edu/kermit/ckuins.html
  4895.  298. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4896.  299. http://linuxwww.db.erau.edu/mail_archives/linux-kernel/Mar_98/1441.html
  4897.  300. http://www.columbia.edu/kermit/ckubwr.html#top
  4898.  301. http://www.columbia.edu/kermit/ckubwr.html#contents
  4899.  302. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4900.  303. http://www.columbia.edu/kermit/ckubwr.html#x3.3.4
  4901.  304. http://www.columbia.edu/kermit/ckubwr.html#x3.3.2
  4902.  305. http://www.columbia.edu/kermit/ckubwr.html#x3.0.5
  4903.  306. http://www.columbia.edu/kermit/ckfaq.html#term
  4904.  307. http://dickey.his.com/xterm/xterm.html
  4905.  308. http://dickey.his.com/xterm/xterm.html
  4906.  309. ftp://kermit.columbia.edu/kermit/f/xmodmap.txt
  4907.  310. http://www.columbia.edu/kermit/ckubwr.html#top
  4908.  311. http://www.columbia.edu/kermit/ckubwr.html#contents
  4909.  312. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4910.  313. http://www.columbia.edu/kermit/ckubwr.html#x3.3.5
  4911.  314. http://www.columbia.edu/kermit/ckubwr.html#x3.3.3
  4912.  315. http://www.columbia.edu/kermit/ckubwr.html#top
  4913.  316. http://www.columbia.edu/kermit/ckubwr.html#contents
  4914.  317. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4915.  318. http://www.columbia.edu/kermit/ckubwr.html#x3.3.6
  4916.  319. http://www.columbia.edu/kermit/ckubwr.html#x3.3.4
  4917.  320. http://www.columbia.edu/kermit/ckermit.html
  4918.  321. mailto:kermit-support@columbia.edu
  4919.  322. http://www.redhat.com/support/errata/RHBA-2001-153.html
  4920.  323. news:comp.protocols.kermit.misc
  4921.  324. http://www.columbia.edu/kermit/ckubwr.html#top
  4922.  325. http://www.columbia.edu/kermit/ckubwr.html#contents
  4923.  326. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4924.  327. http://www.columbia.edu/kermit/ckubwr.html#x3.3.5
  4925.  328. http://www.columbia.edu/kermit/ckubwr.html#top
  4926.  329. http://www.columbia.edu/kermit/ckubwr.html#contents
  4927.  330. http://www.columbia.edu/kermit/ckubwr.html#x3
  4928.  331. http://www.columbia.edu/kermit/ckubwr.html#x3.5
  4929.  332. http://www.columbia.edu/kermit/ckubwr.html#x3.3
  4930.  333. http://www.columbia.edu/kermit/ckubwr.html#top
  4931.  334. http://www.columbia.edu/kermit/ckubwr.html#contents
  4932.  335. http://www.columbia.edu/kermit/ckubwr.html#x3
  4933.  336. http://www.columbia.edu/kermit/ckubwr.html#x3.6
  4934.  337. http://www.columbia.edu/kermit/ckubwr.html#x3.4
  4935.  338. news:comp.os.qnx
  4936.  339. http://www.columbia.edu/kermit/gkermit.html
  4937.  340. http://www.columbia.edu/kermit/ckuins.html#x10
  4938.  341. http://www.columbia.edu/kermit/ckuins.html
  4939.  342. http://www.columbia.edu/kermit/ckubwr.html#top
  4940.  343. http://www.columbia.edu/kermit/ckubwr.html#contents
  4941.  344. http://www.columbia.edu/kermit/ckubwr.html#x3
  4942.  345. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  4943.  346. http://www.columbia.edu/kermit/ckubwr.html#x3.5
  4944.  347. http://www.columbia.edu/kermit/ckubwr.html#x3.6.1
  4945.  348. http://www.columbia.edu/kermit/ckubwr.html#x3.6.2
  4946.  349. http://www.columbia.edu/kermit/ckubwr.html#x3.6.3
  4947.  350. http://www.columbia.edu/kermit/ckubwr.html#x3.6.4
  4948.  351. http://www.columbia.edu/kermit/ckubwr.html#x3.10
  4949.  352. http://aplawrence.com/SCOFAQ/
  4950.  353. http://www.zenez.com/cgi-bin/scoprogfaq/faq.pl
  4951.  354. http://www.zenez.com/cgi-bin/scouw7faq/faq.pl
  4952.  355. http://zenez.pcunix.com/cgi-bin/scouw7faq/faq.pl
  4953.  356. http://pcunix.com/Unixart/modems.html
  4954.  357. http://www.freebird.org/faq/
  4955.  358. http://www.freebird.org/faq/developer.html
  4956.  359. http://support.caldera.com/caldera
  4957.  360. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  4958.  361. http://www.columbia.edu/kermit/ckubwr.html#top
  4959.  362. http://www.columbia.edu/kermit/ckubwr.html#contents
  4960.  363. http://www.columbia.edu/kermit/ckubwr.html#x3.6
  4961.  364. http://www.columbia.edu/kermit/ckubwr.html#x3.6.1
  4962.  365. ftp://kermit.columbia.edu/kermit/c-kermit/ckutio.c
  4963.  366. http://www.columbia.edu/kermit/ckubwr.html#top
  4964.  367. http://www.columbia.edu/kermit/ckubwr.html#contents
  4965.  368. http://www.columbia.edu/kermit/ckubwr.html#x3.6
  4966.  369. http://www.columbia.edu/kermit/ckubwr.html#x3.6.3
  4967.  370. http://www.columbia.edu/kermit/ckubwr.html#x3.6.1
  4968.  371. http://www.digi.com/
  4969.  372. ftp://ftp.fu-berlin.de/pub/unix/driver/fas
  4970.  373. http://www.columbia.edu/kermit/ckubwr.html#x14
  4971.  374. http://www.sco.com/
  4972.  375. ftp://ftp.sco.com/
  4973.  376. http://www.columbia.edu/kermit/ckubwr.html#top
  4974.  377. http://www.columbia.edu/kermit/ckubwr.html#contents
  4975.  378. http://www.columbia.edu/kermit/ckubwr.html#x3.6
  4976.  379. http://www.columbia.edu/kermit/ckubwr.html#x3.6.4
  4977.  380. http://www.columbia.edu/kermit/ckubwr.html#x3.6.2
  4978.  381. http://www.columbia.edu/kermit/ckubwr.html#x3.10
  4979.  382. http://www.columbia.edu/kermit/ckubwr.html#top
  4980.  383. http://www.columbia.edu/kermit/ckubwr.html#contents
  4981.  384. http://www.columbia.edu/kermit/ckubwr.html#x3.6
  4982.  385. http://www.columbia.edu/kermit/ckubwr.html#x3.6.3
  4983.  386. http://www.columbia.edu/kermit/ckubwr.html#top
  4984.  387. http://www.columbia.edu/kermit/ckubwr.html#contents
  4985.  388. http://www.columbia.edu/kermit/ckubwr.html#x3
  4986.  389. http://www.columbia.edu/kermit/ckubwr.html#x3.8
  4987.  390. http://www.columbia.edu/kermit/ckubwr.html#x3.6
  4988.  391. http://www.columbia.edu/kermit/ckubwr.html#x3.7.1
  4989.  392. http://www.columbia.edu/kermit/ckubwr.html#x3.7.2
  4990.  393. http://www.columbia.edu/kermit/ckubwr.html#x3.7.3
  4991.  394. http://www.columbia.edu/kermit/ckubwr.html#x3.7.4
  4992.  395. http://www.columbia.edu/kermit/ckubwr.html#x3.7.5
  4993.  396. news:comp.unix.solaris
  4994.  397. http://access1.sun.com/
  4995.  398. http://docs.sun.com/
  4996.  399. http://www.sunhelp.com/
  4997.  400. http://www.wins.uva.nl/pub/solaris/solaris2/
  4998.  401. http://www.wins.uva.nl/cgi-bin/sfaq.cgi
  4999.  402. ftp://ftp.wins.uva.nl/pub/solaris
  5000.  403. http://www.science.uva.nl/pub/solaris/solaris2.html
  5001.  404. http://www.stokely.com/
  5002.  405. http://www.stokely.com/unix.sysadm.resources/faqs.sun.html
  5003.  406. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  5004.  407. http://www.columbia.edu/kermit/ckubwr.html#top
  5005.  408. http://www.columbia.edu/kermit/ckubwr.html#contents
  5006.  409. http://www.columbia.edu/kermit/ckubwr.html#x3
  5007.  410. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  5008.  411. http://www.columbia.edu/kermit/ckubwr.html#x3.7.2
  5009.  412. http://www.columbia.edu/kermit/ckubwr.html#top
  5010.  413. http://www.columbia.edu/kermit/ckubwr.html#contents
  5011.  414. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  5012.  415. http://www.columbia.edu/kermit/ckubwr.html#x3.7.3
  5013.  416. http://www.columbia.edu/kermit/ckubwr.html#x3.7.1
  5014.  417. http://www.columbia.edu/kermit/ckubwr.html#top
  5015.  418. http://www.columbia.edu/kermit/ckubwr.html#contents
  5016.  419. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  5017.  420. http://www.columbia.edu/kermit/ckubwr.html#x3.7.4
  5018.  421. http://www.columbia.edu/kermit/ckubwr.html#x3.7.2
  5019.  422. http://www.columbia.edu/kermit/ckubwr.html#top
  5020.  423. http://www.columbia.edu/kermit/ckubwr.html#contents
  5021.  424. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  5022.  425. http://www.columbia.edu/kermit/ckubwr.html#x3.7.5
  5023.  426. http://www.columbia.edu/kermit/ckubwr.html#x3.7.3
  5024.  427. news:comp.os.vms
  5025.  428. http://www.columbia.edu/kermit/ckubwr.html#top
  5026.  429. http://www.columbia.edu/kermit/ckubwr.html#contents
  5027.  430. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  5028.  431. http://www.columbia.edu/kermit/ckubwr.html#x3.7.6
  5029.  432. http://www.columbia.edu/kermit/ckubwr.html#x3.7.4
  5030.  433. http://www.columbia.edu/kermit/ckubwr.html#top
  5031.  434. http://www.columbia.edu/kermit/ckubwr.html#contents
  5032.  435. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  5033.  436. http://www.columbia.edu/kermit/ckubwr.html#x3.7.5
  5034.  437. http://www.columbia.edu/kermit/ckubwr.html#top
  5035.  438. http://www.columbia.edu/kermit/ckubwr.html#contents
  5036.  439. http://www.columbia.edu/kermit/ckubwr.html#x3
  5037.  440. http://www.columbia.edu/kermit/ckubwr.html#x3.9
  5038.  441. http://www.columbia.edu/kermit/ckubwr.html#x3.7
  5039.  442. http://www.stokely.com/
  5040.  443. http://access1.sun.com/
  5041.  444. http://www.ludd.luth.se/~bear/project/sun/sun.hardware.txt
  5042.  445. ftp://ftp.netcom.com/pub/ru/rubicon/sun.hdwr.ref
  5043.  446. ftp://ftp.intnet.net/pub/SUN/Sun-Hardware-Ref
  5044.  447. http://www.columbia.edu/kermit/ckubwr.html#top
  5045.  448. http://www.columbia.edu/kermit/ckubwr.html#contents
  5046.  449. http://www.columbia.edu/kermit/ckubwr.html#x3
  5047.  450. http://www.columbia.edu/kermit/ckubwr.html#x3.10
  5048.  451. http://www.columbia.edu/kermit/ckubwr.html#x3.8
  5049.  452. news:comp.unix.ultrix
  5050.  453. news:comp.sys.dec
  5051.  454. http://www.columbia.edu/kermit/ckubwr.html#top
  5052.  455. http://www.columbia.edu/kermit/ckubwr.html#contents
  5053.  456. http://www.columbia.edu/kermit/ckubwr.html#x3
  5054.  457. http://www.columbia.edu/kermit/ckubwr.html#x3.11
  5055.  458. http://www.columbia.edu/kermit/ckubwr.html#x3.9
  5056.  459. http://www.freebird.org/
  5057.  460. http://www.freebird.org/faq/
  5058.  461. news:comp.unix.unixware.misc
  5059.  462. news:comp.unix.sco.misc
  5060.  463. http://www.columbia.edu/kermit/ckubwr.html#x3.0
  5061.  464. ftp://kermit.columbia.edu/kermit/f/ckutio.c
  5062.  465. http://www.columbia.edu/kermit/ckubwr.html#top
  5063.  466. http://www.columbia.edu/kermit/ckubwr.html#contents
  5064.  467. http://www.columbia.edu/kermit/ckubwr.html#x3
  5065.  468. http://www.columbia.edu/kermit/ckubwr.html#x3.12
  5066.  469. http://www.columbia.edu/kermit/ckubwr.html#x3.10
  5067.  470. http://www.columbia.edu/kermit/ckubwr.html#top
  5068.  471. http://www.columbia.edu/kermit/ckubwr.html#contents
  5069.  472. http://www.columbia.edu/kermit/ckubwr.html#x3
  5070.  473. http://www.columbia.edu/kermit/ckubwr.html#x3.13
  5071.  474. http://www.columbia.edu/kermit/ckubwr.html#x3.11
  5072.  475. http://www.columbia.edu/kermit/ckubwr.html#top
  5073.  476. http://www.columbia.edu/kermit/ckubwr.html#contents
  5074.  477. http://www.columbia.edu/kermit/ckubwr.html#x3
  5075.  478. http://www.columbia.edu/kermit/ckubwr.html#x3.14
  5076.  479. http://www.columbia.edu/kermit/ckubwr.html#x3.12
  5077.  480. http://www.columbia.edu/kermit/ckubwr.html#top
  5078.  481. http://www.columbia.edu/kermit/ckubwr.html#contents
  5079.  482. http://www.columbia.edu/kermit/ckubwr.html#x3
  5080.  483. http://www.columbia.edu/kermit/ckubwr.html#x3.15
  5081.  484. http://www.columbia.edu/kermit/ckubwr.html#x3.13
  5082.  485. news:comp.sys.sgi.misc
  5083.  486. news:comp.sys.sgi.admin
  5084.  487. http://www.sgi.com/
  5085.  488. http://www-viz.tamu.edu/~sgi-faq/
  5086.  489. ftp://viz.tamu.edu/pub/sgi/faq/
  5087.  490. http://www.columbia.edu/kermit/ckuins.html
  5088.  491. http://freeware.sgi.com/Installable/gcc-2.95.2.html
  5089.  492. http://freeware.sgi.com/Installable/gcc-2.95.2.html
  5090.  493. http://www.columbia.edu/kermit/ckubwr.html#top
  5091.  494. http://www.columbia.edu/kermit/ckubwr.html#contents
  5092.  495. http://www.columbia.edu/kermit/ckubwr.html#x3
  5093.  496. http://www.columbia.edu/kermit/ckubwr.html#x3.16
  5094.  497. http://www.columbia.edu/kermit/ckubwr.html#x3.14
  5095.  498. news:comp.sys.be
  5096.  499. http://www.columbia.edu/kermit/ckubwr.html#top
  5097.  500. http://www.columbia.edu/kermit/ckubwr.html#contents
  5098.  501. http://www.columbia.edu/kermit/ckubwr.html#x3
  5099.  502. http://www.columbia.edu/kermit/ckubwr.html#x3.17
  5100.  503. http://www.columbia.edu/kermit/ckubwr.html#x3.15
  5101.  504. http://www.columbia.edu/kermit/ckubwr.html#top
  5102.  505. http://www.columbia.edu/kermit/ckubwr.html#contents
  5103.  506. http://www.columbia.edu/kermit/ckubwr.html#x3
  5104.  507. http://www.columbia.edu/kermit/ckubwr.html#x3.18
  5105.  508. http://www.columbia.edu/kermit/ckubwr.html#x3.16
  5106.  509. http://www.columbia.edu/kermit/ckubwr.html#top
  5107.  510. http://www.columbia.edu/kermit/ckubwr.html#contents
  5108.  511. http://www.columbia.edu/kermit/ckubwr.html#x3
  5109.  512. http://www.columbia.edu/kermit/ckubwr.html#x3.19
  5110.  513. http://www.columbia.edu/kermit/ckubwr.html#x3.17
  5111.  514. http://www.columbia.edu/kermit/ckubwr.html#top
  5112.  515. http://www.columbia.edu/kermit/ckubwr.html#contents
  5113.  516. http://www.columbia.edu/kermit/ckubwr.html#x3
  5114.  517. http://www.columbia.edu/kermit/ckubwr.html#x3.20
  5115.  518. http://www.columbia.edu/kermit/ckubwr.html#x3.18
  5116.  519. http://www.columbia.edu/kermit/ckubwr.html#top
  5117.  520. http://www.columbia.edu/kermit/ckubwr.html#contents
  5118.  521. http://www.columbia.edu/kermit/ckubwr.html#x3
  5119.  522. http://www.columbia.edu/kermit/ckubwr.html#x3.19
  5120.  523. http://www.uni-giessen.de/faq/archiv/coherent-faq.general/msg00000.html
  5121.  524. http://www.columbia.edu/kermit/ckubwr.html#top
  5122.  525. http://www.columbia.edu/kermit/ckubwr.html#contents
  5123.  526. http://www.columbia.edu/kermit/ckubwr.html#x5
  5124.  527. http://www.columbia.edu/kermit/ckubwr.html#x3
  5125.  528. http://www.columbia.edu/kermit/ckccfg.html
  5126.  529. http://www.columbia.edu/kermit/ckubwr.html#top
  5127.  530. http://www.columbia.edu/kermit/ckubwr.html#contents
  5128.  531. http://www.columbia.edu/kermit/ckubwr.html#x6
  5129.  532. http://www.columbia.edu/kermit/ckubwr.html#x4
  5130.  533. http://www.columbia.edu/kermit/ckuins.html
  5131.  534. http://www.columbia.edu/kermit/ckubwr.html#top
  5132.  535. http://www.columbia.edu/kermit/ckubwr.html#contents
  5133.  536. http://www.columbia.edu/kermit/ckubwr.html#x7
  5134.  537. http://www.columbia.edu/kermit/ckubwr.html#x5
  5135.  538. http://www.columbia.edu/kermit/ckuins.html#9.5
  5136.  539. http://www.columbia.edu/kermit/ckubwr.html#x3
  5137.  540. http://www.columbia.edu/kermit/ckubwr.html#top
  5138.  541. http://www.columbia.edu/kermit/ckubwr.html#contents
  5139.  542. http://www.columbia.edu/kermit/ckubwr.html#x8
  5140.  543. http://www.columbia.edu/kermit/ckubwr.html#x6
  5141.  544. http://www.columbia.edu/kermit/ckuins.html#x8
  5142.  545. http://www.columbia.edu/kermit/ckuins.html
  5143.  546. http://www.columbia.edu/kermit/ck60manual.html
  5144.  547. http://www.columbia.edu/kermit/ckubwr.html#top
  5145.  548. http://www.columbia.edu/kermit/ckubwr.html#contents
  5146.  549. http://www.columbia.edu/kermit/ckubwr.html#x9
  5147.  550. http://www.columbia.edu/kermit/ckubwr.html#x7
  5148.  551. http://www.columbia.edu/kermit/ckubwr.html#top
  5149.  552. http://www.columbia.edu/kermit/ckubwr.html#contents
  5150.  553. http://www.columbia.edu/kermit/ckubwr.html#x10
  5151.  554. http://www.columbia.edu/kermit/ckubwr.html#x8
  5152.  555. http://www.columbia.edu/kermit/ck60manual.html
  5153.  556. http://dickey.his.com/xterm/xterm.html
  5154.  557. http://www.columbia.edu/kermit/ckubwr.html#top
  5155.  558. http://www.columbia.edu/kermit/ckubwr.html#contents
  5156.  559. http://www.columbia.edu/kermit/ckubwr.html#x11
  5157.  560. http://www.columbia.edu/kermit/ckubwr.html#x9
  5158.  561. http://www.columbia.edu/kermit/ckubwr.html#top
  5159.  562. http://www.columbia.edu/kermit/ckubwr.html#contents
  5160.  563. http://www.columbia.edu/kermit/ckubwr.html#x12
  5161.  564. http://www.columbia.edu/kermit/ckubwr.html#x10
  5162.  565. http://www.columbia.edu/kermit/ckubwr.html#x11.1
  5163.  566. http://www.columbia.edu/kermit/ckubwr.html#x11.2
  5164.  567. http://www.columbia.edu/kermit/ckubwr.html#top
  5165.  568. http://www.columbia.edu/kermit/ckubwr.html#contents
  5166.  569. http://www.columbia.edu/kermit/ckubwr.html#x11
  5167.  570. http://www.columbia.edu/kermit/ckubwr.html#x11.2
  5168.  571. http://www.columbia.edu/kermit/ck60manual.html
  5169.  572. http://www.columbia.edu/kermit/ckubwr.html#top
  5170.  573. http://www.columbia.edu/kermit/ckubwr.html#contents
  5171.  574. http://www.columbia.edu/kermit/ckubwr.html#x11
  5172.  575. http://www.columbia.edu/kermit/ckubwr.html#x11.1
  5173.  576. http://www.columbia.edu/kermit/ck60manual.html
  5174.  577. http://www.columbia.edu/kermit/ckubwr.html#top
  5175.  578. http://www.columbia.edu/kermit/ckubwr.html#contents
  5176.  579. http://www.columbia.edu/kermit/ckubwr.html#x13
  5177.  580. http://www.columbia.edu/kermit/ckubwr.html#x11
  5178.  581. http://www.columbia.edu/kermit/security.html
  5179.  582. http://www.columbia.edu/kermit/ckubwr.html#top
  5180.  583. http://www.columbia.edu/kermit/ckubwr.html#contents
  5181.  584. http://www.columbia.edu/kermit/ckubwr.html#x14
  5182.  585. http://www.columbia.edu/kermit/ckubwr.html#x12
  5183.  586. http://www.columbia.edu/kermit/ckubwr.html#top
  5184.  587. http://www.columbia.edu/kermit/ckubwr.html#contents
  5185.  588. http://www.columbia.edu/kermit/ckubwr.html#x15
  5186.  589. http://www.columbia.edu/kermit/ckubwr.html#x14
  5187.  590. mailto:support@stallion.oz.au
  5188.  591. http://www.stallion.com/
  5189.  592. http://www.columbia.edu/kermit/ckubwr.html#top
  5190.  593. http://www.columbia.edu/kermit/ckubwr.html#contents
  5191.  594. http://www.columbia.edu/kermit/ckermit.html
  5192.  595. http://www.columbia.edu/kermit/ck80.html
  5193.  596. http://www.columbia.edu/kermit/index.html
  5194.  597. http://www.columbia.edu/kermit/index.html
  5195.  598. http://www.columbia.edu/
  5196.  599. mailto:kermit@columbia.edu
  5197.