🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #2563

Re: Tin and OpenWindows

#2563
From: Per Hedeland
Date: Wed, 25 Nov 1992 09:19
32 lines
2518 bytes
In article <168A8C8B5.GILMART@LSTC2VM.stortek.com>, GILMART@LSTC2VM.stortek.com (Paul Gilmartin) writes:
|> In article <1992Nov20.142945.5751@ucthpx.uct.ac.za>
|> brendt@dip3.ee.uct.ac.za (Brendt Wohlberg) writes:
|>  
|> >I'm currently using Tin 1.1 PL6 on a SUN sparc2 running OpenWindows 3, but am
|> >having problems with the Tin window clearing itself whenever it should refresh
|> >(such as when it a window which partially or completely obscured it is moved
|> >away.) This doesn't happen when I run Tin from an xterm.
|> >
|> >Is this a known bug, or is it a problem with OpenWindows?
|> >Any suggestions? Does 1.1 PL7 have the same problem?
|>  
|> When I reported these symptoms to Iain, he replied to me that tin
|> catches the SIGWINCH signal supplied by Sun OS.  Unable to provide
|> further evidence of the problem, much less to volunteer a source patch,
|> I continued to use this excellent newsreader, pressing ^L when necessary.

I haven't seen the tin code, but the cmdtool vs xterm and SIGWINCH rings
a bell - I seem to remember that cmdtool (quite incorrectly) generates
SIGWINCH signals when its window is exposed (SIGWINCH should, of course,
only be generated when the *size* of the window changes).

Could it be that tin catches the SIGWINCH (as it should), clears its
display, queries for the new window size, and upon finding that it is
unchanged, doesn't bother to redraw the display? - In which case the
obvious fix is to not clear the display until after it has decided that
the size has changed.

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
..uunet!erix.ericsson.se!per
Technical Details
Message-ID: <1992Nov25.091918.22678@eua.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!olivea!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!ericom!eua.ericsson.se!erix.ericsson.se!per
References: <1992Nov20.142945.5751@ucthpx.uct.ac.za> <168A8C8B5.GILMART@LSTC2VM.stortek.com>

Show Full Headers
Complete Article Headers
Message-ID: <1992Nov25.091918.22678@eua.ericsson.se>
Subject: Re: Tin and OpenWindows
Date: Wed, 25 Nov 1992 09:19:18 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <1992Nov20.142945.5751@ucthpx.uct.ac.za> <168A8C8B5.GILMART@LSTC2VM.stortek.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!olivea!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!ericom!eua.ericsson.se!erix.ericsson.se!per
Newsgroups: news.software.readers
Sender: news@eua.ericsson.se
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Lines: 32
Nntp-Posting-Host: aalborg.eua.ericsson.se
Nntp-Posting-User: per