in reply to bulletproof way of finding size of terminal?

How about Curses?

-sam

  • Comment on Re: bulletproof way of finding size of terminal?

Replies are listed 'Best First'.
Re^2: bulletproof way of finding size of terminal?
by bcrowell2 (Friar) on Aug 31, 2007 at 18:51 UTC
    I'm looking for a method that doesn't introduce any dependencies on modules that aren't part of the standard perl distribution. The code I posted works already, but requires a module that's optional on BSD.
      Oh, how boring/wrong/silly. If you can't use CPAN, why are you using Perl?

      -sam

        Because it's the right tool for the job in other ways, perhaps? Perl is more than just glue for building Lego-type programs out of CPAN modules, you know. Some of us even like the language itself - there's a reason this site isn't called cpanmonks.

        (More pragmatically, there's the issue of compilation; both Term::ReadKey and Term::ReadLine::Gnu are XS modules, and there are plenty of us who can use CPAN but are not able to use XS modules for all kinds of reasons.)