-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check rc changes to see if any should be ported #1
Comments
This link is broken, so here is a snapshot of it from the Internet Archive: |
Thanks. |
https://github.com/rakitzis/rc EDIT: someone pointed out that https://github.com/muennich/rc has some more recent changes as the previous repo isn't being updated. I'm mostly interested in bugs that have been fixed in the last 20 years, though, since Rakitzis's rc has had more development (and likely usage) since the es codebase was forked. |
The $job-control variable allows es to claim its own process group. Then the %make-job command groups child processes under their own pgrps. The wait command is extended significantly to support waiting for pgrps as well as pids.
A new 'PRINT_CLOSURES' configuration parameter has been added to esconfig.h. It defaults to 0 so the output of a closure is abridged to %closure(a;b;...)@ * {...} When 'PRINT_CLOSURES' is enabled, some old code that was previously commented out has been uncommented, so even closures with cyclical references can be printed: ; whatis <={@ x y { (x y) = @ cmd { $cmd $y } 1 ; result $x }} %closure(x='0 $&nestedbinding';y=1)@ cmd{$cmd $y} # 0 $&nestedbinding # the code tree associated with the closure, i.e. # '@ cmd{$cmd $y}' in this case # {n} $&nestedbinding # the code tree bound to another closure # # NOTE: $&nestedbinding doesn't actually exist. # It's purely an indicator of a cyclical reference, like # how 'wryun#1=(a b . wryun#1#)' is used in some Lisps to avoid # printing an endless stream of 'a b'.
A new 'ABRIDGE_CLOSURES' configuration parameter has been added to esconfig.h. It defaults to 0 so a closure string is abridged to %closure(a;b;...)@ * {...} When 'ABRIDGE_CLOSURES' is enabled, some old code that was previously commented out has been uncommented, so even closures with cyclical references can be printed: ; whatis <={@ x y { (x y) = @ cmd { $cmd $y } 1 ; result $x }} %closure(x='0 $&nestedbinding';y=1)@ cmd{$cmd $y} # 0 $&nestedbinding # the code tree associated with the closure, i.e. # '@ cmd{$cmd $y}' in this case # {n} $&nestedbinding # the code tree bound to another closure # # NOTE: $&nestedbinding doesn't actually exist. # It's purely an indicator of a cyclical reference, like # how 'wryun#1=(a b . wryun#1#)' is used in some Lisps to avoid # printing an endless stream of 'a b'.
A new 'ABRIDGE_CLOSURES' configuration parameter has been added to esconfig.h. It defaults to 0 so a closure string is abridged to %closure(a;b;...)@ * {...} When 'ABRIDGE_CLOSURES' is enabled, some old code that was previously commented out has been uncommented, so even closures with cyclical references can be printed: ; whatis <={@ x y { (x y) = @ cmd { $cmd $y } 1 ; result $x }} %closure(x='0 $&nestedbinding';y=1)@ cmd{$cmd $y} # 0 $&nestedbinding # the code tree associated with the closure, i.e. # '@ cmd{$cmd $y}' in this case # {n} $&nestedbinding # the code tree bound to another closure # # NOTE: $&nestedbinding doesn't actually exist. # It's purely an indicator of a cyclical reference, like # how 'wryun#1=(a b . wryun#1#)' is used in some Lisps to avoid # printing an endless stream of 'a b'.
http://paganbooks.eu/software/article/rc
The text was updated successfully, but these errors were encountered: