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: Eduardo A . Bustamante López
Subject: Re: let's establish BASH_MINIMUM_TIME_BETWEEN_INTERACTIVE_COMMAND
Date: Wed, 29 Jan 2014 19:57:50 -0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jan 30, 2014 at 10:44:30AM +0800, Chris Down wrote:
> On 2014-01-30 09:18:19 +0800, jidanni@jidanni.org wrote:
> > So let's establish BASH_MINIMUM_TIME_BETWEEN_INTERACTIVE_COMMAND=1.0
> 
> Well, you can do this with PROMPT_COMMAND='sleep 1'. I don't see the
> need for another internal variable to do this.
How would that work to avoid filling the prompt with the paste buffer
when I fat finger and paste a whole email to the prompt? It will just
slow down the process, but not cancel it.

What I understand that's being proposed is a feature available in
some IRC clients, where the client prompts you if it detects that
you're inputting more than 2 lines in a short period.

This variable with a really long name would invalidate a sequence of
commands if the commands are input in rapid succesion (as when input
through pasting).


-- 
Eduardo Alan Bustamante López



reply via email to

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