Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mcgill-vision!iros1!vedge!lai
From: lai@vedge.UUCP (David Lai)
Newsgroups: comp.unix.wizards
Subject: how do I tell the size of a pseudoterm window?
Keywords: xterm resize
Message-ID: <2081@vedge.UUCP>
Date: 30 Nov 88 19:11:43 GMT
Organization: Visual Edge Software, St. Laurent, Quebec
Lines: 20

2 problems:

1) How is a program able to tell the size of a pseudoterm's window.
   Is there a termcap entry which specifies that the screen can be
   resized? (The termcap man pages dont mention it).  How does a program
   get 'signalled' when a resize occurs (ie. like vi doing a redraw after
   a resize) ?

2) How can the termcap be modified automatically when a 'resize' occurs, when
   not in a program (ie at the shell prompt)?  This would be useful so that
   the next 'ls' or other such commands would output an appropriate number
   of columns.

I am looking for a general case solution which should be able to be
applied to various windowing systems.  Does this involve a special
tty/pty driver?
-- 
	"What is a DJ if he can't scratch?"  - Uncle Jamms Army
The views expressed are those of the author, and not of Visual Edge, nor Usenet.
David Lai (vedge!lai@larry.mcrcim.mcgill.edu || ...watmath!onfcanim!vedge!lai)