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