Using xhippo with fvwm2
-----------------------

Note that this is now mostly obsolete, as I don't use mikmod any more
by default (xmp does it better), and I'm now using icewm.

If you're using mikmod or any other curses-based player, you will want
to give xhippo real input and output file descriptors; in other words,
run it in an xterm (or rxvt, Eterm or kvt, or on the console(!)
depending on your preference). My invocations from fvwm look like:

	rxvt -iconic -T "xhippo player output" -e xhippo \
		~/.xhippo.mpegs &

In my fvwm config, I have the following functions defined, which may
be of use if you use fvwm. I'm now using icewm, so I'd rather not have
to give advice on what to do here.

# Functions to use XHippo.
AddToFunc "XHippoUpdateFunc" 
+ "I" Exec find ~/Sound -name *.mp3 | sort >~/.xhippo.mpegs &
+ "I" Exec find ~/Sound -name *.mod -or -name *.s3m -or -name *.xm | sort >~/.xhippo.mods &
+ "I" Exec find ~/Sound -name *.mid -or -name *.MID | sort >~/.xhippo.mids

AddToFunc "DoXHippo"
+ "I" Exec rxvt -iconic -T "XHippo player output" -e xhippo $0 &

# xhippo menu
AddToMenu "xhippo" "xhippo" Title
+ "MP3" Function "DoXHippo" "~/.xhippo.mpegs"
+ "Mods" Function "DoXHippo" "~/.xhippo.mods"
+ "MIDI" Function "DoXHippo" "~/.xhippo.mids"
+ "All" Function "DoXHippo" "~/.xhippo.mpegs ~/.xhippo.mods ~/.xhippo.mids"
+ "" Nop
+ "Update playlists" Function "XHippoUpdateFunc"
