On my Windows XP machine I use Emacs-25.2.1. During web app development I use ConEmu version 191012 and I need to use Emacs at the command line. When I enter
emacs -nw on ConEmu, it says
emacs: standard input is not a tty
This error occurs on MSYS2's default terminal Mintty which is invoked by
cmd.exe /A /Q /K C:\msys32\mingw32_shell.bat, too but it doesn't occur on Windows' default CMD.exe and PowerShell so I guess it may have something to do with the Environment Variables. Several months ago, the ConEmu had a problem where the arrow keys and backspace were not working, (roughly described here) and I remember fixing it by changing or deleting an environment variable. This
standard input is not a tty problem seemed to pop up roughly around the same after I fixed that problem but I'm not 100% sure of this.
What should I do to fix this problem?