Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!convex.UUCP!root From: root@convex.UUCP (Superuser) Newsgroups: comp.windows.x Subject: Lost mail for you Message-ID: <9006071737.AA16473@sushi> Date: 7 Jun 90 17:37:43 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 45 From pescadero.stanford.edu!expo.lcs.mit.edu!xpert-mailer Sat Jun 2 17:22:37 1990 remote from convex Received: by sushi (5.51/7.0) id AA05315; Sat, 2 Jun 90 17:22:37 CDT Received: by convex.COM (5.51/4.7) id AA29883; Sat, 2 Jun 90 17:22:27 CDT Received: from Erebus.Stanford.EDU by uxc.cso.uiuc.edu with SMTP (5.62+/IDA-1.2.8-900601) id AA04916 (for salevin%drlc1.UUCP@convex.com); Sat, 2 Jun 90 17:18:21 -0500 Received: from Hanauma.Stanford.EDU by erebus.Stanford.EDU with TCP; Sat, 2 Jun 90 15:17:51 PDT Received: by hanauma.stanford.edu (5.51/7.0) id AA16939; Sat, 2 Jun 90 15:18:06 PDT Received: from EXPO.LCS.MIT.EDU by Pescadero.Stanford.EDU (5.59/25-eef) id AA28057; Sat, 2 Jun 90 15:17:08 PDT Received: by expo.lcs.mit.edu; Sat, 2 Jun 90 15:31:06 EDT Received: from bloom-beacon.MIT.EDU by expo.lcs.mit.edu; Sat, 2 Jun 90 15:30:53 EDT Received: by bloom-beacon.MIT.EDU (5.61/25-eef) id AA25532; Sat, 2 Jun 90 15:21:43 EDT Received: from USENET by bloom-beacon.mit.edu with netnews for xpert@expo.lcs.mit.edu (xpert@expo.lcs.mit.edu) (contact usenet@bloom-beacon.mit.edu if you have questions) Date: 2 Jun 90 18:56:38 GMT From: convex!math.lsa.umich.edu!emv (Edward Vielmetti) Organization: University of Michigan Math Dept., Ann Arbor MI. Subject: label bars with short hostnames in xcpustate. Message-Id: Sender: convex!expo.lcs.mit.edu!xpert-request To: xpert@expo.lcs.mit.edu 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