[comp.windows.x] Differentiating X10 and X11

wong@rtech.rtech.com (J. Wong) (09/14/88)

Has anyone come up with a portable (i.e., non-installation dependent)
way to determine if XV10 or XV11 is running from within a shell script
without writing a program?  I would like to write some shell scripts
that would work under both XV10 and XV11 and because of the differences
between XV10 xterm versus XV11 xterm I need to have some way of determining
which is  running.

	Thanks

-- 

J. Wong		wong@rtech.com		{sun|mtxinu|amdahl}!rtech!wong
****************************************************************
S-s-s-ay!