Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!tinman.cis.ohio-state.edu!bob From: bob@tinman.cis.ohio-state.edu (Bob Sutterfield) Newsgroups: comp.windows.x Subject: Re: How does one find the X11 minor release number? Message-ID: Date: 7 May 89 18:54:31 GMT References: <4549@psuvax1.cs.psu.edu> <8905061635.AA12413@expire.lcs.mit.edu> Sender: news@tut.cis.ohio-state.edu Organization: The Ohio State University Dept of Computer & Information Science Lines: 25 In-reply-to: rws@EXPO.LCS.MIT.EDU's message of 6 May 89 16:35:35 GMT In article <8905061635.AA12413@expire.lcs.mit.edu> rws@EXPO.LCS.MIT.EDU writes: It sure would be nice if xrdb would define a symbol like X11R2 or X11R3 based on which version was actually in use. It sounds pretty hard to decide what you really mean here. From my .X11init: if [ $HOSTTYPE = hp300 ] then X11VERSION=X11R2 else X11VERSION=X11R3 fi xrdb -D$X11VERSION -load $HOME/.X11defaults From my .X11toolstart: #ifdef X11R2 *Font: courr12 #else *Font: *-courier-medium-r-*-*-*-120-*-*-*-*-*-* #endif This depends upon our knowing that HP hasn't shipped R3 yet, or at least that we don't have it installed yet. When we get R3 on our hp300s all this will have to change. Is there an easier way?