[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

something just sorta cool ...



just found something that i thought was sorta cool ... so i figured i
would pass it along.

i had been wondering how pine knew to automatically launch lynx when it
receives an html attachment ... and traced it down to a line in
/etc/mailcap.

next i decided that i wanted it to launch Netscape instead but i wanted it
to load it into an existing Netscape window so i didn't have a problem
with the 'lock file message'.

anyway is is the voodoo incantation that appears to work very well :)

remove the lynx line from /etc/mailcap and add this one:

text/html; /usr/X11R6/bin/netscape -remote 'openFile(%s)'; needsterminal; description=HTML Text; nametemplate=%s.html

good luck and may the force be with you red five.

adam

------------------------ Internet Alaska -------------------------
 4050 Lake Otis		    Adam Shand        (v) +1 907 562 4638
 Anchorage, Alaska    Systems Administrator   (f) +1 907 562 1677
----------------- http://larry.earthlight.co.nz ------------------



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: