ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
From: densya203@skult.jp
To: "Ruby developers \(Japanese\)" <ruby-dev@ruby-lang.org>
Subject: [ruby-dev:51060] Re: Ruby2.7 で irb にターミナルから長文を貼り付けた際の挙動
Date: Thu, 13 May 2021 15:11:00 +0900	[thread overview]
Message-ID: <85D747BEBF259D199356CD@skult.jp> (raw)
In-Reply-To: <CAO4psrEcK9JwUpoRGQYzS0ya3JyxuXC+oWJ0PgOtCzgAjUTq4w@mail.gmail.com>

aycabta さま

お返事ありがとうございました!densya203と申します。
(お返事を頂いていたのに気づくのが遅くなり申し訳ありません!)

>gem install irb reline
>を実行し、最新版の irb gem 及び reline gem をインストールしてみてください。

2021/05/13 現在最新の

  irb    1.3.5
  reline 0.2.5

が入った状態にして試しました。
残念ながら、↓のような状態で、改善しませんでした。

https://www.dropbox.com/s/w4uqf6wwxvps7im/ruby273-20210513.mp4?dl=0

もし、よろしければ↓のソースで試していただけましたら幸いです。
https://www.dropbox.com/s/gwyjbgci5n87wvr/irb_does_not_work.rb?dl=0

# いずれの命令も各行をコピー → 右クリックで貼り付けております。




>
>> 2021年4月12日(月) 11:06 <densya203@skult.jp>:
>>>
>>> お世話になります。
>>>
>>> https://www.dropbox.com/s/sqc4yynb08k2fup/ruby27vs30.mp4?dl=0
>>>
>>> 上のキャプチャ動画を見ていただけるとご理解いただけると思うですが、
>>> irb に長文を貼り付けた場合、
>>>
>>> 3.0 → 2.6 代同様に、軽く応答、問題ございません。
>>>
>>> 2.7 → ダラダラとエコーバック?みたいな動きをし、ターミナルの応答を
>>>        破壊します。
>>>        多くの場合、プロセスを殺さないかぎり、操作不可能になります。
>>>
>>> 私が使用しているSSHターミナル(Windows Poderosa4)の問題もあると思うの
>>> ですが、
>>> 上記の挙動を、2.6や3.0と同様に変える手段はございますでしょうか?
>>>
>>> # irb オプションの echo などを試したのですが、実現できませんでした。
>>> # ちなみに、TeraTermでは一応問題ない模様で、Poderosa5 では 4 同様、破壊さ
>>> れました。
>>>

      reply	other threads:[~2021-05-13  6:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12  2:00 [ruby-dev:51048] " densya203
2021-04-12 11:36 ` [ruby-dev:51049] " 谷川れい
2021-04-14  7:45   ` [ruby-dev:51051] " aycabta _
2021-05-13  6:11     ` densya203 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85D747BEBF259D199356CD@skult.jp \
    --to=densya203@skult.jp \
    --cc=ruby-dev@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).