lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV bg - fg = ok


From: Bela Lubkin
Subject: Re: LYNX-DEV bg - fg = ok
Date: Thu, 27 Feb 1997 11:57:56 -0800

A simple patch makes it closer to reality.  Problems:

  1) I haven't found every place that can cause Lynx to be killed by a ^Z

  2) So you start a download, hit ^Z, put Lynx in the background (bg).
     It still tries to display output to the screen.  This will either
     cause it to be paused (if `stty tostop`); or it will garble screen
     output for whatever else you're running (if `stty -tostop`).

#2 is going to be difficult to solve.

>Bela<

*** HTTCP.c.orig        Thu Jan  9 15:38:42 1997
--- HTTCP.c     Thu Feb 27 11:54:23 1997
***************
*** 930,936 ****
        else
  #endif /* SOCKS */
          ret = select(FD_SETSIZE, (void *)&readfds, NULL, NULL, &timeout);
!         if (ret < 0) {
              return -1;
          } else if (ret > 0) {
              ready = 1;
--- 930,936 ----
        else
  #endif /* SOCKS */
          ret = select(FD_SETSIZE, (void *)&readfds, NULL, NULL, &timeout);
!         if ((ret < 0) && (errno != EINTR)) {
              return -1;
          } else if (ret > 0) {
              ready = 1;
;
; 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]