On 7/24/20 1:32 AM, Grisha Levit wrote:
> It seems that disabling the EOF character does not have an effect on
> readline.
No. Readline will bind a few of the special tty characters to their
readline equivalents (controlled by the `bind-tty-special-chars' variable),
but the EOF character is not o
Grisha Levit writes:
> It seems that disabling the EOF character does not have an effect on
> readline. For example:
>
> $ stty sane
> $ stty eof undef
> $ ^D
> Use "logout" to leave the shell.
> $ read -e; echo $?
> ^D
> 1
That's messy!
When you execute "read -e", yo
It seems that disabling the EOF character does not have an effect on
readline. For example:
$ stty sane
$ stty eof undef
$ ^D
Use "logout" to leave the shell.
$ read -e; echo $?
^D
1
But the setting did take effect, as can be verified by running, e.g.
`read' w/o readli