Path: utzoo!attcan!uunet!timbuk!cs.umn.edu!ub.d.umn.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!bb@reef.cis.ufl.edu From: bb@reef.cis.ufl.edu (Brian Bartholomew) Newsgroups: comp.sys.hp Subject: Something useful for a change Message-ID: <25191@uflorida.cis.ufl.EDU> Date: 30 Oct 90 14:02:29 GMT Sender: news@uflorida.cis.ufl.EDU Organization: UF CIS Dept. Lines: 34 > From: jad@hpcndnm.cnd.hp.com (John Dilley) > 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... Nope, Sun got lazy. ----- > 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` I would be happier to see the code that resize performs (a termcap inquiry and a couple setenv's?) added to the tcsh. Since there is no SIGWINCH to catch, tcsh could just unconditionally perform the code each time it printed a prompt. My understanding is that tcsh is already dependent on termcap now, anyway, for editing purposes. Any takers? "Any sufficiently advanced technology is indistinguishable from a rigged demo." ------------------------------------------------------------------------------- Brian Bartholomew UUCP: ...gatech!uflorida!mathlab.math.ufl.edu!bb University of Florida Internet: bb@math.ufl.edu -- "Any sufficiently advanced technology is indistinguishable from a rigged demo." ------------------------------------------------------------------------------- Brian Bartholomew UUCP: ...gatech!uflorida!mathlab.math.ufl.edu!bb University of Florida Internet: bb@math.ufl.edu