🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ti.explorer
1 messages
1 total messages Started by Jamie Zawinski Sat, 02 Dec 1989 01:32
Re: time-service
#160
Author: Jamie Zawinski
Date: Sat, 02 Dec 1989 01:32
25 lines
1506 bytes
> can anyone tell me how to get TIME-SERVICE from a Unix box? in particular, a
> Convex or a Silly Graphics. time on the Exploder is still losing a minute/day,
> and occasionally in the lab it really gets doodled up. I did get all the 
> machines sync'd on a daily basis, but that only means that they're all wrong by
> the same amount.
> 
> I'd like to have them match other machines, and would use our VAX if it's TCP
> included time-service (but, hey! it doesn't include print-service, so why 
> expect time-service?)
> 
>  -- clint

I think that if the machine you want to get the time from has 
(:TIME :UDP :TIME-SIMPLE-MSB) on its services list, and if it is first
on the :PRIMARY-TIME-SERVERS site option, everything should work out.
If you want to make sure that a host *really* provides a time service,
then call the function NET:HOST-TIME with the host you want to test.
If this returns a UT, then you're in business.  If it returns "Host Not
Responding" then you have to add this to /etc/rc.local:

if [ -f /etc/timed ]; then
	/etc/timed & 		echo -n ' timed'	>/dev/console
fi

		-- Jamie
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads