WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Netsurf  (Read 11558 times)

Offline daniel l.

  • Newbie
  • *
  • Posts: 17
Netsurf
« on: January 16, 2019, 11:13:05 PM »
It's a lightweight browser. More modern and capable than Links or Dillo, but still extremely light. It doesn't play video, but unlike most, it does get the general formatting for simpler websites correct.

It also has a framebuffer version, netsurf-fb, that runs entirely without X. Which makes it perfect for kiosks or console junkies.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Netsurf
« Reply #1 on: January 16, 2019, 11:27:01 PM »
Hi daniel l.
You should also mention which architecture you are looking for. X86, X86_64, or ARM.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: Netsurf
« Reply #2 on: January 16, 2019, 11:54:15 PM »
By the way, Netsurf browser was already available in TC 3.x repo   by Jason W , if IIRC !

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Netsurf
« Reply #3 on: January 17, 2019, 03:02:44 AM »
netsurf posted to tc-9.x x86 repo

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 392
Re: Netsurf
« Reply #4 on: October 22, 2019, 01:31:17 PM »
There's an error in TC10 and  TC 9 I believe.

In netsurf-gtk when I want to go to http://tinycorelinux.net
I get "BadEncoding" error.

Netsurf don't work with some sites with iso-859-1, iso-2022-jp, windows-1250, windows-1252 encoding. For example http://tinycorelinux.net use iso-859-1 encoding.
Test page:
www.mountainminds.com/tools/paramencodingtest/page/iso-8859-2

Acording to this site:
bugs.netsurf-browser.org/mantis/view.php?id=2111
It has something to do with libiconv. The solution is to set
NETSURF_USE_LIBICONV_PLUG := NO
before compilation and use external libiconv like this
https://ftp.gnu.org/gnu/libiconv/libiconv-1.16.tar.gz

I also wonder that this browser support video playback and export pages  to PDF file. There is also javascript support but it's unstable and disable by default.
« Last Edit: October 22, 2019, 01:38:31 PM by neonix »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Netsurf
« Reply #5 on: October 23, 2019, 02:32:10 AM »
I've just tried netsurf on tc-10.x x86 with the locale left as the tinycore default of "C" and do not see any errors at all when navigating to forum.tinycorelinux.net or the test case you gave.

Which locale are you using?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Netsurf
« Reply #6 on: October 23, 2019, 03:15:07 AM »
You may need to install glibc_gconv.
The only barriers that can stop you are the ones you create yourself.

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 392
Re: Netsurf
« Reply #7 on: October 24, 2019, 05:41:34 AM »
You may need to install glibc_gconv.
glib_gconv.tcz solved the problem, but there is another.
When I go to http://forum.tinycorelinux.net the browser crush and I get:
Code: [Select]
(netsurf-gtk:6303): Gtk-WARNING **: 11:18:36.099: Could not find the icon 'gtk-dialog-warning'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
netsurf-gtk: Fatal IO error 0 (Success) on X server :0.0.

after installing hicolor-icon-theme.tcz the browser crush and I get:
Code: [Select]
tc@box:~$ netsurf-gtk
netsurf-gtk: Fatal IO error 0 (Success) on X server :0.0.
I'm using Xfbdev.
« Last Edit: October 24, 2019, 05:44:40 AM by neonix »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Netsurf
« Reply #8 on: October 24, 2019, 08:21:31 AM »
What happens when you use Xorg-7.7?

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 392
Re: Netsurf
« Reply #9 on: October 24, 2019, 08:57:25 AM »
What happens when you use Xorg-7.7?
In Xorg-7.7, it works without a problem, but still glib_gconv.tcz is missing in netsurf.tcz.dep file.
In Xvesa and Xfbdev it shows "Fatal IO error 0 (Success) on X server :0.0." error.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Netsurf
« Reply #10 on: October 24, 2019, 09:21:22 AM »
Hi neonix
What happens when you use Xorg-7.7?
In Xorg-7.7, it works without a problem, but still glib_gconv.tcz is missing in netsurf.tcz.dep file.
In Xvesa and Xfbdev it shows "Fatal IO error 0 (Success) on X server :0.0." error.

