#
# sample xfm configuration file   Sun Apr 24 1994   AG
#
##########################################################

##########################################################
#
# backups & temps
#
##########################################################
*~:Recycler.xpm:rm -f $*:
*%:Recycler.xpm:rm -f $*:
*.bak:Recycler.xpm:rm -f $*:
*.tmp:Recycler.xpm:rm -f $*:
*.log:Recycler.xpm:rm -f $*:
.*~:Recycler.xpm:rm -f $*:
.*%:Recycler.xpm:rm -f $*:
.*.bak:Recycler.xpm:rm -f $*:
.*.tmp:Recycler.xpm:rm -f $*:
.*.log:Recycler.xpm:rm -f $*:

##########################################################
#
# programs
#
##########################################################
*.c:C.xpm:EDIT:
*.cc:C++.xpm:EDIT:
*.cxx:C++.xpm:EDIT:
*.C:C++.xpm:EDIT:
*.cp:C++.xpm:EDIT:
*.h:FileDotH.xpm:EDIT:
*.py:Workshop.xpm:EDIT:
*.pl:Workshop.xpm:EDIT:

##########################################################
#
# Web Stuff
#
##########################################################

*.html:FileURL.xpm:EDIT:

##########################################################
#
# Special Directories
#
##########################################################

public_html:WWW.xpm::

##########################################################
#
# math
#
##########################################################
#*.sci:linux_math4.xpm:EDIT:
#*.m:linux_math4.xpm:EDIT:
#*.gnuplot:linux_graph.xpm:EDIT:

##########################################################
#
# images
#
##########################################################
*.dvi:DVI.xpm:exec xdvi $1:
*.fig:Draw.xpm:exec xfig $1:
*.gif:ImageGIF.xpm:exec xpaint $1:
*.ps:FilePS.xpm:exec ghostview $1:
*.xbm:ImageXBM.xpm:exec bitmap $1:
*.xpm:ImageXPM.xpm:exec xpaint $1:
*.jpg:ImageJPG.xpm:exec xv $1:
*.tga.gz:ImageTGA.xpm:exec xv $1:
*.tiff:ImageTIFF.xpm:exec xpaint $1:
*.tif:ImageTIFF.xpm:exec xpaint $1:
*.pdf:PDFOmni.xpm:exec acroread $1:

##########################################################
#
# sounds
#
##########################################################
*.au:FileAu.xpm:exec cat $1 > /dev/audio:
*.wav:SoundEdit.xpm:exec vplay $1:
*.raw:SoundEdit.xpm:exec cat $1 > /dev/audio:
*.mid:MusicClef.xpm:exec xplaymidi $1:
*.midi:MusicClef.xpm:exec xplaymidi $1:

##########################################################
#
# compressed (nice to colormap)
#
##########################################################
*.tar.gz:FileTgz.xpm:execute tar xfvz $1:execute tar cfvz $*
*.gz:FileGz.xpm:execute gunzip $1:
*.tar.Z:FileZ.xpm:execute tar xfvZ $1:execute tar cfvZ $*
*.Z:FileZ.xpm:execute uncompress $1:
*.tar.z:FileZ.xpm:execute tar xfvz $1:execute tar cfvz $*
*.z:FileZ.xpm:execute gunzip $1:
*.zip:FileZip.xpm:execute unzip $1:execute zip -r $*
*.tar:FileTar.xpm:execute tar xfv $1:execute tar cfv $*
*.taz:FileTaz.xpm:execute tar xfvz $1:execute tar cfvz $*
*.tgz:FileTgz.xpm:execute tar xfvz $1:execute tar cfvz $*
*.tar:FileTar.xpm:execute tar xvf $1:execute tar cvf $*
*.shar:FileShar.xpm:execute unshar $1:execute shar $*

##########################################################
#
# makefiles
#
##########################################################
Imakefile:interface.xpm:execute xmkmf:
Makefile:interface.xpm:execute make:
Makefile.*:interface.xpm:execute make -f $*:
makefile:interface.xpm:execute make:
makefile.*:interface.xpm:execute make -f $*:
BackUp:interface.xpm::

##########################################################
#
# textfiles
#
##########################################################
*.doc:Document.xpm:EDIT:
*.tex:TeXInfo.xpm:EDIT:
*.latex:TeXInfo.xpm:EDIT:
#*.txi:win31_typewriter.xpm:EDIT:
#*.texi:win31_typewriter.xpm:EDIT:
#*.texinfo:win31_typewriter.xpm:EDIT:
*.txt:Document3.xpm:EDIT:

##########################################################
#
# info
#
##########################################################
readme:Info.xpm:EDIT:
read.me:Info.xpm:EDIT:
README:Info.xpm:EDIT:
README*:Info.xpm:EDIT:
*.README:Info.xpm:EDIT:

##########################################################
#
# others
#
##########################################################
core:CrashCartoon.xpm::


##########################################################
#
# Examples using MAGIC_HEADERS
#
##########################################################
<COMPRESS>:FileGz.xpm:execute gunzip $1:
<FIG>:FileFIG.xpm:exec xfig $1:
<GIF>:ImageGIF.xpm:exec xpaint $1:
<GZIP>:FileGz.xpm:execute gunzip $1:
<PS>:FilePS.xpm:exec ghostview $1:
<XBM>:ImageXBM.xpm:exec bitmap $1:
<XPM>:ImageXPM.xpm:exec pixmap -f $1:
# default  entries
<unreadable>:::
<ascii>:File.xpm:EDIT:
<data>:File.xpm:EDIT:
<empty>:File.xpm:EDIT:

# Device section
# Do NOT change the previous comment
#
# sample xfm device configuration   Thu Apr 28 1994   AG
# Adapt this to your system configuration.
#
##########################################################################

#/disk/a:mount -t msdos -o user /dev/fd0 /disk/a:umount /disk/a
#/disk/b:mount -t msdos -o user /dev/fd1 /disk/b:umount /disk/b

