X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fc5f9ef4c27f60e335d4ed5ed26a4f2606c55ba8..bfc6b93af:/man/fmttest.man?ds=sidebyside diff --git a/man/fmttest.man b/man/fmttest.man index 31de59d3..514ba0e7 100644 --- a/man/fmttest.man +++ b/man/fmttest.man @@ -1,4 +1,4 @@ -.TH FMTTEST %manext1% "December 4, 2013" "%nmhversion%" +.TH FMTTEST %manext1% "August 31, 2014" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -10,6 +10,8 @@ language .HP 5 .na .B fmttest +.RB [ \-help ] +.RB [ \-version ] .RB [ \-form .IR formatfile ] .RB [ \-format @@ -22,8 +24,6 @@ language .RB [ \-ccme " | " \-noccme ] .RB [ \-outsize .IR size-in-characters ] -.RB [ \-bufsize -.IR size-in-bytes ] .RB [ \-width .IR column-width ] .RB [ \-msgnum @@ -40,7 +40,7 @@ language .RI [ msgs " | " strings ] .ad .SH DESCRIPTION -.B Fmttest +.B fmttest is used to test programs written for the .B nmh format language as specified by @@ -71,10 +71,10 @@ rules: absolute pathnames are accessed directly, tilde expansion is done on usernames, and files are searched for in the user's .I Mail directory as specified in their profile. If not found there, the directory -.RI \*(lq %etcdir% \*(rq +.RI \*(lq %nmhetcdir% \*(rq is checked. .SS MODE SELECTION AND COMPONENT SPECIFICATION -.B Fmttest +.B fmttest has four operating modes: address mode, raw mode, date mode, and message mode. These modes are selected by the .BR \-address , @@ -131,7 +131,7 @@ Date mode is equivalent to In message mode the arguments to .B fmttest are interpreted as an optional folder and messages. -.B Fmttest +.B fmttest will read each specified message and make all of the components in the message available to the format program. Also, the appropriate information for the @@ -215,19 +215,14 @@ characters with zero width, and extra bytes that are part of a multibyte character are not counted against this total. Two special values are supported: .RI \*(lq max \*(rq, -which will set the value -to the size of the output buffer, and +which means as many characters as the format engine can produce +(limited by internal buffers), and .RI \*(lq width \*(rq, which will set the -value to the width of the terminal. In message mode it defaults to the -terminal width, otherwise the default is the output buffer size. -.PP -The -.B \-bufsize -switch controls the size of the output buffer. By default it is set -to the size of the -.B BUFSIZ -C preprocessor symbol, which is system-dependent. +value to the width of the terminal. In message mode it defaults to +.RI \*(lq width \*(rq, +otherwise the default is +.RI \*(lq max \*(rq. .PP The .B \-width @@ -305,7 +300,7 @@ LV_LIT Load literal value into \fInum\fR register LV_DAT Load value from \fIdat\fR array into \fInum\fR register (see note) LV_STRLEN Set \fInum\fR to the length of \fIstr\fR LV_PLUS_L Add value to \fInum\fR register -LV_MINUS_L Substract value from \fInum\fR register +LV_MINUS_L Subtract value from \fInum\fR register LV_DIVIDE_L Divide \fInum\fR register by value LV_MODULO_L \fInum\fR modulo value LV_CHAR_LEFT Store remaining number of printable chars in \fInum\fR