Re: stty permanently undef "start"
On Wed, Jul 10, 2024 at 15:49:59 +0200, Franco Martelli wrote:
> ~$ stty start undef
>
> So, is there a way to permanently set "start" as "undef"? Maybe under /etc/?
> Should I put this command in .bashrc?
You could -- but if you do so, you should definitely surround it with
a check for stdin being a terminal (test -t 0 or equivalent).
The proper way to disable XOFF/XON flow control, though, is to use
"stty -ixon". The same disclaimer applies: only do it when you've
verified that stdin is a terminal.
test -t 0 && stty -ixon
That should be safe to add to your .bashrc.
Reply to: