AminetAminet
Search:
84478 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/tcp/usno_time.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:TCP/IP utils to set/check time from USNO
Author:Port by Rick O'Sullivan, original by USNO timekeepers.
Uploader:rosully aww com (Rick O'Sullivan)
Type:comm/tcp
Architecture:m68k-amigaos
Date:1995-11-04
Download:http://aminet.net/comm/tcp/usno_time.lha - View contents
Readme:http://aminet.net/comm/tcp/usno_time.readme
Downloads:546

            US Naval Observatory Time Utilites for AmigaDOS
            -----------------------------------------------

DESCRIPTION
-----------
    This is an Amiga port of routines from the US Naval Observatory.

    UTILITIY  FUNCTION                        POST ADDRESS
    --------  ------------------------------- ---------------------------
    timec     check time from remote service; "time"    on port    37/tcp
    time_chk  check time from remote service; "timesrv" on port 22375/tcp
    time_set  set   time from remote service; "timesrv" on port 22375/tcp
    timesrvd  serve time to   remote client ; "timesrv" on port 22375/tcp


REQUIREMENTS
------------
    These routines were compiled and tested on an A3000 with AmigaDOS
V2.1 and AmiTCP V4.2 (commercial).  The source is provided and should
be easily adapted for AS225.

INSTALLATION
------------
  1 Copy the utilities in usno/bin to AmiTCP:bin.
  2 Copy the daemon in usno/serv to AmiTCP:serv, if you wish to serve time.
  3 Add the following line to AmiTCP:db/services:

    timesrv         22375/tcp                       ; time server process

EXAMPLES
--------
    Set local time to USNO time using "timesrv" & port 22375/tcp:

  > time_set tick.usno.navy.mil  ; sets local time to USNO time


    Check local time with USNO time using "timesrv" & port 22375/tcp:

  > time_chk tick.usno.navy.mil
    Local Time.....: Sat Nov 04 00:36:42 1995 at aww.com
    Remote Time....: Sat Nov 04 00:36:42 1995 at tick.usno.navy.mil
    Local - Server.: 0 secs


    Check local time with USNO time using "time" & port 37/tcp:

  > time_chk tick.usno.navy.mil  ; checks local time with USNO time
    Local Time.....: Sat Nov 04 00:38:41 1995 at aww.com
    Remote Time....: Sat Nov 04 00:38:42 1995 at tick.usno.navy.mil
    Local - Server.: -1 secs

BUGS
----
    I had to _reset_ my GMT offset in the Locale Preference.  If you
receive funny times try changing highligt on Locale's map back and
forth.

DEVELOPERS
----------
    The makefiles and source for these utilities is included.  They
were compiled with SAS/C V6.55.  The makefiles assume the AmiTCP
development files are organized as follows:

    AmiTCP:
    |
    ---> AmiTCP:dev
         |
         ---> AmiTCP:dev/include
         |
         ---> AmiTCP:dev/lib
         |
         ---> AmiTCP:dev/src
             |
             ---> AmiTCP:dev/src/usno

    Note: I've moved the default location of AmiTCP:include,
AmiTCP:lib and AmiTCP:src to AmiTCP:dev as a personal preference.

    These files were obtained from ftp://tycho.usno.navy.mil.

    Mia culpa, I changed the names a bit and restructured the code to
suit my tastes.

------------------------------------------------------------------------
Altofirma Web Works                                Richard P. O'Sullivan
http://www.aww.com/                                      rosully at aww.com
------------------------------------------------------------------------

Tick-Tock :-)


Contents of comm/tcp/usno_time.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                   61      62  98.4% -lh5- f268 Oct 30  1995 usno/docs/error.fix
[generic]                 6919   16931  40.9% -lh5- 4010 Oct 30  1995 usno/docs/Interex.paper
[generic]                  627    1434  43.7% -lh5- 82e9 Oct 30  1995 usno/docs/Makefile.BSD
[generic]                  679    1349  50.3% -lh5- f943 Oct 30  1995 usno/docs/time_set.1
[generic]                   40      60  66.7% -lh5- 0887 Oct 30  1995 usno/docs/time_set.log
[generic]                  440     971  45.3% -lh5- 433a Oct 30  1995 usno/docs/timecheck.man
[generic]                  683    1548  44.1% -lh5- 10a4 Oct 30  1995 usno/docs/timeset.man
[generic]                  590    1096  53.8% -lh5- a777 Oct 30  1995 usno/docs/timesrv.1
[generic]                  594    1299  45.7% -lh5- 6dba Oct 30  1995 usno/docs/timesrv.man
[generic]                  611    1377  44.4% -lh5- 679d Oct 30  1995 usno/docs/Makefile.noinstall
[generic]                 1124    2177  51.6% -lh5- e0f3 Oct 30  1995 usno/docs/README.1ST
[generic]                  425     754  56.4% -lh5- f16b Oct 30  1995 usno/docs/timecheck.1
[generic]                   96     133  72.2% -lh5- 0a1e Oct 30  1995 usno/etc/etc.inetd.conf
[generic]                  260     562  46.3% -lh5- a0c2 Oct 30  1995 usno/sh/TIME_SET
[generic]                 1475    3913  37.7% -lh5- c8d9 Nov  4  1995 usno/time_chk/time_chk.c
[generic]                 2233    7018  31.8% -lh5- c1f4 Nov  3  1995 usno/time_set/time_set.c
[generic]                 1520    4073  37.3% -lh5- 837e Nov  3  1995 usno/timec/timec.c
[generic]                  504     866  58.2% -lh5- f623 Nov  4  1995 usno/timesrvd/timesrvd.c
[generic]                 7662   12032  63.7% -lh5- b666 Nov  4  1995 usno/bin/time_chk
[generic]                 7674   12036  63.8% -lh5- 4984 Nov  3  1995 usno/bin/timec
[generic]                   52      52 100.0% -lh0- e513 Oct 30  1995 usno/etc/etc.services
[generic]                  145     230  63.0% -lh5- 06e5 Nov  4  1995 usno/makeall
[generic]                  409     746  54.8% -lh5- 0441 Nov  3  1995 usno/makefile.time_chk
[generic]                  404     725  55.7% -lh5- bf44 Nov  3  1995 usno/makefile.timec
[generic]                  408     747  54.6% -lh5- b0fd Nov  4  1995 usno/makefile.timesrvd
[generic]                  771    1500  51.4% -lh5- 1e2e Nov  4  1995 usno/serv.info
[generic]                 2051    2988  68.6% -lh5- 124a Nov  4  1995 usno/serv/timesrvd
[generic]                 1090    2972  36.7% -lh5- 9e94 Nov  4  1995 usno/usno_time.readme
[generic]                 7044   11164  63.1% -lh5- 0a52 Nov  3  1995 usno/bin/time_set
[generic]                  302     540  55.9% -lh5- 1bf8 Oct 30  1995 usno/cron/cron.kill
[generic]                  222     329  67.5% -lh5- 0948 Oct 30  1995 usno/cron/cronfile
[generic]                  408     746  54.7% -lh5- 8403 Nov  3  1995 usno/makefile.time_set
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        32 files   47523   92430  51.4%            Nov  4  1995

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>