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

Line Mode Browser OpenSSL #11

Open
Lucas-mother3 opened this issue Apr 11, 2022 · 13 comments
Open

Line Mode Browser OpenSSL #11

Lucas-mother3 opened this issue Apr 11, 2022 · 13 comments

Comments

@Lucas-mother3
Copy link

Hello but yeah, like I said I couldn't access Google on Line Mode Browser. I have libwww with openssl installed. Any fix?

@jkbzh
Copy link
Contributor

jkbzh commented Apr 11, 2022

Sorry libwww is unmaintained since some years ago. No one has proposed to take over. I'd advise to try out curl or libhttp, according to your needs.

@Lucas-mother3
Copy link
Author

Lucas-mother3 commented Apr 11, 2022

Sorry libwww is unmaintained since some years ago. No one has proposed to take over. I'd advise to try out curl or libhttp, according to your needs.

I understand that this software is unmaintained few years ago but i was curious about the second web browser that ever existed. I wanted to try it for myself and i want to view https websites. The Line Mode Browser 2013 project is down, so I went to this rabbit hole of unmaintained software and some patches with side of hibbie jibbie along the way. Can I at least give me an idea of how to get openssl working on Line Mode Browser and access Google?

@ericprud
Copy link
Member

That could involve some engineering; could you set up an HTTP server to test drive LineMode?
That said, it's C and so is openssl so it's doable, with some effort.

@Lucas-mother3
Copy link
Author

That could involve some engineering; could you set up an HTTP server to test drive LineMode? That said, it's C and so is openssl so it's doable, with some effort.

What do you mean about hosting stuff tho? How should I do it in simpler terms?

@ericprud
Copy link
Member

I'm not sure what your objective is, but if it's to try browsing a bit with LineMode, you could set up an HTTP server with some random content. It's not the same as using it LineMode anger in your daily life, but it would at least give a feel for the UX.

@Lucas-mother3
Copy link
Author

Lucas-mother3 commented Apr 12, 2022

I'm not sure what your objective is, but if it's to try browsing a bit with LineMode, you could set up an HTTP server with some random content. It's not the same as using it LineMode anger in your daily life, but it would at least give a feel for the UX.

I tried browsing the W3M website, that was only the thing I browsed (i dunno about http without TLS/SSL in this day and age). And yeah, unlike Links or Lynx, I might have a learning curve but I understand the UX pretty well. My objective is to access Google, Wikipedia and my text version of my site (they all have TLS/SSL).

@ericprud
Copy link
Member

I haven't touched libwww since Feb 97, but if I were as motivated as you seem to be, I'd set up a little HTTP server, run LineMode in a debugger, and set some break points around HTBrowse. That might be a good way to start untangling how to add SSL support so you can interact with an HTTPS server.

@Lucas-mother3
Copy link
Author

I haven't touched libwww since Feb 97, but if I were as motivated as you seem to be, I'd set up a little HTTP server, run LineMode in a debugger, and set some break points around HTBrowse. That might be a good way to start untangling how to add SSL support so you can interact with an HTTPS server.

I understand but can you please clarify with that one. Like the necessary commands and stuff

@Lucas-mother3
Copy link
Author

Actually I built libwww with OpenSSL with patches to work on modern systems.

The patch for OpenSSL 1.1 compatibility was in http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/libwww/patches/patch-Library_src_SSL_HTSSL.c?hideattic=0

The patch to detect OpenSSL: http://ix.io/3UP5

@Lucas-mother3
Copy link
Author

So yeah after building libwww with OpenSSL, i tried Line Mode Browser and Google doesn't work. I dunno about how to debug it or something, heck I didn't know that much C language.

@Lucas-mother3
Copy link
Author

@ericprud so i tried running www -v http://google.com and what i found was in this log:
log.txt

@Lucas-mother3
Copy link
Author

Lucas-mother3 commented Apr 17, 2022

So I dug around the source and found HTBrowse.c, and since I dunno much about C except for patching suckless utilities, I couldn't do much, unless if there's a way to implement HTTPS on the main Line Mode Browser module.

@Lucas-mother3 Lucas-mother3 reopened this Apr 17, 2022
@Lucas-mother3 Lucas-mother3 changed the title Line Mode Browser doesn't open Google Line Mode Browser OpenSSL Apr 18, 2022
@Lucas-mother3
Copy link
Author

@ericprud @jkbzh so i tried tilde.club and it worked fine since it was HTTP.

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

3 participants