zegervdv / homebrew-zathura

Homebrew formulae to build Zathura on Mac OS X
539 stars 41 forks source link

Any key doesn't work in commande #10

Closed a-phe-lei-a closed 7 years ago

a-phe-lei-a commented 8 years ago

Hello I installed zathura with brew on my el capitan but none keys work in commande line. The j,k,h,l,o and other key work correctly in normal mode. The only key to work in commande line is Esc. An idea from this isue?

zegervdv commented 8 years ago

Sorry for my late response, but I indeed see the same issue. I have no immediate idea as to why it stopped working, but I believe only the developers of zathura will be able to solve this.

a-phe-lei-a commented 8 years ago

Thanks for you response

drselump14 commented 8 years ago

+1 for this issue

Boelensman1 commented 8 years ago

am also having this problem

jamesalexanderdickerson commented 8 years ago

Also having this issue. The navigation keys work, but when I try to follow a link, nothing I type after hitting 'f' will work.

itsmealwin commented 8 years ago

I can confirm this issue, this renders the search function to be useless under mac os el capitan..

zegervdv commented 8 years ago

Sadly I have no idea why it's not working on El Cap. I believe this should be raised to the developers.

Boelensman1 commented 8 years ago

I submitted a report of this bug on their bugtracker today, lets hope they will fix it.

https://bugs.pwmt.org/project/zathura/issue/610

solvation commented 8 years ago

For what its worth: The same behaviour shows under FreeBSD 11. Although the backspace key seems to also be working in addition to the Esc key. I got ":open" to the command prompt by pressing o, wasn't able to add anything or execute the command with the enter key but could use backspace to erase it. Strange.

solvation commented 8 years ago

Zathura uses girara for the input handling. Just checked with jumanji browser under FreeBSD 11 which also utilizes girara and it shows the exact same behaviour on the input bar. So maybe we should report the bug at https://bugs.pwmt.org/project/girara/ too?

solvation commented 8 years ago

Under FreeBSD 11 the problem is related with the Native Language Support Option. If I disable NLS in girara and zathura and recompile the ports instead of using the binary packages everything works fine.

zegervdv commented 8 years ago

Thanks for the tip @solvation . I've been looking at the makefiles, but I don't see anything about NLS. Could you explain how you disabled it?

solvation commented 8 years ago

@zegervdv NLS might be something FreeBSD specific. The option is defined in the ports makefile -see here for girara which I actually suspect to be the problem: http://svnweb.freebsd.org/ports/head/x11-toolkits/girara/Makefile?revision=404308&view=markup

It seems to somehow patch the girara buildfiles in a way that it again works with FreeBSD. Looking at the bottom of the makefile under "post-patch-NLS-off" it seems to remove all additions of the PO stuff from the Makefile. I'm not sure though if it does more somewhere else since I'm no expert with FreeBSD port files.

You can read about PO on FreeBSD here: https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/po-translations.html

I was just glad that disabling NLS cured the symptoms and I didn't investigate much further from that point on. Hope you'll find a similar solution to get it working in homebrew again.

zegervdv commented 7 years ago

Version 0.3.7 (241dcd5) seems to solve the issue, can you confirm?

drselump14 commented 7 years ago

It works in my computer... thanks ... :)

On 01/14 02:42:21 AM, Zeger Van de Vannet wrote:

241dcd5 seems to solve the issue, can you confirm?

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/zegervdv/homebrew-zathura/issues/10#issuecomment-272616174

zegervdv commented 7 years ago

Ok, I guess we can close this one. If the issue is still not resolved with this version you can reopen it.