lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] lynx updates


From: dan d.
Subject: Re: [Lynx-dev] lynx updates
Date: Mon, 15 Oct 2018 09:14:38 -0400 (EDT)
User-agent: Alpine 2.21 (OSX 202 2017-01-01)


Thank you for the effort.

How does one apply a patch to an existing port?


On Mon, 15 Oct 2018, Chuck Martin wrote:

> I somehow accidentally deleted the original message I'm replying to,
> and have manually copied it from the archive at lists.nongnu.org.
> I've also copied the message-id into my headers, so hopefully it
> will thread properly.
>
> On Thu, Sep 20, 2018 at 04:07:13AM -0400, dan d. wrote:
> > With the new version a minor change was introduced with the = intro current
> > document page in lynx.  Here is an example:
> >
> > Linkname:World - The New York Times
> >      URL:https://www.nytimes.com/section/world
> >
> > There is no longer a space following the :.
> >
> > This makes it cumbersom for a copy and paste of the info because the name
> > and/or url are not isolated from the label. as before.
> >
> > Using a screen reader one must start at the left and then character by
> > character move past the : to start the copy.
> > I make use of the info page frequently when making reference to a page for
> > someone's attention.
>
> I've just installed the newest stable version and found the same issue,
> so I looked into it.  Here is a patch that will fix the problem:
>
> ===================================================================================
> --- lynx2.8.9rel.1.orig/src/LYShowInfo.c        2018-05-11 16:43:26.000000000 
> -0400
> +++ lynx2.8.9rel.1/src/LYShowInfo.c     2018-10-15 00:40:16.127178358 -0400
> @@ -87,9 +87,9 @@
>      while (need++ < label_columns)
>         fprintf(fp, "&nbsp;");
>      if (LYwideLines && allow_wide)
> -       fprintf(fp, "<em>%s</em><pre>%s</pre>\n", the_label, the_value);
> +       fprintf(fp, "<em>%s</em> <pre>%s</pre>\n", the_label, the_value);
>      else
> -       fprintf(fp, "<em>%s</em>%s\n", the_label, the_value);
> +       fprintf(fp, "<em>%s</em> %s\n", the_label, the_value);
>
>      FREE(the_label);
>      FREE(the_value);
> ===================================================================================
>
>

-- 
XB
m



reply via email to

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