osx - Why does Ruby's ri not return to a bash command prompt? -


when execute ri ... in terminal on mac, get, maybe, 50 blank lines, output i'm expecting, last line:

(end)

, (end) displayed white letters on black background. not returned bash, -- ri still running, , can't enter anything. also, why blank lines?

why happening?

the output being piped through pager (the value of environment variable $pager, /usr/bin/more or /usr/bin/less). allows page through screenfuls of data hitting spacebar (among other nice features), instead of having scroll , down in terminal. exit, type q.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -