Re: shelving misc patches

2002-07-18 Thread Alexander V. Lukyanov
On Wed, Jul 17, 2002 at 06:09:23PM -0400, Glenn Maynard wrote: repeat 0s foo often requires multiple ^Cs to stop. It seems that the CmdExec within SleepJob is being run by the scheduler first, not doing anything with the SIGINT (since it's not interactive), and then clearing it in

Re: shelving misc patches

2002-07-18 Thread Glenn Maynard
On Thu, Jul 18, 2002 at 11:01:33AM +0400, Alexander V. Lukyanov wrote: I think you are right. Here is another patch. This fixes the repeat 0 foo problem, but repeat 0 !echo hi still has problems. I'm not sure why. I'll try to track it down. (I'm not sure where the signal's going.) -- Glenn

Re: shelving misc patches

2002-07-18 Thread Alexander V. Lukyanov
On Thu, Jul 18, 2002 at 04:18:06AM -0400, Glenn Maynard wrote: On Thu, Jul 18, 2002 at 11:01:33AM +0400, Alexander V. Lukyanov wrote: I think you are right. Here is another patch. This fixes the repeat 0 foo problem, but repeat 0 !echo hi still has problems. I'm not sure why. I'll try to

Re: shelving misc patches

2002-07-17 Thread Alexander V. Lukyanov
On Sat, Jul 13, 2002 at 12:00:09AM -0400, Glenn Maynard wrote: You left out the rest of the stuff in that file, too ... What did I forget? The repeat problem isn't completely contrived, by the way; it also happens when any filters are used (ie. repeat 0s zcat file). There is a way to solve

Re: shelving misc patches

2002-07-17 Thread Alexander V. Lukyanov
On Wed, Jul 10, 2002 at 10:07:58PM -0400, Glenn Maynard wrote: Try: repeat 0s !echo hi A ^C gets eaten by the child job; you have to mash ^C to stop it. I'm not sure there's a clean way to fix this. (Repeat shouldn't stop if its command exits with an error; perhaps it should exit if the

Re: shelving misc patches

2002-07-17 Thread Glenn Maynard
On Wed, Jul 17, 2002 at 07:09:41PM +0400, Alexander V. Lukyanov wrote: Try: repeat 0s !echo hi A ^C gets eaten by the child job; you have to mash ^C to stop it. I'm not sure there's a clean way to fix this. (Repeat shouldn't stop if its command exits with an error; perhaps it should

Re: shelving misc patches

2002-07-12 Thread Alexander V. Lukyanov
On Wed, Jul 10, 2002 at 10:07:58PM -0400, Glenn Maynard wrote: On Wed, Jul 10, 2002 at 03:15:02PM +0400, Alexander V. Lukyanov wrote: I have committed it to cvs, without commented out test code. Normally I'd bash on this a bit more before sending it in, but since the stuff in CVS right now

Re: shelving misc patches

2002-07-12 Thread Glenn Maynard
On Fri, Jul 12, 2002 at 02:10:43PM +0400, Alexander V. Lukyanov wrote: Patches applied. I left out debug resource for now, maybe will add it later, along with other debug settings. You left out the rest of the stuff in that file, too ... The repeat problem isn't completely contrived, by the

Re: shelving misc patches

2002-07-10 Thread Alexander V. Lukyanov
On Tue, Jul 09, 2002 at 06:00:42PM -0400, Glenn Maynard wrote: On Tue, Jul 09, 2002 at 01:58:53PM +0400, Alexander V. Lukyanov wrote: OutputJob. It's useful, fixes the cls bug, and makes buffered outputting trivial from any job, but it's still a bit overcomplicated and I havn't had the