Lines 385-390
check this
Link Here
|
385 |
(using |
385 |
(using |
386 |
.Fn el_get ) |
386 |
.Fn el_get ) |
387 |
to determine if editing should be enabled or not. |
387 |
to determine if editing should be enabled or not. |
|
|
388 |
.It Dv EL_RESTART_READ , Fa "int flag" |
389 |
If |
390 |
.Fa flag |
391 |
is not zero (as per default), |
392 |
then |
393 |
.Fn el_getc |
394 |
and |
395 |
.Fn el_gets |
396 |
will restart character reads that failed with |
397 |
.Dv EINTR |
398 |
errors. |
399 |
Note this may be restricted to the builtin character read function |
400 |
.Dv EL_BUILTIN_GETCFN |
401 |
(see |
402 |
.Dv EL_GETCFN |
403 |
below). |
388 |
.It Dv EL_GETCFN , Fa "int (*f)(EditLine *, char *c)" |
404 |
.It Dv EL_GETCFN , Fa "int (*f)(EditLine *, char *c)" |
389 |
Define the character reading function as |
405 |
Define the character reading function as |
390 |
.Fa f , |
406 |
.Fa f , |
Lines 486-491
Retrieve
Link Here
|
486 |
previously registered with the corresponding |
502 |
previously registered with the corresponding |
487 |
.Fn el_set |
503 |
.Fn el_set |
488 |
call. |
504 |
call. |
|
|
505 |
.It Dv EL_RESTART_READ , Fa "int" |
506 |
Return non-zero if reading of characters is automatically restarted for |
507 |
.Dv EINTR |
508 |
errors. |
489 |
.It Dv EL_UNBUFFERED , Fa "int" |
509 |
.It Dv EL_UNBUFFERED , Fa "int" |
490 |
Sets or clears unbuffered mode. |
510 |
Sets or clears unbuffered mode. |
491 |
In this mode, |
511 |
In this mode, |