Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!decwrl!lll-winken!isg-105.llnl.gov!ira From: ira@isg.llnl.gov (Ira Morrison) Newsgroups: comp.lang.perl Subject: ioctl problems under SunOS 4.0 Message-ID: <91696@lll-winken.LLNL.GOV> Date: 21 Feb 91 22:19:10 GMT Sender: usenet@lll-winken.LLNL.GOV Organization: Lawrence Laboratory ; Livermore, CA. Lines: 11 Nntp-Posting-Host: isg-105.llnl.gov Originator: ira@isg-105.llnl.gov I am a new perl user and am having a problem with ioctl. I'm running on a Sun with SunOS 4.0. The description of ioctl in the perl man pages (i don't have the book yet) seems to imply using the packing for the older version of ioctl (e.g. ccccs). The Sun manual says it uses the older System V ioctl structure for some calls but the structure is defined as 4Sc8C. The manual spends most of its space on discussion of ioctl based on ioctls.h with a structure of 4L18C. I am trying to do RAW terminal io. The work around using stty described in the most frequently asked questions seem to work but I would like to use the more elegant ioctl approach. Anyone have any Sun experience in this area?