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

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

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
September 30, 2001 06:00
Subject:
Re: [ID 20010929.014] Term::Complete screws up -ixon
Message ID:
20010930150431.A799@rafael
On 2001.09.30 01:07 Nicholas Clark wrote:
> 
> I'm not enough of a terminal wizard to know why the routines:
> 	    $tty_raw_noecho = "$stty raw -echo";
> 	    $tty_restore    = "$stty -raw echo";
> 
> don't do what they should, or whether a stty -all can be used instead to
> capture terminal output and restore it perfectly (so sorry, no patch), but
> I'd hope that something can be done to fix this irritating bug.

On Solaris and Linux, you can use `stty -g`. This outputs a string that can
be given back as parameter to stty to restore the terminal state.
But I don't know whether it's portable.

Thread Previous | Thread Next


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