On Fri, Apr 23, 1999 at 01:47:02PM -0400, David Shaw wrote:
> On Fri, Apr 23, 1999 at 01:30:50PM -0400, kiss the sun and walk on air wrote:
> > The documentation for MIME references a script called RunningX for use
> > with the test parameter in the .mailcap file. Where may one find this?
> 
> http://www.fiction.net/blong/programs/mutt/autoview/RunningX.c
> 
> I suppose you could just test for the presence of $DISPLAY and if it
> exists, you are running X.  Does anyone know of any circumstances where
> that could fail?
> 
It looks to me as though that's exactly what RunningX.c does.

-- 
(T.) Michael Sanders            internet: [EMAIL PROTECTED]
Physics Department              URL: http://www-personal.umich.edu/~sanders
University of Michigan          phone: 734/936-0799
Ann Arbor, MI 48109-1120        FAX: 734/764-6843

Reply via email to