March 15th, 2004


userinfo senji
2004/03/15 11:40:00 - bash
A while back, someone, I think it was simont mentioned that they had a patch to bash(1) which printed job completion notifications when they turned up, rather than waiting until just before the next prompt, but in a helpful and useful way.

Could someone please point me at the right person / a copy of the patch?
Current Mood: [mood icon] geeky

< | 5 glosses | comment | > )

userinfo simont
[userpic]
2004/03/15 03:46:34
I'm called simont round here.

And yes, it was me, and I do have the patch; but I'm afraid it doesn't actually work very well. There are synchronisation issues I have yet to fix, at least one of which is a constant inconvenience.

You can have a copy if you want (and if you were to feel like helping debug it, that would be great of course!), but you have been warned...
reply | thread )
userinfo senji
2004/03/15 03:48:37
I'm called simont round here.

I'd noticed that, and corrected it, while you were writing your comment! :-)

A copy would be nice please, although I don't know if I'll get the time to track down any bugs...

reply | parent | thread )
userinfo simont
[userpic]
2004/03/15 03:53:52
What version of bash? I have patches for 2.05.8, 2.05a and 2.05b.
reply | parent | thread )
userinfo senji
2004/03/15 03:56:04
I appear to be using:
GNU bash, version 2.05a.0(1)-release (i386-pc-linux-gnu)
and
GNU bash, version 2.05b.0(1)-release (i586-suse-linux)
at the moment.
reply | parent | thread )
userinfo simont
[userpic]
2004/03/15 04:10:26
I should have just uploaded all three rather than bothering to ask which you wanted, shouldn't I? Sorry.

Look on chiark, in ~sgtatham/tmp/bash. The patch introduces a new option to set, called "notify-sensibly". What I then do in my .bashrc is "set -o notify-sensibly 2>/dev/null && set -b". This enables my feature if present, and does nothing otherwise (i.e. doesn't turn on the rather crap standard async notify).
reply | parent | thread )

< | 5 glosses | comment | > )

bash - Squaring the circle...

> log in
> recent entries
> fiends
> archive
> toothywiki page
> profile
> new entry
> recent comments


> go to top