Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!teknowledge-vaxc!mkhaw From: mkhaw@teknowledge-vaxc.UUCP Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: TERMIO under the SUN Message-ID: <12305@teknowledge-vaxc.ARPA> Date: Thu, 30-Apr-87 19:33:30 EDT Article-I.D.: teknowle.12305 Posted: Thu Apr 30 19:33:30 1987 Date-Received: Sat, 2-May-87 00:47:32 EDT References: <214@jplcwp.UUCP> Reply-To: mkhaw@teknowledge-vaxc.UUCP (Michael Khaw) Organization: Teknowledge, Inc., Palo Alto CA Lines: 59 Keywords: TERMIO and SUN Xref: utgpu comp.unix.questions:1882 comp.unix.wizards:1939 In article <214@jplcwp.UUCP> deutsch@jplcwp.UUCP (Michael Deutsch) writes: >I am trying to port a package to the SUN-3 a program >that provides various screen handling features. > >I've ported this package to several UNIX - SYS-V machines >as well as various machines running BSD-4.2/4.3. > >I used the version from Ultrix-1.2 which I believe >should be close to that what should compile on the >SUN. >The problem "termio" >In my C program I have a line: >#include > >to which the SUN-3 compiler answered: > >"Include file "sys/termio.h" not found. > >I've checked for termio.h in /usr/include >and in the /usr/include/sys and of course >it is not there. >On the other hand there is a complete "man" >entry for "termio" and it has no synopsis >for termio - i.e. I assumed that termio is >included automatically. I've tried it that >way as well and of course the structure: > The Sys V specific (and 4bsd incompatible) files are in /usr/5include, /usr/5lib, /usr/5bin. There is a /usr/5include/termio.h. To compile for Sys V, use /usr/5bin/cc instead of (the default) /bin/cc. It will know to look in /usr/5include for "<...>" header files and in /usr/5lib for Sys V libraries to link in. Mike Khaw (empty lines for inews) -- internet: mkhaw@teknowledge-vaxc.arpa usenet: {hplabs|sun|ucbvax|decwrl|sri-unix}!mkhaw%teknowledge-vaxc.arpa USnail: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303