On Fri, Dec 11, 2020 at 10:23 PM Andras Farkas
<deepbluemist...@gmail.com> wrote:
> Also, I think the line:
> ttyinf = stdin;
> is almost certainly unnecessary.  But I'd like someone else more
> versed in programming to confirm this.  I don't think ttyinf's value
> of stdin is ever used, as it gets set next to /dev/tty

I now see the purpose of it.  If stdin is already the tty then
/dev/tty doesn't need to be opened (a second time)
My patch needs no modification as for ttyinf then.

Reply via email to