Xref: utzoo comp.unix.programmer:1685 comp.unix.aix:4803 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!rutgers!devon!paul From: paul@devon.lns.pa.us (Paul Sutcliffe Jr.) Newsgroups: comp.unix.programmer,comp.unix.aix Subject: CURSES and XTERM question Keywords: curses, xterm, aix Message-ID: <1991Apr28.212745.14620@devon.lns.pa.us> Date: 28 Apr 91 21:27:45 GMT Followup-To: poster Organization: Devon Computer Services, Lancaster, PA, USA Lines: 19 I have a program that uses the curses library. When it is invoked from an xterm window, COLUMNS and LINES are set to the appropriate size of the window (at the time of invocation.) I would like this program to properly resize itself when it gets a SIGWINCH. I know how to get the new window size after the signal (using TIOCGWINSIZ), but I'd like to know how to tell the curses initscr() function to use the new values. I've made several unsuccessful attempts. Any suggestions? Email if possible; I'll summarize if requested. Note: This application is running on an RS/6000 under AIX 3.1.3003 and aixterm, hence the crosspost to c.u.aix. - paul INTERNET: paul@devon.lns.pa.us | Why is the alphabet in that order? UUCP: {sei,rutgers}!devon!paul | Is it because of that song?