pull via ssh
Thomas Arendsen Hein
thomas at intevation.de
Thu Aug 4 05:32:54 CDT 2005
* Bryan O'Sullivan <bos at serpentine.com> [20050802 23:33]:
> On Tue, 2005-08-02 at 21:19 +0000, tnorth at bluewin.ch wrote:
> > Is it a known bug ?
>
> Your .login or .profile on the far end is printing stuff when stdout is
> not a terminal.
>
> We should work around this by looking for a magic identifier before we
> start the server. However, this won't happen soon; just fix your login
> scripts for now.
I don't think we need to work around this, as detecting such a
broken login configuration is important.
To check if printing is save in the login scripts, you can use the
'tty' command:
tty > /dev/null && echo "Welcome"
or:
if tty > /dev/null; then
echo "Welcome"
echo "some more text"
fi
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list