help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Mixing background tasks with input redirection somehow u


From: João Eiras
Subject: Re: [Help-bash] Mixing background tasks with input redirection somehow unsets stty's icanon and echo
Date: Fri, 23 Dec 2016 00:38:51 +0100

Hi !

On 22 December 2016 at 23:02, Bob Proulx <address@hidden> wrote:
>
> What operating system are you running?
>

$ lsb_release -a
LSB Version:
core-9.20160110ubuntu5-amd64:core-9.20160110ubuntu5-noarch:security-9.20160110ubuntu5-amd64:security-9.20160110ubuntu5-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:        16.10
Codename:       yakkety
$ uname -a
Linux coruscant 4.8.0-28-generic #30-Ubuntu SMP Fri Nov 11 14:03:52
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

> However using --noninteractive was accepted without error.
>
>   nmap --noninteractive
>

Ah, it's working as well for me. Awesome.

But, then I got confused by strace (see my previous e-mail).

Process with PID 24554 leaves the bad flag values, and that one was
created using a clone() call from another bash instance, also
clone()d.

But, then I found also this line.
[pid 24554] connect(5, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("2.3.4.2")}, 16) = -1 EINPROGRESS (Operation now in
progress)

Yeap, 24554 is the nmap instance, and strace got me confused
(shouldn't it have instead showed an exec call?).

I'll take it further with the nmap people.

Thanks for the help !



reply via email to

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