GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: Reading Mail   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index

3.5.5.7 Displaying Messages

print [msglist]
p [msglist]
type [msglist]
t [msglist]

Prints out the messages from msglist. The variable crt determines the minimum number of lines the body of the message must contain in order to be piped through pager command specified by environment variable PAGER. If crt is set to a numeric value, this value is taken as the minimum number of lines. Otherwise, if crt is set without a value then the height of the terminal screen is used to compute the threshold. The number of lines on screen is controlled by screen variable.

Print [msglist]
P [msglist]
Type [msglist]
T [msglist]

Like print but also prints out ignored header fields.

decode [msglist]
dec [msglist]

Print a multipart message. The decode command decodes and prints out specified message parts. E.g.

& decode 15[2]
+---------------------------------------
| Message=15[2]
| Type=message/delivery-status
| encoding=7bit
+---------------------------------------
Content-Type: message/delivery-status
...
top [msglist]
to [msglist]

Prints the top few lines of each message in msglist. The number of lines printed is controlled by the variable toplines and defaults to five.

pipe [msglist] [shell-command]
| [msglist] [shell-command]

Pipe the contents of specified messages through shell-command. If shell-command is empty but the string variable cmd is set, the value of this variable is used as a command name.

struct [msglist]

Prints the MIME structure of each message from msglist. Empty msglist means current message.

Example:

& struct 2
2      multipart/mixed            14k
2[1]   text/plain                 296
2[2]   application/octet-stream    5k
2[3]   text/x-diff                31k

GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: Reading Mail   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index