Comments (10)
ご報告ありがとうございます! こちらでいろいろ試したところ Bash 3.2 で C-d で抜けようとした時に類似の現象が再現するようでした。調べてみます。
from ble.sh.
from ble.sh.
バージョンを確認しました
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
です
from ble.sh.
また、bashのバージョンを上げたところとりあえず問題は発生しなくなりました。
from ble.sh.
ご対応くださりありがとうございます。
d4b39b3
をビルドして使ってみたところ、GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
で問題が発生しなくなっていることを確認しました。
ありがとうございます。
from ble.sh.
対応に時間がかかっていて申し訳ありません。別の簡単そうに思った Issue #16 の方を先に片付けようと思ったのですが、そちらで泥沼に陥ってしまったのでまだ対応に時間がかかりそうです。
先にこちらで再現している問題とそちらで発生している問題が同じかどうか確認させていただきたく思います。こちらの手元では Bash 3.0-3.2 の中で Bash 3.1-3.2 を起動した時に問題が発生しています。Bash 3.0-3.2, 4.0-4.4, 5.0β の中で Bash 3.0, 4.0-4.4, 5.0β を起動した時には再現していません。そちらでお使いの Bash のバージョンは 3.1 または 3.2 という事で問題ないでしょうか。
from ble.sh.
確かめていただきありがとうございます! ということはこちらで再現しているのと同じ問題ですね。わざわざ新しい Bash まで試していただいてありがとうございます (実の所、Bash 3.2 以前は機能が少ないので ble.sh
は結構無理をした実装になっており動作が遅いのです。従って本当は Bash 4.0 以降が推奨なのでした)。
この問題に関しては #16 が終わってから Bash の動作を調べて対策いたしますね。
from ble.sh.
Bash の振る舞いが解せないので調べてみると Bash 4.0 の修正で挙げられていた以下のバグを踏んでいました。リダイレクトを作る前に明示的にファイルディスクリプタを閉じるように対策しました。
------------------------------------------------------------------------------
This document details the changes between this version, bash-4.0-alpha,
and the previous version, bash-3.2-release.
1. Changes to Bash
(中略)
ee. Fixed a bug that caused bash to close file descriptors greater than 10
when they were used in redirections.
from ble.sh.
@Kiikurage さま、こちら修正に時間がかかってしまいましたが、問題が発生しなくなっているか確認をお願いしてもよろしいでしょうか。お手数をおかけしますがよろしくおねがいいたします。
from ble.sh.
早速ご確認いただきありがとうございます! こちらの Issue は閉じさせていただきますね
from ble.sh.
Related Issues (20)
- [wezterm, vim-airline] lualine over cursor HOT 4
- yy copies a newline in front of the line HOT 2
- Recent versions have cache update status presistently showing up HOT 12
- [macOS, iTerm2] Ctrl+d does not exit, disables backspace HOT 3
- [ncurses 6.1] ctrl+l and clear not working properly HOT 12
- Unable to set ble-face `syntax_function_name` HOT 7
- Source ble.sh each time when restart a console will increase the time cost. HOT 15
- expanding abbreviations that are the results of completions HOT 1
- [SUSE /etc/inputrc] issues sourcing ble.sh HOT 16
- [WSL] ble.sh breaks on start and does not let me type in the console HOT 35
- Several questions about ble.sh usage HOT 8
- Exit status 1 when using pipe and grep HOT 6
- [Alacritty v0.7.0-0.13.1] Newlines inserted when scrolling up HOT 16
- Sabbrev expansions not working HOT 8
- Disable option completion HOT 4
- [WINCH in ble/prompt/update] Cyclic dependency error HOT 11
- Moving down through history gets stuck in multiline HOT 2
- Cannot bind RET in nsearch mode HOT 3
- Kitty's terminal protocol & complete_menu_complete_opts
- Incorrect behaviour with C-w HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ble.sh.