Major material is from Tzeng Ruey Yuan, 416 College Ave, DeKalb, IL 60115, USA
 

Ãö©ó Unix mail

 

¦p¦óµo°e«H¥ó
 
<< ¥Ü½d¤@ >> »´»´ÃPÃPªº°e«H

 
 $ mail stud001@twnmoe10.edu.tw ¡ö Áä¤Jmail«á¥[¦¬«H¤H¦a§}, §¹¦¨«á«öENTERÁä 
                                                                          
 Subject: Say Hello!            ¡ö Áä¤J¥D¦®Äæ, §¹¦¨«á«öENTERÁä           
                                                                        
 How have you been, man?        ¡ö ³o¤@¦æ¬°«H¥ó¤º®e                    
                                                                      
 EOT                            ¡ö «öCTRL-D Áä, «üCtrlÁä»PDÁä¤@°_«ö, «H¤w±H¥X  
    VISUAL=vi
    EDITOR=vi
    export VISUAL EDITOR
 
  $ mail -s "Good morning" john,stud001@twnmoe10.edu.tw
                                                         
  This is a test mail to see if -s parameter works.  
                                                       
  The -s is used to add SUBJECT in command line.   
                                                     
  EOT          ¡ö  µ²§ô²Å¸¹                      
 

¦p¦óŪ«H¤Î¦^«H

 
   $ mail              ¡ö Áä¤Jmail«ü¥O                                          
                                                                               
   Mail version 5.3 2/18/88.  Type ? for help.                                 
   "/usr/spool/mail/t900238": 3 messages 3 new                                 
   >N  1 t900238               Fri Jul  3 22:36  18/666  "editor saved ``/tmp/pa"
    N  2 rickert               Fri Jul  3 22:49  27/751  "Proper use of computer"
    N  3 t900238@vm.cso.niu.ed Sat Jul  4 09:24  15/565  "what a life should be!"
   &                 ¡ö ¶i¤Jmail, & ²Å¸¹ªí¥Ümail¥¿¦bµ¥­Ô¶i¤@¨B©R¥O¡C    
 
   & 3        
   Message  3:   
   From t900238@mp.cs.niu.edu Sat Jul  4 22:36:40 1992
   Return-Path:               
   Received: from mp.cs.niu.edu by tpts1.seed.net.tw (4.1/SMI-4.0)
   Date: Sat, 4 Jul 1992 09:49:02 -0500                          
   From: tzeng yuan                      
   Message-Id: <199207041449.AA02164@mp.cs.niu.edu>            
   To: usr020@tpts1.seed.net.tw                               
   Subject: what a life should be                            
   Status: R                                                
                                                           
   Try to be as aggressive as you can at this point.    ¡ö  ¨Ó«H¤º®e 
   I am not gonna tell you something you should do, but             
    You should try to find it out..try it. 
                                          
   &         ¡ö mail µ¥­Ô±z¤U¤@¨B©R¥O
 
   & help     ¡ö Áä¤Jhelp«á, «ö Áä                             
                                                                         
       Mail   Commands                                                  
   t                 type messages                       
   n                               goto and type next message         
   e                 edit messages                     
   f                 give head lines of messages      
   d                 delete messages                 
   s  file           append messages to file        
   u                 undelete messages             
   R                 reply to message senders     
   r                 reply to message senders and all recipients 
   pre               make messages go back to /usr/spool/mail   
   m                    mail to specific users                    
   q                               quit, saving unresolved messages in mbox 
   x                               quit, do not remove system mailbox      
   h                               print out active message headers       
   !                               shell escape                          
   cd [directory]                  chdir to directory or home if none given
                                                                          
   A  consists of integers, ranges of same, or user names separated
   by spaces.  If omitted, Mail uses the last message typed.                    
                                                                               
   A  consists of user names or aliases separated by spaces.       
   Aliases are defined in .mailrc in your home directory.                    
                                                                            
   &         ¡ö mail µ¥­Ô±z¤U¤@¨B©R¥O                                  
 

