[Bug 957303] [NEW] TMOUT hardly exiting regardless of user input activity
molostoff
957303 at bugs.launchpad.net
Fri Mar 16 18:27:28 UTC 2012
Public bug reported:
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.
** Affects: bash (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/957303
Title:
TMOUT hardly exiting regardless of user input activity
Status in “bash” package in Ubuntu:
New
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/957303/+subscriptions
More information about the foundations-bugs
mailing list