Hi,

I have finally figured out how make RunningX work with ~/.mailcap.

---- Begin RunningX script
#!/bin/sh
if [ -e /tmp/.X0-lock ]
  then 
    exit 0
  else
    exit 1
fi
---- End RunningX script


I also d/led the RunningX.c code from mutt.org and compiled it as
suggested in the code but I get a compile error. I run

gcc -o RunningX RunningX.c -lX11

but I get the error

/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status

I'm on a RH7 box running kernel 2.2.16 and gcc-2.96-69. Can someone pls.
figure out why I can't compile and what needs to be done?

I have earlier tried using different RunningX shell scripts that I got
from this list but none seem to work except the one above. Oh well .... 

I got the above script by doing a www.google.com search.

-- 
Horace G. Friend III
[EMAIL PROTECTED]
GnuPG DSA/ElGamal Key Fingerprint
9295 80C4 C723 621B 9C2D  B53E D432 7936 4CA9 8AD6

Reply via email to