home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20110502.etc.tar.gz / bradford.20110502.etc.tar / etc / mailcap < prev    next >
Text File  |  2005-04-12  |  5KB  |  110 lines

  1. # Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
  2. # Permission to use, copy, modify, and distribute this material 
  3. # for any purpose and without fee is hereby granted, provided 
  4. # that the above copyright notice and this permission notice 
  5. # appear in all copies, and that the name of Bellcore not be 
  6. # used in advertising or publicity pertaining to this 
  7. # material without the specific, prior written permission 
  8. # of an authorized representative of Bellcore.  BELLCORE 
  9. # MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
  10. # OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
  11. # WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
  12. #
  13. # Prototype Mailcap file
  14. # Note that support for text & multipart are "built in" to metamail,
  15. # as are rudimentary support for message, and application.
  16. # However, any of these may be overridden in mailcap.
  17. #
  18. # Note that users may override or extend this with a .mailcap
  19. # file in their own directory.  However, there is NO NEED
  20. # for them to copy entries from this file, as metamail will
  21. # pick up entries from both the system and personal mailcap files.
  22. #
  23.  
  24. # NOTE:  This file has been heavily modified for use as an example
  25. #        configuration file for Lynx
  26.  
  27. # In the samples given   test=test -n "$DISPLAY"   is used to
  28. # determine if the current session is X capible by checking
  29. # for the existance of a DISPLAY environment variable.
  30. #
  31. # any system (VMS included) without the DISPLAY environment variable
  32. # will be assumed to be Non-X
  33.  
  34. # The following line is for sites where xv understands jpeg but xloadimage 
  35. # is preferred.
  36. #
  37. # the test line specifies that this viewer should only be used if
  38. # the display variable is set.
  39. image/jpeg; display %s;  test=test -n "$DISPLAY"
  40.  
  41. # The following sends all other image subtypes to xloadimage
  42. #image/*; xloadimage %s; ;  test=test -n "$DISPLAY"
  43.  
  44. # The following sends all other image subtypes to xv
  45. image/*; display %s; ;  test=test -n "$DISPLAY"
  46.  
  47.  
  48. # If you have an interactive Postscript interpreter, you should think carefully 
  49. # before replacing lpr with it in the following line, because PostScript
  50. # can be an enormous security hole.  It is RELATIVELY harmless
  51. # when sent to the printer...
  52.  
  53. # This one is for NON-X
  54. #application/postscript ; lpr %s \; echo SENT FILE TO PRINTER; ;test=test -z "$DISPLAY"
  55.  
  56. # This one is for X
  57. #application/postscript ; ghostview %s; ;  test=test -n "$DISPLAY"
  58.  
  59. # The following should be commented out if you do NOT have safe-tcl
  60. # and should be uncommented if you DO have safe-tcl
  61. #application/safe-tcl; swish -safe -messaging -f %s
  62.  
  63. # A common problem with the mailcap mechanism is getting differential 
  64. # behavior from different programs.  This problem is compounded by the fact 
  65. # that some programs, notably Mosaic, do not implement the "test" clause in 
  66. # mailcap files.  If you are using Lynx and X Mosaic together you should
  67. # place all X-centric entries before non-X entries.  X Mosaic will use
  68. # whichever entry is defined first so further entries will be ignored.
  69. #
  70. # Lynx exports the environment variable LYNX_VERSION, so if you wish
  71. # to test if Lynx is running or not you can use 'test -n "LYNX_VERSION"'
  72. #
  73. # HTML
  74. #text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
  75. text/html; w3m -dump %s; copiousoutput; nametemplate=%s.html
  76. # Compressed
  77. application/x-gunzip; gunzip -c %s; copiousoutput
  78. application/x-gzip; gunzip -c %s; copiousoutput
  79. application/x-bunzip2; bunzip2 -c %s; copiousoutput
  80. application/x-bzip2; bunzip2 -c %s; copiousoutput
  81. # Archive directory
  82. application/x-tar-gz; gunzip -c %s | tar -tf -; copiousoutput
  83. # Using gs to display postscript is dangerous as postscript may
  84. # contain statements which are not safe to execute in your
  85. # ps interpreter gs
  86. #application/postscript; gv %s
  87. # Real audio player
  88. video/*; xine %s
  89. #video/mpeg; xmpeg %s
  90. # PGP decoding in case your MUA is not clever enough by itself.
  91. # Commented out, as you might use a clever mailer or want to use gpg instead.
  92. #application/pgp; pgp -f < %s | metamail; needsterminal; test=test %{encapsulation}=entity
  93. #application/pgp; pgp %s; needsterminal
  94. #
  95. #application/x-uudecode; uudecode -o- %s; copiousoutput
  96. audio/x-pn-realaudio;/usr/bin/realplay "%u"
  97. audio/vnd.rn-realaudio;/usr/bin/realplay "%u"
  98. application/smil;/usr/bin/realplay "%u"
  99. text/vnd.rn-realtext;/usr/bin/realplay "%u"
  100. video/vnd.rn-realvideo;/usr/bin/realplay "%u"
  101. image/vnd.rn-realflash;/usr/bin/realplay "%u"
  102. application/x-shockwave-flash2-preview;/usr/bin/realplay "%u"
  103. application/sdp;/usr/bin/realplay "%u"
  104. application/x-sdp;/usr/bin/realplay "%u"
  105. application/vnd.rn-realmedia;/usr/bin/realplay "%u"
  106. image/vnd.rn-realpix;/usr/bin/realplay "%u"
  107. #
  108. application/x-java-jnlp-file;/usr/bin/javaws "%s"
  109.