Subject: [TRAMP] NetBSD stty does not support tab0
From: iquiw <[email-masked]>
To: [email-masked]
Date: Sat, 15 Oct 2016 11:20:38 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

Tramp sends "stty tab0 ..." to remote host in
`tramp-open-connection-setup-interactive-shell' function.

NetBSD stty does not support "tab0" [1], so the command fails.
As a result, Tramp hangs while connecting to NetBSD host.

According to the manual [2], OpenBSD stty seems not support "tab0" too.

Both supports "tabs" which does same as "tab0".
It seems "tabs" is supported in other implementations, such as Linux,
FreeBSD, macOS.

[1] http://netbsd.gw.com/cgi-bin/man-cgi?stty++NetBSD-current
[2] http://man.openbsd.org/OpenBSD-current/man1/stty.1

Thanks in advance,
iku