Date: Wed, 18 Jun 2003 18:28:50 -0700 From: Gregory Sutter <gsutter@zer0.org> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.Org> Subject: Re: [SDBUG] TZ Message-ID: <20030619012850.GO42940@klapaucius.zer0.org> In-Reply-To: <20030618180212.C50362-100000@Video2Video.Com> References: <20030618180212.C50362-100000@Video2Video.Com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <Hostmaster@Video2Video.Com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030619012850.GO42940>