<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/irb/pager.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/irb] windows does not support Process.kill("TERM", pid)</title>
<updated>2024-11-05T13:53:41+00:00</updated>
<author>
<name>YO4</name>
<email>ysno@ac.auone-net.jp</email>
</author>
<published>2024-11-05T13:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ed06f018bdffe9bb7f8bdbf15fa5a727e402bfe9'/>
<id>ed06f018bdffe9bb7f8bdbf15fa5a727e402bfe9</id>
<content type='text'>
(https://github.com/ruby/irb/pull/1026)

https://github.com/ruby/irb/commit/7bbb885163
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/1026)

https://github.com/ruby/irb/commit/7bbb885163
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix kill pager pid throwing Errno::ESRCH when pager</title>
<updated>2024-08-14T18:06:53+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-08-14T18:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=002e785e7756e5105910434586a5752c8772bb2f'/>
<id>002e785e7756e5105910434586a5752c8772bb2f</id>
<content type='text'>
process already terminated
(https://github.com/ruby/irb/pull/989)

https://github.com/ruby/irb/commit/949f032e9b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
process already terminated
(https://github.com/ruby/irb/pull/989)

https://github.com/ruby/irb/commit/949f032e9b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Disable pager when TERM is not set too</title>
<updated>2023-12-05T16:32:13+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-12-05T16:32:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f55746a93d48a3ee1fdfacba3716457fabea150a'/>
<id>f55746a93d48a3ee1fdfacba3716457fabea150a</id>
<content type='text'>
(https://github.com/ruby/irb/pull/802)

https://github.com/ruby/irb/commit/173980974b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/802)

https://github.com/ruby/irb/commit/173980974b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Pager should be disabled when TERM=dumb</title>
<updated>2023-12-05T16:03:06+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-12-05T16:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ef387e67307504f41baf45a5b06a10eb82933788'/>
<id>ef387e67307504f41baf45a5b06a10eb82933788</id>
<content type='text'>
(https://github.com/ruby/irb/pull/800)

For apps/libs that test against IRB, it's recommended to set `TERM=dumb`
so they get minimum disruption from Reline's interactive-focus features.

Therefore, we should follow the convention to disable pager when `TERM=dumb`.

https://github.com/ruby/irb/commit/8a3002a39e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/800)

For apps/libs that test against IRB, it's recommended to set `TERM=dumb`
so they get minimum disruption from Reline's interactive-focus features.

Therefore, we should follow the convention to disable pager when `TERM=dumb`.

https://github.com/ruby/irb/commit/8a3002a39e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Page evaluation result's output</title>
<updated>2023-11-30T15:22:22+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-11-30T15:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f193f96d31ffcd02d91f135ba765d92c23b52c55'/>
<id>f193f96d31ffcd02d91f135ba765d92c23b52c55</id>
<content type='text'>
(https://github.com/ruby/irb/pull/784)

* Page evaluation result's output

This will make it easier to work with long output that exceeds the terminal's height.

* Use consistent TERM in rendering tests

This makes sure we get consistent result on all platforms.

https://github.com/ruby/irb/commit/4fedce93d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/784)

* Page evaluation result's output

This will make it easier to work with long output that exceeds the terminal's height.

* Use consistent TERM in rendering tests

This makes sure we get consistent result on all platforms.

https://github.com/ruby/irb/commit/4fedce93d3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Support disabling pager</title>
<updated>2023-11-26T11:07:50+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-11-26T11:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9cd086ba4b559153864ab924723a665a4ddfb5d8'/>
<id>9cd086ba4b559153864ab924723a665a4ddfb5d8</id>
<content type='text'>
(https://github.com/ruby/irb/pull/783)

With either `IRB.conf[:USE_PAGER] = false` or `--no-pager` commnad line flag.

I decided use `--no-pager` instead of `--use-pager` because it matches with
Pry and git's command line flags.

https://github.com/ruby/irb/commit/df1c3b9042
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/783)

With either `IRB.conf[:USE_PAGER] = false` or `--no-pager` commnad line flag.

I decided use `--no-pager` instead of `--use-pager` because it matches with
Pry and git's command line flags.

https://github.com/ruby/irb/commit/df1c3b9042
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix failure of more command with -R option</title>
<updated>2023-11-23T07:24:35+00:00</updated>
<author>
<name>hogelog</name>
<email>konbu.komuro@gmail.com</email>
</author>
<published>2023-11-23T07:24:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e2078ccd5a54e54e16bec8db96c45d467307e6c3'/>
<id>e2078ccd5a54e54e16bec8db96c45d467307e6c3</id>
<content type='text'>
(https://github.com/ruby/irb/pull/781)

https://github.com/ruby/irb/commit/7d6849e44e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/781)

https://github.com/ruby/irb/commit/7d6849e44e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Page `ls`'s output (https://github.com/ruby/irb/pull/657)</title>
<updated>2023-07-26T08:32:02+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-07-26T08:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=283b2fdab4be77d8721d7cf298168eb6e3798490'/>
<id>283b2fdab4be77d8721d7cf298168eb6e3798490</id>
<content type='text'>
* Page ls command's output

* Use Pager.page_content in show_cmds too

https://github.com/ruby/irb/commit/82d1687302
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Page ls command's output

* Use Pager.page_content in show_cmds too

https://github.com/ruby/irb/commit/82d1687302
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Display `show_cmds`'s output in a pager when in TTY</title>
<updated>2023-07-25T18:33:23+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-07-25T18:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d8cee5507361b2cd3f3baccb8fda45bad8389a70'/>
<id>d8cee5507361b2cd3f3baccb8fda45bad8389a70</id>
<content type='text'>
environment
(https://github.com/ruby/irb/pull/647)

This can:

- Make it easier to scroll up and down the commands list
- Avoid pushing up users' previous output
- Allow users to do basic search with `/&lt;word&gt;`

https://github.com/ruby/irb/commit/f94e8a66dd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
environment
(https://github.com/ruby/irb/pull/647)

This can:

- Make it easier to scroll up and down the commands list
- Avoid pushing up users' previous output
- Allow users to do basic search with `/&lt;word&gt;`

https://github.com/ruby/irb/commit/f94e8a66dd
</pre>
</div>
</content>
</entry>
</feed>
