You are not logged in.

#151 2010-07-10 08:11:39

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

egan wrote:

The default keybindings are nice, and fairly complete already. There are a few changes and additions that would be great.
I suggest that the keys H and L serve as back and forward respectively, and that J and K serve as next, previous tab respectively. Of course, I have set this up in the jumanjirc, but I think those are good choices for default keybindings, since they are logical and on the home row. Also, ZZ as the default for quitall would be great.

Yes, those make sense (ZZ is already mapped).

egan wrote:

v - Visual mode? I see there is a caret mode preference in the source code but I don't know how to use it. There should be some way to select and yank text content

I already started implementing that, but right now I have some problems navigating the cursor.

-- -- -- - -- -- -- - -- -- -- - -- -- -- - -- -- -- -

In addition it is possible to map now buffer commands: bmap regex function

bmap ^DD$ quit

Best regards

Last edited by neldoreth (2010-07-10 08:13:10)


pwmt.org : programs with movie titles

Offline

#152 2010-07-10 09:34:55

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: jumanji - a web browser

Inxsible wrote:
bernarcher wrote:

Privoxy is not necessarily needed, though. You may try to install a suitable /etc/hosts file (e.g. from hostsfile.mine.nu). This (rather large) url collection effectively prevents selected urls from even being looked up by mapping them back to your localhost thus reducing traffic significantly.

It sure is worth a try.

I looked at that site and there are a bunch of options as to what type of file to download. I downloaded _127.0.0.1 txt file and 0.0.0.0 txt file.
I just appended the hosts file in the 127.0.0.1 format to my existing /etc/hosts file and things are better now with no ads being downloaded.

What's the difference between the 127.0.0.1 format and the 0.0.0.0 format. I also remember there were other options like Porn Sites etc. Do we have to add those as well ?

Perhaps a bit of background is in order (somewhat simplified):

- Internet access basically goes through numeric Internet protocol (IP) addresses. These are in IPv4 diveded in four number groups separated by dots.

- Domain names, usually expressed as URLs, are human readable expressions which need to be resolved to such numeric IP addresses before those pages can be accessed. This is usually done in a dynamic fashion by calling one or more remote Domain Name Servers (DNS lookup, a service provided by your internet host).

- If you want to always map a given domain name to some not changing IP address (i.e. you know this association well and want to always use it) the system can do a static host lookup for you in some simple database. This database is provided by the /etc/hosts file. It contains IP/URL pairs. If you want to access some URL the system first checks this /etc/hosts file for the wanted URL and if found redirects the net access to the associated IP. Only if there is no suitable match it will try to resolve the address through some DNS server.

- Some net activity will however be done in your local environment. This can be as simple as your own machine or a complicated internal net architecture of some business. In the simplest case, only one local IP address needs to be defined to map back to the internal net access mechanisms. This is usually named "localhost" and given the IP 127.0.0.1. It may be set up otherwise in your old /etc/hosts file, to find out the name issue the "hostname" command and for the local IP "hostname -i".

- This local IP (usually 127.0.0.1) is to be used for the advanced /etc/hosts file you can download e.g. from the hostsfile.mine.nu page. Basically this is a huge list of predefined mappings. The 0.0.0.0 IP provided there is somewhat generic (possibly mapped by default to your localhost - but I did not verify this one). It is probably meant for cases where none of the predefined standard local IPs are applicable and needs to adapted by e.g. sed or a text editor to the actual local IP needed. So you need to download only one such file.

- As for the contents, these are simple text files where you can add or delete lines as needed. If you find a needed URL inaccessible you can as well simply comment this line (in your text editor) by placing a "#" sign in front.

- AdBlock and similar tools conceptually do the same but provide more flexible URL name schemes. So does privoxy. Hence if the simple /etc/hosts/ lookup does not suffice you always can try one of these (additionally or instead).

More information on this topic is in the wiki, "man hosts", and on the net in abundance. Also have a look at the Ad Blocking section in the privoxy manual.

Last edited by bernarcher (2010-07-10 09:42:57)


To know or not to know ...
... the questions remain forever.

Offline

#153 2010-07-10 10:09:46

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

brisbin33 wrote:

can `jumanji $url` first check if an instance is already running and just add/focus a new tab rather than opening a new instance/window?

Check out the "single_instance" branch.

Best regards


pwmt.org : programs with movie titles

Offline

#154 2010-07-10 11:29:35

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: jumanji - a web browser

neldoreth wrote:

Hello,

brisbin33 wrote:

can `jumanji $url` first check if an instance is already running and just add/focus a new tab rather than opening a new instance/window?