Interesting, a success code is returned and it results in a fatal error.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: Netsurf
« Reply #11 on: May 04, 2021, 03:26:38 PM »
The main advantage versus dillo 3.1 (which has https) is that netsurf has javascript feature ondemand, from menu.
Is any developer interested to build a FLTK (or GTK1)version for netsurf 3.10, for x86 architecture?

TC has netsurf 3.9 with gtk2, and netsurf 3.10 with gtk3, but recently I found that netsurf could have other interfaces:
https://git.netsurf-browser.org/netsurf.git/log/?h=vince/fltk

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Netsurf
« Reply #12 on: May 05, 2021, 03:53:13 AM »
Hi, nick65go!

Good news, indeed! netsurf-fltk might be the dream-browser. It appears, that not only bad news exist in our twisted universe :) Why didn;t You tried it? Jason W build instructions are fine. Long live fltk!

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: Netsurf
« Reply #13 on: May 05, 2021, 05:21:58 AM »
Hi jazzbiker!
I am still slave/employed/busy. Not in the mood for compiling (pareto 80% eficiency with 20% effort). My goal is for a small + secure/izolated linux environment, such as qemu + virtual machines, or chroot in AlpineLinux (musl), with a small/secured browser for banking transactions only. So just https + javascripts, few graphic capabilites, but minimal dependencies (to reduce attack surfaces) and minimal total RAM demands (to run nomadic from USB) on most PC.

The near best suitable for netsurf is badwolf browser. But then we go for webkit, then monster ICU (language) library dependency etc.
PS: I try to avoid "two authentification factors" on cellphone appls, as is becoming a single point of failure (broken /stolen mobile, bloat apps 100+ MB?, tracking between institutions, all the usual shit).
« Last Edit: May 05, 2021, 05:31:58 AM by nick65go »

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: Netsurf
« Reply #14 on: May 05, 2021, 03:41:24 PM »
from TC12_x86:
Code: [Select]
tc@box:/tmp/tcloop/netsurf/usr/local/bin$ ldd ./netsurf-gtk
        statically linked
tc@box:/tmp/tcloop/netsurf/usr/local/bin$ ls -al *
-rwxr-xr-x    1 tc       staff      2248504 Feb 17  2020 netsurf-gtk
tc@box:/tmp/tcloop/netsurf/usr/local/bin$ cd /tmp/tcloop/netsurf-gtk3/usr/local/bin/
tc@box:/tmp/tcloop/netsurf-gtk3/usr/local/bin$ ls -al *
-rwxr-xr-x    1 root     root       4234668 Apr 13 17:41 netsurf-gtk3
tc@box:/tmp/tcloop/netsurf-gtk3/usr/local/bin$
Wow, so netsurf-gtk (gtk2) is statistically linked (no dependency) at 2.2MB, but dynamically linked netsurf-gtk3 is 4.2MB and also it drags a lot of dependencies?
Moreover, installing only netsurf-gtk3 will start with empty/bad window; only after i installed also netsurf (gtk2) and started/stoped it, then netsuft-gtk3 runs OK. So missing a dependency (maybe glibc_gconv, as I saw the loading order in control-panel/filesystem)
Code: [Select]
/dev/loop119              2.1M      2.1M         0 100% /tmp/tcloop/netsurf-gtk3
/dev/loop120              1.3M      1.3M         0 100% /tmp/tcloop/gcc_libs
/dev/loop121            128.0K    128.0K         0 100% /tmp/tcloop/gamin
/dev/loop122             92.0K     92.0K         0 100% /tmp/tcloop/dbus-glib
/dev/loop123            404.0K    404.0K         0 100% /tmp/tcloop/libasound
/dev/loop124             69.1M     69.1M         0 100% /tmp/tcloop/firefox85
/dev/loop125              3.0M      3.0M         0 100% /tmp/tcloop/glibc_gconv
/dev/loop126              2.3M      2.3M         0 100% /tmp/tcloop/gtk2
/dev/loop127              2.5M      2.5M         0 100% /tmp/tcloop/netsurf
« Last Edit: May 05, 2021, 03:45:31 PM by nick65go »