Thread (1 message) 1 message, 1 author, 2021-05-07

Re: [PATCH v1 1/8] compat/terminal: let prompt accept input from pipe

From: Junio C Hamano <hidden>
Date: 2021-05-07 05:26:07

Jeff King [off-list ref] writes:
quoted
For testing, wouldn't lib-terminal.sh be usable for your purpose?
If not, what is the reason why it is insufficient?  Can we fix that
instead?
That doesn't work, because it insists on reading from /dev/tty and not
the pty that lib-terminal will set up as stdin. But...
I somehow thought that lib-terminal was a bit more complete in that
it would make the pty we allocate to the controlling terminal for
the process that runs the test program.  Sigh.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help