Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: App Defaults shouldn't look for program name Message-ID: <3022@helios.ee.lbl.gov> Date: 18 Jul 89 21:38:39 GMT References: <8907181551.AA10891@expo.lcs.mit.edu> <129@uucs1.UUCP> Sender: usenet@helios.ee.lbl.gov Lines: 26 In article <8907181551.AA10891@expo.lcs.mit.edu>, kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) writes: < There is an important difference between the application name and the class. < The name is a specific instance of an application, while the class refers to < all possible invocations of the application (The distinction is important for < resource loading). Thus it is important that the name a class of the < application be different. Here is the convention that we use on most of < our applications. In general we use a class name for the application that is the < same as the application name, BUT the first letter is capitalized. < < Thus: < < Name Class < -------------------------------- < xman Xman < xedit Xedit < I thought the convention was to capitalize the first TWO letters of the name to signify the class when it comes to application default files. e.g. one of the files that is used for an xterm client is /usr/lib/X11/app-defaults/XTerm Why is one capital letter used for the class name and two for the default file? _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory