[Prev][Next][Index]

Re: mailcap for netscape and xanim



AHARON@MATAT.HEALTH.GOV.IL wrote:
> 
> 
> 	Hi.
> 
> 	Haven't heard anything from this list for a while. Hope that
> means you all have time to help me out here.
> 
> 	I have downloaded netscape and xanim. Netscape works great.
> Now I want to try to display movies, etc. using xanim. I understand
> that I need a mailcap file. Does anyone out there have a working
> example which he would like to share with me ? Also, where can I find
> some small movies to use for testing ?

You should add to your mailcap file (I have separate one for netscape, in
the /usr/local/lib/netscape/ directory) the following lines:
video/mpeg; mpeg_play %s ; test=test -n "$DISPLAY"
video/*; xanim %s ; test=test -n "$DISPLAY"

> 
> 	As long as I'm writing, I have another small problem. I
> installed the man page which came with xanim, and can access it with
> man, but not with man -k. I know I have to add an entry to the index
> file (whatis, I think), but can not find the program that does so. I
> tried man man, and man apropos, but no luck. What do I need to do ?

plasma-gate:~# makewhatis --help
Usage: makewhatis -a -c -u [manpath]
       -a: Builds a database of all pages in /usr/man/man* and
           /usr/man/preformat (do not mix with -c)
       -c: build database from cat pages in /usr/man/preformat/cat*
           (otherwise database will be extracted from groff source
           pages found in /usr/man/man*)
       -u: update database with man/cat pages that are newer than the
           existing /usr/man/whatis
       [manpath]: man directory (default: /usr/man)

So, your actions can be:

plasma-gate:~# man -k xanim
xanim: nothing appropriate
plasma-gate:~# man -w xanim
/usr/local/man/man1/xanim.1x.gz 
plasma-gate:~# makewhatis -u /usr/local/man/
plasma-gate:~# man -k xanim
xanim (1)            - Multiformat animation player for the X Window System 


 	Evgeny.


   __________________________________________________________________
  / Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il>  ====== \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel  ======  \
 |  Phone : (972)8-342-100  ========================================  |
 |  FAX   : (972)8-344-106  ========================================  |
 |  ================================================================  |
 |  Look at our home page - http://plasma-gate.weizmann.ac.il  =====  | 
 |____________________________________________________________________|