bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] Readline: Bug in timeout


From: Anant Shankar
Subject: [Bug-readline] Readline: Bug in timeout
Date: Tue, 30 Mar 2010 18:50:37 +0530

Dear Sir,

The version number : 5.1beta1
The machine and OS : Intel Pentium 4, OpenSuse

Bug Description:
I was trying to use the timeout feature in readline to call the function assigned to rl_event_hook function pointer after a specified amount of time period expires in absense of any activity on the terminal. The time out was specified using the function rl_set_keyboard_input_timeout().

But on doing this the function was being called on each and every event like any key press, along with the call on the timeout.

What I wanted to do was to make it call a function if no activity is observed for a specified amount of time.

Possible Bug(if it is) : the problem seems to be present in the rl_read_key. I have thought of a solution and would be pleased to share the same, but only if this comes out be a valid bug, because it can be a case of my misunderstanding.

Regards,
Anant Shankar

reply via email to

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