lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] loading incorrect webpage


From: jindam, vani
Subject: Re: [Lynx-dev] loading incorrect webpage
Date: Tue, 15 Nov 2022 17:22:12 +0000

On Mon, Nov 14, 2022 at 05:28:13PM +0000, jindam, vani via Lynx-dev wrote:
> i am using "hlynx"  f.exec "xterm -geometry 110x45 -e lynx 
> https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak&action=history
>  &" 
> on my .twmrc (twm window manager). 

> when i click hlynx on twm menu:

> actual result:
> https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak
> 
> expected result:
> https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak&action=history

> This is a twm/shell issue, not a Lynx issue.  I presume that twm is calling
> a shell to execute the command, and the shell is interpreting the '&' in the
> URL as a metacharacter.  You need to look at how to quote the '&' properly
> in the twm configuration (might be as simple as putting a \ before it).

> imc

i have tried following, none of them worked:

https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DUser%3AJindam_vani%2Fzandbak%26action%3Dhistory

https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak\&action=history

https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak%26action=history

however, simple solution given at unix.stackexchange (1) 
works correctly:

"hlynx"  f.exec "xterm -geometry 110x45 -e lynx 
'https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak&action=history'
 &

probably meaningless, but urlencode was also giving 
incorrect results for:
$ urlencode 
https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak&action=history

but it shows correct result:
$ urlencode 
'https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak&action=history'

(1) 
https://unix.stackexchange.com/questions/563/using-urls-with-parenthesis-with-lynx

regards,
jindam, vani

toots: @jindam_vani@c.im
others: en.wikipedia.org/wiki/User:Jindam_vani



reply via email to

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