[Bug 1317476] Re: read builtin does not timeout when using readline for input

John Lenton john.lenton at canonical.com
Thu May 8 11:25:17 UTC 2014


** Description changed:

- As of 12.04 the read builtin seemingly ignores -t if -e is provided.
+ As of 14.04 the read builtin seemingly ignores -t if -e is provided.
+ 
+ In 13.10,
+ 
+ $ time read -t2 -e -p "? "
+ ? 
+ real	0m2.000s
+ user	0m0.000s
+ sys	0m0.000s
+ 
+ In 14.04,
+ 
+ $ time read -t2 -e -p "? "
+ ? ^C
+ real	0m5.254s
+ user	0m0.000s
+ sys	0m0.000s

-- 
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/1317476

Title:
  read builtin does not timeout when using readline for input

Status in “bash” package in Ubuntu:
  New

Bug description:
  As of 14.04 the read builtin seemingly ignores -t if -e is provided.

  In 13.10,

  $ time read -t2 -e -p "? "
  ? 
  real	0m2.000s
  user	0m0.000s
  sys	0m0.000s

  In 14.04,

  $ time read -t2 -e -p "? "
  ? ^C
  real	0m5.254s
  user	0m0.000s
  sys	0m0.000s

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1317476/+subscriptions



More information about the foundations-bugs mailing list