bug-bash
[Top][All Lists]
Advanced

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

Re: let's establish BASH_MINIMUM_TIME_BETWEEN_INTERACTIVE_COMMAND


From: Stephane Chazelas
Subject: Re: let's establish BASH_MINIMUM_TIME_BETWEEN_INTERACTIVE_COMMAND
Date: Thu, 30 Jan 2014 23:40:53 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

2014-01-30 12:45:58 +0200, Pierre Gaston:
> On Thu, Jan 30, 2014 at 12:37 PM, Dan Jacobson <jidanni@jidanni.org> wrote:
> 
> > Thanks fellows but now bash has become very slow to the touch that way.
> >
> 
> Maybe try something like: PROMPT_COMMAND='read -t0 && sleep 10'


Or PROMPT_COMMAND="perl -MPOSIX -e 'tcflush 0,0'"
which should stop you from entering anything other than at the
prompt (flushes the terminal input buffer before displaying the
prompt).

-- 
Stephane




reply via email to

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