[comp.sys.mac.misc] termcaps for larger Zterm window?

yee@osf.org (Michael K. Yee) (01/29/91)

	I would like to get Ultrix to recognize when I use a larger window
	in Zterm.  Can this be done?  I've tried setting stty rows and
	columns, but to no avail.  Also if the solution is in termcaps,
	how do I install it?  Many thanks,

	=Mike
--
= Michael K. Yee		-- yee@osf.org or uunet!osf.org!yee --
= OSF/Motif Development
= "I can't give you brains, but I can give you a diploma." -- The Wizard of OZ

yee@osf.org (Michael K. Yee) (01/31/91)

In article <YEE.91Jan28141018@genoa.osf.org> yee@osf.org (Michael K. Yee) writes:
|> 	I would like to get Ultrix to recognize when I use a larger window
|> 	in Zterm.  Can this be done?  I've tried setting stty rows and
|> 	columns, but to no avail.  Also if the solution is in termcaps,
|> 	how do I install it?  Many thanks,
|> 

	I not sure if it is appropriate to answer my own posting, but I
	received an answer for the question I posted above via email.

	I think that other ZTerm users would might be interested this.  I
	tried the following and works great!  The 'resize' command didn't
	quite work, and I had to do some 'tset' and 'setenv TERM vt100'
	instead.  But after hacking for a while, and running GNU emacs
	(emacs seems to have done what resize should have done), I have a
	39x80 line terminal window instead of 24x80!!  It's like moving up
	from a Mac+ 9 inch screen to a Hi-Res monitor :-) !  Many thanks
	Tony!

	=Mike

From tonyrich@cs.wisc.edu Mon Jan 28 21:06:08 1991 
>> Hi, Michael.  You write:
>> 
>> I use Kermit to access my Ultrix workstation.  In my .login, after I
>> use stty to change the number of rows to 39 (I run MaxAppleZoom on the Mac,
>> so I have room for that many), I have to do a "resize" command for the
>> change to take effect.  On my workstation, "resize" spits out a
>> big ugly termcap entry onto the screen that I don't want to see, so
>> I just redirect that output to /dev/null.  The two lines looks like this:
>> 
>>     stty new crt kill  erase  rows 39
>>     resize >& /dev/null
>> 
>> (The kill and erase characters are invisible control characters.)
>> Hope this helps!
>> 
>>   -- Tony
>> 
--
= Michael K. Yee		-- yee@osf.org or uunet!osf.org!yee --
= OSF/Motif Development
= "I can't give you brains, but I can give you a diploma." -- The Wizard of OZ