Newsgroups: de.comp.os.unix,bln.comp.unix,comp.unix.misc,comp.unix.questions,comp.unix.shell,fido.ger.unix,fj.questions.unix,fj.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!etlnews.etl.go.jp!etlinn.etl.go.jp!etl.go.jp!trc.rwcp!rwc-tyo!news.iij.ad.jp!news.sun.co.jp!sunj-gate.Japan.Sun.COM!news2me.EBay.Sun.COM!venus.sun.com!cs.utexas.edu!news-relay.us.dell.com!swrinde!gatech!newsfeed.internetmci.com!iglou!iglou2!jeffm
From: jeffm@iglou2.iglou.com (Jeff Mcadams)
Subject: Re: eval `resize` - problem
X-Nntp-Posting-Host: iglou2
Message-ID: <DLE16G.Ew2@iglou.com>
Sender: news@iglou.com (News Administrator)
Organization: IgLou Internet Services (1-800-436-4456)
References: <4d5dk7$19p@newsserv.zib-berlin.de> <ttomasij.821494188@hp871t> <4djqdo$dut@zeus.clr.com>
Date: Thu, 18 Jan 1996 17:42:15 GMT
Lines: 24
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:5219 fj.unix:3217
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=5219&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

phil@zeus.clr.com (Phil Howard) writes:
>I'm running Solaris 2.4 and tcsh and I'm seeing LINES and COLUMNS set OK
>from resize.

The apps in Solaris (specifically 2.4, not sure about other vers)
apparently do not access the LINES and COLUMNS env. vars. but instead
take their settings out of the terminal setup settings (not sure what
they're called exactly).

I've created a quick script that I can run when I do a window
resize...pretty simple really.

#! /bin/sh

eval `resize`
stty rows $LINES
stty cols $COLUMNS


Then all is hunky dory.  (Told you it was simplistic).

Jeff McAdams             |     A feature is a bug
IgLou Internet Services  |     with seniority.
e-mail:  jeffm@iglou.com |            -- unknown
