Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!iuvax!uceng!schriste From: schriste@uceng.UC.EDU (Steven V. Christensen) Newsgroups: comp.unix.questions Subject: Re: Why won't scripts run in the background? Message-ID: <4146@uceng.UC.EDU> Date: 10 Apr 90 02:47:47 GMT References: <1990Apr9.212425.6452@aucs.uucp> Distribution: na Organization: Univ. of Cincinnati, College of Engg. Lines: 32 880139h@aucs.uucp (Rob Hu10) writes: >This has been bugging me for just about too long. I've even asked >all the local smart fellers and none of them have any ideas. So, >I post my question: >WHY WON'T ANY @$#%$!!! SHELL SCRIPTS RUN IN THE BACKGROUND SUCCESFULLY >ON MY ACCOUNT WHEN THE _SAME_ SCRIPTS RUN JUST DANDY IN OTHER FOLK'S >ACCOUNTS????!!!!! >If I set up a script to run in the background, eg. scriptname &, >it runs just fine until I type a command or just . The error >message I get is : >[1] +Stopped (tty output) scriptname You need to have in your .login file the following command: stty -tostop This tells the system not to stop background programs when they try to write to the stdout. see also: man stty Steven -- Steven V. Christensen U.C. College of Eng. schriste@uceng.uc.edu