Check out the "single_instance" branch.

Best regards

just FTR, it seems one needs to install libunique to build it properly.

Offline

#155 2010-07-10 11:47:52

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: jumanji - a web browser

am I the only one having the hint script to fail quite often (i.e. it doesn't show any hint) ?

Offline

#156 2010-07-10 12:02:58

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

bangkok_manouel wrote:

just FTR, it seems one needs to install libunique to build it properly.

This is mentioned in the README.

Best regards


pwmt.org : programs with movie titles

Offline

#157 2010-07-10 14:40:40

V for Vivian
Member
Registered: 2009-04-28
Posts: 52

Re: jumanji - a web browser

Whenever I navigate away from a flash video (youtube video for example) jumani closes and I get the following:

libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

However libgcc_s.so.1 is in /usr/lib/ .

Not sure whether flashplugin (from extra) or jumanji is the problem, maybe someone can tell me.

Thanks,
Viv

Last edited by V for Vivian (2010-07-10 14:41:04)


YES WE CAN
(but that doesn't necessarily mean we're going to)

Offline

#158 2010-07-10 14:53:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: jumanji - a web browser

Is it my (sh*tty) graphics card or is it the way webkit works - why Firefox switches tabs & shows page instantly but I have to wait 1-2 secs for Chromium / uzbl / surf / jumanji?

Offline

#159 2010-07-10 15:19:30

Sertse
Member
Registered: 2009-11-19
Posts: 35

Re: jumanji - a web browser

Great browser! It's the first of those minimal-keyboard driven browsers that really clicked with me. Other have either been *too* configurable (complicated) or it couldn't get it to do what I want.

I've read it supports css however I can't seem to get it to work. I had "set stylesheet /home/acer/.config/jumanji/style.css" in my jumanjirc and my css is just a basic colour change thing to work better with my dark theme

 

input {
    background-color: #333230;
    color: #BBBBBB;
}

textarea {
    background-color: #333230;
    color: #BBBBBB;
}

Is there something I forgot to do? Thanks

Offline

#160 2010-07-10 15:24:54

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: jumanji - a web browser

feature request: gu/gU would be awesome smile

Offline

#161 2010-07-10 15:30:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: jumanji - a web browser

> feature request: gu/gU would be awesome
+1

Vimperator has ':tabonly' etc. Is there a way of batch-managing the tabs (close next four tabs etc.) in jumanji?

Offline

#162 2010-07-10 15:31:55

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: jumanji - a web browser

bangkok_manouel wrote:

am I the only one having the hint script to fail quite often (i.e. it doesn't show any hint) ?

Fails here, too, most often. Could be some setup problem. Alas, I have currently no time to really trace this down.


To know or not to know ...
... the questions remain forever.

Offline

#163 2010-07-10 15:35:15

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

Sertse wrote:

Is there something I forgot to do? Thanks

The problem is the following: The set function sets the values directly to the WebKitWebSettings, so you have to pass the full file:// uri: file:///home/foo/.config/foo.css

Best regards


pwmt.org : programs with movie titles

Offline

#164 2010-07-10 15:40:22

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: jumanji - a web browser

I'm using a keyboard layout different from the normal QWERTY (NEO) which introduces some new modifiers (besides Ctrl, Alt, Shift, Super etc.). Some of the buttons used in jumanji (e.g. /, ?, and : ) can only be typed by using one of these modifiers (e.g. for "/" I have to type the QWERTY buttons "Capslock-S").

The problem is, whenever I have to use one of those new modifiers and the resulting character should appear in the input bar, it appears in the status bar instead. I'm using the default config.h. Could this be a bug in jumanji, or should I instead pester the NEO people about it?

Offline

#165 2010-07-10 15:44:50

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

Runiq wrote:

I'm using a keyboard layout different from the normal QWERTY (NEO) which introduces some new modifiers (besides Ctrl, Alt, Shift, Super etc.). Some of the buttons used in jumanji (e.g. /, ?, and : ) can only be typed by using one of these modifiers (e.g. for "/" I have to type the QWERTY buttons "Capslock-S").

The problem is, whenever I have to use one of those new modifiers and the resulting character should appear in the input bar, it appears in the status bar instead. I'm using the default config.h. Could this be a bug in jumanji, or should I instead pester the NEO people about it?

Only characters that do not match any shortcut configuration are saved in the buffer then. So it seems that either the key or the modifier mask do not match. You may just want to print those values in the cb_tab_kb_pressed function and check them against your configuration.

Best regards


pwmt.org : programs with movie titles

Offline

#166 2010-07-10 17:23:38

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: jumanji - a web browser

neldoreth wrote:

Hello,

Runiq wrote:

I'm using a keyboard layout different from the normal QWERTY (NEO) which introduces some new modifiers (besides Ctrl, Alt, Shift, Super etc.). Some of the buttons used in jumanji (e.g. /, ?, and : ) can only be typed by using one of these modifiers (e.g. for "/" I have to type the QWERTY buttons "Capslock-S").

The problem is, whenever I have to use one of those new modifiers and the resulting character should appear in the input bar, it appears in the status bar instead. I'm using the default config.h. Could this be a bug in jumanji, or should I instead pester the NEO people about it?

Only characters that do not match any shortcut configuration are saved in the buffer then. So it seems that either the key or the modifier mask do not match. You may just want to print those values in the cb_tab_kb_pressed function and check them against your configuration.

Best regards

Sorry, I'm nowhere near fluent in C, I can barely see what's going on in that function—how would I go about printing the presssed key and modifier mask?

Offline

#167 2010-07-10 17:56:48

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: jumanji - a web browser

a reboot results in losing all the logged in information.

I have to relogin to google and the forums. Is there a setting where we can keep the login information across reboots?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#168 2010-07-10 18:05:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: jumanji - a web browser

> I have to relogin to google and the forums. Is there a setting where we can keep the login information across reboots?
Cookies?

Offline

#169 2010-07-11 04:05:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: jumanji - a web browser

Big pages w/ some fancy characters take very long to load http://en.wikipedia.org/wiki/Japan
Big pages w/ lots of fancy characters take much longer http://ja.wikipedia.org/wiki/日本

Do I have to change some settings? Is jumanji caching anything?
Chromium and Firefox load those pages in 5-10 secs. Jumanji takes ~2 minutes!

Offline

#170 2010-07-11 05:14:21

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: jumanji - a web browser

karol wrote:

Big pages w/ some fancy characters take very long to load http://en.wikipedia.org/wiki/Japan
Big pages w/ lots of fancy characters take much longer http://ja.wikipedia.org/wiki/日本

Do I have to change some settings? Is jumanji caching anything?
Chromium and Firefox load those pages in 5-10 secs. Jumanji takes ~2 minutes!

Just tried your second link and man all 4 of my tabs have locked up. Just a grey screen and nothing I can do about it. Posting this from my other machine.

Last edited by Inxsible (2010-07-11 05:14:51)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#171 2010-07-11 05:17:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: jumanji - a web browser

@ Inxsible
Does jumanji have session saving? If it does, you can just kill it. I don't know what you had in those other tabs, sorry about that. After a minute or two of 100% cpu utilization it should go back to normal.

Offline

#172 2010-07-11 05:19:54

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: jumanji - a web browser

karol wrote:

@ Inxsible
Does jumanji have session saving? If it does, you can just kill it. I don't know what you had in those other tabs, sorry about that. After a minute or two of 100% cpu utilization it should go back to normal.

No need to be sorry. I just posted to confirm that I too have the same issue. All is well now, after some time it did come back to normal smile


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#173 2010-07-11 05:25:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: jumanji - a web browser

> No need to be sorry.
Fine, I take it back ;P

Jumanji uses about half the memory firefox does but firefox is responsive and fast while surf / jumanji ... not quite.

Offline

#174 2010-07-11 06:39:09

Sertse
Member
Registered: 2009-11-19
Posts: 35

Re: jumanji - a web browser

Webkit afaik always had issues with non english / "fancy characters". I've seen it in Midori, Surf, and here so I suspect it's a upstream webkit thing.

Offline

#175 2010-07-11 06:54:49

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: jumanji - a web browser

I have a weird problem The headers for Bookmarks, history in jumanji appear pink in one of my computers while they are black in the other.
tNHdicw

tNHdidA

Here's my rc file from the computer where it appears as pink. I don't see any color settings. Infact my rc file is the same on both machines

# jumanji configuration

# search engines
searchengine gg http://www.google.com/search?q=%s
searchengine wiki http://en.wikipedia.org/w/index.php?search=%s

# browser settings
set homepage http://www.google.com/ig
set auto_save 60

# look
set font monospace normal 9
set stylesheet file:///home/inxs/.config/jumanji/style.css 

# follow hints
script ~/.config/jumanji/scripts/hinting.js

# downloads
set download_dir ~/downloads/
set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O %s";

# keybindings

Last edited by Inxsible (2010-07-11 07:43:43)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB