Xref: utzoo comp.sys.att:7230 unix-pc.general:3524 Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!rutgers!dptg!holin!bes From: bes@holin.ATT.COM (Bradley Smith) Newsgroups: comp.sys.att,unix-pc.general Subject: Re: Getting symbols from /etc/lddrv/wind (was Re: sockets & ptys) Message-ID: <638@holin.ATT.COM> Date: 8 Aug 89 12:21:20 GMT References: <637@holin.ATT.COM> <2229@umbc3.UMBC.EDU> <945@icus.islp.ny.us> Reply-To: bes@holin.ATT.COM (Bradley Smith) Organization: AT&T Bell Labs, OIL, Holmdel, NJ Lines: 15 In article <945@icus.islp.ny.us> lenny@icus.islp.ny.us (Lenny Tropiano) writes: >Why not use nlist(3C)? That's what it was made for! All you need >to do is to set up a struct nlist with all the symbols (assuming you know >the symbol name [which can be gotten with nm or looking at the ifile.wind]) >you need and then call nlist("/etc/lddrv/wind",&nl) ... This is what I am going to do, although I was using wind.o which gave me some grief, but last night I got win_cnt (actual a variable pointing to the same place) to have 12. My next step is to see if the tty structures are working right on the window driver. If they are then I should be able to get stdin working on the select. Then all I need to do is work on the write bitmasks. -- Bradley Smith Computer Systems Offer Integration Laboratory AT&T Bell Labs, Holmdel, NJ 201-949-0090 att!holin!bes or bes@holin.ATT.COM