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

Re: read in es



>> (2) reopened the tty so the
>> parse loop doesn't also get the eof, thereby killing the shell off.
>
>i don't think i had intended it to do this.  does anyone expect that
>result?

This is already a problem in es that makes implementing something like
"ignoreeof" hard or impossible to implement.  I tried things like reopening
fd 0 by doing

      exec { < /dev/tty }

in the eof handler but the REPL still keeps getting eof exceptions forever
afterward.

Any ideas how to work around this?