Merge commit 'b1e7e97d3b60469b243b3b2e22c7d8cbd11c7c90'
[unleashed.git] / usr / src / cmd / mailx / misc / mailx.help
blobefe5f0c1d82fb69e2983ce0d74f2039c403925a4
1 # ident "%Z%%M% %I%     %E% SMI"
2                 mailx commands
4 alias,group user ...            declare alias for user names
5 alternates user                 declare alternate names for your login
6 cd,chdir [directory]            chdir to directory or home if none given
7 !command                        shell escape
8 copy [msglist] file             save messages to file without marking as saved
9 delete [msglist]                delete messages
10 discard,ignore header           discard header field when printing message
11 dp,dt [msglist]                 delete messages and type next message
12 echo string                     print the string
13 edit [msglist]                  edit messages
14 folder,file filename            change mailboxes to filename
15 folders                         list files in directory of current folder
16 followup [msglist]              reply to authors of messages and save copy
17 Followup [message]              reply to all recipients of message and save copy
18 from [msglist]                  give header lines of messages
19 header [message]                print page of active message headers
20 help,?                          print this help message
21 hold,preserve [msglist]         hold messages in mailbox
22 inc                             incorporate new messages into current session
23 list                            list all commands (no explanations)
24 mail user                       mail to specific user
25 Mail                            mail to specific user, saving copy
26 mbox [msglist]                  messages will go to mbox when quitting
27 next [message]                  goto and type next message
28 pipe,| [msglist] shell-cmd      pipe the messages to the shell command
29 print,type [msglist]            print messages
30 Print,Type [msglist]            print messages with all headers
31 quit                            quit, preserving unread messages
32 reply,respond [msglist]         reply to authors (only) of the messages
33 Reply,Respond [message]         reply to the author and recipients of the msg
34 save [msglist] file             save (appending) messages to file
35 Save [msglist]                  save messages to file named after author
36 set variable[=value]            set variable to value
37 size [msglist]                  print size of messages
38 source file                     read commands from file
39 top [msglist]                   print top 5 lines of messages
40 touch [msglist]                 force the messages to be saved when quitting
41 undelete [msglist]              restore deleted messages
42 undiscard,unignore header       add header field back to list printed
43 unread,new [msglist]            mark messages unread
44 version                         print version
45 visual [msglist]                edit list with $VISUAL editor
46 write [msglist] file            write messages without headers
47 xit,exit                        quit, preserving all messages
48 z [+/-]                         display next [last] page of 10 headers
50 [msglist] is optional and specifies messages by number, author, subject or
51 type.  The default is the current message.