🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.time.ntp
Article #759

STREAM modification to tty_chu.c

#759
From: Nick Sayer
Date: Sat, 27 Apr 1991 00:00
20 lines
1265 bytes
Ok, I've figured one thing out, at least, about making CHU work under
SunOS. I've figured out the way tty_chu.c needs to be patched to
(eventually) run with a STREAM version of the CHU line discipline.

Basically the ioctl that placed the CHULDISC on the file needs
to be replaced with an ioctl( ... , I_PUSH, "chu" );. In addition,
you need to include <stropts.h>. Once this is done, you can build
an xntpd that works just fine, except of course that peering to
127.127.7.* fails until the CHU STREAM is in the kernel.

The same thing could be done to the rest of the refclock_*.c
files for the CLKDISC discipline.

The easy part is done...

-- 
Nick Sayer              | Think of me as a recombinant    | RIP: Mel Blanc
mrapple@quack.sac.ca.us | Simpson: Homer's looks, Lisa's  |   1908-1989
N6QQQ  [44.2.1.17]      | brains, Bart's manners, and     |  May he never
209-952-5347 (Telebit)  | Maggie's appetite for TV.  --Me |  be silenced.
Technical Details
Message-ID: <1010@quack.sac.ca.us>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uop!quack!mrapple

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uop!quack!mrapple
From: mrapple@quack.sac.ca.us (Nick Sayer)
Newsgroups: comp.protocols.time.ntp
Subject: STREAM modification to tty_chu.c
Message-ID: <1010@quack.sac.ca.us>
Date: 27 Apr 91 00:00:00 GMT
Lines: 20