⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ckuins.doc

📁 linux终端仿真程序
💻 DOC
📖 第 1 页 / 共 5 页
字号:
C-KERMIT 6.0 INSTALLATION INSTRUCTIONS FOR UNIX                      -*-text-*-  As of C-Kermit version:  6.0.192  This file last updated:  Fri Sep  6 23:23:24 1996  Frank da Cruz, Columbia University  Copyright (C) 1985, 1996, Trustees of Columbia University in the City of New  York.  The C-Kermit software may not be, in whole or in part, licensed or  sold for profit as a software product itself, nor may it be included in or  distributed with commercial products or otherwise distributed by commercial  concerns to their clients or customers without written permission of the  Office of Kermit Development and Distribution, Columbia University.  This  copyright notice must not be removed, altered, or obscured.DISCLAIMER:  The C-Kermit software is provided in source code form by Kermit Development  and Distribution, Columbia University.  The software is provided "as is;" no  other warranty is provided, express or implied, including without  limitations, any implied warranty of merchantability or implied warranty of  fitness for a particular purpose.  Neither Columbia University nor any of the contributors to the C-Kermit  development effort, including, but not limited to, AT&T, Digital Equipment  Corporation, Data General Corporation, Hewlett Packard Company, or  International Business Machines Corporation, warrant C-Kermit software or  documentation in any way.  In addition, neither the authors of any Kermit  programs, publications or documentation, nor Columbia University nor any  contributing institutions or individuals acknowledge any liability resulting  from program or documentation errors.DOCUMENTATION  Frank da Cruz and Christine M. Gianone, "Using C-Kermit", Second Edition,  Digital Press / Butterworth-Heinemann, Woburn, MA, 1997, ISBN 1-55558-164-1  US single-copy price: $39.95; quantity discounts available.  Available in  computer bookstores or directly from Columbia University:    Kermit Development and Distribution    Columbia University Academic Information Systems    612 West 115th Street    New York, NY  10025-7799  USA    Telephone: (USA) 212 854-3703  Domestic and overseas orders accepted.  Price: $39.95 (US, Canada, and  Mexico), $50 elsewhere.  Orders may be paid by MasterCard or Visa, or  prepaid by check in US dollars.  Add $35 bank fee for checks not drawn on  a US bank.  Price includes shipping.  Do not include sales tax.  Inquire about quantity discounts.  You can also order by phone from the publisher, Digital Press /  Butterworth-Heinemann, with MasterCard, Visa, or American Express:    +1 800 366-2665   (Woburn, Massachusetts office for USA & Canada)    +44 1865 314627   (Oxford, England distribution centre for UK & Europe)    +61 03 9245 7111  (Melbourne, Vic, office for Australia & NZ)    +65 356-1968      (Singapore office for Asia)     +27 (31) 2683111  (Durban office for South Africa)  A German-language edition is also available:    Frank da Cruz and Christine M. Gianone, "C-Kermit - Einfuehrung und    Referenz", Verlag Heinz Heise, Hannover, Germany (1994).    ISBN 3-88229-023-4.  Deutsch von Gisbert W. Selke.  Price: DM 90,00.      Verlag Heinz Heise GmbH & Co. KG, Helstorfer Strasse 7, D-30625 Hannover.    Tel. +49 (05 11) 53 52-0, Fax. +49 (05 11) 53 53-1 29.OVERVIEWThis file contains UNIX-specific information.  For a description of general(system-independent) configuration options for C-Kermit, please read the fileCKCCFG.DOC.  For information about known limitations or bugs, and possibleworkarounds, see the files CKERMIT.BWR and CKUKER.BWR.BUILDING C-KERMIT FOR UNIXUNIX C-Kermit is built using the "make" utility, which contains the rules forbuilding the program for each of the hundreds of different kinds of UNIXsystems that C-Kermit attempts to support.  "make" is driven by a file called"makefile".  If your distribution does not contain a file with this name, thenrename the file called ckuker.mak to makefile:  mv ckuker.mak makefileand then you type "make xxx", where xxx is the system you want to buildC-Kermit for.  These are listed in the comments at the top of the makefile.For example, to build C-Kermit for Berkeley UNIX 4.2, type:  make bsdAlso check to see if there are comments about your particular version in itsmakefile entry itself.  In a text editor such as EMACS or VI, search for themake entry name followed by a colon, e.g. "linux:" (if you really are buildingC-Kermit for Linux, do this now).If your compiler supports a compile-time option to treat ALL chars (andchar *'s, etc) as unsigned, by all means use it -- and send me email to letme know what it is.To add compilation options (which are explained later in this document) toyour makefile entry without editing the makefile, include "KFLAGS=..." on themake command line, for example:  make linux KFLAGS=-DNODEBUG  make bsd "KFLAGS=-DKANJI -DNODEBUG -DNOTLOG -DDYNAMIC -UTCPSOCKET"Multiple options must be separated by spaces.  Quotes are necessary if theKFLAGS= clause includes spaces.  The KFLAGS are added to the end of the CFLAGSthat are defined in the selected makefile entry.  For example, the "bsd" entryincludes -DBSD4 -DTCPSOCKET, so the second example above compiles Kermit withthe following options:  -DBSD4 -DTCPSOCKET -DKANJI -DNODEBUG -DNOTLOG -DDYNAMIC -UTCPSOCKET(Notice how "-UTCPSOCKET" is used to negate the effect of the "-DTCPSOCKET"option that is included in the makefile entry.)WARNING: Be careful with KFLAGS.  If you build C-Kermit, change some files,and then run make again using the same make entry but specifying differentKFLAGS than last time, make won't detect it and you could easily wind up withinconsistent object modules, e.g. some of them built with a certain option,others not.  When in doubt, "make clean" first to make sure all your objectfiles are consistent.  Similarly, if you change CFLAGS, LIBS, or any otheritems in the makefile, or you rebuild using a different makefile entry, "makeclean" first.2.10 and 2.11 BSDUse the separate makefile ckubs2.mak.  Read the instructions in that file.PLAN 9Use the separate makefile ckpker.mk.SYSTEM-WIDE INITIALIZATION FILEIf you want to define a system-wide initialization file for C-Kermit, ratherthan making each user have her/his own copy, define the symbol CK_SYSINI to bethe full pathname of the file, e.g.:  -DCK_SYSINI=\\\"/usr/local/lib/kermit/ckermit.ini\\\"You'll have to edit the makefile to add this, because there is no good methodfor putting it on the 'make' command line with KFLAGS -- the number of escapes(\\\\...) for the doublequotes would depend on how deeply the particular makeentry is nested; each level of nesting strips off another layer of escapes.Or, you can define CK_DSYSINI (note "D") to build C-Kermit with its built-indefault name for a system-wide init file, /usr/local/bin/ckermit.ini, or/usr/share/lib/kermit/ckermit.ini, depending on which version of UNIX it is.Since no quoting is needed, this one works with KFLAGS, e.g.:  make sunos41c KFLAGS=-DCK_DSYSINIThe question arises: if you want C-Kermit to have a system-wide initializationfile, should it take precedence over the user's own?  There are valid reasonsfor answering yes or no.  By default, if you build C-Kermit with a system-wideinitialization file, it will take precedence over the user's -- that is, itwill be executed instead of the user's, if the user has one.  You might alsowant to set things up so the user's init file is executed if she has one, butif she doesn't, the system-wide one will be.  Either setup is possible.Assuming CK_SYSINI is defined, then the following symbols determine the order:  CK_INI_A    This means the system-wide init file is looked for first; if found, it    is executed.  If not found, the user's init file is executed.  CK_INI_B    This means the user's init file is looked for first; if found, it is    executed.  If not found, the system-wide init file is executed.If CK_SYSINI is defined, but neither CK_INI_A nor CK_INI_B are defined (orboth of them are), then CK_INI_A is assumed.If you build Kermit with CK_SYSINI and CK_INI_A, you can "chain" to the user'sown initialization file (if any) by ending (or starting, depending on thedesired precedence) the system-wide init file with a command like:  if exist \v(home).kermrc take \v(home).kermrcINSTALLING THE KERMIT FILESThere is an "install" entry in the makefile, but since every site has itsown layout and requirements, it is better to install the Kermit files by hand.After you have built and tested the C-Kermit program successfully, you candiscard the object (ck*.o) files, which are no longer needed.  Use "makeclean" to do this.  If you don't need the source files (ck[cuw]*.[cwh]), youcan remove them too.You should install the C-Kermit program in a directory that is in the users'PATH, but that is not likely to be overwritten when you install a new versionof the operating system.  A good candidate would be the /usr/local/bin/directory.  Example:  mv wermit /usr/local/bin/kermit  chmod 775 /usr/local/bin/kermitYou should also install the man page, which is called ckuker.nr, in theman page directory for local commands, such as /usr/man/manl/, renamedappropriately, e.g. to kermit.l.Several text files should be placed in a publicly readable directory, and theman page should be altered, if necessary (in the FILES section), to point tothat directory.  Suggested directory names are:  /usr/local/lib/kermit  /usr/share/lib/kermitThe files are:  READ.ME    Explanation of the following files.  Create this file by clipping    out the following file list.  ckermit.ini    The standard initialization file.  Users should copy this to    their home directories and rename it to .kermrc.  (In C-Kermit 5A(190)    and later, you can designate a single copy as the system-wide    initialization file; details above).  ckermod.ini    A sample customization file.  Users should copy this file to    their home directories, make any desired modifications (user- or    site-specific customizations), and rename it to .mykermrc.  ckermit.kdd    A sample dialing directory file.  ckermit.knd    A sample network directory.  ckermit.ksd    A sample services directory.  ckedemo.ksc    Macro definitions from "Using C-Kermit".  ckevt.ksc    Command file to demonstrate special screen effects from "Using C-Kermit".  ckepage.ksc    A sample script for sending alphanumeric pages.  ckurzsz.ini    Macros for using rz and sz as external protocols.  ckermit.upd    A file listing the updates, changes, and corrections made to C-Kermit    since publication of "Using C-Kermit".  ckermit.bwr    The general C-Kermit "beware" file.  ckuker.bwr    The UNIX-specific C-Kermit beware file.THE INITIALIZATION FILEWe recommend that the C-Kermit initialization file, named ckermit.ini in thedistribution, be executed by all users, since it defines and sets up certainimportant features, such as the dialing directory, services directory,commonly-used macros, etc.  On multiuser systems, it can be put in a commonplace and shared by all users, but this requires building C-Kermit from sourcein a special way, which embeds the full path of common initialization file inthe program binary, described above.Alternatively, each user can copy the ckermit.ini file into her logindirectory and rename it to .kermrc.The user's private "customization file" goes in the login directory and iscalled .mykermrc.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -