./shells/rc, Unix incarnation of the plan9 shell

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.7.4, Package name: rc-1.7.4, Maintainer: pkgsrc-users

rc - a unix version of the Plan-9 Shell.


See the end of the man page, under "INCOMPATIBILITIES" for (known?)
differences from the "real" rc. Most of these changes were necessary
to get rc to work in a reasonable fashion on a real (i.e., commercial,
non-Labs) UNIX system; a few were changes motivated by concern
about some inadequacies in the original design.


This shell was written by Byron Rakitzis, but kudos go to Paul
Haahr for letting me know what a shell should do and for contributing
certain bits and pieces to rc (notably the limits code, print.c,
most of which.c and the backquote redirection code).

Required to build:

Master sites:

Filesize: 210.162 KB

Version history: (Expand)

CVS history: (Expand)

   2021-10-26 13:18:40 by Nia Alarie | Files touched by this commit (38)
Log message:
shells: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:56:13 by Nia Alarie | Files touched by this commit (38)
Log message:
shells: Remove SHA1 hashes for distfiles
   2017-08-05 12:45:39 by Benny Siegert | Files touched by this commit (2) | Package updated
Log message:
Update rc to 1.7.4, also fixing a really old CVE in the process.


  Bug: fix globbing of broken symlinks.


  Bug: readline doesn't handle EIO either.


  Bug: variables that are sometimes exported (i.e. $prompt and
  $version) need to be made exportable if they are inherited from the

  Portability: don't call sigaction() for SIGKILL or SIGSTOP; don't
  hand a garbage signal mask to sigaction() (thanks Jeremy
  Fitzhardinge).  Also, remove use of SA_INTERRUPT (SUSv3, BSD,
  etc. have SA_RESTART with the inverted meaning).


  Bug: don't call ealloc(0) on systems where getgroups() doesn't
  return egid (thanks Chris Siebenmann).


  Bug: history dumps core if more colons than substitutions (thanks
  Callum Gibson); history fails to avoid itself if it's the only
  command; history writes and reads outside allocated memory.

  Configuration: upgrade to autoconf-2.56 and automake-1.7.1.


  Testing: remove test for large file support, as it causes
  indigestion on file systems that don't support sparse files (thanks
  Scott Schwartz).


  Release: rc-1.7.1.


  Tidiness: minor improvements to input.c.


  Bug: fix for CVE-2014-1936 from Jakub Wilk.


  Documentation: update email and web addresses.


  Feature: support quoting for filename completion in GNU readline.


  Bug: quoting of glob characters was broken (thanks Christian
  Neukirchen); fix the "sneaky parens" bug properly (thanks Wolfgang

  Feature: allow $"x as a synonym for $^x

  Release: rc-1.7.2.


  Packaging: the rc.spec file was very out-of-date.


  Portability: the comment from 1999-08-19 may well have been true at
  the time, but the final version of the C99 standard called varargs
  copying macro va_copy().


  Portability: look in -ltinfo for tgetent.

  Packaging: various autoconf / automake updates and tweaks.


  Bug: in initinput(), the call ugchar(EOF) used the ungetcount member
  of the top Input structure without initializing it. Thanks to Jeff
  Johnson for finding this, Robert Scheck for reporting it, and Uli
  Drepper for implementing MALLOC_PERTURB_, a cheap way to find uses of
  uninitialized memory.


  Licensing: tweaked to match exactly the "zlib with acknowledgement"
  license which is used by nunit and is already approved by various


  Release: rc-1.7.3.


  Licensing: due to GPL compatibility concerns, the license is changed
  again to the "zlib" license. (N.B. This license change was agreed and
  approved by Byron Rakitzis, who is the copyright holder.)

  Testing: swap arguments to mktemp to be kinder to NetBSD (thanks Piotr


  Release: rc-1.7.4.
   2015-11-03 00:00:35 by Alistair G. Crooks | Files touched by this commit (25)
Log message:
Add SHA512 digests for distfiles for shells category

Existing SHA1 digests verified, all found to be the same on the
machine holding the existing distfiles (morden).  Existing SHA1
digests retained for now as an audit trail.
   2014-03-01 04:26:12 by David A. Holland | Files touched by this commit (1)
Log message:
   2014-03-01 04:24:43 by David A. Holland | Files touched by this commit (1)
Log message:
Use the HOMEPAGE for this version of rc, not the plan9 one.
(but keep the plan9 url for reference)
   2013-07-15 04:02:29 by Ryo ONODERA | Files touched by this commit (177)
Log message:
* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
  are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
   2012-09-12 01:25:10 by Aleksej Saushev | Files touched by this commit (26)
Log message:
"user-destdir" is default these days