X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/90986dddba4b24b0449238f86f836581cfb93938..2e1fefc99cc267b1eba7484f740d8bee7c2f59fb:/man/mh-format.man diff --git a/man/mh-format.man b/man/mh-format.man index 6d84c972..83de220b 100644 --- a/man/mh-format.man +++ b/man/mh-format.man @@ -253,7 +253,7 @@ cur integer message is current (0 or 1) unseen integer message is unseen (0 or 1) size integer size of message strlen integer length of \fIstr\fR -width integer output buffer size in bytes +width integer column width of terminal charleft integer bytes left in output buffer timenow integer seconds since the UNIX epoch me string the user's mailbox (username) @@ -285,11 +285,11 @@ void expr Set \fIstr\fR or \fInum\fR comp comp string Set \fIstr\fR to component text compval comp integer Set \fInum\fR to \*(lq\fBatoi\fR(\fIcomp\fR\^)\*(rq .\" compflag comp integer Set \fInum\fR to component flags bits (internal) -.\" decodecomp comp string Set \fIstr\fR to RFC-2047 decoded component text -decode expr string decode \fIstr\fR as RFC-2047 (MIME-encoded) +.\" decodecomp comp string Set \fIstr\fR to RFC 2047 decoded component text +decode expr string decode \fIstr\fR as RFC 2047 (MIME-encoded) component -unquote expr string remove RFC-2822 quotes from \fIstr\fR -trim expr trim trailing white-space from \fIstr\fR +unquote expr string remove RFC 2822 quotes from \fIstr\fR +trim expr trim trailing whitespace from \fIstr\fR putstr expr print \fIstr\fR putstrf expr print \fIstr\fR in a fixed width putnum expr print \fInum\fR @@ -363,7 +363,7 @@ date2gmt date coerce date to GMT dst date integer daylight savings in effect? (0 or 1) clock date integer seconds since the UNIX epoch rclock date integer seconds prior to current time -tws date string official 822 rendering +tws date string official RFC 822 rendering pretty date string user-friendly rendering .fi .RE @@ -376,7 +376,7 @@ the first address present in the header component. .nf .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u .I "Function Argument Return Description" -proper addr string official 822 rendering +proper addr string official RFC 822 rendering friendly addr string user-friendly rendering addr addr string mbox@host or host!mbox rendering* pers addr string the personal name* @@ -427,9 +427,10 @@ The functions (\fIputnum\fR\^) and required, and ignore any leading field width argument. The (\fIputlit\fR\^) function outputs the exact contents of the str register without any changes such as duplicate space removal or control character conversion. -The (\fIzputlit\fR\^) similarly outputs the exact contents of the str -register, but requires that those contents not occupy any output width. -It can therefore be used for outputting terminal escape sequences. +The (\fIzputlit\fR\^) function similarly outputs the exact contents of +the str register, but requires that those contents not occupy any +output width. It can therefore be used for outputting terminal escape +sequences. .PP The available output width is kept in an internal register; any output past this width will be truncated.