On Tue, Apr 17, 2001 at 12:37:22PM -0500, Bryan Walton wrote: > Can the xterm package utilize user config files that override universal > setttings on the box? If so, does anyone know what the file should be > called? Dug through the man page but didn't find anything on this.
Yes. It's not documented because it's not xterm specific. In the old days all X apps were configured via the X resource database, which provided a more or less universal text interface to configuring your apps. Tools like editres can be used to grab a list of resources supported by X apps. You have a couple options. There is a generic ~/.Xresources file in which you can put customizations. So here's some stuff from mine: XTerm*background: black XTerm*foreground: white XTerm*scrollBar: true XTerm*saveLines: 1000 XTerm*font: fixed XTerm*loginShell: true To customize a particular app, you need to get its class name via the xprop command. XTerm happens to be xterm's class name. The problem with .Xresources is that every X app needs to parse it (or at least those that use the X resource db). If you have many customizations there it can slow things down. If you create a directory (say ~/.my_app_defaults/), set XAPPLRESDIR to point to that directory and put a file in that directory, the file will be parsed by the app whose class matches the filename. So xterm will parse $XAPPLRESDIR/XTerm. Of course, computers these days are fast enough that you don't necessarily care to make use of the XAPPLRESDIR method. You probably won't notice a difference. On a SPARC IPX, though, I notice a difference. 8^) noah -- _______________________________________________________ | Web: http://web.morgul.net/~frodo/ | PGP Public Key: http://web.morgul.net/~frodo/mail.html
pgpjiwGKINLSe.pgp
Description: PGP signature