parallel
[Top][All Lists]
Advanced

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

RE: tcgetattr: Invalid argument


From: Fratkin, Allyn
Subject: RE: tcgetattr: Invalid argument
Date: Thu, 9 May 2013 21:41:47 +0000

The echo (and the cat at the end) are intended to simulate what parallel is 
doing.

-- 
Allyn Fratkin                    allyn@hp.com
Hewlett-Packard Company          http://www.fratkin.com/


-----Original Message-----
From: parallel-bounces+allyn=hp.com@gnu.org 
[mailto:parallel-bounces+allyn=hp.com@gnu.org] On Behalf Of Martin Møller 
Skarbiniks Pedersen
Sent: Thursday, May 09, 2013 2:40 PM
To: parallel@gnu.org
Subject: Re: tcgetattr: Invalid argument

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]