:







                    -

                      - 

                                       













                            

                              

                                  /P 2.2













                        

                                     mailx














                                    

                                     1991










            

                   mailx  -
                  XENIX   MSDOS  
                  .   -
                     
                      
              .    ,   
                ,    
               ed.   mailx  -
                 
              ,      -
                    
              .  , mailx   
                ,  UUCP  ARPA.

                  ,   
            mailx     .  -
                 ,   -
                   XENIX, -
                   -
               XENIX.      -
                      "-
              XENIX".    
             mailx      XENIX,    MSDOS
                   "-
                mailx  MSDOS".

            1.  

                   XENIX  
               :   
                           
            ,      -
            .        -  
                  ,  -
               .       csh,  
                    ,  
                 
            .   XENIX      
             /usr/spool/mail,     -
              .      anton,   
            csh      ,  -
               .cshrc 

                set mail=/usr/spool/mail/anton

                 mailx,    -
                        
             .        ,
                ,     .   
                  .






                                     - 1 -







            2.    mailx

                       
            mailx,      ,   
             .    :   
              ,    ,
            , kiska,   :

                % mailx kiska

                .    -
            ,     (CTRL/D)    .
              mailx   ,     -
               Shell.   ,   
            ,   ,   

                     .
                
                   You have mail.


               ,  ,   ,    
               ,    , 
            CTRL/C.     CTRL/C mailx 

            ( --   , 

               CTRL/C mailx  -
                 dead.letter   
                .      
              ,     ,
              .

                      
               ,  
            ,      ,    
             .

                          -
              ,     
              .  ,

                % mailx anton rita vasya
                Subject:  
                   9.00  .  !
                CTRL/D
                 
                %

               anton, rita  vasya.

               ,   ,   

                     .
                
                   You have mail.

                
                                     - 2 -







                %  mailx

             mailx        
            ,          .
                           
            .    ,    .
               ,   . -
              mailx ,     
            ,         (new)
                   (read).   
                 N,    ,
                    U.  -
             mailx      Status,
              /  /
            .

                ,    ,  -
                type (  t).  , 
              :

            "/usr/spool/mail/rita": 2 , 2 
            >N  1 root             23 19:09  7/70    
             N  2 anton            21 14:49  11/650
            &

                

                type 1

               mailx   ,  -
            :

                 1:
                From root Wed Aug 23 19:09:24 1990
                Subject: 
                Status: R

                   9.00  .  !


               mailx      
               ,  ,   type.
                   .
                  mailx   -
             . ,       
                  , , 

                t

              .    ,    
            ,   . ,  

                1

               .

                     -
                  ,   .  
                                     - 3 -







            mailx     ,   -
              .        
                .

                      
                ,     
             reply.     reply,    ,
                  type,     .   
             mailx  ,    ,  
               .     
             ,  ,  , CTRL/D  
            .   mailx      ,    
                ,    
            .       ,    
                 ,  

                Reply

            (  !).    mailx :

                To: root
                Subject: Re: 

                 .    -
                    ,   , 
            mailx          CTRL/D.
            ,  mailx     -
             .   ,     -
                  ,   
                .       
            ,      .
            ,     To:     
              ,  mailx       
            .    ,     
              Cc: ( ), mailx  
              .    mailx    
            ,         To:  Cc:
               ,     
            .   .  " ".

                        mailx
              :

                & Reply
                To: root
                Subject: 

                  , ... 9.00 -    ?
                CTRL/D
                 
                &


                Reply      "-
            "         "" -
            ,      .   
            Reply    R.

                                     - 4 -







               ,  ,   -
            ,         .
             reply    r     
              ,       
            .

                 ,       
                      -
            ,         -
              forward  (,  ""   
            ).   forward     -
              -         
            ; :

                & type
                 8:
                From doctor Fri Aug 24 05:07:19 1990
                Subject:  
                Status: R

                   7x8 ?

                & forward alex mike
                &
                  -     
                 ,  ..,    
                 mail (.   " ").


               ,    ,      
            -         
            ,  ,        
            mail,       . -
            ,      tasha,  -
             :

            & mail tasha
            ,      yacc
              ?
            CTRL/D
             
            &

             mail    m.

                     
              mbox      
             mailx.  ,     -
                 ,     -
              .       
              mbox,     delete.
              

                delete 1

              mailx,      -
              1  (  root)     mbox.   , mailx
                        .
                                     - 5 -







             delete   d.

                 mailx ,   quit.   
            quit   q.

               mailx        
                  set.   set
              ,    , 
                 .   -
                  .  -
            ,  ask  mailx  ,  -
                    -
                      .  
              ask :

                set ask


                       mailx  -
            hold.         , mailx 
                     
            mbox           
            mailx.    ,       
            mailx        
            ,   hold.

                  -    ,  
              mailx     . ,
              SHELL,      mailx,  
                 , -
             :

                set SHELL=/bin/csh

             ,    SHELL=/bin/csh   -
              .        
            mailx    5.

                   -  crt.    -
                      
             ,          
            ,      .  -
              crt  mailx     -
                    ,   
            .  ,     -
            ,        
             24 ,  :

                set crt=24

                    
             ( Enter  Return).

                   mailx -    -
            .     -  ,    
               .  ,  -
               mailx   ,    -
              ,      .
                                     - 6 -







            ,      -
                      .   
              mailx    alias.
            ,  ,   ,  -
            anton,  aleks, dmitry  rita.    -
             kwadrat    :

                alias kwadrat anton aleks dmitry rita

               alias,    
              . ,  -
                 mew!vasya%pc.home  
             

                alias vasya cat!vasya%pc.home

                  vasya.

                 alias  set    -
              mailx,       :  
              mailx     .     
                ,       
            mailx   .    -
                /usr/lib/Mail.rc,     
             .mailrc,     -
              .      
                 set,  -
               .    .mailrc -
                     
                .  , 
            .mailrc   :

                set ask nosave SHELL=/bin/csh

             ,       
                set.   nosave   
            " ".

                    -
                  sendmail.   -
                  /usr/lib/aliases    
                      .         
            /usr/lib/aliases  

                : 1, 2, 3

              -    ,   i
            -    .     -
               ,      
              . ,   
             /usr/lib/aliases      
            newaliases,        
            ,    newaliases.

                ,   mailx     
            ,       - 
             ,     ,    
              -    .    
                                     - 7 -







              -f   mailx    
                   ,   
            . ,       
              letters,      
            mailx  :

                % mailx -f letters

                     
                  mailx    ,
                   letters.

                ,       
                mbox    -
            ,   mbox    

                % mailx -f


                ,   type,  -
                mbox     
             ,     mailx    quit,
              .      
                 ,      
               preserve      preserve    
                ,    ,
              type.   preserve   
            pre.

                          
            ,     ,  
                 .       
                  mbox  ,  -
              mbox.      

                mbox 2

              (  anton)  -
                quit     mbox.  
            mbox       mbox 
             ,      hold (.
            ).   mbox    mb.

                    , -
                  mailx     quit,  
             ,  ,   ,
                 mbox    -
            .         -
            ,  ,    , 
                      ,
                 ,  

                % mailx


                        mailx,    
                    
            mbox,     x  (    exit),
                                     - 8 -







                    mailx,   
                .

                         ,  
                mailx,   ,   
             ,  ,    
            ed.  , ,

                ! date

              .

               ,  help      
              mailx,      
            .

            3.    

                mailx    
                  .  -
               .

                       -
              mailx  ,     .  
                .      
                   , -
                .     mailx,
                        ,
                .mailrc  

                set folder=letters

            ,    ,     
             `/', mailx  ,     -
               ,    -
              .  ,    /usr/person,
                   mailx,    
              - /usr/person/letters.

               ,    ,      
              ,       `+'.  ,
                      
             save, :

                save +classwork

                    class-
            work.     classwork  , 
             .   ,  , -
                save,  
               .

                      ,  
                   , 
             copy,         
             save.  ,

                copy +classwork
                                     - 9 -







                  classwork  
                  .

                folder      
            mailx  . ,  

                folder +classwork

            mailx         classwork.
             ,      
               ,    -
              ,      type, delete  reply.
             ,       -
            ,  

                folder


                       
              folders.

                      mailx
                  -f,     2.
            :

                % mailx -f +classwork

             mailx      classwork,  
                .

            4.   

            4.1.   

                       -
                  , -
             ,   shell  
              -  .   mailx 
                 ,  
                `~' ()      -
            ,  ,      -
            .   ,      ,
               , :

                ~p

                 ,    -
            ,     .     
              mailx    -
                CTRL/C,   ~p  
                CTRL/C 
            ,     .

                         ,    
            ,           
              

                ~e
                                    - 10 -







                    
              .    , -
                   .    mailx
            

                ()

                    ,  
                 ,    
            CTRL/D.  mailx   -
              .     , -
               EDITOR, , :

                set EDITOR=/bin/red


                       
               , ,  red.
                      
              ,  
            

                ~v

            ~v   ,   ~e,    -
              .     -
              mailx.      , -
                        
             VISUAL.

                    
                  .   
              

                ~r 

                       
            .           ,
            mailx  .       ,  
                    ,  
            ,      . 
                shell, ,  `*'
             `?',       -
               .

                  ~r,  

                ~d

              dead.letter      -
            .    ,    mailx    
             ,      CTRL/C.

                     ()
                 mailx.    -
             

                ~u [_] _
                                    - 11 -







            ,         -
            ,     .

                      
                , 
                 uuencode.    
                 ,    8-
                 .

                          
                mailx     uudecode 
                

                      ,  -
              

                ~w 

            mailx     ,    
            ,         -
            .          
            shell,  ,      ~r.

                  ,    
            mailx,        
              ,   -
             ~m.  ,

                ~m 4

              4   ,   
              .       
               .     
                 ~f,  
              (    ).    ,  
                  
            ~f        ~M.
             ,   ~>>,  -
                ,    -
               '>>'.

                        -
                     , 
              

                ~t name1 name2 ...

                 .  -
            ,  ,     -
            ,    .    
            ~t  .

                         
             

                ~s _

                  
                                    - 12 -







              _     , 
                  Subject:.  -
            ,    ,    ~p.

                     
                  ,     
            .  

                ~c 1 2 ...

                 Cc:    
              ~t.      ~p, 
               .

                   To: , -
                -  Subject: ,  -
               -  Cc: .    
                      ,   
                ~t, ~s  ~c,   -
              

                ~h

              To:    ,  
                .    
             ,          
              .         
             mailx    Subject:,    
                   .   
                    
            Cc:       .     
                   -
            .       
               ,    ,   -
             ~p.

                 To:, Subject:  Cc:     
            ~h      Bcc: ( ).  -
            ,    Bcc:        
            ,  ,         Cc: 
             Reply     .

                   shell  -
             

                ~! 

                    -
              ,     .    
                      -
            ,   

                ~| 

                   
                    .      
              ,    mailx  ,    
                        .   
                                    - 13 -







                 fmt,  -
               .

                          mailx
               

                ~: _mailx

                    ,
               , :

                ~: t

                   
              .

                        ,   
            ,   ,  .  :

                ~~    .

             

                ~    .


               ,  

                ~?

                  -
            .

                       (      
            )      .   mailx
               ,   -
              escape.   ,   
              :

                set escape=]

            ,        -
                  ,   ,  
                 .     -
                 `~'.

            4.2.    

                  ,    -
                 .  ,   
                ,     
                .

                    ,   
              UUCP,        , 
                ,      
            .   ,        ,
              ,   :
                                    - 14 -







                !

              -   ,   -   -
              .           
              ,   :

                _!!

              .   UUCP  ,   -
                       (
             -      ).

                     Internet:

                @.1.2...

              -     -
              ,   -  ,   1...n -
              ,      -
                 - , ,
              .. ,  

                avg@avg386.hq.demos.USSR.COM

            ,   avg       avg386,
                      (hq)  
            (demos), CCC (USSR).        
            :

                COM   -  
                GOV   - . 
                ORG   -  
                EDU   -  
                MIL   -  

             ,         
              ,     -
            .    Internet-   
                        .
             ,        
                Internet- ;   
                      
              .     -
                  
                ,    -
              . (      
              ,       
             ).

               Internet-            UUCP
                   -
            .          
                ,  -
             :      
                Internet,    UUCP,  
              :

                b!c!d!u@a
                                    - 15 -







             a - Internet-   , b,  c,  d  -
              ,    UUCP  u -  -
            .        
            UUCP,   @   %, :

                a!b!c!u%d

             a, b, c -  ,    UUCP,  d  -
            Internet-      u -  -
            .

                   Reply      
            ,    ,      
               To:  Cc:    
            .          
            ,    ;   ,
                 .   mailx
                   
                    .
            ,     Reply        ,
               To:  Cc:  .

            4.3.   

                 ,     
                .    -
                 , -
                .     
             `/'     `+',    ,
                    ,    
            .     ,  -
                .       
             (. .  `/'        ),
                  `./'.  ,    
             memo      :

                % mailx ./memo

                  `+',  
                    .
                   ,
            ,         , 
            -  .      
            ,          
             alias   . ,  

                alias duet  dmitry rita  /usr/duet/mail_rec_

             ,    duet,   -
               /usr/duet/mail_record   
               .      
            ,  mailx   -f.






                                    - 16 -







            5.   

                         
            ,          ,
                 .

            5.1.   

                 mailx    -
                .     type  delete,
               2,   from,  -
                 ,   -
            .   from      
                , 
            .

                    ,  -
               ,    .
                    ,
                   , 
                `^', `.'  `$'  -
              ,    -
               .     
                  
              undelete.

                     
            (   ,     ), -
              `-' ().  , , 
                :

                type 1-4

               ,         
            , :

                type .-$


                -     .    ,
                 ,   , 
                ,      
                 .   
                ,   
            ,       ,  
              (     ).   ,  
                ,   
            root, 

                type root


                    `*'    
              (   ) . ,

                type *

               ,
                                    - 17 -







                delete *

               , 

                undelete *

               .

                     
                    `/'.   , 
               ,   PAS-
            CAL, :

                from /pascal

             ,       -
                  .

            5.2.   

                       mailx,
                 .

            !        shell,    
                 .

            -     `-'        
                   .       
                    n,     -
                    n-    .

            Print
                  ,   print,       
                 . .  print  ignore.

            reply
                             .
                   ( ,    )
                       ,    
                    (,  ,
                  ,        ).
                     ,  
                  ~t  ~c.    -
                         
                        
                  Re:.      -
                   Reply-to,        
                 ,        Reply-to.  
                       -
                 ,     mail.   reply 
                     ,   -
                     ,    
                    .

            Type  ,    Print.

            forward
                       ,
                                    - 18 -







                      . 
                    ,    -
                     Resent-From:, 
                 ,   .

            alias
                  ,    
                 .     ,     
                       -
                     .  ,

                     alias project  lena dima vlad anna

                   project,     
                   lena, dima, vlad  anna.

            alternates
                         ,
                   /usr/lib/aliases   
                 ,  ,       
                     .   alternates -
                 ,   mailx,        
                   .  alternates  
                          
                 ,      -
                  .      ,  -
                          ,  
                  reply,  mailx     
                        .
                   alternates   ,
                       .
                  alternates        
                 .mailrc.

            chdir
                  chdir     .
                     ,  -
                     ,     -
                  .     , chdir -
                     .

            copy  copy    ,      save,  
                 ,    ,  -
                       .

            delete
                     .     
                    undelete.

            dt,dp
                  dt ( dp)        
                   .        
                  .

            edit       
                       edit.
                  edit       ,
                    type,   , 
                                    - 19 -







                   MessageN, N -  ,  -
                   ,        
                  .  ,   -
                 ,        ,  mailx
                       .   -
                    edit - e.

            else    then   if    
                  ,   ,  
                  if .

            endif
                    if.

            exit   mailx     
                    ,    . , 
                        ,  
                    exit,   
                   .     exit
                 - x.

            file  ,   folder.

            folders
                        -
                  .

            folder
                  folder     
                    .       ,  
                   ,      .
                         ,   ,
                   (,      )
                           .  
                     :


                                       
                 __________________________________________________
                 #          
                 %           
                 %         
                 &          ~/mbox
                 +      



            from  from        
                 ; , 

                     from polina

                      ,    
                  polina.

            headers
                        mailx    
                 ,          
                                    - 20 -







                 .   ,   
                 ,      ,    
                 ,   Subject:   ,  
                   .  , mailx   
                  ,        
                 preserve,  P.  ,   -
                   ,    `*'.   -
                 ,          .
                       -
                  ,     headers.
                  headers ( ,       
                   )      
                  .    -
                           . 
                  ,        
                 screen.     mailx  ,   
                  ()   .    -
                         -
                   z.      -
                     mailx    
                 , , , 

                     headers 40

                  headers   h.

            headline
                        -
                      ;  ,  ,
                  

                 headline Organization Wild Hacker's Club, Moscow

                         
                 

                 Organization: Wild Hacker's Club, Moscow

                       -
                 

                 $$ -  `$',
                 $a -     ARPA,
                 $d -     Unix,
                 $i -    ,
                 $r -    ( 
                      /etc/passwd   realname).
                 $h -     Internet,
                 $u -   .

                   headline    ,  
                          -
                   .    headline  
                         
                  .      
                          /usr/lib/Mail.rc  
                 .mailrc.

                                    - 21 -







            help     mailx.

            hold         -
                      ,  
                    mbox      .
                      hold, 
                    .

            if       .mailrc   
                     ,    
                 .         if.   ,
                  :

                     if receive
                        ...
                     endif

                     else:

                     if send
                        ...
                     else
                        ...
                     endif

                  ,       -
                 : receive  send.

            ignore
                      
                    .     
                       . 
                     , -
                  , , Received,  
                    .   Type  Print
                    , 
                   .        -from
                       -
                     From ...      .  
                   ignore      ,  
                      . -
                     - discard.

            list      mailx.

            local
                         .  
                        -
                  .         
                      .     
                     .     
                     mailx      , 
                          
                 ; :

                     local  viista.public.USSR frob.steel.USS
                            frobvax.cbs.USSR r.public.USSR

                                    - 22 -







                      ,  

                        vasya@viista.public
                        nina@frob.steel
                     
                        bibi@r

                            .
                   local     -
                   ..   -
                    ,               
                 /usr/lib/Mail.rc.

            lpr   lpr    ,  
                   LPR ( ).

            mail        -
                 .          ask,  mailx
                      
                 .        -
                 ,      -
                 ,     4,  ,
                    .   
                 ,          CTRL/D  
                      (    
                 dot)    .    
                         (   
                 CTRL/C)     -
                  ~q.

            mbox   ,     -
                     mbox    
                     mailx.    -
                 ,         
                 hold.

            next  next        
                   .      , next
                        .  ,

                     next root

                    ,    
                   root   .  next 
                      , 
                        ,   
                    ""    `^',  `.'  
                 `$'.  , 

                     .

                   ,  

                     4

                   4,   .


                                    - 23 -







            preserve
                  ,   hold.      
                         
                  mailx.

            quit      mailx      
                   ,       
                   ,      .   ,
                   ,   read,  -
                 ,    , 
                  old.       -
                           hold,
                   ,      
                 mbox      -
                   .         
                      hold    ,
                   ,    , 
                      ,  -
                    mbox    .

            Reply
                   ,      ,
                    ,    , -
                   ,  .   -
                   ,   -
                  ~t  ~c.     
                      -
                         Re:,
                          .   
                       Reply-to,  
                       ,    
                 Reply-to.          
                 ,     mail.

            save        -
                       .       
                  save.   save    
                       ,    
                 .      -
                   ,     -
                       ,    
                 .     save  
                  s.          save
                   :

                     s 1 2 tuitionmail

                        -
                       mbox        
                  next,     .

            set       .
                          mailx.  
                  5.3   . -
                    (     -
                 ,   )    .   
                     option    ,
                   :
                                    - 24 -







                     set 

                       option   
                 value  :

                     set =

                      -
                  set.

            shell
                  shell      
                 .         
                     mailx.   -
                   ,   , 
                  mailx;     ,  
                   SHELL:

                     set SHELL=/bin/csh


            source
                  source   mailx  .  
                 ,        .mailrc  
                  .

            top   top       
                        . -
                   - to.   ,  
                     top  ,   
                 toplines.     

                     set toplines=10


            type,print
                  type ( print)   
                     .     crt 
                       
                      ,    crt,
                     crt-1  ,  
                   mailx          
                 .     -
                        -
                 ,    PAGER; ,
                    

                     set PAGER=/usr/bin/more

                        
                    more.

            undelete
                  undelete     
                 ,     . 
                       .   
                   - u.

                                    - 25 -







            unset
                 ,     -
                  .

            uudecode
                    uudecode    
                   ,     
                     (.   
                   ~u).  ,
                     mailx        
                  () .

            visual
                         
                 ,        
                 .      -
                   visual.     visual
                     edit.    edit 
                 visual       -
                 .         ,  
                     EDITOR  VISUAL  -
                        .
                 , ,  :

                     set EDITOR=/bin/ed  VISUAL=/bin/eda


            write
                  save      -
                 ,    .     
                    ,   -
                   write.      write   ,
                    save.         -  w.
                 ,      :

                     w 2 file.c

                    ,  write    -
                       .

            z      mailx      
                 ,             
                 headers.    mailx    
                  ,   

                     z+

                 ,        
                 :

                     z-

                           
                  

                     z1      z$

                 .
                                    - 26 -







            @headers, @reply, @Reply, @from
                      
                 @,        -
                         From:  
                 ,     
                     .   
                          
                         -
                      .  (
                      ,  
                     -
                            
                  ).

            5.3.  

                      
              .      -
               .  :    ,
                     -
            ,     .

            EDITOR
                   EDITOR     
                   ,   
                 edit    `~e'.  
                     ,  
                 .

            LPR   ,      -
                 ,      
                 lpr.      lpr.

            PAGER
                     PAGER      
                       ,    
                         
                  .

            SHELL
                     SHELL        
                   ,  -
                    `!'      -
                  `~!'.   ,  
                      , 
                  ,  `*'  `?'.

            VISUAL
                   VISUAL     -
                        visual  
                  ~v.     -
                 ,    .

            append
                   append ,  -
                 ,      mbox,     
                 ,     .   mailx 
                   mbox    ,   
                                    - 27 -







                        .   
                     append,    
                       mbox.     
                     .

            ask    ask   mailx  -
                        
                    .      
                        Return,
                       .

            askcc
                   askcc ,  
                        -
                       
                   .     -
                 ,      .

            autoprint
                   autoprint  
                 delete   dp (   -
                         ).   
                       -
                    .

            autosign
                   autosign   ,  
                            
                     $HOME/.signature,      
                      .

            debug
                     debug     
                      .     
                       -d  
                  .

            dot    dot,     ,
                   mailx    ,   
                  ,    , -
                   .

            escape
                        ,
                       ,  
                    escape.    -
                         
                 escape,        
                    ,  .   
                    ,    `~'  
                     ,      
                 ,    .

            folder
                      .   
                     `/',  mailx ,
                      ,      ,
                       
                                    - 28 -







                  .

            headerfield
                   (  :),        
                 headers.     ,  -
                     From:  (  ,
                    From ).     -
                      :

                     set headerfield=to


            headername
                        ,  
                   headers    , 
                   ( ).    
                 .      ( -
                 ).

            hold   hold ,   -
                 ,   ,     -
                    ,      
                    ,    -
                     mbox.

            ignore
                   ignore  ,    
                     
                 CTRL/C,      .   
                 CTRL/C       -
                    mailx.    
                 ignore      -i  
                 ,     6.

            ignoreeof
                    dot    ignoreeof
                   mailx   CTRL/D  -
                   .    ignoreeof  -
                      mailx.

            keep  keep  mailx,    -
                    ,    ,
                           .    
                    ,     
                  ,    

                     chmod 600 /usr/spool/mail/yourname

                  yourname -   .    
                     , -   -
                   ,      
                   ( !).

            keepsave
                      save,  -
                   mailx        .
                         ,  
                   keepsave.
                                    - 29 -







            metoo
                      , mailx  
                     ,    
                  .    ,   -
                       .    
                    ,    -
                    ,   
                  metoo.

            noheader
                     noheader    
                             mailx.
                        
                  -N   .

            nopipe
                  ,       -
                  ,    
                 .    nopipe, -
                         -
                      .      
                     .

            nosave
                         
                 CTRL/C  mailx     
                 dead.letter         .
                   nosave,   .

            quiet
                   quiet   
                     mailx,   ,
                   4:  type.    -
                     .

            record
                         ,  -
                   record  ,   
                   .      -
                          
                  .

            screen
                   mailx      -
                  ,    -
                       .     
                 ,    . -
                   screen   .   -
                   ,      
                  .       
                     z.

            sendmail
                     ,   -
                     sendmail      -
                 ,    .   :
                     !    -
                          ,   
                                    - 30 -







                   .

            sort  ,     
                 .   :

                    author
                         -    ;

                    date -     ;

                    subject
                         -   .

                       .
            ,    ,  
              sort    file.

            toplines
                     toplines     
                 ,    top  
                  .

            verbose
                   verbose  
                 mailx   sendmail   -v,   
                      ,  -
                     ..  -
                  verbose   mailx   
                 -v,     6.

            6.    

                   ,   -
                 mailx.

            -N      .

            -d       .      
                 .

            -f  
                     ,    
                     .      -
                 ,  mailx     mbox    
                  .

            -i      CTRL/C,  
                 .

            -n      /usr/lib/Mail.rc.   -
                   ,      /usr/lib/Mail.rc  
                 .

            -s  
                    .    -
                      .
                    ,   
                  .
                                    - 31 -







            -u  
                        -
                 .      -
                   ,        .    
                 ,  -u   -     -
                   ,   -f  /usr/spool/mail/.

            -v    -v  sendmail.        
                 ,   verbose.

                          
              ,    ,     
              ,  ,  mailx.

            -T  
                              
                 Article-Id   ,   
                  .   -T      read-
                 news          
                 .

            -h  
                      .  -
                   mailx    ,    
                    -h   .  
                 -h       .

            -r  
                      : -
                         ,   .
                    -r      
                 .    mailx  ,    
                  ,       -
                 .   , mailx    -
                 .

                ,   -h  -r,   
                  ,   -
            ,          -
            .

                  mailx    (
             ),     -x, -
                ,     
                ,   
             ,   record.

            7.   

                     .   
                   From,
                     ,
                  ctime,  
                  XENIX.   
            ctime     , , :

                Fri Oct 26 19:12:48 1990 MSD

                                    - 32 -







                            
            .      :

                : 

               ,        -
                    . 
              :  Article-Id,  Bcc,  Cc,  Date,   From,
            Message-Id,  Received,  References,  Reply-to
            Subject  To.       
             .       -
             ,  -     
            .

                    -  ,  
                .    -
                     -8,  
                 .      
                -8,     
              512 .    
               , ,     
                 ,    
                .  ,   -
                 , ,     -
             64 ,        
             16    .     -
              ,   70  -
            ,       .

                          
                  .     
            .

                  UUCP    
                 ,   
             .

                 ,       
                      
            .

            8.  

                     -
               mailx.

            
                      .

                 mailx, -
                   `-'.  , -f -  .

             
                    ,   ,
                     . -
                    -  To:, Cc:  Subject:.


                                    - 33 -







            
                  .     "
                   ?"

             
                 ,    ,    
                 /usr/spool/mail.

            
                    -,  -
                     .

             
                 ,      
                 mailx    .

            
                     ,    
                        mailx  
                 .     set.

            9.   ,   
            

                       ,
                  -
              mailx.































                                    - 34 -








                   :

                                     
            ____________________________________________________________
            !              shell   
            -               
            =               
            Print            
            Reply            
            Type             
            alias            
                         
            alternates     ,    
            chdir          
            copy               
            delete         
            dt                
            endif          ; . if
            edit           
            else             ;. if
            exit           
            file         /   
            folder        ,   file
            folders           
            forward         
            from            
            headers         
            headline        
            help              mailx
            hold          ,   preserve
            if               mailx
            ignore       /   
            list             mailx
            local            
            lpr            
            mail             
            mbox               mbox
            next               
            preserve          /
            quit              /   mbox
            reply             
            save          ,  ,  
            set              
            shell           
            top             (5)  
                          
            type          
            undelete       
            unset           set
            uudecode        uudecode 
                          
            visual            
            write             
            z              / 



                                    - 35 -








                   .  
             ,      -
            .

              .                        
            __________________________________________________________
            EDITOR        .       ~e  edit
            PAGER         .       
            LPR           .      
            SHELL         .     shell'  shell, ~!  !
            VISUAL        .       
                                 ~v  visual
            append        .     
                                   mbox
            ask           .       Subject:
            askcc         .       Cc:
            autoprint     .     delete 
                                  
            autosign      .     .signature 
                                   
            crt           .       
                                  more
            debug         .     
            dot           .       - 
                                 
            escape        .       ~ ()
            folder        .        
            headerfield   .        h
            headername    .       h
            hold          .      
                                   /
            ignore        .       CTRL/C
            ignoreeof     .       
                                   CTRL/D
            keep          .       /
            keepsave      .      
            metoo         .     
                                  
            noheader      .        
                                 
            nopipe        .      
            nosave        .       dead.letter
            realname      .      
            quiet         .      mailx 
                                  
            record        .    ,    
                                  
            screen        .         z
            sort          .      
            sendmail      .       
            toplines      .        top
            verbose       .    sendmail   -v





                                    - 36 -








                    -
            ,    .

            .                            
            _________________________________________________________________
            ~!                     shell
            ~:      _mailx             mailx
            ~c       ...                 Cc:
            ~d                           dead.letter  
            ~e                             
                                        
            ~f                   
            ~h                            
            ~m                  , 
                                          
            ~M                  ,   ~f
            ~>>                  , 
                                         '>>'
            ~p                           ,   
            ~q                           ;  ,   CTRL/C
            ~r                         
            ~s                        Subject:
            ~t       ...                 To:
            ~u      [_] _       
                                        ,  uuencode
                                         
            ~v                             
                                        
            ~w                         
            ~|                      
            ~~                      ~   




                   ,   -
                 mailx:

                                        
            ____________________________________________________________
            -N                 
            -T          .
            -d             
            -f              ~/mbox
            -h        
            -i               
                          
            -n              /usr/lib/Mail.rc
            -r             
            -s         
            -u            ,   
            -v             sendmail   -v
            -x                




                                    - 37 -







             :  -T, -d, -h  -r   -
                  (   
            ).

            10.      mailx 

                 MSDOS        
              mailx,    ,  -
             MSDOS.     
                   -
                (Environment)       .
                    (
            SET =)    -
                  .     
            %%   .

                       
            mailx   :

            HOME -  ,     -
                    .

            USER -   (     -
                           BOXES -
                     ).

            TZ   - ,      -
                   :

                          , 3 ;

                           , ;

                           , 3 ;

                       , TZ=MSK-3MSD  .

            DOMAIN
                 - ,       (
                      : %USER%@%DOMAIN%).

                ,     -
             .     :

            MSG  -  ;      -
                     'r',     -
                      ,     
                    'e' -  .

            COMSPEC
                 -    .

            TMP  -      mailx.

                    ,  mailx
            ,         
                UUPC.RC      CONF
            (,    ,     TZ, DOMAIN 
                                    - 38 -







            MSG).  ,        -
               PERSONAL.RC (  -
             HOME  USER).       ,
                  .

                    
            mailx :

                 -     (  
                   PERSONAL.RC);

                 -  mailx    UUPC;

                       UUPC  
             PATH   AUTOEXEC.BAT.

                   UUPC.RC    PERSONAL.RC.
                   :

               =

               ,    '#',    -
            .

                ,      -
              (MAILRC,  MAIL.RC)      
            .

                  :

                        XENIX                    MSDOS
               ________________________________________________
               $HOME/dead.letter         %HOME%\DEAD.LET
               $HOME/.mailrc             %HOME%\MAILRC
               $HOME/.signature          %HOME%\PERSONAL.SIG
               /usr/lib/aliases          UUPC\MAIL\ALIASES.TX_
               /usr/spool/mail/$USER     UUPC\MAIL\BOXES\%US
               /usr/lib/relcom/Mail.rc   UUPC\MAIL\MAIL.RC
               /usr/adm/maillog          UUPC\MAIL\MAILLOG
               ________________________________________________


                   :

                   autocall.     
                mailx ,   -
             ,       
            ,  ,        
            UUIO.









                                    - 39 -







                                  



                 ....................................    1

            1.   .....................................    1

            2.    mailx ........................    2

            3.     .................    9

            4.    ...............................    10
            4.1.    .............    10
            4.2.     .............................    14
            4.3.    .......................    16

            5.    ...................    17
            5.1.    ...........................    17
            5.2.    ..............................    18
            5.3.   .................................    27

            6.     .......................    31

            7.    .............................    32

            8.   ......................................    33

            9.   ,    -
                 ...............................    34

            10.          mailx   
                MSDOS ........................................    38

























                                    - 40 -



--
 Polina Antonova  | polina@hq.demos.su                    /\/\
 DEMOS,           | polina%hq.demos.su@relay.eu.net      (____)
 Moscow, Russia   | +7 095 231-2129                   __(__    )
						     '------'~~




Last-modified: Mon, 29 Jun 1998 14:13:32 GMT
: