------------------------------------------------------------------------------- [v6scripts-20100428]: history.osh: * Added this script to align w/ new, osh history file support. oshlatest.osh: * Changed comments; changed IsLatestOrCurrent to IsLatestOrNewer. * Fixed bug where beta release, that should result in zero status, results in non-zero status instead. ------------------------------------------------------------------------------- [v6scripts-20091219]: now.sh6: * Prettified a little to be more like the other scripts. xtitle.osh: * Updated to fix an interaction problem between ps(1) and sed(1) on NetBSD 3.1.1_PATCH alpha; testing shows that this script still works fine elsewhere w/ this fix. ------------------------------------------------------------------------------- [v6scripts-20091213]: INSTALL: * Fixed an INSTALL hiccup on OpenSolaris by allowing INSTALL=/path/to/BSD/GNU/install_utility to be set in the environment. alarm.osh: * Changed the number of times the alarm rings per second from 3 (e.g., `bell 3 0.3') to 5 (e.g., `bell 5 0.2'). bell.osh: * Rewrote this script to make it more flexible and useful in different contexts. now.sh6: * Added this script because it's useful. oshlatest.osh: * Fixed `rm -r $d""' error on OpenSolaris by doing a `chdir -' first, as rm(1) fails w/ EINVAL error when directory to be removed is current working directory. * Made improvements to version checking for all osh version forms, including: osh-current, osh-YYYYMMDD-current, osh-YYYYMMDD-beta[1-9], osh-YYYYMMDD, and osh-YYYYMMDD-p[1-9] . xtitle.osh: * Made script work on OpenSolaris by adjusting default ps(1) usage. ------------------------------------------------------------------------------- [v6scripts-20081230]: alarm.osh: * Changed from using printf(1) to ring the terminal bell to using the included bell.osh script (see below). * Caused the "alarm: Not running." diagnostic to print when the alarm is not running and the user types `alarm off' or `alarm snooze'. * Added a new "alarm: Already snoozing." diagnostic to print when the alarm is already snoozing and the user types `alarm snooze'. bell.osh: * Added this new script to ring the terminal bell. killer.sh6: * Changed the usage check / diagnostic so that it is more explicit. * Changed the invocation of this script in other the scripts where it is used from using the "killer $0'' name" form to using the "killer $0 name" form since $0 is always set in these cases. oshlatest.osh: * Fixed the LATEST file fetch to try "wget" first instead of "ftp". It assumes that "ftp" supports HTTP, but this is not necessarily true for the default "ftp" utility on all systems. In such cases, trying to use "wget", "curl", or "lynx" before "ftp" is a more reliable way to fetch the LATEST file. ------------------------------------------------------------------------------- [v6scripts-20081213]: * Changes were not recorded in previous releases. INSTALL: * Changed the PATH advisory code to be more exact about when PATH modification may be needed. alarm.osh: * Changed how the ps(1) utility is used so that it works correctly on systems that give an error for `ps -pPID' when PID contains leading 0s. A similar change was previously made to xtitle.osh for the same reason. which.sh6: * Added "--" to an fd2 command line to avoid possible fd2 usage errors caused by GNU getopt's apparent dislike of "-$$" as a valid osh/sh6 command-line option. xtitle.osh: * Replaced `cut -d/ -f3' w/ `cut -d/ -f3-' to get a meaningful tty name both on systems that use "/dev/tty..." and on systems that use "/dev/pts/...". Jeffrey Allen Neitzel 2010/04/28 @(#)$Id: b49917f8cdd0530893870006c95bc5291ac363c8 $