parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tcgetattr: Invalid argument


From: Martin Møller Skarbiniks Pedersen
Subject: Re: tcgetattr: Invalid argument
Date: Thu, 9 May 2013 23:39:49 +0200

On 9 May 2013 20:11, Fratkin, Allyn <allyn@hp.com> wrote:
> Perhaps the error is specific to Red Hat?  I reproduced it with remote hosts 
> running RHEL 5.2, 5.8, 6.3.  The local host is RHEL 5.8.
>
> ANY invocation of stty, even without arguments, provokes the "tcgetattr: 
> Invalid argument" error message.
>
> [afratkin@vl001 src]$ echo hello | ssh -tt -oLogLevel=quiet g4t0930c stty | 
> cat # RHEL 5.2
> tcgetattr: Invalid argument

Why echo hello as stdin to your stty ?

stty doesn't like stdin in general.

On a debian 6 machine I get this:
$ echo hello | stty
stty: standard input: Inappropriate ioctl for device

$ echo | stty
stty: standard input: Inappropriate ioctl for device

$ stty
speed 38400 baud; line = 0;
eol = M-^?; eol2 = M-^?;
-brkint ixany

/Martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]