¤@¨Ç¸û±`¥Îªº«ü¥O
 
R, r¡G

 
 $ mail                                                                          
 Mail version 5.3 2/18/88.  Type ? for help.                                    
 "/usr/spool/mail/t900238": 12 messages 3 new                                  
     
  • .
  • . . (µe­±µô°Å)
  • .
    N 11 t900238 Tue Aug 11 11:32 11/295 "test mail again" N 12 t900238 Tue Aug 11 11:34 11/353 "test mail, never mind" & R12 ¡ö ¦^²Ä¤Q¤G«Ê«H To: t900238 ¡ö ¤jR¥u¦^µ¹­ìµo«H¤H Subject: Re: test mail, never mind
  • .
  • . . (µô°Åµe­±)
  • .
    & r12 ¡ö ¦^²Ä¤Q¤G«Ê«H To: stud001@twnmoe10.edu.tw t900238@mp.cs.niu.edu t900238 ¡ö ¤pr¦^µ¹ ­ì«H¤W©Ò¦³¦¬«H¤H Subject: Re: test mail, never mind ¡ö ¥ÎR, r¦^«H®É, ¥D¦®±N¦Û°Ê²£¥Í I would not mind at all. Take a break now man! ¡ö ¦^«H¤º®e EOT & h ¡ö ¦C¥X©Ò¦³«H¥ó¼ÐÃD >U 1 yimin@moers2.edu.tw Sat Aug 8 01:02 16/569 "Re: New coming files" U 2 u7911013@cc.nctu.edu Sun Aug 9 17:03 142/5456 "tw.* Newsgroups Redist" U 3 17MAO@CUA.BITNET Mon Aug 10 08:57 23/926 "Chinese viewer on SVGA" & & f1 ¡ö ¦C¥X«ü©w«H¥ó¼ÐÃD >U 1 yimin@moers2.edu.tw Sat Aug 8 01:02 16/569 "Re: New coming files" & & s 11 test.file ¡ö ±N²Ä11«Ê«H¦¬¤JÀÉ®×, ¨úÀɦW¬°test.file "test.file" [New file] 11/295 & & s 11-12 testagain.file ¡ö ±N²Ä11¤Î12«Ê«H¦X¨Ö¦¬¤JÀÉ®×, ¨úÀɦW¬°testagain.file "testagain.file" [New file] 22/648
  •  
      & d 1  ¡ö §R°£±¼²Ä¤@«Ê«H                                                  
      & h    ¡ö ¦C¥X¨Ó¬Ý, ªGµM§R°£¤F                                           
      >U  2 u7911013@cc.nctu.edu  Sun Aug  9 17:03 142/5456 "tw.* Newsgroups Redist"
       U  3 17MAO@CUA.BITNET      Mon Aug 10 08:57  23/926  "Chinese viewer on SVGA"
      &                                                                         
      & u 1  ¡ö ¨M©w¤£§R°£­è­è²Ä¤@«Ê«H (ª`·N, ­Y±z¤w°h¥XŪ«H, ³o¥\¯à´NµL®Ä¤F)  
      & h    ¡ö ¦C¥X¨Ó¬Ý, ªGµM±Ï¦^¨Ó¤F                                        
      >U  1 yimin@moers2.edu.tw   Sat Aug  8 01:02  16/569  "Re:  New coming files" 
       U  2 u7911013@cc.nctu.edu  Sun Aug  9 17:03 142/5456 "tw.* Newsgroups Redist"
       U  3 17MAO@CUA.BITNET      Mon Aug 10 08:57  23/926  "Chinese viewer on SVGA"
      & d 1-3    ¡ö §â¤@¨ì¤Tªº¤T«Ê«H§R±¼                                       
      & u 1-3    ¡ö ¦A±Ï¦^¨Ó                                                  
      & m t900238 stud001@twnmoe10.edu.tw  ¤£°h¥XŪ«H¤U, ª½±µµo«H            
      Subject: test mail again                                                  
      Hello                                                                    
      ^D EOT    ¡ö «H¤wµo¥X                                                   
      & ! ls -l test*    !²Å¸¹Åý±z°õ¦æ¥¡ã³¡ (shell) «ü¥O, ¦¹¨Ò¤¤, §Ú­Ì¸ÕµÛ¦C¥X­è 
      -rw-r--r--  1 t900238       305 Aug 11 11:37 test.file         ­è¦s¤JªºÀÉ®×   
      -rw-r--r--  1 t900238       668 Aug 11 11:38 testagain.file                  
                                                                                  
      & cd chinese   cd Åý±z¤£Â÷¶}mail±¡ªp¤U, §ó§ï¥Ø¿ý                       
      & !pwd                   ¡ö ¥Î!pwd «ü¥OÁ@Á@                           
      /usr2/t900238/chinese    ¡ö ¤u§@¥Ø¿ý¤w§ó§ï                               
                                                                              
      & q       ¡ö µ²§ô°h¥Xmail                                          
      Held 3 messages in /usr/spool/mail/t900238                            
    
     

    Where is mail box?

     

    Ãö©ó«H½cªººÞ²z

     

    ¦¬«H¤H«ü©w¨â¤H

     
    << ½d¨Ò¤T >>
    $ mail stud001@twnmoe10.edu.tw,t90yuan@mp.cs.niu.edu
    Subject: A wonderful Sunday morning                
    I would share this quiet and beautiful morning with you.
    EOT                                                    
    
     

    ¥Îvi½s¿è«H¥ó

     
    << ½d¨Ò¥| >>
                $ mail t900238  
                Subject: This is a test mail
                                           
               ¡ãv          ¡ö ©I¥svi½s¿è¾¹, ¥H¤U¤w¸g¶i¤Jvi½s¿èµe­± 
                                                                   
              How's going, man?                                   
              --Here I add these message--        ¡ö ·s¥[¤J      
              Talk to you later!                                
                                                               
              ¡ã                                              
              ¡ã                                             
              ¡ã                                            
              ¡ã                                           
              ¡ã                                          
              ¡ã                                         
              ¡ã                                        
              ¡ã                                       
              :wq¡ã@                ¡ö Àx¦s, ¸õ¥X¦^¨ìmail 
              "/tmp/Re18989" 4 lines, 67 characters      
    
     
                                                        
              (continue)                               
              ¡ãp                   ¡ö §Ú­ÌÂsÄý¤@¤U«H¥ó¤º®e 
              -------                                      
              Message contains:                           
              To: t900238                                
              Subject: This is a test mail              
                                                       
              How's going, man?                       
              --Here I add these message--           
              Talk to you later!                    
                                                   
              (continue)                          
              EOT                 ¡ö «öCTRL-D±N«H°e¥X 
    
     

    $HOME/.mailrc±Ò°ÊÀɮתº¨Ï¥Î:

     
    ¢z¢w$HOME/.mailrcÀÉ®×¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢{
    ¢xalias yuanyuan stud001@twnmoe10.edu.tw                             ¢x
    ¢xalias group-project t902110@niucs1,t901277@niucs1,t901283@niucs1   ¢x
    ¢xset EDITOR=/usr/local/bin/joe                                      ¢x
    ¢xset VISUAL=/usr/local/bin/joe                                      ¢x
    ¢|¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢}
    
     

    ¦p¦óÂà«H:

     
    From STUD001%TWNMOE10.BITNET@pucc.PRINCETON.EDU Sat Jul 18 22:20:10 1992
    Date:         Sun, 19 Jul 92 11:18:57 EST                              
    From: YUAN                                   
    Subject:      Re: Say Hello                                          
    To: tzeng yuan , stud001@twnmoe10.edu.tw,    
    	stud001@twnmoe10.edu.tw                                    
    In-Reply-To:  Message of Sat, 4 Jul 1992 14:30:55 -0500 from      
                                              
    								
    >I am tired of say hello again? men!  ¡Õ³o«Ê«H¬O¹ï¤èŪ§¹«á¤S­ì«HÂà  
    				      (Forward) ¦^¨Ó, ±z¬Ý¥X¨Ó¤F¶Ü¡H¡Ö 
           TAKE CARE!!                                                    
    								     
    & R   ¡ö ¦^«H, «öENTER«á¥ß¨è²£¥Í¦p¤U¡G                          
    								   
    To: STUD001@TWNMOE10.BitNet                                       
    Subject: Re: Say Hello                                           
    								
    ¡ãh                ¡ö ©I¥s½s­×«HÀY, ¡ã ²Å¸¹¬O©I¥s´£¥Ü²Å¸¹, ¥H¤U¬Ò¦P  
    To: STUD001@TWNMOE10.BitNet                     ¡ö ³o¤@¦æ¯dµÛ¤£°Ê   
    Subject: To modify the reply message header!!   ¡ö ­×§ï«á          
    Cc:                                             ¡ö °Æ¥»¦¬«H¤H, ¥i¤£«ü©w 
    Bcc:                                                                   
    (continue)                                                            
    ¡ãs To modify the Header again!!!               ¡ö ª½±µ§ó§ï¥D¦®      
    ¡ãm                                             ¡ö ©I¥s¦¬¤J¨Ó«H¤º®e 
    								   
    Interpolating: 11                                                 
    (continue)                                                       
    ¡ãv                                             ¡ö ©I¥svi ½s¿è¾¹
    							      
    
     
    	       < ½s¿è¦p¤U >  
    			
     >>    >I am tired of say hello again? men! -- by Tzeng STUD001@TWNMOE.EDU.TW
    									
     >              TAKE CARE!!    -- by Yuan t900238@VM.CSO.NIU.ED        
    								
          -----this line is my message ------                      
           I will take care of myself and, you too.               
    		and my address : t900238@mp.cs.niu.edu  a Unix hos
     ¡ã                                                              
     ¡ã           µ§ªÌµù¡G²£¥Í¡u>¡vªº¤èªk¬O¦bvi¤¤©I¥sex¦æ½s¿è¾¹, «ü¥O¦p¤U¡G
     ¡ã           ¡G1,$s/^/>/    ¡ö §Æ±æ±z¬Ý±oÀ´³o«ü¥O, ­Y¤£À´, ¼È®É²¤¹L§a¡I 
     ¡ã           ¥t¥~, ¦³¨Çª©¥»ªºmail·|¦Û°Ê²£¥Í¡u>¡v²Å¸¹¡C                 
     ¡ã                                                                    
     ¡ã:wq  ¡ö ¸õ¥Xvi¨ÃÀx¦s                                               
     ¡ã                                                                  
     "/tmp/Re13738" 9 lines, 301 characters                             
     (continue)                                                        
     ¡ãp   ¡ö §Ú­Ì¥s¥X¨Ó¬Ý¬Ý                                          
     Message contains:                                               
     To: STUD001@TWNMOE10.BitNet                                    
     Subject: To modify the Header again!!!                        
    							
    						
     >>    >I am tired of say hello again? men! -- by Tzeng STUD001@ 
    							TWNMOE10.EDU.TW
     >              TAKE CARE!!    -- by Yuan t900238@VM.CSO.NIU.EDU      
    								
          -----this line is my message -------                     
           I will take care of myself and, you too..              
    		and my address : t900238@mp.cs.niu.edu  a Unix host
    								
     (continue)       ( ¥H¤W´N¬O«H¥ó¥þ³¡¤º®e, §t«HÀY¤Î¦¬«H¤H)      
     EOT    ¡ö «ö CTRL-D Áä«á´N±H¥X¡C                             
     &      ¡ö ¦^¨ìmailŪ«H                                  
     & x    ¡ö ¸õ¥XŪ«H                                     
     $      ¡ö ¦^¨ìUnix  (shell)                               
                                                              
    
     
     $ mail t900238 
     Subject: This is a test mail
     ¡ãv          ¡ö©I¥svi½s¿è¾¹, ¥Îvi¼g«H 
                                          
     How's going, man?                   
     --Here I add these message--       
     Talk to you later!                
                                      
                                     
     :wq                 ¡öÀx¦s, ¸õ¥X¦^¨ìmail
     ¡ã                                     
     "/tmp/Re18989" 4 lines, 67 characters 
     (continue)                           
     ¡ãp                 ¡ö§Ú­ÌÂsÄý¤@¤U«H¥ó¤º®e 
     -------                                    
     Message contains:                         
     To: t900238                              
     Subject: This is a test mail            
                                            
     How's going, man?                     
     --Here I add these message--         
     Talk to you later!                  
     (continue)                         
     ¡ãr .mysign         ¡ö ©I¥sŪ¤J.mysignÀÉ®× (¡ã/.mysign´N¬Oµ§ªÌ¦Û©wªºÃ±¦WÀÉ)
     "mysign" 13/804                                                           
     ¡ãp                 ¡ö ¦A¦L¥X«H¥ó¤º®e¬Ý¬Ý                                
                                                                             
    
     
    -------  
    Message contains:
    To: t900238     
    Subject: This is a test mail
    			
    How's going, man?      
    --Here I add these message--     ¡ö  mail body
    Talk to you later!                           
    					
    ----------------------------------------------
    Here is my signature                         
    ----------------------------------------------
    (continue)                                   
    EOT                 ¡ö«öCTRL-D±N«H°e¥X      
    
     

    Command Summary

     
        ¡ã?      ¡ö ©I¥s«ü¥Oªº½u¤W¨D§U            
        The following ¡ã escapes are defined:    
        ¡ã¡ã            Quote a single tilde    
        ¡ãb users        Add users to "blind" cc list 
        ¡ãc users        Add users to cc list        
        ¡ãd              Read in dead.letter        
        ¡ãe              Edit the message buffer   
        ¡ãh              Prompt for to list, subject and cc list
        ¡ãr file         Read a file into the message buffer   
        ¡ãp              Print the message buffer             
        ¡ãm messages     Read in messages, right shifted by a tab
        ¡ãs subject      Set subject                            
        ¡ãt users        Add users to to list                  
        ¡ãv              Invoke display editor on message     
        ¡ãw file         Write message onto file.            
        ¡ã?              Print this message                 
        ¡ã!command       Invoke the shell                  
        ¡ã¡Ucommand       Pipe the message through the command
    
    Web Page Copyright: °ê¥ß¬Fªv¤j¾Ç¸ê°T¬ì¾Ç¨t ³sÄ£«n lien@cherry.cs.nccu.edu.tw  tutor.htm,  Sat Feb 5 07:27:09 CST 2011