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

Re: [PATCH Complete.pm], was Re: [PATCH lib/Term/Complete.t]

Thread Previous
From:
rgarciasuarez
Date:
October 1, 2001 06:58
Subject:
Re: [PATCH Complete.pm], was Re: [PATCH lib/Term/Complete.t]
Message ID:
slrn9rgqv3.mrr.rgarciasuarez@rafael.kazibao.net
Andy Dougherty wrote :
> On 1 Oct 2001, Rafael Garcia-Suarez wrote:
> 
> > +    foreach my $s (qw(/bin/stty /usr/bin/stty)) {
> 
> Why don't you honor the user's $PATH variable here?

Because of taint checks ?
This is only an attempt at invoking stty. (With a sub-attempt at
invoking stty -g : if it fails, this patch tries "stty -raw echo" as
before).
BTW "stty -g" is also supported on OpenBSD 2.7.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About