Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-sdd!hpcndnm!jad From: jad@hpcndnm.cnd.hp.com (John Dilley) Newsgroups: comp.sys.hp Subject: Re: standards for windowing software? Message-ID: Date: 29 Oct 90 14:15:27 GMT References: <1990Oct20.123109.7287@cs.dal.ca> <25121@uflorida.cis.ufl.EDU> Sender: news@sdd.hp.com (Usenet News) Distribution: na Organization: Hewlett Packard, Colorado Networks Division Lines: 51 In-Reply-To: bb@reef.cis.ufl.edu's message of 26 Oct 90 05:41:18 GMT Nntp-Posting-Host: hpcndnm.cnd.hp.com In article <25121@uflorida.cis.ufl.EDU> bb@reef.cis.ufl.edu (Brian Bartholomew) writes: Brian, Thank you for your glowing review of HP-UX. While you had some valid points regarding the use of SIGWINCH on Sun (and other Berkeley based systems), I would like to point out a flaw in your assessment of HP's terminfo behavior (which has already been brought up in this string but perhaps you missed it). BTW, I was interested to hear that Sun's vi did not obey the SIGWINCH signal ... I always assumed they had fixed vi since they had SIGWINCH... > On the other hand, HP's have a more SysV idea of the termio struct. > The /etc/termcap file is considered unchanging system-wide > information; and, how would you modify one terminal type entry > ("hpterm", say), to reflect the sizes of all umpty-zillion windows on > the screen? I believe that there are two environmental variables that > termcap applications respect - ROWS and COLUMNS. However, they aren't > used. In fact, there are no provisions made for recording of the > window size, in anyplace that termcap applications can get to. > > In conclusion, with termcap applications on HP 3xx/8xx computers, even > while running a modern, network-cooperative window system like X, you > are stuck with 80x24 windows. Ridiculous, isn't it? It would be ridiculous if it were true. But, in fact, HP-UX vi (and other curses-based terminal window applications) *DO* make use of ROWS and COLUMNS. The easiest way to get vi to scale to a non-80x24 terminal window on HP-UX systems, prior to starting vi (just like on your favorite system) is: $ eval `resize` This command places the variables ROWS and COLUMNS into your environment and vi then behaves properly. If you resize the hpterm window while using vi, vi will misbehave (just like you say that Sun does ...). So, in summary, HP-UX terminal windows *can* handle sizes different from the standard 80x24. Gnu emacs running in an X11 window, and other window-smart applications, can handle resizing while running. Hope this helps clear up the confusion, -- jad -- John Dilley Hewlett-Packard Colorado Networks Division UX-mail: jad@cnd.hp.com Phone: (303) 229-2787 -- This is not an official statement from Hewlett-Packard Corp., and does not necessarily reflect the official position of HP. The information above is provided in good faith but completely without warranty of any kind.