diff options
author | ache <ache@FreeBSD.org> | 1997-02-25 03:00:30 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-02-25 03:00:30 +0800 |
commit | 0958a7edfcb43e7ac094838dc7b02b92038743e8 (patch) | |
tree | d5a5f1427cb20a3ff3405f7171e5169e37041bae /www/netscape4-communicator/files | |
parent | 198be5118f009f4b42098102a1219d94717292c1 (diff) | |
download | freebsd-ports-graphics-0958a7edfcb43e7ac094838dc7b02b92038743e8.tar.gz freebsd-ports-graphics-0958a7edfcb43e7ac094838dc7b02b92038743e8.tar.zst freebsd-ports-graphics-0958a7edfcb43e7ac094838dc7b02b92038743e8.zip |
Netscape4 expired beta
Diffstat (limited to 'www/netscape4-communicator/files')
-rw-r--r-- | www/netscape4-communicator/files/mailcap | 69 | ||||
-rw-r--r-- | www/netscape4-communicator/files/netscape.sh | 6 |
2 files changed, 75 insertions, 0 deletions
diff --git a/www/netscape4-communicator/files/mailcap b/www/netscape4-communicator/files/mailcap new file mode 100644 index 00000000000..61daeb5db71 --- /dev/null +++ b/www/netscape4-communicator/files/mailcap @@ -0,0 +1,69 @@ +# Example .mailcap file for FreeBSD machines +# +# First a note about syntax: +# The first token in a configuration line represents a mime type. +# A mime type is of the form "SubGroup/Item" and either token +# can be replaced by the wildcard character "*" +# +# the second token is the command that you would run +# when the specified mime type is encountered. An example +# would be "xv %s" where %s will be replaced by a filename +# +# remaining tokens represent name value pairs. +# +# the "test=<SOME TEST COMMAND>" pair invokes the test command +# specified and checks the UNIX shell return code to see if the +# test passed. If the test passes the mime mapping is made, otherwise +# the mapping is not made. +# +# the "stream-buffer-size=<NUMBER>" pair tells the application +# to use a popen command to invoke the program specified and to +# pipe all data into the command. Only programs that can handle +# piped input can use this method. When this method is used +# a "%s" should not be included in the command. You should +# make sure that the program you wish to use can accept piped +# data by trying something like this before using it: +# cat "YOUR_DATA_FILE_HERE" | COMMAND_TO_TEST +# +# You may continue lines by using the backslash character "\" + +# FreeBSD doesn't seem to support `sfplay' yet, but if a port comes +# along then the following should be enabled. +# +# plays AIFF files +#audio/x-aiff; sfplay %s + +# plays AIFC files +#audio/x-aifc; sfplay %s + +# FreeBSD has no wavplay utility either, but if someone +# would care to port one then this can also be used. +# plays WAV files +#audio/x-wav; wavplay %s > /dev/null 2>&1 + +# FreeBSD /dev/audio is sun compliant +audio/basic; cat %s > /dev/audio + +# use this to play MPEG audio if you have maplay installed +audio/x-mpeg; maplay -; stream-buffer-size=2000 + +# use this to play MPEG video files if you have mpeg_play installed +video/mpeg; mpeg_play -quiet %s + +# All other anims go well with xanim (if installed) +video/*; xanim %s > /dev/null 2>&1 + +# use this to display postscript files +application/postscript; ghostview %s + +# use this to display pdf files +application/pdf; xpdf %s 2>/dev/null + +# this is the default for non GIF or JPEG images +image/*; xv %s + +# if you would prefer an external viewer for GIF and JPEG images +# uncomment the following lines for XV to act as your external viewer. +#image/gif; xv %s +#image/jpg; xv %s +#image/jpeg; xv %s diff --git a/www/netscape4-communicator/files/netscape.sh b/www/netscape4-communicator/files/netscape.sh new file mode 100644 index 00000000000..5b91e183b34 --- /dev/null +++ b/www/netscape4-communicator/files/netscape.sh @@ -0,0 +1,6 @@ +#!/bin/sh +export XKEYSYMDB ; XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB +export XNLSPATH ; XNLSPATH=@X11BASE@/lib/X11/nls +export XAPPLRESDIR ; XAPPLRESDIR=@X11BASE@/lib/X11/app-defaults +export CLASSPATH ; CLASSPATH=.:/usr/local/lib/netscape +exec /usr/local/lib/netscape/netscape.bin $* |