--------------enig1EE3185E8AFBF88214BCDBA4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xavier Noria wrote: > I want to ask ncurses for the terminal size, or to clear the screen, > nothing more fancy than that. I have been playing around a bit without > luck, a bit blindly due to the lack of library docs. Can anyone help? > > -- fxn > > Lack of docs for -curses-?! http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/82359 If you find out the author of a Ruby binding didn't go through copy/pasting the underlying C library's documentation on his website for convenience, just look that up, or go figure in irb. Besides, the standard ruby curses binding works fine enough for that. Having never before used Curses, irb tells me about Curses::init_screen, Curses::lines, Curses::cols, and Curses::clear... David Vallner --------------enig1EE3185E8AFBF88214BCDBA4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFHt/qy6MhrS8astoRAt7fAJ45K4drwxjVPrs92SGlZYMuqYirKgCdGrQt w0Cxfd2r31rJW8N3WyQ2wxM tn -----END PGP SIGNATURE----- --------------enig1EE3185E8AFBF88214BCDBA4--