-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
No keyboard input on latest ble.sh commit #484
Comments
Thank you for the report. Thank you also for identifying the commit. However, I cannot reproduce the problem.
$ cp ~/.bash_history ~/.bash_history.backup20240821 # Please back up your shell command history
$ INPUTRC=/dev/null bash --noprofile --norc
$ source /path/to/ble.sh --norc
<--- Does the problem reproduce here?
$ exit
$ cp ~/.bash_history.backup20240821 ~/.bash_history # recover the history |
Thanks for the quick response. I'm getting conflicts when trying to back out the culprit commit, so this might take a little longer. |
I was able to resolve the conflicts (not sure if I broke anything else in the process).
EDIT: I am able to reproduce the problem with the minimal Bash configuration on your latest master branch commit 75c4a84. |
I don't have an idea, but maybe the cache is not updated.
$ cp ~/.bash_history ~/.bash_history.backup20240821
$ INPUTRC=/dev/null bash --noprofile --norc
$ date
<-- What is the time?
$ bash /path/to/ble.sh --clear-cache; source /path/to/ble.sh --norc; ls -la "$_ble_base_cache"
<-- What is the output of `ls -la "$_ble_base_cache"` here?
<-- Does the problem reproduce?
$ exit
$ cp ~/.bash_history.backup20240821 ~/.bash_history I'm not sure if the reported behavior is actually related to the cache, but the cache is supposed to be updated when the corresponding file (the main file |
I encountered a situation where this problem occurs when used on systems with snapshots, which are more common in distributions that use Btrfs. If we update Blesh, the cache is rebuilt, and the keyboard works. However, if we switch to a snapshot that contains a previous version of Blesh, the user's home directory retains the new cache files, and the keyboard does not work. |
…to use terminal, see more in akinomyoga/ble.sh#484
ble version: (cannot execute because of no input, but would look like this)
Bash version:
After updating from
0.4.0-devel4+70a325f
to the latest ble.sh commit onmaster
, I cannot type in my shell anymore. Even pressing keys likeEnter
orCTRL-c
is without effect. I would really like to debug this.EDIT: To rule out
alacritty
as the culprit, I reproduced the issue withfoot
terminal as well.EDIT2: If it helps, I can start a
git bisect
to close in on a commit that might have introduced this.EDIT3: The last good commit I was able to test is 63be48d. I suspect 48c7bbe might have introduced something that breaks my setup.
The text was updated successfully, but these errors were encountered: