[6174] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Why TELNET sends arbitrary environment variables at all?

daemon@ATHENA.MIT.EDU (Michal Jankowski)
Wed Nov 8 10:45:21 1995

To: kerberos@MIT.EDU
Date: 08 Nov 1995 10:54:41 +0100
From: Michal.Jankowski@fuw.edu.pl (Michal Jankowski)

>>>>> "ckd" == Christopher Davis <ckd@loiosh.kei.com> writes:

PdS> == Peter da Silva <peter@nmti.com> What does *my* TZ have to do
PdS> with that of a system I'm telnetting to, anywhere in the world?

ckd> It makes your login environment run in your timezone. This is
ckd> useful, since it means that (among other things) ls will reflect
ckd> that timezone in file listings.

The only problem is that TZ format is not too portable.

On Solaris 1.x:

$ date -u
Wed Nov  8 09:48:28 GMT 1995
$ TZ=GMT+3 date
Wed Nov  8 12:48:40 GMT+0300 1995
$ TZ=MET date
Wed Nov  8 10:51:56 MET 1995

On Solaris 2.x:

$ date -u
Wed Nov  8 09:47:07 GMT 1995
$ TZ=GMT+3 date
Wed Nov  8 06:47:15 GMT 1995
$ TZ=MET date
Wed Nov  8 10:51:19 MET 1995

On Irix 5.2:

$ date -u
Wed Nov  8 09:56:29 GMT 1995
$ TZ=GMT+3 date
Wed Nov  8 06:56:32 GMT 1995
$ TZ=MET date
Wed Nov  8 09:56:35 GMT 1995

Cheers

  MJ

home help back first fref pref prev next nref lref last post