Path: utzoo!attcan!uunet!husc6!rutgers!apple!claris!sts!roy From: roy@sts.sts.UUCP Newsgroups: comp.sources.bugs Subject: Re: atty on Sun 3 Message-ID: <68400001@sts> Date: 1 Jun 89 23:07:00 GMT References: <280@kurz-ai.UUCP> Lines: 38 Nf-ID: #R:kurz-ai.UUCP:280:sts:68400001:000:1638 Nf-From: sts.sts.UUCP!roy Jun 1 16:07:00 1989 /* Written 10:58 am Jun 1, 1989 by schmidt@uci-ics.UUCP in sts:comp.sources.bugs */ In article <280@kurz-ai.UUCP> simcha@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@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@Claris.COM | 4101 Burton Dr. | phones: (408) 727-2885 x132 (work)| Santa Clara, CA 95054 | (408) 289-1035 (home)| ==================================================================