Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15392 > unrolled thread
| Started by | Aust zhu <austzhu119@gmail.com> |
|---|---|
| First post | 2019-09-21 23:23 +0800 |
| Last post | 2019-09-21 23:23 +0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Some questions about the use of readline() Aust zhu <austzhu119@gmail.com> - 2019-09-21 23:23 +0800
| From | Aust zhu <austzhu119@gmail.com> |
|---|---|
| Date | 2019-09-21 23:23 +0800 |
| Subject | Some questions about the use of readline() |
| Message-ID | <mailman.734.1569079940.2190.bug-bash@gnu.org> |
Hello!
I am having some problems with readline(). When calling the readline()
function it is blocked. I want to set a timeout for the readline function
to return.
I tried setting rl_done=1, and fprintf(rl_instream,"\r\n");
fflush(rl_instream); can't make the readline() function return. What should
I do to make the readline() function return?
I am using libreadline-8.0
Thank you!
Back to top | Article view | gnu.bash.bug
csiph-web