Article View: mod.unix
Article #62Unix Technical Digest V2 #5
From: Heiby
Date: Tue, 21 May 1985 03:14
Date: Tue, 21 May 1985 03:14
73 lines
2966 bytes
2966 bytes
Unix Technical Digest Tue, 21 May 85 Volume 2 : Issue 5
Today's Topics:
CTS/RTS handshaking on UNIX
dynamic loading.
Sys5 -> 4.2bsd conversion (tty driver stuff, no :-))
----------------------------------------------------------------------
Date: Thu, 16 May 85 20:47:44 edt
From: Chris Torek <seismo!chris@maryland>
Subject: CTS/RTS handshaking on UNIX
In order to get flow control in the other direction to work (ie., when
the device drops carrier/CTS, make Unix stop sending) you may have to
fix your device driver. In particular, the 4.2BSD DH/DM and DMF32
drivers don't support MDMBUF.
(The changes shown will make 4.2 twiddle the DTR line when in tandem and
mdmbuf modes.)
Chris
[Ed note: I think we beat this one to death, now. Let's move on. RWH.]
------------------------------
Date: Thu, 16 May 85 14:23:46 edt
From: Stephen Daniel <ihnp4!seismo!mcnc!swd>
Subject: dynamic loading.
I have posted our code for dynamic loading to mod.sources
Stephen Daniel
decvax!mcnc!swd
------------------------------
Date: Mon, 20 May 85 13:38:56 edt
From: allegra!phri!root (Charlie Root)
Subject: Sys5 -> 4.2bsd conversion (tty driver stuff, no :-))
I'm trying to port some stuff from Sys5 to 4.2bsd (the graf
package, in particular). The biggest problem so far is the tty driver
stuff.
I've figured out how to translate most of the Sys5 structure
elements and modes to their 4.2 equivalents, but am stumped by the
following fragment (from ...../graf/src/dev.d/tek4000.d/lib/tekinit.c,
around line 20). Tm.raw is a strucure of type sgttyb (nee termio). Can I
just say "tm.raw.sg_flags |= RAW", or is this too drastic?
tm.raw.c_iflag = 0;
tm.raw.c_oflag = OPOST|ONLCR;
tm.raw.c_cflag &= ~(PARENB | CSIZE);
tm.raw.c_cflag |= CS8;
tm.raw.c_lflag = 0;
tm.raw.c_cc[4] = 10;
tm.raw.c_cc[5] = 1;
allegra!phri!roy (Roy Smith)
System Administrator, Public Health Research Institute
------------------------------
End of Unix Technical Digest
******************************
--
Ronald W. Heiby / netnews@wnuxb.UUCP | unix-request@cbosgd.UUCP
AT&T Information Systems, Inc., Lisle, IL (CU-D21)
Technical Details
Message-ID:
<583@wnuxb.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!decvax!genrad!panda!talcott!harvard!seismo!cbosgd!ihnp4!wnuxb!netnewsShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site wnuxb.UUCP Path: arc1-ca.pugleaf.net!utzoo!decvax!genrad!panda!talcott!harvard!seismo!cbosgd!ihnp4!wnuxb!netnews From: netnews@wnuxb.UUCP (Heiby) Newsgroups: mod.unix Subject: Unix Technical Digest V2 #5 Message-ID: <583@wnuxb.UUCP> Date: Mon, 20-May-85 23:14:29 EDT Article-I.D.: wnuxb.583 Posted: Mon May 20 23:14:29 1985 Date-Received: Wed, 22-May-85 00:05:11 EDT Reply-To: unix@cbosgd.UUCP Organization: AT&T - Warrenville Data Center, IL Lines: 70 Keywords: CTS flow control, dynamic loading, termio Approved: netnews@wnuxb.UUCP Really-From: Ron Heiby (The Moderator) <unix-request@cbosgd.UUCP>