Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!umich!sharkey!math.lsa.umich.edu!math.lsa.umich.edu!emv From: emv@math.lsa.umich.edu (Edward Vielmetti) Newsgroups: comp.windows.x Subject: label bars with short hostnames in xcpustate. Message-ID: Date: 2 Jun 90 18:56:38 GMT Sender: usenet@math.lsa.umich.edu Organization: University of Michigan Math Dept., Ann Arbor MI. Lines: 18 xcpustate, when used on a bsd-ish system, puts the result of gethostbyname() into the label for the bar depicting load average. on systems around here that's a very long thing, like "whirlwind.math.lsa.umich.edu". I'd like to have it changable to be just "whirlwind". it's not clear to me from the code how that should be done; I don't know whether the name of the bar is in some resource I can pop with "xcpustate -xrm " or override in a defaults file, or whether it's necessary to go in and change s-bsd.c to pop out the first period. thanks. --Ed Edward Vielmetti, U of Michigan math dept