Re: terminal resize: how?

Owen Taylor <[email protected]> Fri, 26 Apr 2002 17:48:43 -0400 (EDT)
Newsgroups gmane.comp.gnome.lib.devel
Message-ID <[email protected]>
Cristiano De Michele <[email protected]> writes:

> On Fri, 2002-04-26 at 21:42, Havoc Pennington wrote:
> > 
> > Cristiano De Michele <[email protected]> writes:
> > > 
> > > ok so how can I resize a terminal in zvtterm.c?
> > 
> > I don't think you can. Why do you want to?
> > 
> > Havoc
> 
> because there are escape sequences (xterm sequences) 
> to do that and I can't implement them properly 
> if I can't resize the terminal in zvtterm.c 
> I could imagine some dirty way to do that, for example
> using the "terminal-screen" gtk data of terminal
> widget...unless you have some suggestion

Well, assuming that you don't consider these terminal
sequences complete silliness that we shouldn't implement
(I do), then the *only* way to do this is to implement
a signal the zvtterm widget like "set_size" that the
terminal program has to catch and react to.

Regards,
                                        Owen