Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!husc6!uwvax!dave@spool.cs.wisc.edu From: dave@spool.cs.wisc.edu (Dave Cohrs) Newsgroups: comp.windows.x Subject: Re: resources in toolkit Message-ID: <5740@spool.cs.wisc.edu> Date: 13 May 88 17:02:29 GMT References: <8805122159.AA07168@BigMoma.ardent.com> Sender: news@spool.cs.wisc.edu Reply-To: dave@spool.cs.wisc.edu (Dave Cohrs) Organization: U of Wisconsin CS Dept Lines: 28 Jordan Hubbard writes: > Shouldn't it be possible to say something > like: > > (~/.Xdefaults) > xterm*iconPixmap: /stuff/generic-xterm-icon > goofy*iconPixmap: /stuff/goofy-machine-icon > > (shell) > % xterm -g 80x24+0+0 > % xterm -n goofy -e rlogin goofy > > And have two different pixmaps displayed? You should specify "-name goofy", not "-n goofy" (of course, if you want the *iconName attribute to be goofy, you need the latter as well). So, % xterm -n goofy -name goofy -e rlogin goofy should do what you want. For common attributes, make entries with the name "XTerm" instead of "xterm" in your .Xdefaults, like "XTerm*jumpScroll: on". That way you don't need 20 resource lines for each possible name you will call xterm. Dave Cohrs +1 608 262-6617 UW-Madison Computer Sciences Department dave@cs.wisc.edu ...!{harvard,ihnp4,rutgers,ucbvax}!uwvax!dave