Basic Networking Utilities (BNU) - UUCP
              
             

           
        (  Using UUCP and Usenet. O'Reilly & Associates, Inc.)

 BNU (1983). : /usr/lib/uucp/Systems

           /usr/bin
uuglist   #   
uuname    #   ,     uucico
uuname -l #    
uuname -c #   ,      cu
mail <_>!<_> #  
             ,   
          
mail newyork!tom < report #   
mail newyork!japan!anna #    
uucp [option] source destination #   / .
        source  destinaton  : [<_>!]<_()>
        -C        
        -f   ,   
        -j   
        -m      
        -n <_>     
        -r    ,    uucico  
        -s <>      
         uucp   ,      
         uucico    ,    
         .
             ,   
          (  "" ).
             ,  uucp
               
        .
          ,     (  -C).
              
             !
  
               
                 .
        /usr/spool/uucppublic -    
        (     ).
           ~/[<_>].
            uucp (  
          /usr/spool/uucppublic).
         uucp    / 
           (    !).
uuto [options] file(s) <_>!<_>
            , 
        /usr/spool/uucppublic/receive/<_>/<_>
           
        -m     
        -p       
uupick [-s <_>] [< >]
           ,    uuto
          [  ]    
        d        
        m [dir]  
        a [dir]       
        q 
uux [options] <_>!< >
             .
        -    .
              
         .
             .,  uux 
               (  .
        ,    ,      
         . ).    
          uucp   . UUCP  uucp
                 
        ,     .    
               (  
           uux).
         . : < > ; | (    )
         . : << >> & [ ] ?
           (       ).
              uucp.
        -         
                       
        -a <_>   
        -c      spool-
        -C  
        -g <>    (a - , Z - )
        -j   
        -n     
        -p   
        -r    ,    uucico
        -s <_>     
        -x <>    (9 - , 0 - )
   
        uux "foreign!who > my!~john/who.foreign"
        uux "foreign!who | rmail (my!john)" #   !  - uux
uustat [options] #   
        -a 
        -k <_>    
        -m    
        -p  ps   ,   UUCP
        -q      ( ,  , 
                .     
        -r <_> "" ,   
        -s <_>  ,   
        -u <_>  ,   
           :
    ,    ,  (S - , R -
        ),  . ,    ,  
              
uulog [options] #   
        -u <_>   
        -s <_>   
        -f <_> ,   tail -f
        -<>   <> 
        -x  uuxqt      
   :
        uucp     /usr/spool/uucp,  
                 ,   ,  ,
                 (    )
         uucico
         -  
        uucico  -      
                     (  
                -,    uucico     
                ).      
                SYSTEM not in Systems (      Systems)
                Wrong time to call (    
                     )
                CALLBACK REQUIRED (    
                   )
                NO CALL (RETRY TIME WAS NOT REACHED)   
                      ,    
                     
                NO DEVICES AVAILABLE    
                   
                DIAL FAILED  .   ,  
                     Devices
                DEVICE LOCKED    .     
                   . 
                LOGIN FAILED (BAD LOGIN/PASSWORD)     .
                   
                STARTUP FAILED
               REMOTE REJECT AFTER LOGIN  uucico    
                WRONG MACHINE NAME    . 
                BAD LOGINE/MACHINE COMBINATION   
                REMOTE HAS A LOCK FILE FOR ME .     
                    
                    
                REMOTE ACCESS TO PATH/FILE DENIED     
                BAD READ      
                      
                CONVERSATION FAILED     
                     ,   
                     
                       , 
                 -       
                 
                   uucico   ,  
                 ,   uucico   , 
                  ,   .
                     ,    
                 uuxqt,       ,
                      , 
                   ,   , 
                .
                CONVERSATION SUCCEEDED      
                    
cu [options] <.>|<_> #  
        -a<_>   -
        -d  
        -e     
        -l     /dev
        -h  
        -o     
        -s <>
        No device available (   )
            
                getty (ttymon)
             
              Enter
        ,   ,   :
                ~.  
                ~~  
                ~%take from [to]      
                      (  Unix,     )
                ~%put from [to]      
                      (  Unix)
                ~!<>     
                ~$<>    .   
                         
                ~%cd <>     .
                ~%break
                ~t   
   
          /usr/spool/uucppublic
           ..   uux
           ..   uucp
              
            
=============================================================================
      
   (  Motorola Unix System V/88 4.0)

   /etc/uucp  /var/spool/uucp ..    uucp,   root
        home  uucp: /usr/lib/uucp

 nuucp    . uucico

     /usr/lib/uucp
        uucleanup, Uutry, uucheck

:
  uucico -  ,  ,   .
         ,     
        ;   uucp, uux, uuto, uusched  Uutry
  uuxqt -   -   ,   .
           ;   uudemon.hour (cron)
  uusched -   ;   uudemon.hour (cron).

:
   : /etc/uucp,  , , , ...
   :  ,  ,  , ...
  

 :
   1.  BNU
   2. /etc/uucp/Permissions (LOGNAME=nuucp)
   3. /etc/uucp/Devconfig  uucp  tcp
        service=cu device=tcp push=ttcompat:tirdwr
        service=uucico device=tcp push=ttcompat:tirdwr
   4. /etc/uucp/Sysfiles   
   5. /etc/uucp/Limits   
   6.   uucp  nuucp
        uucp:x:5:5:0000-uucp(0000):/usr/lib/uucp
        nuucp:x:10:10:0000uucp(0000):/var/spool/uucppublic:/usr/lib/uucp/uucico
           pwconv

 (   /usr/lib/uucp,     cronroot)
   uudemon.poll
       Poll     - ,   -
            (   
      ,          )
      :     uudemon.hour
   uudemon.hour
       uusched,        
       uuxqt,          
      :   
   uudemon.admin
       uustat -p -q    uucp
      :   
   uudemon.cleanup
         ,    .Old
            (7  )
       (2 )      
      ,    
        
     :     
  : /usr/adm/sulog, /usr/lib/cron/log

:
   /usr/lib/uucp/uucheck -v #      UUCP  
   /usr/lib/uucp/Uutry -r _ #  uucico  
      (  /tmp/_)

 :
   g -    (   7,   64)
   G -   ,       1  7,   32  4096
   e -   

  ( /etc/uucp):
   Config -  UUCP
      Protocol=G(7,512)ge
          
   Devices -   
      Type Line Line2 Class dialer-token 
         Type - : Direct -  
                        ACU[,] - 
                          -  TCP
                          -  ,   
                                    Systems
                Type    Type  Systems ()
                        :
                                TCP,eg tcp - - TLIS \D
            Line -   (   /dev),     ',M'
                       
            Line 2 -   
            Class -  ACU  Direct  ,    
                     ,    ,   .
                        Systems
                       Any,   Systems  ..
                      (     1200)
            dialer-token : dialer    ,  direct 
                uudirect  Direct; token      , 
                  Systems;    token  
                    Phone  Systems;  dialer 
                    Dialers   
                : TLI ( ), TLIS ( ).
                     :   dialers
                 ,      
                Dialers; token -  (     token 
                   Phone  Systems.
                        direct
                 uudirect.      .
   Dialers -     ,   
                  
        _  - ...
        _     Devices
         -    :  : 
                     (  
                 =       -   )
            ""
         :
                \p  0.5 
                \d  2 
                \D    token    Dialcodes
                \T - //-  
                \K break
                \E     ,    
                        
                \e   
                \r CR
                \c     LF  CR (  -)
                \M  CLOCAL
                \m 
                \n NL (LF)
                \<  >
   Systems -  ,  uucico   
	  .      
	        . 
	    ,   
	     .
      _ _   _   ...
	_      
		   : __[;__]
		  :
		   Su Mo Tu We Th Fr Sa Wk ( ) Any Never
		    :
		   0800-1230 ( 8.00  12.30)
		   0800-0600 (   6.00  8.00)
	        
	     Devices;      Any
	_    ,  
	      Dialcodes
	    :
	   [--]   ,  
		    ..
	       ""
	        LF,    \c
         :
                \p  0.5 
                \d  2 
                \K break
		BREAK -//-
		\b BS
		\N NULL
                \E     ,    
                        
                \e   
                \r CR
		\s 
		\t 
		\\ \
                \c     LF  CR (  -)
                \M  CLOCAL
                \m 
                \n NL (LF)
                \<  >
   Dialcodes -       (. 
	_   Systems)   
   Permissions -      , 
	 ;      : MACHINE  LOGNAME
       UID,      . -
	,     LOGNAME-
              MACHINE-, 
	   :    ;
	       /usr/spool/uucppublic;
	       rmail.
         ,     ,  
	 ,     .
          / ,  
	=
      MACHINE=<_>[:<_>...]   
	    OTHER
      LOGNAME=<_>[:<_>...]   
      REQUEST=[yes|_no]      
      SENDFILE=[yes|_call]   ,   
	,           ;
	yes     (  LOGNAME) - -
	      ; call - .
      READ  WRITE     uucico   
	;     /usr/spool/uucppublic;  
           
      NOREAD  NOWRITE    READ  WRITE
      CALLBACK=[yes|_no] -         ,
	   ;     .
      COMMANDS   ,   
	     (   MACHINE  
	,   );   rmail.   
	  /usr/bin.       
	  (/usr/ucb/rmail),     ,
	  ,     uux.    ALL.
	      .
      VALIDATE .    : 
	       UID   LOGNAME-
	   UID    VALIDATE=<_>:...
	     
        ,        MACHINE  LOGNAME
   Poll -     ,    
       :     ,  ,  
        .   uudemon.poll, 
          ,  
       uudemon.hour
   Devconfig -    TCP/IP
        service=cu device=tcp push=ttcompat:tirdwr
        service=uucico device=tcp push=ttcompat:tirdwr
       - ttcompat    .. ntty
      device      Device
   Sysfiles    ,   
      Systems, Devices  Dialers  uucp  cu
	service=cu:uucico systems=Systems:Local_systems
   Limits -     uucico, uuxqt
       uusched, :
	service=[uucico|uuxqt|uusched] max=<>
   Grades -        
	 
      <.> <.> <_>  
	 <.> -      ;
	    <.> -    A  z (A - , z - 
		);
	    <_> - 5000, 10K, 5M, Any
	     -   id-:
		User, Non-user, Group, Non-group
	     -      Any
	 .    , 
	  ,      
	,   
          default:
	default Z Any User Any
   remote.unknown - , ,    
	 Systems.         
	      ,    
	     .

 
   TM (   ,    )
	/var/spool/uucp/<_.>/TM.pid.ddd
	     ,    
	,   C.sysnxxx
   LCK (    )
	LCK.<_>.<.>
	  pid  
   LK (     )
	LK.<____>.<__->.<_>
	  pid  
   C. (     )
	C.<__><><_>
	   S(), R()
	    
	   
	 
	 
	    -
	   
	 .,   
   D. (  -     )
	D.<_><_><_>
   P. (  - ,   ;  
	UUCP      ,    
	P.<_><_><_>
   X.   ,    
	X.<_><.><_>
	    
	 (),   
	 ,      
	   ,      stderr
	 
	   


    ,  ,   
      /var/spool/uucp/.Admin/command
      _ _ _
        
      /var/spool/uucp/.Log/<>/<_>
         <> -  uucp, uucico, uux  uuxqt
      _ _.   pid _  
	  - - ,    
    
      /var/spool/uucp/.Admin/errors
      _  pid   _  
    
      /var/spool/uucp/.Admin/xferstats
      _. _ M/S _ \
         C(uucico)/U(uucp)/X9uux)/Q(uuxqt) pid _ _ \
	   _  _
     (   -,   - )
      /var/spool/uucp/.Admin/account
                 uucp
      uid _ (  ) C()/P() \
	_(S - ) . __
	_  _. _. \
	  "" _(xfer - , rexe -  \
	_
    
      /var/spool/uucp/.Admin/security
      xfer __ _ __ \
	 _. __ __ \
	 __ _.  __ \
	 __ __
      rexe __ _ _  \
	 _
    
      /var/spool/uucp/.Admin/perflog
                 uucp
        :     
      conn  pid _ Master/Slave _. _ \
	  ""   
      xfer .  pid _ Master/Slave _. \
         _  "" _ ___ \
	 __  _ \
         ___(real,user,system) \
	 _(real,user,system), _(real,user,system) \
	 _
     ,    
      /var/spool/uucp/.Admin/Foreign

Last-modified: Sat, 25 Mar 1995 07:58:29 GMT