From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,78e5040d447ccc14,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-16 14:26:59 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!cs.utexas.edu!news.unt.edu!zaphod!srt From: srt@zaphod.csci.unt.edu (Steve Tate) Newsgroups: comp.unix.osf.osf1 Subject: STREAMS <-> BSD driver? Date: 16 Dec 1994 20:32:30 GMT Organization: University of North Texas Distribution: world Message-ID: <3cstgu$8mb@hermes.unt.edu> NNTP-Posting-Host: zaphod.csci.unt.edu X-Newsreader: TIN [version 1.2 PL2] I'm finally going to get around to fixing the most serious problem with my port of the ppp-2.x drivers. In particular, I used the STREAMS version of the package, so that it would work through a pseudo-tty-based telnet session to a terminal server. Then I found out that the serial line drivers under DEC OSF/1 are not STREAMS based, but are BSD-style drivers! My temporary fix for people using the async port was to tell them to rlogin to localhost when they called up, so that they'd have a pty to push the ppp STREAMS modules onto. Only problem is, that's a really ugly solution. My question for all you OSF/1 gurus is the following: how can I do a better job at this? It seemed to me that it wouldn't be too hard to have a STREAMS driver that latched on to a BSD-style driver and made it look (almost) like the BSD-style driver was the STREAMS driver. Then I found the following single sentence about the dlb STREAMS driver: "The dlb STREAMS pseudodevice driver provides a communication path between BSD-style device drivers and STREAMS protocol stacks." Sounds perfect! Unfortunately, tracking down further information on dlb makes me believe that it's only for devices registered as network interface devices --- when I tried to list the possible PPA's, the serial port was not listed. Now I know enough to write STREAMS drivers, and I know a bit about BSD internals, but I'm at a total loss here. There MUST be some easy way to do this, right? Any suggestions? -- Steve Tate --- srt@cs.unt.edu | "Liberty consists in the freedom to do Dept. of Computer Sciences | everything which injures no one else..." University of North Texas | -- Lafayette: Declaration of the Rights Denton, TX 76201 | of Man and of the Citizen