2014-01-30 12:45:58 +0200, Pierre Gaston: > On Thu, Jan 30, 2014 at 12:37 PM, Dan Jacobson <jida...@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