Re: Short question

1999-08-12 Thread Aviram Jenik
the wrong executable. - Original Message - From: Yaron Zabary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 11, 1999 8:17 Night Subject: Re: Short question Die thread, die. -- Yaron. = To unsubsc

Re: Short question

1999-08-11 Thread Adam Morrison
In [EMAIL PROTECTED], Ariel Biener [EMAIL PROTECTED] writes: Does anybody know a shell command that allows me to run something in the background immediately? Use nohup if you're using a Bourne shell (sh) descendant. Just use `' if you're using a C shell (csh) descendant. Both

Re: Short question

1999-08-11 Thread Ariel Biener
On 11 Aug 1999, Adam Morrison wrote: Hi Adam, Most things you run in the backround (like ftp, irc, and such) install their own handlers. In fact, you have to know for sure that the job you run has not installed a signal handler. So, practically, the job must: 1). not be interactive. 2).

Re: Short question

1999-08-11 Thread Adam Morrison
In [EMAIL PROTECTED], Ariel Biener [EMAIL PROTECTED] writes: Most things you run in the backround (like ftp, irc, and such) install their own handlers. ``Oh, really?'' % find /usr/src/usr.bin/ftp/ | xargs grep SIGHUP % And as for IRC, it EXITS on a SIGHUP.

Re: Short question

1999-08-11 Thread Ariel Biener
On 11 Aug 1999, Adam Morrison wrote: First of all, I said jobs wont exit when run with nohup, unless your reading capability is less than your unix knowledge. Second, ftp WILL exit when it loses the control terminal. Try it, from bash or tcsh. In fact, most Unix utilities will exit when

Re: Short question

1999-08-11 Thread Stanislav Malyshev a.k.a Frodo
AB In fact, most Unix utilities will exit when losing the control terminal. Depends on what do you mean on "losing". If you do the following: run ftp background it while it's busy (i.e., not reading from terminal, like in downloading) desintegrate parent shell process (like kill -9) then ftp

Re: Short question

1999-08-11 Thread Ariel Biener
On Wed, 11 Aug 1999, Stanislav Malyshev a.k.a Frodo wrote: THANKS ! FInally a sane voice among the croud. What I meant is that most Unix utils are designed to DO SOMETHING when they look for the control terminal (waiting for input, or write output), and they have a decision making clause when

Re: Short question

1999-08-11 Thread Adam Morrison
In [EMAIL PROTECTED], Ariel Biener [EMAIL PROTECTED] writes: Second, ftp WILL exit when it loses the control terminal. Try it, from bash or tcsh. I explained this behavior previously. When the terminal goes away, the program will start getting errors on write()s to the

Re: Short question

1999-08-11 Thread Ariel Biener
On 11 Aug 1999, Adam Morrison wrote: No, you're right. I was referring to something else completely, and thus this misunderstanding. To better explain. If you try backgrounding a process why it waits for input: host:~ ftp host ftp ^Z Suspended host:~ bg [1]ftp ftp host:~ newline [1] +

Re: Short question

1999-08-11 Thread Adam Morrison
In [EMAIL PROTECTED], Ariel Biener [EMAIL PROTECTED] writes: I was referring to something else completely, and thus this misunderstanding. To better explain. If you try backgrounding a process why it waits for input: host:~ ftp host ftp ^Z Suspended host:~ bg [1]ftp ftp

Re: Short question

1999-08-11 Thread Yaron Zabary
Die thread, die. -- Yaron. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]

the dead thread (Short question ...)

1999-08-11 Thread Ariel Biener
I do apologize to you all for making a fool out of myself. Best, --Ariel -- Ariel Biener e-mail: [EMAIL PROTECTED] Work phone: 03-640608 fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC = To

Re: Short question

1999-08-10 Thread Ariel Biener
On 10 Aug 1999, Adam Morrison wrote: In [EMAIL PROTECTED], Isaac Aaron [EMAIL PROTECTED] writes: Does anybody know a shell command that allows me to run something in the background immediately? Use nohup if you're using a Bourne shell (sh) descendant. Just use `' if you're using a C

Short question

1999-08-09 Thread Isaac Aaron
Hi Does anybody know a shell command that allows me to run something in the background immediately? I've looked in to the alternatives - at: Doesn't fit my need. I need to run it now. batch: Batch run a process immed. only if the load average is lower than 0.8. cron: Same as at. issuing the

Re: Short question

1999-08-09 Thread Yaron Zabary
On Mon, 9 Aug 1999, Isaac Aaron wrote: Hi Does anybody know a shell command that allows me to run something in the background immediately? I've looked in to the alternatives - at: Doesn't fit my need. I need to run it now. You could at now + 0 minutes batch: Batch run a

Re: Short question

1999-08-09 Thread Omer
For processes that need input, just redirect /dev/null ( /dev/null). "Stanislav Malyshev a.k.a Frodo" wrote: IA issuing the command with the sign: This will run as a nested process. IA When I'll close the terminal, the command will shut with it. nohup is your friend. Also an interesting

Re: Short question

1999-08-09 Thread Ariel Biener
On Mon, 9 Aug 1999, Yaron Zabary wrote: You can also use `screen'. --Ariel On Mon, 9 Aug 1999, Isaac Aaron wrote: Hi Does anybody know a shell command that allows me to run something in the background immediately? I've looked in to the alternatives - at: Doesn't fit my

Re: Short question

1999-08-09 Thread Vadim Smelyansky
On Mon, 9 Aug 1999, Isaac Aaron wrote: Does anybody know a shell command that allows me to run something in the background immediately? I've looked in to the alternatives - at: Doesn't fit my need. I need to run it now. batch: Batch run a process immed. only if the load average is lower