Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!rice!sun-spots-request From: gnb@bby.oz.au (Gregory Bond) Newsgroups: comp.sys.sun Subject: 4.1 sysV Curses SIGWINCH handling Keywords: Miscellaneous Message-ID: <1990Oct7.224034.28729@rice.edu> Date: 7 Oct 90 21:30:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 20 Approved: Sun-Spots@rice.edu Originator: spots@walhalla.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 331, message 5 We have just installed SunOs 4.1 on some machines and are contemplating moving to the sysV CURSES package from the BSD based one in 4.0.3. What we need to know is how to catch the SIGWINCH signal so our applications can resize when the window is sized. What we did under 4.0.3 was, more or less, static void winch_handler() { endwin(); LINES = COLS = 0; initscr(); /* Redisplay everything, based on new LINES, COLS */ } What is the trick required under the sys-V version??? Gregory Bond, Burdett Buckeridge & Young Ltd, Melbourne, Australia Internet: gnb@melba.bby.oz.au non-MX: gnb%melba.bby.oz@uunet.uu.net Uucp: {uunet,pyramid,ubc-cs,ukc,mcvax,prlb2,nttlab...}!munnari!melba.bby.oz!gnb