Re: [Lynx-dev] "invalid cookie path", Re: redirection loop
Thomas Dickey wrote: > On Tue, Oct 23, 2018 at 01:59:39AM -0700, Bela Lubkin wrote: > > RFC 6265 obsoleted RFC 2965 in 2011; it says: > > sure - that's > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820485 > > If you have time to work on this, I'll review/etc a patch. > Otherwise, I'll eventually get around to it. Debbug 820485 is actually about other differences between Lynx behavior and RFC 6265 (i.e.: whether cookies are indexed by host port or not -- 6265 says not). It would potentially be reasonable to *act* on the bug report as if it broadly said 'Lynx is not RFC 6265 compatible', and fix everything that could be found. I don't intend to work on any aspect of it. >Bela< ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
russell bell wrote: > Yeah, what? Your symptoms sound potentially like what happens when one output layer believes that the TAB character overwrites the columns it passes over with spaces, while the actual output hardware just moves the cursor. Try: (1) note current 'tab' setting: $ stty -a | grep tab[0-9] (2) test with `stty tab0; lynx -whatever-reproduces-it` (3) test with `stty tab3; lynx -whatever-reproduces-it` If those differ, the problem might relate to tabs. (Another possibly useful way to test is to run under GNU `screen` and see if the behavior goes away.) Linux termios(3) says (and any other POSIX OS should agree): " c_oflag flag constants defined in POSIX.1: " ... " " TABDLY Horizontal tab delay mask. Values are TAB0, TAB1, TAB2, " TAB3 (or XTABS). A value of TAB3, that is, XTABS, expands tabs " to spaces (with tab stops every eight columns). You can also have similar problems if your terminal has been programmed to unexpected tab stops. This is a tab stop fixing script I wrote a few years ago which lives in my path as ~/bin/vt100; requires any shell with "echo -e" and "let", i.e. bash / ksh / zsh, but not dash or true Bourne shell: #!/bin/bash # # "vt100" -- correct messed up tab stops on VT100 / ANSI terminals # row_of() { col=1 while [ $col -le $columns ]; do echo -e "$1\c" let col+=8 done echo -e "$CR" } columns=${1:-${COLUMNS:-$(stty -a Bela< ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] Links do not work
Riku Virtanen wrote: > Hi, > > now I noticed whole error: > > Alert: unable to create secure connection to remote host. > > Have I, i.e. compiled Lynx with wrong settings etc? In a terminal, are you able to enter the command lynx -version and post the output here? > On Sun, 28 Oct 2018, Larry Hynes wrote: > > > Hi > > > > Riku Virtanen wrote: > >> After last summer I have met many links which do not work. > > > > Can you describe, in detail please, what "do not work" means? Do > > you get any error messages? (If so, what are they?) > > > >> For instance, www.markkinaoikeus.fi and www.mikrobitti.fi/. > > > > Both of these links work for me, using lynx 2.8.9rel.1: I can open > > the links, and the pages are displayed. Is there something that you > > are trying to do on these pages that you cannot do? (If so, what > > is it?) > > > >> Is any setting wrongly in my Lynx? > >> > >> I use 2.8.9rel.1. > > > > What is the output of the > > > > lynx -version > > > > command? > > ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] Links do not work
Hi, The output is Lynx Version 2.8.9rel.1 (08 Jul 2018) libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.0.0k-fips, ncurses 5.9.20130511(wide) Built on linux-gnu (Jul 11 2018 15:43:26). Riku On Mon, 29 Oct 2018, Larry Hynes wrote: Riku Virtanen wrote: Hi, now I noticed whole error: Alert: unable to create secure connection to remote host. Have I, i.e. compiled Lynx with wrong settings etc? In a terminal, are you able to enter the command lynx -version and post the output here? On Sun, 28 Oct 2018, Larry Hynes wrote: Hi Riku Virtanen wrote: After last summer I have met many links which do not work. Can you describe, in detail please, what "do not work" means? Do you get any error messages? (If so, what are they?) For instance, www.markkinaoikeus.fi and www.mikrobitti.fi/. Both of these links work for me, using lynx 2.8.9rel.1: I can open the links, and the pages are displayed. Is there something that you are trying to do on these pages that you cannot do? (If so, what is it?) Is any setting wrongly in my Lynx? I use 2.8.9rel.1. What is the output of the lynx -version command? ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
[Lynx-dev] What blanks the blank spaces at the beginning of a line?
Quoth Thomas Dickey, 'Lynx puts blanks at the beginning of each line (except headers, etc) as part of its built-in style.' I don't know how to correlate that with code. Is it in LYStyle.c? Quoth Thomas Dickey, 'if your terminal description is inconsistent with the terminal' That isn't my case. Quoth Thomas Dickey, 'if the problem appears in some distribution (versus a self-built kernel),' I've built my kernels for 20 years. No other app has the problem. I built all the test apps in the ncurses development package: they work. Quoth Bela Lubkin, 'Your symptoms sound potentially like what happens when one output layer believes that the TAB character overwrites the columns it passes over with spaces, while the actual output hardware just moves the cursor' Thanks. None of the stuff you suggested made a difference. I think lynx doesn't use TABs, does it? HTML treats TABs as single SPACEs, right? If so, a browser asserting one would be un-HTML. russell bell ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] Links do not work
Riku Virtanen wrote: > The output is > > Lynx Version 2.8.9rel.1 (08 Jul 2018) > libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.0.0k-fips, ncurses 5.9.20130511(wide) > Built on linux-gnu (Jul 11 2018 15:43:26). Thank you. My lynx shows: Lynx Version 2.8.9rel.1 (08 Jul 2018) libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.0.2p, ncurses 5.7.20081102 So it seems I have a slightly newer version openssl than you. You could try compiling lynx against a newer version of openssl. If openssl is installed by your linux distribution's package manager, you could check and see if there is a newer version available, and recompile lynx. Otherwise, I imagine that you would have to download and compile openssh, and point lynx to that during lynx compilation. (The only other thing that I can think of is that your certificate bundle is out of date, but I think I would start by trying to update openssl.) > On Mon, 29 Oct 2018, Larry Hynes wrote: > > > Riku Virtanen wrote: > >> Hi, > >> > >> now I noticed whole error: > >> > >> Alert: unable to create secure connection to remote host. > >> > >> Have I, i.e. compiled Lynx with wrong settings etc? > > > > In a terminal, are you able to enter the command > > > > lynx -version > > > > and post the output here? > > > >> On Sun, 28 Oct 2018, Larry Hynes wrote: > >> > >>> Hi > >>> > >>> Riku Virtanen wrote: > After last summer I have met many links which do not work. > >>> > >>> Can you describe, in detail please, what "do not work" means? Do > >>> you get any error messages? (If so, what are they?) > >>> > For instance, www.markkinaoikeus.fi and www.mikrobitti.fi/. > >>> > >>> Both of these links work for me, using lynx 2.8.9rel.1: I can open > >>> the links, and the pages are displayed. Is there something that you > >>> are trying to do on these pages that you cannot do? (If so, what > >>> is it?) > >>> > Is any setting wrongly in my Lynx? > > I use 2.8.9rel.1. > >>> > >>> What is the output of the > >>> > >>> lynx -version > >>> > >>> command? > >>> > > > > > > ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
>> Your symptoms sound potentially like what happens when one output >> layer believes that the TAB character overwrites the columns it >> passes over with spaces, while the actual output hardware just moves >> the cursor' > [...] I think lynx doesn't use TABs, does it? Not in its own right, perhaps. But the underlying cursor-update code (libcurses or whatever it's built with) may well use tabs in order to reduce characters sent to the terminal. (This is a historical relic in many respects, but it still does matter in some cases.) > HTML treats TABs as single SPACEs, right? If so, a browser asserting > one would be un-HTML. You're confusing tabs on _input_ to lynx, from HTML, with tabs on _output_ from lynx, generated by the screen update code. What the outlined problem actually sounds like to me is screen update code that doesn't realize that spaces can have visible attributes. This is a reasonable assumption when attributes are things like "bold" or "italic"; it is not for attributes like "reverse video" or "yellow on blue". This sounds to me like some code thinking that a character cell doesn't need to be updated because it has a space in it and the new character is a space, without noticing that they have visibly different attributes. Unfortunately, if this is what's going on, the relevant code is probably not in lynx, instead being in the underlying screen-update library, and thus not under lynx's control. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] Links do not work
2018/10/29 03:23 ... Riku Virtanen: now I noticed whole error: Alert: unable to create secure connection to remote host. Have I, i.e. compiled Lynx with wrong settings etc? Are your certificates up to date? ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] What blanks the blank spaces at the beginning of a line?
2018/10/28 06:41 ... Thomas Dickey: Lynx puts blanks at the beginning of each line (except headers, etc) as part of its built-in style. And I was glad when you implemented "NO_MARGINS"-"-nomargins". To me it always seemed backwards that the bulk of the text was indented and the headers were not--no indenting at all seems better than that. ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] Links do not work
if it is the certificates you will get SSL error:unable to get local issuer certificate-Continue? (y) this error indicates that lynx is not compiled with ssl/tls --Stef On Mon, Oct 29, 2018 at 4:04 PM Halaasz Saandor wrote: > > 2018/10/29 03:23 ... Riku Virtanen: > > now I noticed whole error: > > > > Alert: unable to create secure connection to remote host. > > > > Have I, i.e. compiled Lynx with wrong settings etc? > > Are your certificates up to date? > > ___ > Lynx-dev mailing list > Lynx-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lynx-dev ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] "invalid cookie path", Re: redirection loop
I was told the only machines google cookies will work on and the only machines google is interested in are windows machines. We do have power users running lynx on windows, but I suspect for those of us using Mac's and Linux those are just best disabled. On Mon, 29 Oct 2018, Bela Lubkin wrote: > Date: Mon, 29 Oct 2018 03:37:07 > From: Bela Lubkin > To: lynx-dev@nongnu.org > Subject: Re: [Lynx-dev] "invalid cookie path", Re: redirection loop > > Thomas Dickey wrote: > > > On Tue, Oct 23, 2018 at 01:59:39AM -0700, Bela Lubkin wrote: > > > RFC 6265 obsoleted RFC 2965 in 2011; it says: > > > > sure - that's > > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820485 > > > > If you have time to work on this, I'll review/etc a patch. > > Otherwise, I'll eventually get around to it. > > Debbug 820485 is actually about other differences between Lynx behavior > and RFC 6265 (i.e.: whether cookies are indexed by host port or not -- > 6265 says not). It would potentially be reasonable to *act* on the bug > report as if it broadly said 'Lynx is not RFC 6265 compatible', and fix > everything that could be found. > > I don't intend to work on any aspect of it. > > >Bela< > > ___ > Lynx-dev mailing list > Lynx-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lynx-dev > -- ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] "invalid cookie path", Re: redirection loop
I must not be understanding this problem, because I reach google several times a day without meeting this error. granted I am using a Linux shell, but my google cookies still work. Karen On Mon, 29 Oct 2018, Jude DaShiell wrote: I was told the only machines google cookies will work on and the only machines google is interested in are windows machines. We do have power users running lynx on windows, but I suspect for those of us using Mac's and Linux those are just best disabled. On Mon, 29 Oct 2018, Bela Lubkin wrote: Date: Mon, 29 Oct 2018 03:37:07 From: Bela Lubkin To: lynx-dev@nongnu.org Subject: Re: [Lynx-dev] "invalid cookie path", Re: redirection loop Thomas Dickey wrote: On Tue, Oct 23, 2018 at 01:59:39AM -0700, Bela Lubkin wrote: RFC 6265 obsoleted RFC 2965 in 2011; it says: sure - that's https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820485 If you have time to work on this, I'll review/etc a patch. Otherwise, I'll eventually get around to it. Debbug 820485 is actually about other differences between Lynx behavior and RFC 6265 (i.e.: whether cookies are indexed by host port or not -- 6265 says not). It would potentially be reasonable to *act* on the bug report as if it broadly said 'Lynx is not RFC 6265 compatible', and fix everything that could be found. I don't intend to work on any aspect of it. Bela< ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev -- ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev
Re: [Lynx-dev] "invalid cookie path", Re: redirection loop
Jude DaShiell wrote: > I was told the only machines google cookies will work on and the only > machines google is interested in are windows machines. We do have power > users running lynx on windows, but I suspect for those of us using Mac's > and Linux those are just best disabled. Whoever told you that actually meant 'I know about nothing in the world except Windows; nothing else exists, and since I don't know about it, nobody else does.' It's 100.00% pure rubbish. >Bela< ___ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev