Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: stty not working



On Sep 1, 11:16am, Peter Stephenson wrote:
} Subject: Re: stty not working
}
} Maybe we should be a bit more explicit about what ttyctl does and
} doesn't do.

ttyctl also doesn't "remember" the external stty state for assertion
when the line editor finishes.  E.g., I might have expected that

% ttyctl -u; stty -echo; ttyctl -f

would "freeze" the terminal in no-echo mode, such that when accept-line
is run and ZLE finishes, the terminal would be put into no-echo mode
before the command is run.  But that's not what happens; "freeze" does
not mean to lock the current state, it means to *block* changes made
by subsequent commands.  Which is what the doc says, but perhaps not
clearly enough.



Messages sorted by: Reverse Date, Date, Thread, Author