Skip to content
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

Open
wryun opened this issue Aug 21, 2012 · 3 comments
Open

Check rc changes to see if any should be ported #1

wryun opened this issue Aug 21, 2012 · 3 comments
Milestone

Comments

@wryun
Copy link
Owner

wryun commented Aug 21, 2012

http://paganbooks.eu/software/article/rc

@onetom
Copy link

onetom commented Apr 12, 2015

This link is broken, so here is a snapshot of it from the Internet Archive:
https://web.archive.org/web/20130116215619/http://paganbooks.eu/software/article/rc

@wryun
Copy link
Owner Author

wryun commented May 14, 2015

Thanks.

@wryun
Copy link
Owner Author

wryun commented May 31, 2022

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.

jpco added a commit to jpco/es-shell that referenced this issue Jan 30, 2024
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.
memreflect added a commit to memreflect/es-shell that referenced this issue Aug 2, 2024
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'.
memreflect added a commit to memreflect/es-shell that referenced this issue Aug 3, 2024
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'.
memreflect added a commit to memreflect/es-shell that referenced this issue Aug 3, 2024
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'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants