Michael Convey <[email protected]> wrote:
> ..
> Is there a command that can be entered at the '&' prompt to compose a new
> message? Or, do you have to exit mailx and start over? ?

The usual way would be "m <recipient(s)>" which will prompt for a Subject
line then let you start typing in a message.  Most people like to compose
their messages in an editor, and usually their default editor is defined
in the EDITOR and/or VISUAL shell environmental variables.  Assuming you
have a default editor defined, you can envoke it with "~e" on a new line
("~v" also works unless you're in a ssh session in which it may toggle
ssh into "verbose" which is a bit annoying).  Once in your default editor
you can compose your message and exit, returning you to the '&' prompt;
then enter a "." on a new line and you'll be prompted for a few standard
email headers and probably paths to any attachments you want to attach.
If you want to further edit the To: or Reply To: headers use "~h"; to edit
the From: field use "~H"; to re-enter your default editor use "~e"; to
print to screen message in current state use "~p" or "~P" (all headers
displayed).

You might read through the manpage and/or some standard Unix mailx User
Guides[1,2] for other examples and possibilities.

HTH,
jgw

[1] http://docs.oracle.com/cd/E19683-01/806-7612/mail-1/index.html
[2] http://engineering.purdue.edu/ECN/Support/KB/Docs/MailXTutorial

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 This email has a PGP signature attached; verify
 using PGP public key at http://jgw.sdf.org/pgp/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUx97aAAoJELZg2zktVKWMNZUP/ispNTlNSjx0QoKChol0sZSF
55ZvdtINHvA5DL0M78kXVkFqzWDdnAjE857iK8fXbj5Az6tx05DY+iovf6qUyLKF
X/5Jm82B8xAlSu8AlM37su8TzAgh51rw0UPJ1qhfaiamjognk6Yc0fFCnsWlaElp
1toKk++UghXfcWkY4hs3t6S//Nzf1WTg3mwKHVfmMJy2I2doXjI1Ok2ogB11gQX9
7HqJVpHcRzdel3iAUgmzruexQzBXpuBdylAjLfGiF7bVgP3bK4teck/D46BP09qJ
XBPKgNwbHtCRqArfRjMb92EhzgZjUftadJwDmPFlE7N1nn2tBP2pmwb8lhq18CsS
2uyflSrVMwFuRYYCXcfPTYl+mUTg0kA9MAp/gNVOAc+9B7TfjWN1HkCBnOuBFtI2
7nH7xJ3eEeOaoTRZPXo0WSWcAtWDXXbdZXW8cgVUIxggQLVA22CTKMRUTGfeJwcS
KAbzyZu/z2/V04Ygnu2hzgAGulw4qvv0cREiOVHVdpgaq8hEH2/U/yKqaXTf5NCp
P+9NKQDGgnt2cWNibUAzF563uvnOL3OnnjeT6/PLsfzJkpOFPi/H/UHc8a6Hjc8F
l2S9u+5Lu4DFfXjewTRT8NLmeal3kppHBwHIeGVavWlmLET0bvSj486qimXVv2SN
fwEG5kbnu8pX89ZowR8U
=KFMw
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
nail-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nail-devel

Reply via email to