mailx
-
-
/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 , -
(
- ).