🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Brendt Wohlberg Fri, 20 Nov 1992 14:29
Tin and OpenWindows
#2546
Author: Brendt Wohlberg
Date: Fri, 20 Nov 1992 14:29
16 lines
1364 bytes
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?

______________________________________
Brendt Wohlberg                       |
Electronic Engineering Department     |
University of Cape Town               |
e-mail: brendt@dip1.ee.uct.ac.za      |
        whlbre01@uctvax.uct.ac.za     |
        bwohlberg@eleceng.uct.ac.za   |
______________________________________|
Re: Tin and OpenWindows
#2553
Author: Paul Gilmartin
Date: Mon, 23 Nov 1992 21:16
23 lines
1770 bytes
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.
 
However, perhaps your observation, and that of
hakanl@lulea.trab.se (H}kan Lennest}l) in message
<5247@morvyth.lulea.trab.se> will provide the evidence to Iain that
a problem remains.
 
Thanks, Iain,
-- gil
Re: Tin and OpenWindows
#2562
Author: Iain Lea
Date: Wed, 25 Nov 1992 07:34
20 lines
1571 bytes
Paul Gilmartin (GILMART@LSTC2VM.stortek.com) wrote:
:
: 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,
:  
: However, perhaps your observation, and that of
: hakanl@lulea.trab.se (H}kan Lennest}l) in message
: <5247@morvyth.lulea.trab.se> will provide the evidence to Iain that
: a problem remains.

I know that there is a problem (as I said to you via email) but I cannot
try to fix the problem as all our workstations run Motif (even our suns).

Iain

--
NAMES  Iain Lea    Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Re: Tin and OpenWindows
#2563
Author: 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
Re: Tin and OpenWindows
#2564
Author: Brendt Wohlberg
Date: Wed, 25 Nov 1992 10:21
40 lines
2511 bytes
Paul Gilmartin (GILMART@LSTC2VM.stortek.com) wrote:
: 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.
:  
: However, perhaps your observation, and that of
: hakanl@lulea.trab.se (H}kan Lennest}l) in message
: <5247@morvyth.lulea.trab.se> will provide the evidence to Iain that
: a problem remains.

It turns out that the problem is *caused* by Tin trying to catch the SIGWINCH
signal - this seems to be a no-no in the latest SunOS releases. A simple fix:
Add the line 

#undef SIGWINCH

to the start of the signal.c file. This fixes the problem on my system - it
seems to continue working in an xterm as well. H}kan Lennest}l has also tried
it and it works on his system as well.
  
______________________________________
Brendt Wohlberg                       |
Electronic Engineering Department     |
University of Cape Town               |
e-mail: brendt@dip1.ee.uct.ac.za      |
        whlbre01@uctvax.uct.ac.za     |
        bwohlberg@eleceng.uct.ac.za   |
______________________________________|
Re: Tin and OpenWindows
#2719
Author: Iain Lea
Date: Thu, 10 Dec 1992 15:54
18 lines
1353 bytes
Per Hedeland (per@erix.ericsson.se) wrote:

: 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.

I have applied a patch that Per sent me to the next version (PL9 or v1.2).

Thanx

Iain

--
NAMES  Iain Lea    Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads