154359SrobertoREADME file for directory ./clockstuff of the NTP Version 4 distribution
254359Sroberto
354359SrobertoThis directory contains the sources for utility programs designed to
454359Srobertosupport radio clocks. The chutest.c and clktest.c are desgined to
554359Srobertotest the chu_clk and tty_clk line disciplines and STREAMS modules in
654359Srobertothe ../kernel directory.
754359Sroberto
854359SrobertoThese files have been modified to work with either the line disciplines
954359Srobertoor the STREAMS modules. Be sure to define -DSTREAM if appropriate.
1054359Sroberto
1154359SrobertoThese are random bits of things written to help with clocks.  You can
1254359Srobertomake things in here by typing one or more of:
1354359Sroberto
1454359Sroberto	make propdelay (or `make')
1554359Sroberto	make chutest
1654359Sroberto	make clktest
1754359Sroberto
1854359SrobertoPropdelay computes high frequency propagation delays, given the
1954359Srobertolongitude and latitude of the transmitter and receiver.  Use
2054359Srobertothis for WWV/H and CHU.  Don't use it for WWVB (the computation
2154359Srobertois easier for that).
2254359Sroberto
2354359SrobertoChutest can be used to input and process data from a CHU modem
2454359Srobertoattached to a serial port.  It will use the CHU line discipline
2554359Sroberto(if installed), or raw mode otherwise.  This was used to test
2654359Srobertoout the initial reduction algorithms, and may not be up to date.
2754359Sroberto
2854359SrobertoClktest can be used to test the clock line discipline (CLKLDISC,
2954359Srobertoit must be available), and to take a look at radio clocks attached to a
3054359Srobertoserial port.
3154359Sroberto
32