bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CORRECTED: Bug in the read command


From: pourko
Subject: Re: CORRECTED: Bug in the read command
Date: Wed, 17 Sep 2025 18:02:23 +0200 (CEST)

As a side question, wouldn't it make more sense if read -d"" -t 0
makes the read in raw mode? Or is it carved in stone for historical
reasons? If so, then couldn't we maybe some time in the future get 
a new "-T 0" option that could do a read in raw mode? Because, as
things are now, one has no way to check from within a tight loop
whether some key has been pressed -- not without a wasteful timeout
option, or without an expensive external call to set the term raw.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]