[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Wrapping line behavior
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] Wrapping line behavior |
Date: |
Wed, 18 Jan 2017 20:51:53 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jan 17, 2017 at 05:36:14AM -0800, address@hidden wrote:
> >> > I tried 2.8.8dev.10 with ncursesw just now, and then got result as same
> >> > as 2.8.8dev.9 (former expected result).
> >> > I confirmed this problem with slang on Ubuntu and PDCurses2.5 on Windows.
> >>
> >> I just tried with slang (and 2.8.8dev.10) and see the older behavior:
> >>
> >> Lynx Version 2.8.9dev.12 (24 Nov 2016)
> >> libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.0.1t, s-lang 2.2.4
> >> Built on linux-gnu (Jan 1 2017 21:35:11).
>
> Thanks, but I can't understand why your result differs to mine.
I'm puzzled.
Offhand -
Line-wrapping in lynx is either unconditional (on reaching the right margin),
or conditional (an optional feature for curses with "pad" support).
In src/LYCurses.h, we have this:
/*
* If we have pads, use them to implement left/right scrolling.
*/
#if defined(HAVE_NEWPAD) && defined(HAVE_PNOUTREFRESH) && !defined(PDCURSES)
#define USE_CURSES_PADS 1
#endif
so there's not much chance that the pdcurses implementation is using the
optional wrapping feature.
For the unconditional wrapping - I suppose it's possible that lynx is
confused about the width of the terminal. If it were only kterm (and
not also the Windows port), I'd check if you have disabled the auto-wrap
feature (which kterm, being based on xterm, I think would apply).
> I also use s-lang 2.2.4 and my configure script is below.
> ./configure --with-screen=slang
>
> By the way, I can see this problem with Windows' binary using PDCurses.
> I used following binary, and screen shot is attached.
> http://invisible-island.net/datafiles/release/lynx-cs-setup.exe
>
> With Windows' binary, I found a little bit different result, that is the long
> text with link is wrapped only when it is selected.
> Viewing WrapLineTest2.html and moving cursor, "some text" is vanished.
> This seems to happen only with Windows + PDCurses.
I'll check that on my Windows machine (thanks).
> --
> Takeshi Hataguchi
> E-mail: address@hidden
> <html>
> <head><title>Wrap Line Test</title></head>
> <body>
> <h1>Onside PRE</h1>
> <a href="/"
> >.........10........20........30........40.........50.......60........70........80........90........100.......110.......120.......130.......140.......150.......160.......170.......180.......190.......200</a>
> <br>some text
> <hr>
> <pre>
> <h1>Iutside PRE</h1>
> <a href="/"
> >.........10........20........30........40.........50.......60........70........80........90........100.......110.......120.......130.......140.......150.......160.......170.......180.......190.......200</a>
> some text
> </pre>
> <hr>
> <h1>IFRAME</h1>
> <iframe
> src="/........10........20........30........40.........50.......60........70........80........90........100.......110.......120.......130.......140.......150.......160.......170.......180.......190.......200"></iframe>
> some text
> </body>
> </html>
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature
- [Lynx-dev] Wrapping line behavior, patakuti, 2017/01/14
- Re: [Lynx-dev] Wrapping line behavior, Thorsten Glaser, 2017/01/15
- Re: [Lynx-dev] Wrapping line behavior, patakuti, 2017/01/15
- Re: [Lynx-dev] Wrapping line behavior, Thomas Dickey, 2017/01/15
- Re: [Lynx-dev] Wrapping line behavior, Thomas Dickey, 2017/01/16
- Re: [Lynx-dev] Wrapping line behavior, patakuti, 2017/01/17
- Re: [Lynx-dev] Wrapping line behavior,
Thomas Dickey <=
- Re: [Lynx-dev] Wrapping line behavior, patakuti, 2017/01/19
- Re: [Lynx-dev] Wrapping line behavior, X dej, 2017/01/19
- Re: [Lynx-dev] Wrapping line behavior, Hal.sz S.ndor, 2017/01/19
- Re: [Lynx-dev] Wrapping line behavior, Hal.sz S.ndor, 2017/01/19
- Message not available
- [Lynx-dev] Wrapping line behavior, X dej, 2017/01/20
- Re: [Lynx-dev] Wrapping line behavior, patakuti, 2017/01/20
- Re: [Lynx-dev] Wrapping line behavior, Hal.sz S.ndor, 2017/01/23
- Re: [Lynx-dev] Wrapping line behavior, Chuck Martin, 2017/01/21
- Re: [Lynx-dev] Wrapping line behavior, Thorsten Glaser, 2017/01/21
- Re: [Lynx-dev] Wrapping line behavior, Chuck Martin, 2017/01/22