NCSA Mosaic

For any kind of software.
Post Reply
User avatar
UndeTerminated
Posts: 83
Joined: Mon Dec 30, 2024 12:18 pm

NCSA Mosaic

Post by UndeTerminated »

So the story begins few hours ago when I was looking for tiles to set them up as wallpaper (more fun than real life) and I came across this website: https://www.dvd3000.ca/tek/. I found there instruction how to compile hacked version of NCSA Mosaic web browser - here. It did not look complicated for n00b like me so I gave a try. Instruction is pretty easy, so I will leave my comments:
(1) unzip is needed only to unzip source files (if you will use git to download source, you will not need it),
(2) pkg_add gcc installs egcc (duh), so copying it is really needed (or just make symbolic link),
(3) this version is for OpenBSD, it compiles on 7.6 with newest motif and gcc BUT there is one thing - some variables are duplicated, linker will complain and moan, so adding "static" on problematic lines solves an issue (I am not able to attach affected files to post, but this is easy thing to correct).

Original source is here.

Mosaic supports: HTML (rather no more than version 1), Gopher and nntp (have not checked). No support for TLS. If website does not allow for downgrading to http then you will see HTTP 301 and the story ends.

What you can really do with this browser?

Of course HTML is screwed up, so you can surf only very specific websites like:
openbsd.org (I hope that someone in team will be laughing as fuck when they will see User Agent)
drevonor.com
hat.net
my SearXNG instance (in LAN, buttons do not work though)
triapul.cz
netbsd.org
frogfind.com
fsck.life (buttons do not work)
archie.serialport.org (search button does not show up)
browser.flanigan.us (you will find there more rusted web browsers)

To make it more usable you might want to setup magic proxy like wrp or webone.

As for gopher I just tested triapul.cz and my own gopherhole and they work flawlessly (no one could expect).

But I run MacOS/Linux!
No worries, here you will find binaries and sources.

But I run HP/UX, DEC Ultrix, SGI Irix or other oxidized relic!
No worries, download original source from here: gopher://gopher.quux.org/1/Software/Web/Mosaic/Unix and build it!

Proof of working
2025-04-14-124619_1920x1073_scrot.png
2025-04-14-124619_1920x1073_scrot.png (59.41 KiB) Viewed 3054 times
Also known as StoickiDoomer - gopher://tilde.institute:70/1/~stoickidoomer/
There is always just one more thing.
Image
User avatar
tekk
Posts: 127
Joined: Fri Apr 19, 2024 5:17 pm

Re: NCSA Mosaic

Post by tekk »

I'm actually astounded that it didn't compile with the stock C compiler. Nice work, though!
User avatar
matto
Posts: 28
Joined: Fri Apr 19, 2024 2:49 pm

Re: NCSA Mosaic

Post by matto »

Wonderful!

Great story, and congrats on getting it running :)
User avatar
zero cool
Site Admin
Posts: 307
Joined: Fri Apr 19, 2024 9:40 am
Location: The sea of meatballs
Gopher: gopher.deadnet.se
IRC: zero_cool @ irc.libera.chat
Jabber: zerocool@5222.de
Contact:

Re: NCSA Mosaic

Post by zero cool »

Oh that's slick! Nicely done! :D
Everything is a smoke machine if you operate it wrong enough.
Main site
deadnet.se
User avatar
UndeTerminated
Posts: 83
Joined: Mon Dec 30, 2024 12:18 pm

Re: NCSA Mosaic

Post by UndeTerminated »

tekk wrote: Mon Apr 14, 2025 1:58 pm I'm actually astounded that it didn't compile with the stock C compiler. Nice work, though!
Ackchually I made quick test and built it against Clang instead of GCC and just works (TM). One dependency less.
Also known as StoickiDoomer - gopher://tilde.institute:70/1/~stoickidoomer/
There is always just one more thing.
Image
User avatar
UndeTerminated
Posts: 83
Joined: Mon Dec 30, 2024 12:18 pm

Re: NCSA Mosaic

Post by UndeTerminated »

Just hoping that someone else will find that interesting and try it on their own, especially as an idea for OCC. IMO it is good choice as Gopher GUI browser for OpenBSD (I know about Lagrange, but this one more corresponds to olden times).
Also known as StoickiDoomer - gopher://tilde.institute:70/1/~stoickidoomer/
There is always just one more thing.
Image
Post Reply