On Fri, 16 Feb 2001 05:20:57 -0700, Gregory J. Feig wrote:

<snip>

> Clarence,

> You addressed this to L.D....I hope it's OK for me to stick my oar
> in, instead of (or is that "in addition to - <g g g>) LD.

> For me, I LIKE the idea....it titulates my fancy...but that is all.
> The reason "that is all" is because it will require me to "get"
> something else, and install that, and make sure it transfers over when
> I upgrade Arachne (I already use NONE of the Arachne APMs because that
> process is an unnecessarily stupid and complicated process).  Then...
> I will NOT find any pages on the web that use the zmb images, so all
> that effort will have been for nought.

<snip>

Does the following quallify as "all that effort". ;-)

1) place these 3 lines into a file named c:\upgrade\mime.add

file/.zbm >BMP|[150]pkunzip -o $1 $azbm \n copy /b $azbm\\*.bmp $2 \n del $azbm\\*.bmp
image/x-zbitmap >BMP|[150]pkunzip -o $1 $azbm \n copy /b $azbm\\*.bmp $2 \n del 
$azbm\\*.bmp
image/zbm ZBM


2) run c:\upgrade\new-ver.bat to make the needed changes in each new version
--- c:\upgrade\new-ver.bat ---
md c:\arachne\cache\zbm
cd c:\arachne
if not exist mime.old ren mime.cfg mime.old
if not exist mime.cfg copy c:\upgrade\mime.add + mime.old mime.cfg
___________________________________________________________________

(alter path designations as needed)

---this is my copy of mime.add ---
[My stuff]
file/.zbm >BMP|[150]pkunzip -o $1 $azbm \n copy /b $azbm\\*.bmp $2 \n del $azbm\\*.bmp
image/x-zbitmap >BMP|[150]pkunzip -o $1 $azbm \n copy /b $azbm\\*.bmp $2 \n del 
$azbm\\*.bmp
image/zbm ZBM
file/bmp2jpg.dgi     |[100]cjpeg -q 95 _4prt.bmp \n del _4prt.bmp
image/bmp                   BMP
image/pjpeg             JPG>BMP|$edjpeg32.exe -bmp -colors 256 $1 $2
video/mpeg                  MPG|@call C:\\1batch\\arampeg.bat $1
video/x-mpeg                MPG|@call C:\\1batch\\arampeg.bat $1
video/mpeg                  MPE|@call C:\\1batch\\arampeg.bat $1
video/x-mpeg                MPE|@call C:\\1batch\\arampeg.bat $1
video/x-msvideo             AVI|@call C:\\1batch\\araavi.bat $1
video/msvideo               AVI|@call C:\\1batch\\araavi.bat $1
video/quicktime             MOV|@call C:\\1batch\\araavi.bat $1
audio/mpeg                  MP3|@d:\\audio\\mpxplay\\mpxplay.exe -m $1
audio/x-mpeg                MP3|@d:\\audio\\mpxplay\\mpxplay.exe -m $1
audio/mpeg3                 MP3|@d:\\audio\\mpxplay\\mpxplay.exe -m $1
audio/x-mpeg3               MP3|@d:\\audio\\mpxplay\\mpxplay.exe -m $1
audio/midi                  MID|d:\\audio\\cndmidi\\cndmidi.exe $1
audio/x-midi                MID|d:\\audio\\cndmidi\\cndmidi.exe $1
audio/s3m                   S3M|@d:\\audio\\mod\\cp.EXE $1
audio/x-s3m                 S3M|@d:\\audio\\mod\\cp.EXE $1
audio/mod                   MOD|@d:\\audio\\mod\\cp.EXE $1
audio/x-mod                 MOD|@d:\\audio\\mod\\cp.EXE $1
application/pdf >TXT|@c:\\xpdfdos\\pdftotex.exe -q $1 $2
application/zip          >TXT|[300]PKUNZIP -v $1>$2
application/x-zip        >TXT|[300]PKUNZIP -v $1>$2
application/x-zipped     >TXT|[300]PKUNZIP -v $1>$2
application/x-arachne-package >TXT|[300]UNARJ l $1>$2
file/printprn.dgi    |[100]TYPE _*.txt>PRN\ntype _>prn
file/printbmp.dgi |[100]f:\\graphics\\printgfd\\printgfd.exe _4prt.bmp /x
file/printjpg.dgi |[100]f:\\graphics\\printgfd\\printgfd.exe _4prt.jpg /x
file/.mpg             |@call C:\\1batch\\arampeg.bat $1
file/.mpe             |@call C:\\1batch\\arampeg.bat $1
file/.avi             |@call C:\\1batch\\araavi.bat $1
file/.mov             |@call C:\\1batch\\araavi.bat $1
file/.mp3             |@d:\\audio\\mpxplay\\mpxplay.exe -m $1
file/.mid             |d:\\audio\\cndmidi\\cndmidi.exe $1
file/.s3m             |@d:\\audio\\mod\\cp.EXE $1
file/.mod             |@d:\\audio\\mod\\cp.EXE $1
file/.zip             >TXT|[300]PKUNZIP -v $1>$2
file/.arj             >TXT|[300]UNARJ l $1>$2
file/txedit.dgi   |@call xedit $l
file/mxedit.dgi   |@call xedit mail.tmp
file/cmpsxedit.dgi |@call xedit textarea.txt
file/cxedit.dgi   |@call xedit textarea.tmp
file/xxedit.dgi   |@del textarea.tmp
file/xedit.dgi    |@call xedit $l|arachne $l
file/exportbmp.dgi      |[100]COPY /b _4prt.bmp $w$s>NUL \n del _4prt.bmp
file/.pdf            TXT|@c:\\xpdfdos\\pdftotex.exe -q $1 $2
file/dgst2cnm.dgi       |@call d2c.bat $e_4prt.txt $s
text/enriched            >HTM|@call rtf2htm.bat $1 $2
text/richtext            >HTM|@call rtf2htm.bat $1 $2
application/rtf          >HTM|@call rtf2htm.bat $1 $2
application/rar          RAR>TXT|@c:\\unrar\\unrar.exe v $1>$2
file/.rar                RAR>TXT|@c:\\unrar\\unrar.exe v $1>$2
file/.swf                |@call $e\\swf2cnm\\swf2cnm.bat $1|arachne $aswf2cnm.cnm
application/x-shockwave-flash |@call $e\\swf2cnm\\swf2cnm.bat $1|arachne $aswf2cnm.cnm
file/xtgold.dgi          |@c:\\xtgold4\\xtgold.com
[end of my stuff]
__________________________________



-- 
 Glenn
 http://arachne.cz/
 http://freedos-32.sourceforge.net/
 http://www.delorie.com/listserv/mime/
 http://www.angelfire.com/id/glenndoom/download.htm

Reply via email to