Path: utzoo!utgpu!watserv1!watmath!att!att!pacbell.com!ucsd!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc05!hp-ptp!hp-ses!hpsdel!orac!wunder From: wunder@orac.HP.COM (Walter Underwood) Newsgroups: comp.sys.hp Subject: Re: standards for windowing software? Message-ID: <2890004@orac.HP.COM> Date: 22 Oct 90 23:49:52 GMT References: <1990Oct20.123109.7287@cs.dal.ca> Organization: HP Software Engineering Systems, Sunnyvale CA Lines: 18 On HP-UX, "vi" will read the LINES and COLUMNS env variables, but it can't react to window changes after it has started. The reason is pretty straight-forward -- HP-UX uses the AT&T tty interface, which doesn't have any way to query for the window size. The Sun tty driver does have that information (struct winsize) and also has SIGWINCH, to notify the application that something has changed. Just run this after resizing a window, and before starting "vi": eval `resize` That is the best I can offer right now. I don't like the situation, either. wunder PS: Working for, but not speaking for, HP.