--- - branch: MAIN date: Wed Jan 13 13:14:21 UTC 2016 files: - new: '1.5' old: '1.4' path: pkgsrc/shells/osh/DESCR pathrev: pkgsrc/shells/osh/DESCR@1.5 type: modified - new: '1.32' old: '1.31' path: pkgsrc/shells/osh/Makefile pathrev: pkgsrc/shells/osh/Makefile@1.32 type: modified - new: '1.8' old: '1.7' path: pkgsrc/shells/osh/PLIST pathrev: pkgsrc/shells/osh/PLIST@1.8 type: modified - new: '1.18' old: '1.17' path: pkgsrc/shells/osh/distinfo pathrev: pkgsrc/shells/osh/distinfo@1.18 type: modified id: 20160113T131421Z.69264b46655e13e1c3d44983348b35e2ddcf5a88 log: "Update shells/osh to version 20160108 as request by upstream on\npkgsrc-users.\n\nAlso added copyright notices and installation of the license to make the\npackage compilant with it's license.\n\nChangelog:\n\nChanges that improve compatibility w/ the Sixth Edition (V6) UNIX\nThompson shell are marked w/ a `C:' in the details below.\n\n-------------------------------------------------------------------------------\n[osh-current] (development):\n\t* Work In Progress ( see http://v6shell.org/src/current/ )\n\n-------------------------------------------------------------------------------\n[osh-20160108] (latest):\nREADME:\n\t* Updated supported systems to include FreeBSD 10.2,\n\t \ Mac OS X 10.11 (El Capitan), NetBSD 7.0, OpenBSD 5.[78],\n\t and Debian 8.2 (jessie).\n\nMakefile:\n\t* Changed `-W' to `-Wextra' (same warning, newer name). \ From gcc(1) -\n\t This option used to be called -W. The older name is still supported,\n\t but the newer name is more descriptive.\n\nDEDICATIONS:\n\t* Updated the URL for dmr's home page at Bell Labs.\n\n*.h:\n\t* Added a sh6-related comment to the top of the header files\n\t since they are used by sh6 and its external utilities.\n\nexamples/dot.oshrc:\n\t* Redirected diagnostics from leaks(1) (Mac OS X) to /dev/null.\n\n-------------------------------------------------------------------------------\n[osh-20150115]:\nif.c, osh.c, strtoint.[hc], util.c:\n\t* Changed the strtoint() function to convert string into a\n\t long instead of an int, and ensured that numbers which might\n\t \ be considered to have an octal form (valid or invalid) are\n\t not treated as if they are decimal integers. For example:\n\t `if 0[0-9] -eq [0-9]' and `if [0-9] -eq 0[0-9]' and similar\n\t are always false, resulting in an error.\n\nif.c, util.c:\n\t* Changed how the built-in & external if(1) commands call\n\t the strtoint() function.\n\nerr.h, strtoint.c:\n\t* Changed the \"not an integer\" diagnostic for the strtoint()\n\t function to \"bad integer\".\n\nerr.h, if.c, util.c:\n\t* Changed the \"not a digit\" diagnostic for the built-in & external\n\t \ if(1) commands to \"bad digit\".\n\nerr.h:\n\t* Changed the order of the definitions for diagnostics to make finding\n\t the \"... expected\" ones for if(1) a bit easier.\n\n-------------------------------------------------------------------------------\n[osh-20141024]:\nREADME:\n\t* Added OS X 10.10 (Yosemite) to supported systems.\n\n\t* Added Debian 7.7 (wheezy) to supported systems.\n\nexamples/*.osh.login:\n\t* Changed /usr/X11 to /opt/X11 in *PATH.\n\nexamples/dot.oshrc:\n\t* Updated the sh6i alias to make it trap and untrap the 1 (HUP),\n\t 2 (INT), 3 (QUIT), 13 (PIPE), 14 (ALRM), 15 (TERM), 18 (TSTP),\n\t 21 (TTIN), and 22 (TTOU) signals accordingly for better behavior.\n\n-------------------------------------------------------------------------------\n[osh-20140820]:\n\t* See CHANGES6 .\n\n-------------------------------------------------------------------------------\n[osh-20140410]:\nMakefile:\n\t* Changed MOXARCH to OSXCFLAGS & OSXLDFLAGS to play better w/ MacPorts.\n\nMakefile.config:\n\t* Added comment to celebrate 12 years of osh via osh-current.\n\nosh.1:\n\t* Added missing (+) to version in Special commands.\n\nosh.c:\n\t* Enable `.' and `source' special built-in command execution\n\t to succeed when the user invokes the shell as `osh -c string'.\n\t EG:\n\n\t\t% osh -c '. file [arg1 ...]' [arg1 ...]\n\n\t \ or:\n\n\t\t% osh -c 'source file [arg1 ...]' [arg1 ...]\n\n\t .\n\n-------------------------------------------------------------------------------\n[osh-20131109]:\nosh.1:\n\t* Changed `LICENSE' to LICENSE to match the other manual pages.\n\nexamples/FILEPREP:\n\t* Changed `sigign' invocation to `trap'.\n\nexamples/dot.oshrc:\n\t* Added two useful pwd-related aliases: `ocpwd' and `opwd'\n\n\t* Added a `now' and a `sysinfo' alias.\n\n-------------------------------------------------------------------------------\n[osh-20130331]:\n*sh.[ch]:\n\t* Removed the deprecated $n and $s parameters.\n\t Now, the user can `set' and `unset' n and s as shell variables.\n\t The following command line is a simple way to replace\n\t all instances of $n w/ $# and $s w/ $? in file:\n\n\t\t% file)\n\n\t .\n\nosh:\n\t* Added code to print diagnostics w/ line numbers when possible.\n\t When reporting error(s), if a diagnostic is to be printed, the\n\t shell gets the line number of the file where the error happened,\n\t adjusts the diagnostic (adding the name of the file and the line\n\t number if the standard input from which the shell reads and\n\t \ interprets commands lines is seekable), and prints it. EG:\n\n\t\t% echo R* ; osh R* ; head -1 R*\n\t\tREADME\n\t\tosh: README: 1: syntax error\n\t\tWelcome to Osh (V6Shell) - osh-20130331 !\n\n\t .\n\n\t* Renamed the `sigign' special built-in command to `trap'\n\t to make osh signal-trapping behavior more sh-like. \ Granted,\n\t trap is a misnomer since osh only ignores signals for now.\n\nosh.1:\n\t* Removed the documentation for the $n and $s parameters.\n\n\t* Changed the documentation for `sigign' to `trap' as needed.\n\nexamples/*:\n\t* Made stty(1) invocation conditional in .../etc.osh.login .\n\n\t* Escaped $1 when setting hcount alias in .../dot.oshrc .\n\n-------------------------------------------------------------------------------\n[osh-20120604]:\n\t* New file: Makefile.config (included from Makefile)\n\n\t* New files: strtoint.[ch] (string to integer converter)\n\n\t* New files: tests/* (regression test suite for osh/sh6)\n\nMakefile:\n\t* Added a \"check\" target to run the tests w/ osh and sh6.\n\n\t* Added a \"check-newlog\" target to generate new test logs\n\t \ for the osh and sh6 tests.\n\ndefs.h:\n\t* Limited maximum PATHMAX definition to 1024.\n\npexec.c:\n\t* Changed errno to ENAMETOOLONG for each `path too long' error.\n\nosh:\n\tC: Added missing `Command line overflow' diagnostic.\n\n\t* Added $# (as a synonym for $n) parameter.\n\n\t* Added $? (as a synonym for $s) parameter.\n\n\t* Deprecated $n and $s parameters in favor of $# and $?.\n\t $n and $s parameters will be removed after this release.\n\n\t* Added simple shell variables. This allows the user to `set' and\n\t `unset' shell variables. For compatibility, these variables are\n\t limited to uppercase and lowercase ASCII alpha names that are\n\t one character in length. For example: $A $B $C and $a $b $c\n\t and so forth.\n\n\t* Changed quoting to allow $ substitution within double (\") quotes.\n\t For example: \"$$\", \"$*\", \"$1\", and so forth. This makes parameter\n\t and variable substitution much more flexible.\n\n\t* Added `.' as a synonym for `source'.\n\n\t* Enabled PATH search when opening file for `.' and `source'.\n\n\t* Changed `setenv' built-in command usage and behavior. Now, name\n\t requires value argument. Updated osh.1 manual page accordingly.\n\nif:\n\t* Added new operators to the built-in `if' command for osh\n\t and to the external `if' command for sh6. Updated the if.1\n\t manual page accordingly. The new operators include: <, >,\n\t -eq, -ne, -gt, -ge, -lt, -le\n\nosh.1:\n\t* Flagged $n and $s parameters as deprecated.\n\n\t* Added `set' and `unset' documentation to the\n\t \ \"Special commands\" subsection.\n\n\t* Added a new \"Variable substitution (+)\" subsection.\n\n\t* Documented `.' as a synonym for `source', and added relevant\n\t \ PATH search documentation.\n\n\t* Simplified \"SECURITY\" section a bit.\n\n\t* Updated \"Quoting\" subsection to describe double (\") quotes handling.\n\nexamples/*:\n\t* Made various changes to reflect current and future osh behavior.\n\n-------------------------------------------------------------------------------\n[osh-20120102]:\nmkconfig:\n\t* Changed _XOPEN_SOURCE definition from 600 to 600L .\n\nerr.h:\n\t* Added DEBUG_ALIAS, DEBUG_GLOB, and DEBUG_PROC definitions\n\t (undefined by default) for printf debugging in osh.c and\n\t util.c if/when needed.\n\nosh.c:\n\t* Changed exit status for alias and unalias so that they exit w/ a\n\t false (1) status when there are no aliases to print, set, or unset.\n\t Otherwise, they exit w/ a true (0) status when there is no error.\n\n\t* Added 'version' as special built-in command.\n\nosh.1:\n\t* Adjusted $v description in \"Parameter substitution\" subsection.\n\n\t* Added version description to \"Special commands\" subsection.\n\n\t* Added uname(1) to \"SEE ALSO\" section.\n\nexamples/dot.oshrc:\n\t* Replaced the 'version' alias w/ alias 'v1' 'version'\n\t to invoke the 'version' special built-in command.\n\n-------------------------------------------------------------------------------\n[osh-20111129-p1]:\nexamples/dot.oshrc:\n\t* Re-added missing ';s/ \\$//' that git ident removed from version alias.\n\t This removes trailing ' $' as shown in example 1 and 2 below:\n\n\t\t% : example 1 ; version\n\t\tosh-20111129 (NetBSD 5.1 amd64) $\n\n\t\t% : example 2 ; version\n\t\tosh-20111129-p1 (NetBSD 5.1 amd64)\n\n-------------------------------------------------------------------------------\n[osh-20111129]:\nmkconfig, v.c:\n\t* Added useful build system info from `uname -srm'.\n\nexamples/dot.*:\n\t* Removed code to replace osh w/ sh6 when invoked as\n\t `osh [-i | -l] sh6'. Use sh6i alias instead.\n\n\t* Changed sh6i alias for sake of simplicity.\n\n\t* Removed sh6l alias.\n\n\t* Changed from using kill(1) to kill current ssh-agent process\n\t \ to using ssh-agent(1) and its `-k' flag instead.\n\n\t* Added handy new v and version aliases. For example:\n\n\t\t% v ; : Same as doing % echo $v\n\t\tosh-20111129\n\n\t\t% version\n\t\tosh-20111129 (NetBSD 5.1 amd64)\n\n-------------------------------------------------------------------------------\n[osh-20111027]:\n\t* New file: DEDICATIONS (in memory of Dennis M. Ritchie (dmr))\n\nAUTHORS:\n\t* Added reference to DEDICATIONS file.\n\nLICENSE:\n\t* Added two more OpenBSD license references.\n\nmkconfig:\n\t* Fixed a problem w/ the mkconfig script on OpenBSD, where which(1)\n\t used to send a \"newgrp: Command not found.\" diagnostic to standard\n\t output, not standard error. It looks like the noted OpenBSD which(1)\n\t \ problem has since been fixed though.\n\nosh:\n\t* Fixed a globbing problem caused by an unsigned-integer overflow.\n\n\t* Added $# (as a synonym for $n) and $* parameters.\n\n\t* Added a new, command-aliasing feature.\n\nosh.1:\n\t* Added `alias' and `unalias' documentation to the\n\t \"Special commands\" subsection.\n\n\t* Added a new \"Aliases (+)\" subsection.\n\n\t* Added a new \"Metacharacters\" subsection.\n\n*.1:\n\t* Changed the visual style of the manual pages, regarding bold, italic,\n\t and `literal' text. The intent was to make for easier reading.\n\nif:\n\t* Added `:' as if(1) special command. It is useful when debugging\n\t scripts and helps when documenting them.\n\nexamples/dot.*:\n\t* Documented by example how to turn alias arguments into a no-op.\n\n\t* Added ssh-agent support. This allows the same ssh-agent process\n\t to be used for shared ssh key(s) across multiple concurrent\n\t login sessions. It also kills the ssh-agent process on\n\t logout when appropriate.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/shells/osh' unixtime: '1452690861' user: nros