[ruby-core:79898] [Ruby trunk Bug#13270] IRB hangs when printing "\e]"

From: snood1205@...
Date: 2017-03-03 16:56:59 UTC
List: ruby-core #79898
Issue #13270 has been updated by Eli Sadoff.


Even more information, this is reproducible on ruby -v ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux], but instead of printing out "30m" after CMD+D it prints out nothing. This seems to be a bug within IRB.

----------------------------------------
Bug #13270: IRB hangs when printing "\e]"
https://bugs.ruby-lang.org/issues/13270#change-63330

* Author: Dorian M
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Steps to reproduce:

- `irb`
- `print "\e]"`
- Or: `puts "\e["`
- try CMD+C, nothing happens
- try CMD+D, prints "30m"

Expected behavior:

- just prints "30m" (that's what `pry` does)

Ruby versions tried:

- ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
- ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next