------------------------------------------------------------------------------- [v6scripts-current] (development): * Work In Progress ( see http://etsh.io/v6scripts/current/ ) ------------------------------------------------------------------------------- [v6scripts-20180109] (latest): history*: * Removed since it is in the v6shell repo and installed as part of etsh/osh for a long time now. oshlatest.osh: * Removed since it was outdated and broken. xtitle.(etsh|osh): * Added more TERM values. Change default window title, along with moving xtitle from osh to etsh. And continuing with the moving note ... *.sh6 * Moved all such command files to *.tsh . *.osh * Moved all such command files to *.etsh . ... This is all for long-term stability and compatibility with etsh-5.0.0 and beyond ... ------------------------------------------------------------------------------- [v6scripts-20160128]: mksums.osh: * Added code to calculate/print sha512 checksum/digest. ------------------------------------------------------------------------------- [v6scripts-20150201]: * Added a new loadavg.sh6 script to print the (1|5|15)-minute load average(s) of the current host. ------------------------------------------------------------------------------- [v6scripts-20140816]: INSTALL: * Added which which test for internal consistency. * Removed sh6 external utilities from sh6 test. alarm.osh: * Changed TZ from EST5EDT to America/Merida. mksums.osh: * Added code to calculate/print sha256 checksum/digest. myip.osh: * Added which which test for internal consistency. zdate.sh6: * Added America/Merida to TZ list. ------------------------------------------------------------------------------- [v6scripts-20140509]: alarm.osh: * Added explicit 'help' option for clarity. * Added fix to exit alarm if/when terminal device disappears. history.osh: * Added fix to redirect awk(1) errors from ncat to /dev/null. oshlatest.osh: * Cleaned up, and added internal DEBUG vs. NO DEBUG options. bell.osh, oshlatest.osh, pargs.osh: * Replaced `intcmp ...' w/ `if ...' getheader.osh, oshlatest.osh: * Added test for which to see if it is found before testing if it fails. ------------------------------------------------------------------------------- [v6scripts-20130402]: * New script: getheader.osh (get HTTP/FTP/FILE header from URL) * New script: myip.osh (get client/user IPv6/IPv4 address(es)) * Notice that all changes noted below require an official osh release >= osh-20130331 or osh-current to run successfully. *.osh: * Replaced $n w/ $# and $s w/ $? . * Changed `sigign' invocations to `trap' . ------------------------------------------------------------------------------- [v6scripts-20120106]: alarm.osh: * Added symlink and not directory checks. oshdir.osh: * Added another symlink check. oshlatest.osh: * Added '-v' verbose option. ------------------------------------------------------------------------------- [v6scripts-20111025]: INSTALL: * Changed the requirements for the specified INSTALL directory. The directory path name must now be absolute. history.help.osh: * Added this new file. It contains the history help message/synopsis printed by history.osh when invoked as `history -h' . history.osh: * Added `--' to egrep invocations used for `-p pattern' to prevent errors from egrep when `pattern' contains leading `-' characters. ------------------------------------------------------------------------------- [v6scripts-20100428]: history.osh: * Added this script to align w/ new history file support in osh. 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 2018/01/09 @(#)$Id: a12e07f4e76f78e3783092a583eb5d28913c274e $