Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secret internal -cols limit #286

Open
jidanni opened this issue Nov 19, 2023 · 3 comments
Open

secret internal -cols limit #286

jidanni opened this issue Nov 19, 2023 · 3 comments

Comments

@jidanni
Copy link

jidanni commented Nov 19, 2023

https://branch.taipower.com.tw/d105/xcnotice?xsmsid=0M242581317628413301 has long lines in it.

One would think that w3m -dump -cols 999999 would avoid splitting any lines.

Alas, we run into w3m's secret undocumented internal limit, so columns still get split.

$ w3m -dump -cols 999999 $@|perl -nwle 'print length;'|sort -n|tail
1533
1533
...

At least lynx documents theirs,

-width=NUMBER
number of columns for formatting of dumps, default is 80. This
is limited by the number of columns that Lynx could display,
typically 1024 (the MAX_LINE symbol).

@rkta
Copy link
Contributor

rkta commented Nov 19, 2023 via email

@jidanni
Copy link
Author

jidanni commented Nov 20, 2023

Somebody knows what the limit is, could write a document patch. And in fact implement a way to work around it, that lynx also might have.

@rkta
Copy link
Contributor

rkta commented Nov 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants