X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fmhl.man;h=cc5254dd216f0cd8433e65027143caa666e87863;hb=7876081fd090297937e6818532baa5813071337d;hp=cc62b7c8c665fcfe26c40c580095324e3a8b9d3c;hpb=0d66f3e510572d738a78343d672789cf16419eb1;p=mmh diff --git a/man/mhl.man b/man/mhl.man index cc62b7c..cc5254d 100644 --- a/man/mhl.man +++ b/man/mhl.man @@ -207,7 +207,7 @@ bell, clearscreen, width, length). .RS 5 .nf .ta \w'noclearscreen 'u +\w'integer/G 'u -.I variable type semantics +.I "variable type semantics" width integer screen width or component width length integer screen length or component length offset integer positions to indent \*(lqcomponent: \*(rq @@ -250,6 +250,10 @@ decode flag decode text as RFC-2047 encoded header field addrfield flag field contains addresses datefield flag field contains dates +format flag Run component through formatproc filter + (body only) +noformat flag Do not run component through + formatproc filter (default) .fi .RE .PP @@ -315,7 +319,24 @@ can be given a default format string for either address or date fields (but not both). To do this, on a global line specify: either the flag addrfield or datefield, along with the appropriate formatfield variable string. - +.PP +The \*(lqformat\*(rq flag specifies that this component will be run through +the filter program specified by the +.IR formatproc +profile entry. This filter program is expected to read data on standard +input and output data on standard output. Currently the \*(lqformat\*(rq +flag is only supported for the \(*lqbody\*(rq component. The component +name will be prefixed to the output +.IR after +the filter has been run. The expected use of this is to filter a message +body to create more pleasing text to use in a reply message. +A suggested filter to use for +.BR repl(1) +is as follows: +.PP +.RS 5 +body:component=">",overflowtext=">",overflowoffset=0,format,nowrap +.RE .SH FILES .fc ^ ~ .nf @@ -331,6 +352,8 @@ appropriate formatfield variable string. .ta 2.4i .ta \w'ExtraBigProfileName 'u ^moreproc:~^Program to use as interactive front\-end +^formatproc:~^Program to use as a filter for components that +^^have the \*(lqformat\*(rq flag set. .fi .SH "SEE ALSO" @@ -340,8 +363,8 @@ show(1), ap(8), dp(8) .nf .RB ` \-bell ' .RB ` \-noclear ' -.RB ` \-length 40 ' -.RB ` \-width 80 ' +.RB ` \-length\ 40 ' +.RB ` \-width\ 80 ' .fi .SH CONTEXT