develooper Front page | perl.perl5.porters | Postings from October 2001

Re: [ID 20010929.014] Term::Complete screws up -ixon

Thread Previous | Thread Next
Benjamin Goldberg
October 1, 2001 21:09
Re: [ID 20010929.014] Term::Complete screws up -ixon
Message ID:
Sam Tregar wrote:
> On Mon, 1 Oct 2001, Benjamin Goldberg wrote:
> > It seems to me that instead of having code scatered throughout
> > Term:: and elsewhere which calls on the stty program, we should have
> > a pragma or module which encapsulates the functionality.  This one
> > module could be configured appropriately on a per-system basis, so
> > as to try really hard [at installation time, not at runtime], to get
> > it right.
> You mean something like the existing IO::Stty perhaps?

Hmm, yes precisely.

Though looking at how the program does what it does, I'd probably write
much of it differently ... like using hashes rather than seperate
variables for $c_cflag, $c_iflag, $ispeed, etc, using for loops instead
of ugly blocks like:
and other similar blocks.

"I think not," said Descartes, and promptly disappeared.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About