Path: utzoo!attcan!uunet!tron!beser From: beser@tron.UUCP (Eric Beser) Newsgroups: comp.unix.sysv386 Subject: getting lines and columns of terminal Keywords: ioctl windowsize Message-ID: <653@tron.UUCP> Date: 11 Oct 90 12:00:15 GMT Organization: Westinghouse Electronic Systems Group, Baltimore, MD, USA Lines: 17 I am trying to get the size of the terminal window using a TIOGWNSZ and an ioctl call. It fails. Will this call work on stdin and stdout? I don't want to use curses as this is a low level io package that is doing its own windowing (for portibility across operating systems). Can I do an ioctl to get the window size from the main process or does work only on pseudo ttys. I am running ESIX rev D. could someone please point me to the right manual page or textbook name so I can find appropriate documents. I do not know how to do pseudo ttys. Anyone please explain or point to place where I can look it up? I will post answers. Thanks Eric Beser Westinghouse Aerospace Software Engineering