-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Goaccess terminal dashboard shortcut keys not working. #185
Comments
Let me get my hands on a Mac to test this. BTW, does it work with |
Enter and Right-arror also not working. Goaccess is very useful for us, thanks for your work!
|
Are you using tmux or screen at all? |
No, just iTerm2 with zsh.
|
OK, I tested this on iTerm2 Build 2.0 ssh"ing into a remote machine and it works fine (with and without tmux). Also I installed goaccess directly into OS X 10.9.4 through brew and keys work fine. What keys are you using to scroll within the panel? |
I tried j, k, ctrl+f and ctrl+b, no one is working, but h, q and tab is ok.
|
what version of goaccess are you running and the version of iTerm2? Could you also please post the result of: |
➜ ~ echo $TERM [worker@lusir-aws-app1 ~]$ goaccess --version
|
I've been testing this for a while but I can't replicate the issue. Tested with iTerm 1.0 and 2.0, within Anybody else having this issue? |
It’s the same for Terminal.app, and I also tried run goaccess locally both in iTerm2 and Terminal. I wanted to confirm there is no need to press ctrl or any other key to combine with j, k or enter?
|
@jaggerwang no need for pressing ctrl or any other key. I'll look into this a bit further and see if I can replicate it. Feel free to post any other insights you may have. |
Just wanted to let you know that I am experiencing this as well. Have tried this both on Terminal.app and iTerm2, both with same results. Server is a CentOS 5 machine. |
@arondeparon Interesting, could you run the following in your server and post the output after pressing the following keys:
Here's the c program, copy this into your server and name the file
compile with:
Thanks! |
Hi, Here is the output:
|
I get exactly the same key codes. BTW, are you using zsh as well? Does this happen if you run goaccess locally in your mac? Also could you please try again the following code, it should replicate goaccess' settings:
Thanks again. |
Hi, Thanks for the assist! I'm using zsh on OSX and received the same output when compiling locally.
|
I’m getting this issue in Terminal.app and GoAccess version 1.5 when I try to evaluate about 3000 files (AWS CloudFront logs). The key commands work at first but after a short time (several seconds, not consistent) GoAccess seems to completely freeze. Maybe this is an issue with files not being closed after reading and therefore running into some OS limitation? If I combine all these files into one single file (e.g. |
@rauberdaniel Thanks for reporting this. Can I ask, are those 3000 logs being constantly updated or mostly static? Also, does it make any difference if you feed goaccess using tail as:
|
No, those files are static and not updated at all (therefore, they could be closed after reading). I just tried feeding them via
and it seems to work fine without freezing. What I also just realized is that simply using |
Good question, goaccess doesn't keep the files opened. I pushed a fix for this, it should work fine. Please feel free to build from development and let me know if that solves the issue on your end. You may still need to change your max number of files that can be opened in your OS. Ideally goaccess could resort to inotify, however it would need to work across all platforms, including BSDs, etc. |
I'm connecting remote CentOS 6 server from iTerm 2 on Mac OS X. When I run goaccess command remotely, the dashboard display ok, and shortcut keys like 'h' and 'q' working correctly, but not the Expand and Scroll keys, I can only see the first screen content.
The text was updated successfully, but these errors were encountered: