<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kouji0625</author_name>
  <author_url>https://blog.hatena.ne.jp/kouji0625/</author_url>
  <blog_title>高尾宏治日記 on はてな</blog_title>
  <blog_url>https://kouji0625.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Mac</anon>
  </categories>
  <description>ruby の Readline へのパッチを作成した。パッチの概要を次に述べる。 GNU Readline を使用した場合の挙動は一切変えない。 パッチの適用前には、 EditLine(libedit) を使用する場合、次の問題がある。 libedit のバージョン (2.9より上?) によっては、 history_get 関数で指定するインデックスは 0 から始まる。 history_base からではない。これが原因で、 Readline::HISTORY ではユーザからの最初の入力を取得できない。 history_get 関数で -1 を指定すると 0 番目の history を取得する…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkouji0625.hatenadiary.org%2Fentry%2F20080719%2F1216474937&quot; title=&quot;Macのrubyのreadlineに不具合がある！？(8)  - 高尾宏治日記 on はてな&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-07-19 22:42:17</published>
  <title>Macのrubyのreadlineに不具合がある！？(8) </title>
  <type>rich</type>
  <url>https://kouji0625.hatenadiary.org/entry/20080719/1216474937</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
