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

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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -