チケット #36327

SIGINT should interrupt line-editing

登録: 2016-05-19 00:17 最終更新: 2016-06-17 23:38

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
なし
投票
点数: 0
No votes
0.0% (0/0)
0.0% (0/0)

詳細

POSIX 2013 requires SIGINT to interrupt line-editing. Yash 2.41 is just ignoring SIGINT.

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html#tag_20_117_13_03

If sh receives a SIGINT signal in command mode (whether generated by typing the interrupt character or by other means), it shall terminate command line editing on the current command line, reissue the prompt on the next line of the terminal, and reset the command history (see fc) so that the most recently executed command is the previous command (that is, the command that was being edited when it was interrupted is not re-entered into the history).

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html#tag_20_117_13_04

If sh receives a SIGINT signal in insert mode (whether generated by typing the interrupt character or by other means), it shall terminate command line editing with the same effects as described for interrupting command mode; ...

cf. http://austingroupbugs.net/view.php?id=347

チケットの履歴 (5 件中 3 件表示)

2016-05-19 00:17 更新者: magicant
  • 新しいチケット "SIGINT should interrupt line-editing" が作成されました
2016-05-19 00:18 更新者: magicant
  • 詳細が更新されました
2016-06-01 09:01 更新者: None
2016-06-01 22:47 更新者: magicant
2016-06-17 23:38 更新者: magicant
  • 解決法なし から 修正済み に更新されました
  • チケット完了時刻2016-06-17 23:38 に更新されました
  • 状況オープン から 完了 に更新されました
コメント

Fixed in r3633

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする