xref: /titanic_50/usr/src/cmd/mailx/misc/mailx.help (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
2*7c478bd9Sstevel@tonic-gate                mailx commands
3*7c478bd9Sstevel@tonic-gate
4*7c478bd9Sstevel@tonic-gatealias,group user ...            declare alias for user names
5*7c478bd9Sstevel@tonic-gatealternates user                 declare alternate names for your login
6*7c478bd9Sstevel@tonic-gatecd,chdir [directory]            chdir to directory or home if none given
7*7c478bd9Sstevel@tonic-gate!command                        shell escape
8*7c478bd9Sstevel@tonic-gatecopy [msglist] file             save messages to file without marking as saved
9*7c478bd9Sstevel@tonic-gatedelete [msglist]                delete messages
10*7c478bd9Sstevel@tonic-gatediscard,ignore header           discard header field when printing message
11*7c478bd9Sstevel@tonic-gatedp,dt [msglist]                 delete messages and type next message
12*7c478bd9Sstevel@tonic-gateecho string                     print the string
13*7c478bd9Sstevel@tonic-gateedit [msglist]                  edit messages
14*7c478bd9Sstevel@tonic-gatefolder,file filename            change mailboxes to filename
15*7c478bd9Sstevel@tonic-gatefolders                         list files in directory of current folder
16*7c478bd9Sstevel@tonic-gatefollowup [msglist]              reply to authors of messages and save copy
17*7c478bd9Sstevel@tonic-gateFollowup [message]              reply to all recipients of message and save copy
18*7c478bd9Sstevel@tonic-gatefrom [msglist]                  give header lines of messages
19*7c478bd9Sstevel@tonic-gateheader [message]                print page of active message headers
20*7c478bd9Sstevel@tonic-gatehelp,?                          print this help message
21*7c478bd9Sstevel@tonic-gatehold,preserve [msglist]         hold messages in mailbox
22*7c478bd9Sstevel@tonic-gateinc				incorporate new messages into current session
23*7c478bd9Sstevel@tonic-gatelist                            list all commands (no explanations)
24*7c478bd9Sstevel@tonic-gatemail user                       mail to specific user
25*7c478bd9Sstevel@tonic-gateMail                            mail to specific user, saving copy
26*7c478bd9Sstevel@tonic-gatembox [msglist]                  messages will go to mbox when quitting
27*7c478bd9Sstevel@tonic-gatenext [message]                  goto and type next message
28*7c478bd9Sstevel@tonic-gatepipe,| [msglist] shell-cmd      pipe the messages to the shell command
29*7c478bd9Sstevel@tonic-gateprint,type [msglist]            print messages
30*7c478bd9Sstevel@tonic-gatePrint,Type [msglist]            print messages with all headers
31*7c478bd9Sstevel@tonic-gatequit                            quit, preserving unread messages
32*7c478bd9Sstevel@tonic-gatereply,respond [msglist]         reply to authors (only) of the messages
33*7c478bd9Sstevel@tonic-gateReply,Respond [message]         reply to the author and recipients of the msg
34*7c478bd9Sstevel@tonic-gatesave [msglist] file             save (appending) messages to file
35*7c478bd9Sstevel@tonic-gateSave [msglist]                  save messages to file named after author
36*7c478bd9Sstevel@tonic-gateset variable[=value]            set variable to value
37*7c478bd9Sstevel@tonic-gatesize [msglist]                  print size of messages
38*7c478bd9Sstevel@tonic-gatesource file                     read commands from file
39*7c478bd9Sstevel@tonic-gatetop [msglist]                   print top 5 lines of messages
40*7c478bd9Sstevel@tonic-gatetouch [msglist]                 force the messages to be saved when quitting
41*7c478bd9Sstevel@tonic-gateundelete [msglist]              restore deleted messages
42*7c478bd9Sstevel@tonic-gateundiscard,unignore header       add header field back to list printed
43*7c478bd9Sstevel@tonic-gateunread,new [msglist]		mark messages unread
44*7c478bd9Sstevel@tonic-gateversion                         print version
45*7c478bd9Sstevel@tonic-gatevisual [msglist]                edit list with $VISUAL editor
46*7c478bd9Sstevel@tonic-gatewrite [msglist] file            write messages without headers
47*7c478bd9Sstevel@tonic-gatexit,exit                        quit, preserving all messages
48*7c478bd9Sstevel@tonic-gatez [+/-]                         display next [last] page of 10 headers
49*7c478bd9Sstevel@tonic-gate
50*7c478bd9Sstevel@tonic-gate[msglist] is optional and specifies messages by number, author, subject or
51*7c478bd9Sstevel@tonic-gatetype.  The default is the current message.
52