lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV More on SIGINT for DOS


From: Lloyd G. Rasmussen
Subject: Re: LYNX-DEV More on SIGINT for DOS
Date: Fri, 30 Jan 98 11:19:14 EST

On Thu, 29 Jan 1998 17:38:22 -0800 (PST), 
Doug Kaufman   <address@hidden> wrote:

...
>> Since third party programs may require "break off"
>> it is generally better to restore unchanged value on exit
>> in any case.
>
>I agree.  After spending several hours on the problem, I gave up.  I
>can't figure out how to leave BREAK off after a SIGINT, using DJGPP and
>the PDCurses2.3 library.  It seemed that to do this a different signal
>handler would have to be used.  The libc info page warned that if that
>is done the memory for the signal handler would have to be protected
>against swapping.  Maybe someone who understands C, and the DJGPP libc
>functions better (or the PDCurses functions better) can write the patch.
>I think that I am at the limit of what I can do with the patch I
>submitted. Perhaps I am missing the section of code that controls
>exiting when CTL-C or CTL-BREAK is pressed.
>                                 Doug

People who have this problem could include Break On in the BAT file 
that starts Lynx, with Break Off after Lynx closes.  This should work, 
whether or not Lynx was stopped with a ctrl-C, unless the user hit it 
multiple times.

-- Lloyd Rasmussen
Senior Staff Engineer, Engineering Section
National Library Service for the  Blind and Physically Handicapped
Library of Congress          202-707-0535
(work)       address@hidden    http://www.loc.gov/nls/
(home) address@hidden http://home.sprynet.com/sprynet/lras/      

reply via email to

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