Fix uip/whom.c for C89 compatibility
[mmh] / etc / replcomps
1 %; $Header$
2 %;
3 %; These next lines slurp in lots of addresses for To: and Cc:.
4 %; Use with repl -query or else you may get flooded with addresses!
5 %;
6 %; If no To:/Cc:/Fcc: text, we output empty fields for prompter to fill in.
7 %;
8 %(lit)%(formataddr{reply-to})\
9 %(formataddr %<{from}%(void{from})%|%(void{apparently-from})%>)\
10 %(formataddr{resent-to})\
11 %(formataddr{prev-resent-to})\
12 %(formataddr{x-to})\
13 %(formataddr{apparently-to})\
14 %(void(width))%(void(decode))%(putaddr To: )
15 %(lit)%(formataddr{to})\
16 %(formataddr{cc})\
17 %(formataddr{x-cc})\
18 %(formataddr{resent-cc})\
19 %(formataddr{prev-resent-cc})\
20 %(formataddr(me))\
21 %(void(width))%(void(decode))%(putaddr Cc: )
22 Fcc: +sent
23 Subject: %<{subject}Re: %(putstr(trim(decode{subject})))%>
24 %;
25 %; Make References: and In-reply-to: fields for threading.
26 %; Use (trim) to eat trailing whitespace.
27 %;
28 %<{message-id}In-reply-to: %{message-id}\n%>\
29 %<{message-id}References: \
30 %<{references}%(trim{references})%(putstr) %>\
31 %(trim{message-id})%(putstr)\n%>\
32 Comments: In-reply-to \
33 %<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>\
34 %(putstr(trim(decode)))\n\
35    message dated "%<(nodate{date})%{date}%|%(tws{date})%>."
36 --------
37 [%4(year{date})-%02(mon{date})-%02(mday{date}) \
38 %02(hour{date}):%02(min{date})] %(decode{from})
39 >