TMOUT hardly exiting regardless of user input activity

Bug #957303 reported by molostoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
New
Undecided
Unassigned

Bug Description

When a TMOUT variable is set (in my case = 300), command line input activity in readline does not affect timer, and bash is continuing to decrease time counter, and when timer expires just terminates while I type a command. It is very frustrating! More over - it is very inconvenient to use TMOUT in interactive input.

From man page: In an interactive shell, the value is interpreted as the number of seconds to wait for input after issuing the primary prompt. Bash terminates after waiting for that number of seconds if input does not arrive.

I suppose that intended behavior is to reset timer to initial value when an input activity is detected (e.g. user started typing command, e.g. providing input), because TMOUT refers to an input, and not a complete command, or whatever else.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.