Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!europa.chnt.gtegsc.com!news.kreonet.re.kr!overload.lbl.gov!lll-winken.llnl.gov!nntp.coast.net!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Problem with tty and background jobs. Date: 22 Dec 1995 00:07:27 GMT Organization: Private BSD site, Dresden Lines: 19 Message-ID: <4bcsrv$gdp@uriah.heep.sax.de> References: <4apg2v$jd9@panix.com> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 cgavalas@panix.com (Constantine Gavalas) writes: > I am having a problem trying to submit a job in the background with 2.05. > The command that I am submitting is as follows : > ping -c1 127.0.0.1 . /dev/null & > The OS returns > [1] + Stopped (tty output) ping -c1 127.0.0.1 . /dev/null > Why is that ? What am I doing wrong? A bug in ping (or misfeature? it seems to be intentional). Anyway, redirecting the _input_ from /dev/null (or any descriptor not being a tty) helps. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)