~/.Xdefaults
file:Mosaic*homeDocument: /afs/cs/user/mwm/ftp/www/HomePage Mosaic*defaultWidth:800 Mosaic*defaultHeight:875 Mosaic*geometry: +0+0 Mosaic*PlainFont: -adobe-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1 Mosaic*Font: -adobe-times-medium-r-normal-*-17-*-*-*-*-*-iso8859-1 Mosaic*background: LightCyan Mosaic*visitedAnchorColor: #b0b000000000 XTerm*charClass:33:48,35-43:48,45-47:48,58:48,61:48,63-64:48,126:48Making Changes If you make any changes to these resources, you'll have to quit XMosaic, load the changes into the X server (using
xrdb -load ~/.Xdefaults
), and restart
XMosaic for them to
take effect.
~/.mailcap
file defines the tools that
will be used to display the data downloaded from the Net.
On the IUS Suns you will probably want to use a .mailcap file like
the one below.
Displaying Images
For TIFF
images you should use xv
, but for almost any other format
xli
is much faster. However, for URT images it's not clear
which program to use. To be consistent with other image formats you might
prefer xli
, but sometimes URT image files are really
animations, and then only getx11
can display them. It's up to
you, if you prefer xli
then delete the line that begins
image/x-urt
.
Feel free to change this file to suit your needs, but be aware that
Mailcap files are parsed from top to bottom. So make sure you put any
generic patterns (e.g., image/*
) after the list of
exceptions. Otherwise the exceptions will never match, and your special
viewers will not be used.
audio/*; /usr/local/pkg/openwin3.0/bin/audiotool %s image/tiff; /usr/local/bin/xv %s image/x-urt; /usr/local/pkg/img_utils/bin/getx11 -m %s image/*; /usr/local/pkg/img_utils/bin/xli -quiet %s video/mpeg; /usr/local/pkg/img_utils/bin/mpeg_play -quiet %s video/quicktime; /afs/cs/user/mprice/.bin/sun4_mach/moov %s video/*; /usr/local/pkg/img_utils/bin/xanim %s application/postscript; /usr/local/bin/gv %s application/x-dvi; /usr/local/bin/xdvi %s message/rfc822; xterm -e metamail %sMaking Changes You won't need to quit XMosaic, but you will have to select the
Reload Config Files
choice from the Options
menu
for these changes to take effect.