lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev terminal emulators, SIGWINCH (was: Danish translation)


From: pg
Subject: Re: lynx-dev terminal emulators, SIGWINCH (was: Danish translation)
Date: Fri, 12 May 2000 16:18:05 -0600 (MDT)

In a recent note, Klaus Weide said:

> Date: Fri, 12 May 2000 11:44:35 -0500 (CDT)
> 
> Possible reasons why it might not work:
> - the tty doesn't get informed of the size change (stty -a wouldn't show it).
> - lynx doesn't get sent a SIGWINCH.
> - your curses lib overrides the handler.
> - the ioctls by which size_change determines the size don't work on
>   your system (or are not implemented).
> - Lynx itself might get the new size, while the curses(or slang) lib
>   does not become aware of the change (but this would result in different
>   behavior, not 'completely insensitive').
> 
> Find out which it is, and then you or someone else can try to fix it.
> You'll need to do some debugging.
> 
                    Lynx Trace Log (2.8.3rel.1)

    User message: Trace ON!
    Window size changed from (33,93) to (42,104)               
    Got EOF with EINTR, recent_sizechange so far is 1 
    stop_curses: done.
    start_curses: done. 
    GridText: HText_pageDisplay at line 1 started 
    GridText: HText_pageDisplay finished

    Turning off TRACE for fetch of log.

Clearly SIGWINCH got caught.  But the display wasn't reformatted.

Further:  Regardless of my actual window geometry, lynx formats the
screen according to the settings of the environment variables LINES
and COLUMNS.  If those variables are unset, lynx uses the default
screen size.

The behavior of vi is slightly different:  as long as LINES and COLUMNS
are unset, vi uses the actual (not default) screen size and correctly
redraws when the screen is resized.  if LINES and COLUMNS are set when
vi is entered, vi uses those values, regardless of actual screen size
and is oblivious to any resizing.

All on:

    address@hidden:460$ uname -a
    OS/390 MVS3 07.00 02 9672

As far as I can tell, the behavior of both lynx and vi is identical on
both OS/390 and:

    address@hidden:225$ uname -a
    SunOS sanitas 5.6 Generic_105181-13 sun4u sparc SUNW,Ultra-5_10

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]