Path: utzoo!utgpu!watmath!watcgl!ksbooth
From: ksbooth@watcgl.waterloo.edu (Kelly Booth)
Newsgroups: uw.mfcf.people
Subject: Re: where to place commands that straddle two packages
Message-ID: <11681@watcgl.waterloo.edu>
Date: 28 Sep 89 02:03:50 GMT
References: <11657@watcgl.waterloo.edu> <16745@watdragon.waterloo.edu>
Reply-To: ksbooth@watcgl.waterloo.edu (Kelly Booth)
Distribution: uw
Organization: U. of Waterloo, Ontario
Lines: 26

In article <16745@watdragon.waterloo.edu> jmsellens@watdragon.waterloo.edu (John M. Sellens) writes:
>imxv is not part of either x10 or x11 so it must be part of some PAMI
>originated package.

It is part of the CGL IM package.  The point of the question was (to
paraphrase):

	imxv is a tool that the user should be able to use independent
	of the version of X on the particular workstation (because it
	really doesn't work any different under X10 or X11 in terms of
	what the user sees).  So how should it be named?

This is analogous to "cp", which is always called cp on every Unix
systems, but is implemented (I presume) differently on different
versions of Unix.  The big difference with X is that the version you
need depends not on the cpu on which the client is running, but on the
workstation on which the server resides.  This means that each cpu that
has clients must support both X10 and X11 versions of such tools in
the current Waterloo environment.

The only suggestion I can think of is to build imxv10 and imxv11, and
then write imxv to be a shell script (or something) that attempts to
figure out which version you really want to run based on the target
server) and then executes that version for you.  This would make the
naming similar to all other IM tools while still maintaining
compatibility with both X10 and X11.