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