Hi Jörg,
Am 08.07.2015 um 12:13 schrieb Joerg Schilling:
Sorry for asking, but does Gentoo include the Bourne Shell?
$ readlink /bin/sh
bash
I guess this means "no" ...
If you like to do, the latest portable Bourne Shell is in:
http://sourceforge.net/projects/schilytools/files/schily-2015-07-07.tar.bz2
I downloaded and compiled your archive.
$ echo $0
./sh/OBJ/x86_64-linux-cc/sh
$ $0 --version
sh (Schily Bourne Shell) version 2015/06/27 a+ (x86_64-unknown-linux-gnu)
Copyright (C) 1984-1989 AT&T
Copyright (C) 1989-2009 Sun Microsystems
Copyright (C) 1982-2015 Joerg Schilling
Now I cannot reproduce the no-echo issue, at least with my ssh method.
But as I said, I also couldn't do it with `bash --posix`. So this seems
somehow related. The non-POSIX Bash seems to trigger something and
doesn't reset it under certain circumstances.
--Flo