Skip to content

[cmds] Add Bobcat web browser as external application#2595

Merged
ghaerr merged 1 commit intoghaerr:masterfrom
rafael2k:bobcat-extapp
Jan 22, 2026
Merged

[cmds] Add Bobcat web browser as external application#2595
ghaerr merged 1 commit intoghaerr:masterfrom
rafael2k:bobcat-extapp

Conversation

@rafael2k
Copy link
Copy Markdown
Contributor

Add support for building Bobcat (a Lynx fork) text-mode web browser as external application using OpenWatcom C compiler.

Source repository: https://github.com/rafael2k/bobcat

Comment thread elkscmd/ExtApplications Outdated
@rafael2k
Copy link
Copy Markdown
Contributor Author

Btw, I'm fixing the links navigation, so we'll have a pretty working WWW browser.
image

@ghaerr
Copy link
Copy Markdown
Owner

ghaerr commented Jan 21, 2026

I'm fixing the links navigation, so we'll have a pretty working WWW browser.

Nice! Can't wait to try it! :)

@rafael2k rafael2k force-pushed the bobcat-extapp branch 2 times, most recently from cb1129c to 50c357b Compare January 21, 2026 23:42
@ghaerr
Copy link
Copy Markdown
Owner

ghaerr commented Jan 22, 2026

@rafael2k, I can commit this after the branch conflict is resolved, thanks.

@rafael2k rafael2k force-pushed the bobcat-extapp branch 5 times, most recently from 8f1111a to b303cb7 Compare January 22, 2026 01:11
Add support for building Bobcat (a Lynx fork) text-mode web browser
as external application using OpenWatcom C compiler.

Install bobcat lynx.cfg to /etc

Source repository: https://github.com/rafael2k/bobcat
@rafael2k
Copy link
Copy Markdown
Contributor Author

rafael2k commented Jan 22, 2026

I tried to fix the navigation artifacts, but I'm not there yet. Nevertheless, networking works and simple sites render fine. It is possible to access the links, just the rendering of the highlighted text of the link gets to the wrong coordinates...
: /

@ghaerr ghaerr merged commit 144eaf5 into ghaerr:master Jan 22, 2026
@ghaerr
Copy link
Copy Markdown
Owner

ghaerr commented Jan 22, 2026

Glad you made it through the git mountain!! :)

I tryed to fix the navigation artifacts, but I'm not there yet.

That's ok, the good news is that bobcat will now automatically update on ELKS after commits to your bobcat repo. I'll follow it so I can see what you're doing.

@ghaerr
Copy link
Copy Markdown
Owner

ghaerr commented Jan 22, 2026

just the rendering of the highlighted text of the link gets to the wrong coordinates...

Actually, bobcat seems more unusable than before... just moving the arrow keys or trying to access google.com does not work:
Screenshot 2026-01-21 at 6 32 54 PM

@rafael2k
Copy link
Copy Markdown
Contributor Author

OK, yesterday I tried some stuff, did not work. Later today after work I'll revert all the mess I tried.

@ghaerr
Copy link
Copy Markdown
Owner

ghaerr commented Feb 9, 2026

Hello @rafael2k, can you please revert the previous cursor-fix changes to the bobcat repo? I would like to take a look and determine how suitable it is for the upcoming v0.9 distribution. The most recent changes render the application pretty much unusable.

@rafael2k
Copy link
Copy Markdown
Contributor Author

rafael2k commented Feb 9, 2026

Reverted. Indeed... I tried AI, but of no help... No training data of modern ELKS software (OWC, etc) for AI yet.

@rafael2k
Copy link
Copy Markdown
Contributor Author

rafael2k commented Feb 9, 2026

I have a feeling that if fixing bobcat turns out too painful, we might write a simple html browser from scratch.

@ghaerr
Copy link
Copy Markdown
Owner

ghaerr commented Feb 9, 2026

Thanks @rafael2k, I'll take another look at how it runs and comment back.

Since Bobcat does work on other systems, I would hope the issue is some kind of mixup with curses. However, if Bobcat depends on curses "windows", meaning auto-save of underlying screen contents while a rectangular area of the screen is replaced with new text, then that will require a much larger implementation of our tiny ELKS curses, which probably isn't going to get written very easily.

@ghaerr
Copy link
Copy Markdown
Owner

ghaerr commented Feb 9, 2026

@rafael2k, just tested bobcat again. It's better than it was, but does seem to scroll up a line possibly. But the bigger problem is that it almost always immediately runs out of heap, and then doesn't accept any keyboard input at all - until a ^C is typed, and the program exits.

Were you ever able to get it to display any web page? What URL actually works?

@rafael2k
Copy link
Copy Markdown
Contributor Author

I test with this one:
http://info.cern.ch/

If we had C++, we could work on https://github.com/jhhoward/MicroWeb

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

Successfully merging this pull request may close these issues.

2 participants