-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Christmann wrote:
> Hi,
>
> when I run an application via ssh like
> "ssh HOSTNAME xterm" I get the ssh warning:
> "stty: standard input: Invalid argument".
>
> Any ideas how to get rid of it?
Yes.
Look through the various profile scripts that you execute when you log
on, and change the stty commands to redirect their stderr to /dev/null
("2>/dev/null") . Pseudo-ttys, like the one that ssh uses, don't
support some of the system calls (IOCTLs, etc) that stty uses, and stty
will report on any such problems that it encounters. Directing those
error messages to /dev/null lets the stty command do the proper thing
when you log on to a direct-attached terminal, and not disturb you when
you log on through ssh.
HTH
- --
Lew Pitcher
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12
iD8DBQFFK6gFagVFX4UWr64RAqxhAJ9JRh8Xirz1jHa6y/jUbDbTxg69jgCeNiaE
SRjVY6ba0Bf10vPAWKxnbjw=
=JlXT
-----END PGP SIGNATURE-----
|