From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,41261c01426d4ea4,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-02-26 09:41:58 PST Newsgroups: comp.os.linux.announce Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ghost.dsi.unimi.it!batcomputer!cornell!bounce-bounce From: rasca@marie.physik.tu-berlin.de (Matthias Gmelch) Subject: trxset 0.3 Message-ID: <1994Feb26.174158.28221@cs.cornell.edu> Followup-To: comp.os.linux.misc Keywords: trxset, Fido, timeset Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: rasca@marie.physik.tu-berlin.de (Matthias Gmelch) Organization: None Date: Sat, 26 Feb 1994 17:41:58 GMT i've uploaded a small util for ifcico for analysing the TRX-line in the ifcico logfile. it can be found at: ftp.cs.tu-berlin.de: /pub/linux/Local/sources/network/mail/trxset03.tgz readme for trxset 0.3 ===================== hello fido and linux folks :) what is trxset? i wrote trxset to have the ability to synchronize my system time with the system time of my fido-boss system, because he has a very exact time :) this program is designed for the ifmail package by Eugene Crosser. it searches through the logfile of ifcico and looks for a tranx line of a specified node. if it founds such a line, it will calculate the time difference between your system and the other node and then it will adjust your system time accordingly. i don't know about time zone handling under unix, so i do not mind it.. improvements would be fine.. installation: ------------- - edit config.h to adjust the defaults to your system and say "make".. - move the binary to e.g. /usr/local/sbin. - and start it after every polling of the system you want to adjust your system time. - if you want also adjust your BIOS time, use /etc/clock for this. return codes: ------------- 0 all works fine, system time is adjusted 1 can't open logfile 2 can't find specified remote system in logfile 3 time difference between the 2 system is to big 4 you are not the superuser, so time change is not allowed 5 found entry in the logfile is to old 6 wrong parameter when invoking bugs: ---- i've tested trxset with the ifmail packages 2.0 by eugene crosser. for me it works fine, but perhaps there are many bugs :-) nevertheless remember: this program works only with the ifcico logfile, i don't know the binkley term logfile, but i think it differs so much, so trxset will fail.. ciao rasca fidoNet : Rasca Gmelch, 2:2410/305.4 interNet: rasca@marie.physik.tu-berlin.de linuxNet: rasca@lupo.linuxnet.org