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