Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!apple!tahoe!equinox!jra From: jra@equinox.unr.edu (John Anderson) Newsgroups: comp.lang.perl Subject: ioctl() error msg Message-ID: <6279@tahoe.unr.edu> Date: 15 May 91 21:08:48 GMT Sender: news@tahoe.unr.edu Lines: 31 i'm a perl rookie... i've been reading the nutshell book, etc. and am attempting some ioctl() stuff and am getting a generic error msg. perhaps someone could give me a pointer to more info. here's the chunk in question: -- # # $r_tty is set to "+ $foo = ioctl(TTY_IN, &TCGETA, $termio) || die "Can't get termio values: $!"; -- error msg: Return value overflowed string at hang line 31. i'm wondering if $foo is getting overflowed or $termio?! line 31 is the ioctl line... i've tried tweaking here and there (hard-coding the device in open(), etc.) to no avail, am reading the passages that ioctl() is system dependent etc. the system that i'm running this on is an IBM rs6000 (aix3.1 - no updates), perl4.003. any help would be appreciated. thanks. jra@equinox.unr.edu John Anderson University of Nevada-Reno