more useful options | |
PerlMonks |
Fitting N Xterms On An X by Y screenby Limbic~Region (Chancellor) |
on Jun 04, 2009 at 22:48 UTC ( [id://768607]=perlquestion: print w/replies, xml ) | Need Help?? |
Limbic~Region has asked for the wisdom of the Perl Monks concerning the following question:
All,
Khisanth asked on #perl (freenode) if anyone knew of an algorithm for placing a variable number of Xterms on a screen with a few constraints:
Obviously the last one is somewhat of personal preference so bonus points to an algorithm that has sane defaults but allows it to be configurable. The assumption is that such an algorithm already exists because of windows managers but it seems like a fun diversion. My initial idea is below though I only spent about 30 seconds thinking about it. <Reveal this spoiler or all in this thread>
Can you come up with a good algorithm for this (keeping in mind the bonus)? Cheers - L~R
Back to
Seekers of Perl Wisdom
|
|