From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 18:28:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E7B937B401 for ; Wed, 18 Jun 2003 18:28:51 -0700 (PDT) Received: from mail1.zer0.org (klapaucius.zer0.org [204.152.186.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0AEA43F3F for ; Wed, 18 Jun 2003 18:28:50 -0700 (PDT) (envelope-from gsutter@zer0.org) Received: by mail1.zer0.org (Postfix, from userid 1001) id 7CB91239A1B; Wed, 18 Jun 2003 18:28:50 -0700 (PDT) Date: Wed, 18 Jun 2003 18:28:50 -0700 From: Gregory Sutter To: Peter Leftwich Message-ID: <20030619012850.GO42940@klapaucius.zer0.org> References: <20030618180212.C50362-100000@Video2Video.Com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M+mJV+fSrF9QWN+i" Content-Disposition: inline In-Reply-To: <20030618180212.C50362-100000@Video2Video.Com> Organization: Zer0 X-Purpose: For great justice! Mail-Copies-To: poster X-PGP-Fingerprint: D161 E4EA 4BFA 2427 F3F9 5B1F 2015 31D5 845D FEDD X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.4i cc: SDBUG cc: FreeBSD Questions LIST Subject: Re: [SDBUG] TZ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 01:28:51 -0000 --M+mJV+fSrF9QWN+i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003-06-18 18:04 -0700, Peter Leftwich wrot= e: > Well I'm sitting here typing "date" over and over but she doesn't appear.= :) >=20 > Actually, I was looking for something more in the output, namely, the GMT > offset such as (-0800 PDT) then I finally noticed that PDT *is* there. >=20 > But I can't remember where I specified that! A grep of PDT in /etc/* and > /boot/* returns nothing relevant. I also can't remember if this is > something that can be played with in userland, that is, as a postprocessor > (e.g. the tcsh shell using "set" or setenv). Ideas, from any timezone? Peter, You specified it using sysinstall, which you can do again; alternately, 'man tzsetup' for the direct command. 'man tzset' for the relevant functions in libc. I'd also like to help you find things on your system more easily. I suspect you don't know about the 'apropos' command (aka 'man -k'), which shows you short descriptions of system commands relevant to keywords you give it. In your example, 'apropos timezone' includes the correct results. Apropos isn't the greatest search tool ever but it usually gives you what you need if you search for the base(s) of your search needs. 'apropos zone' shows a small (usable) list, and even 'apropos time' works if you want to sort through a bunch of results. (You can also use 'locate' to find things on your system, but the timezone example is really bad (3 levels of indirection through C functions before you find out about tzsetup) so I won't go into detail.) Greg --M+mJV+fSrF9QWN+i Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQE+8RHSIBUx1YRd/t0RAsJOAJ9a5uAcVEBQvj/E3qmm71xc/L4qCgCfTwuW k/Cxkb7jR8uu7j1VEJa4548= =PfB6 -----END PGP SIGNATURE----- --M+mJV+fSrF9QWN+i--