File: mailcap.sample

package info (click to toggle)
tin 1%3A2.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,368 kB
  • sloc: ansic: 94,105; sh: 4,281; makefile: 1,233; perl: 1,157; yacc: 734
file content (34 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# sample mailcap file
application/pgp;\
	pgp -m %s;\
	needsterminal
application/news-*;\
	${PAGER:-"more"} '%s'\;
	edit=${EDITOR:-"vi"} '%s';\
	compose=${EDITOR:-"vi"} '%s';\
	print=a2ps '%s';\
	needsterminal
image/jpeg;\
	xv -8 -geometry +0 '%s';\
	description=JPEG Image;\
	test=test "$DISPLAY"
image/*;\
	xv -8 -geometry +0 '%s';\
	description=%t Image;\
	test=test "$DISPLAY";\
	nametemplate=%s.IMAGE
message/rfc822;\
	formail > '%s.mbox' < '%s' \&\& mutt -m mbox -f '%s.mbox' \&\& rm -f '%s.mbox';\
	description=Mail Text;\
	needsterminal
text/html;\
	lynx -force_html '%s';\
	description=HTML Text;\
	needsterminal;\
	nametemplate=%s.html
text/*;\
	${PAGER:-"more"} '%s'\;
	edit=${EDITOR:-"vi"} '%s';\
	compose=${EDITOR:-"vi"} '%s';\
	print=a2ps '%s';\
	needsterminal