atty on Sun 3

roy at sts.sts.UUCP roy at sts.sts.UUCP
Fri Jun 2 09:07:00 AEST 1989


/* Written 10:58 am  Jun  1, 1989 by schmidt at uci-ics.UUCP in sts:comp.sources.bugs */
In article <280 at kurz-ai.UUCP> simcha at kurz-ai.UUCP (Simcha Lerner) writes:
++ 
++ Has anyone had any luck getting atty running under Sun OS 4.0
++ on a Sun 3?
++ 
++ I get an Abort with "set pty modes: Inappropriate ioctl for device"
++ whenever I try to start atty up.

Did you happen to compile with GCC by any chance?  If so, did you remember
to supply the -traditional option?  If you didn't, this is what you're
probably going to get.  Use -traditional, and the problem should go away...

Doug
--
On a clear day, under blue skies, there is no need to seek.
And asking about Buddha                +------------------------+
Is like proclaiming innocence,         | schmidt at ics.uci.edu    |
With loot in your pocket.              | office: (714) 856-4043 |
/* End of text from sts:comp.sources.bugs */

I had the same problem with a Sun3 running SunOS 4.  Here is the exact
error message ...

set pty modes: Inappropriate ioctl for device
IOT trap (core dumped)

I compiled this with gcc -O -traditional -c ...  The results were the
same with the Sun C compiler too.  The -O might have done it, but it
doesn't sound like it from the error message.

==================================================================
Roy Bixler                   | UUCP: ...!{claris,sun}!sts!roy    |
Semiconductor Test Solutions | Internet: sts!roy at Claris.COM      |
4101 Burton Dr.              | phones: (408) 727-2885 x132 (work)|
Santa Clara, CA  95054	     |         (408) 289-1035      (home)|
==================================================================



More information about the Comp.sources.bugs mailing list