-
Notifications
You must be signed in to change notification settings - Fork 188
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
Sngrep in Different TERM Environments #495
Comments
Apparently Debian 12's default terminal in bash is xterm (in simple command line environment without a GUI) when I log in using Putty. By simply entering the command Is it possible for sngrep to utilize the Home and End keys in xterm? Thanks! Edit: |
I vote for 'xterm-256color', as well. Same problem as you, except SecureCRT. Since you suggest you use bash, you can do "TERM=putty sngrep" and not affect anything else beyond sngrep. |
Proable you can place this content into
Next time you open a shell and execute |
Hi! I've found some sngrep code that redefines key parsing codes for some terminals, and maybe that's causing the problem (or could be part of the solution). sngrep/src/curses/ui_manager.c Lines 101 to 116 in 6ee2c9c
We could add a setting to disable that block, so you just configure to skip this code in your sngreprc There is also a configuration option to remap some actions keybindings, not sure if it may help here. Best regards, |
From: #494 (comment)
Reply from @Kaian
Thanks for these links! I'll check them out.
The text was updated successfully, but these errors were encountered: