lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] whichversion of lynx?


From: Thomas Dickey
Subject: Re: [Lynx-dev] whichversion of lynx?
Date: Thu, 05 Jun 2014 20:16:32 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jun 05, 2014 at 07:35:07PM -0400, Karen Lewellen wrote:
> Hi folks,
> Which vision of lynx is the first that includes the ability to
> possibly submit a script button with the following command?
> :SUBMIT
> when the option exists doing this on a script can present you with
> the submit link information and the chance to edit if needful.
> 
> I just tried it here at shellworld.  We have  2.8.8.dv16?
> forgive me if I did not type that properly.
> In any case I got a fatal error  with a signal eleven when core dumped.
> thanks,
> Kare

It breaks because it's not inside a form - see fix:

--- LYMainLoop.c        2013/11/28 11:20:34     1.230
+++ LYMainLoop.c        2014/06/06 00:13:03
@@ -1549,6 +1549,7 @@
        form = make;
     }
 
+    if (form != 0) {
     StrAllocCopy(save_submit_action, form->submit_action);
     form->submit_action = HTPrompt(EDIT_SUBMIT_URL, form->submit_action);
 
@@ -1564,6 +1565,7 @@
 
     StrAllocCopy(form->submit_action, save_submit_action);
     FREE(make);
+    }
 }
 
 static void handle_LYK_RESET(int cur, BOOLEAN *refresh_screen)

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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