Re: tty debocle

Eli Zaretskii <[email protected]> Thu, 27 Aug 2020 21:21:01 +0300
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
[PLEASE use Reply All to keep the list CC'ed.]

> From: Keith Runyon <[email protected]>
> Date: Thu, 27 Aug 2020 12:06:18 -0600
> 
> okay so you have the same path as me except mine is 86_64
> 
> So if I run the command to check if my terminal is tty
> 
> from naitive  cmd.exe => tty is successful and points to /dev/cons0
> from msys2's bash.exe => tty is successful and points to /dev/pty0
> 
> but then if i run these from  either *shell*  *eshell*
> they both return => stdin is not tty
> 
> So it something in how emacs translates these.

No, it's because Emacs on Windows uses pipes to communicate with the
shell.