I wrote:

                [...] 
>       Hmm, I haven't looked at what "cvs history -z" does,
>       which Larry Jones suggested.   Maybe it already 
>       does this type of thing...
> 
                [smc]  So I just took a look at it.  You seem to specify the
timezone
                explicitly on the command line..., is there ary portable way
                to say "the local timezone, whatever that might be"

                maybe "-z $TZ"

                Hmm, on unixware 7, $TZ for me is ":US/Central", but on AIX,
"CST6CDT",
                so that might not really work well depending on the client's
and server's
                notions of what timezone names are....,   So, the user must
know what
                his local timezone is called on the remote server.   So, if
I connect to a
                CVS server running on aix, then I have to know "-z CST6CDT",
but if I'm 
                connecting to a CVS running on unixware 7, then I have to
know 
                "-z :US/Central"?  And I have to know what OS the remote
server is 
                running to begin with?

                Is that right?  (hmm, unixware understands CST6CDT, but 
                AIX doesn't like ':US/Central'

                Specifying the timezone explicitly is more general, but
99.99% of the time
                this is used it's going to be to specify the _local_
timezone, whatever that
                might be.  So given that, and given that timezone names seem
to differ from
                one unix to another, I'm liking the mehod of calculating on
the client the
                number of seconds difference from UTC and sending that
across to the 
                server as an ascii string, with an easy to type syntax on
the client to indicate
                this...

                Or am I missing something with "cvs history -z" or $TZ or
something else?

>       -- steve
> 
> 

Reply via email to