lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Control-Z and SIGSTOP mysteries


From: Hiram Lester, Jr.
Subject: Re: LYNX-DEV Control-Z and SIGSTOP mysteries
Date: Tue, 20 May 1997 18:48:40 -0500 (CDT)

On Tue, 20 May 1997, Klaus Weide wrote:

> In the following section, near the bottom of main() in LYMain.c,
> try inserting a statement
> 
>     signal(SIGTSTP, SIG_DFL)
> 
> a) before the setup(terminal) call,

Doesn't change anything.  Upon returning from the suspend, the screen is
blanked and remains blank no matter what you do.

> b) before the mainloop() call.

Interesting... doesn't work as it should, but does something different.
It *MAJORLY* messes up keyboard handling.  Returning from a suspend
doesn't clear the screen as before, but leaves up the command line and
such.  When you type a command key, the key is displayed and requires a
return for confirmation at which time both the key AND the following
return are acted upon.  Hitting ^L will display "^L" on the screen.
Hitting return immediately afterward will refresh the screen and select
the current link.  Hmm...  the signal handling for SIGTSTP appears to be a
likely candidate. :)

   +------------------------------------+-------------------------------+
   | Hiram W. Lester, Jr.               | E-Mail: address@hidden    |
   | Computer Science                   | Home page:                    |
   | Middle Tennessee State University  |   http://pobox.com/~hwlester/ |
   +------------------------------------+-------------------------------+

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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