lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Save to disk glitch followup.


From: Foteos Macrides
Subject: Re: LYNX-DEV Save to disk glitch followup.
Date: Wed, 30 Jul 1997 12:28:05 -0500 (EST)

Klaus Weide <address@hidden> wrote:
>On Wed, 30 Jul 1997, Kent Robotti wrote:
>
>> When i download something then save it to disk, the screen
>> goes black at the bottom for a instant at the end of the
>> save.
>> 
>> This is with lynx2-7-1 and the recent fotemods "7-27-97".
>> make linux-slang on linux
>> 
>> 
>> It seems to be this below from LYDownload.c that causes the glitch.
>> 
>>         fflush(stderr);
>>         fflush(stdout); 
>>     /*  stop_curses(); */   <---
>>      system(command);
>>         fflush(stdout);     
>>      fflush(stderr);
>>         start_curses();
>> #endif /* VMS */
>>      chmod(buffer, 0600);
>
>That stop_curses()/start_curses() around the system() maybe there for a
>good reason.  It may give you a better chance to see an error message,
>in case the COPY_PATH command fails.

        For the "save to disk" DOWNLOADER, the COPY_PATH can now be
passed (with the appropriate arguments) to LYexev(), which has
curses- or slang-based messaging about errors, as well as ability
to pass it an msg string for use in conjunction with that messaging.
But I'm not keen on using that instead of system() for scripts.

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; 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]