For some reason on my gentoo box, if I try to run some processes in the
background, even if they're not trying to print to the console, they block
until I bring them to the foreground. This is only on my gentoo box, every
other Linux/BSD/nix box I work on does not do this, so I'm assuming that it's
some kind of terminal setting.
Would anyone have any idea what would cause this?
Thanks,
Mike
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
11-06-2009, 11:52 PM
Nikos Chantziaras
terminal settings
On 11/07/2009 02:30 AM, Michael P. Soulier wrote:
Hi,
For some reason on my gentoo box, if I try to run some processes in the
background, even if they're not trying to print to the console, they block
until I bring them to the foreground. This is only on my gentoo box, every
other Linux/BSD/nix box I work on does not do this, so I'm assuming that it's
some kind of terminal setting.
Some examples would be helpful.
11-07-2009, 01:49 AM
Harry Putnam
terminal settings
Nikos Chantziaras <realnc@arcor.de> writes:
> On 11/07/2009 02:30 AM, Michael P. Soulier wrote:
>> Hi,
>>
>> For some reason on my gentoo box, if I try to run some processes in the
>> background, even if they're not trying to print to the console, they block
>> until I bring them to the foreground. This is only on my gentoo box, every
>> other Linux/BSD/nix box I work on does not do this, so I'm assuming that it's
>> some kind of terminal setting.
>
> Some examples would be helpful.
echo $SHELL for sure.
11-07-2009, 05:13 PM
"Michael P. Soulier"
terminal settings
On 06/11/09 Harry Putnam said:
> > Some examples would be helpful.
>
> echo $SHELL for sure.
It's /bin/bash.
Damn, this actually seems inconsistent. I did a fresh login and background
jobs with output to stdout aren't hanging.
Oh wait, one just did. It started fine...
msoulier@anton:~$ backup_pa.sh &
[1] 15388
msoulier@anton:~$ Backup up remote dirs etc/httpd usr/local/etc git var/www
home/pawsitiveapproach to local file pa_backup.20091107.tar.gz...
msoulier@anton:~$ jobs
[1]+ Running backup_pa.sh &
and then
[1]+ Stopped backup_pa.sh
but if I bring it to the foreground...
msoulier@anton:~$ fg
backup_pa.sh
Hmm, it doesn't seem to be running actually, it looks like it's still
sleeping... All it's doing is running a remote tar over ssh.
My "at" jobs tend to hang for the same reason, but only on that box. I can't
explain it, and I don't know what would control that.
Mike
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein