finally releasing version 0.5 -- not the curses re-write I might have

hoped for, but it has a few improvements.  And I'm now licensing in
something based on the ISC license, which is pretty open... should
qualify this as OSS.
This commit is contained in:
lindes 2008-09-17 02:05:10 +00:00
parent 66aea37c27
commit 80b66b87c3
4 changed files with 24 additions and 22 deletions

35
LICENSE
View File

@ -1,25 +1,26 @@
The following license and related info applies to ttyload and The following license and related info applies to ttyload and
all of the supporting components: all of the supporting components:
ttyload * ttyload *
Copyright 1996-2001 by David Lindes, All rights reserved. Copyright 1996-2008 by David Lindes, All rights reserved.
This is an early "release" of ttyload. You're welcome to use it Permission to use, copy, modify, and/or distribute this software for any
how you will, and submit any patches you like back to me, but purpose with or without fee is hereby granted, provided that the above
please do not redistribute it. You may tell others about it, copyright notice and this permission notice appear in all copies.
and have them refer to http://www.daveltd.com/src/util/ttyload/
to get more information and/or the latest download, but please
don't distribute it directly.
I expect to release it under a different license sometime in the THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
future, time TBD. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Note: there is absolutely no warranty of any kind on any It is requested, without requirement, that any enhancements to this
software contained herein. Use at your own risk, etc. software be submitted back to the author, whose contact information can
be found at the official web page for this software:
Thanks, http://www.daveltd.com/src/util/ttyload/
David Lindes (Note: the above is a modified version of the "ISC License", as
extracted from http://en.wikipedia.org/wiki/ISC_license 2008-09-16.)
P.S. Send feedback to: <src/ttyload@daveltd.com>, or whatever
method, if any, is given on the web page mentioned above.

3
README
View File

@ -26,7 +26,7 @@ And I know of no other utilities that perform quite this task.
For a while, I only needed it on one platform, and so I simply For a while, I only needed it on one platform, and so I simply
recompiled it from time to time as I moved from one machine to recompiled it from time to time as I moved from one machine to
another. But, eventually, I stopped having such a homogeneous another. But, eventually, I stopped having such a homogeneous
environment, and wanted it for other platforms. But different environment, and wanted it for other platforms. And different
platforms required different methods of getting data about the platforms required different methods of getting data about the
load averages... For a while, I didn't feel quite enough of a load averages... For a while, I didn't feel quite enough of a
desire to have it elsewhere to make it work. But eventually I desire to have it elsewhere to make it work. But eventually I
@ -66,6 +66,7 @@ ttyload has been shown to run on systems running, at least:
- FreeBSD (some version or other, I'm not familiar with their - FreeBSD (some version or other, I'm not familiar with their
numbering system... 4.4, I think.) numbering system... 4.4, I think.)
- Solaris 2.x and later (at least 2.6 and 8) - Solaris 2.x and later (at least 2.6 and 8)
- Isilon OneFS
Feel free, if you like, to submit patches to add more platforms Feel free, if you like, to submit patches to add more platforms
(or other versions of existing platforms), and please let me (or other versions of existing platforms), and please let me

View File

@ -1 +1 @@
0.5-pre2 0.5

View File

@ -6,7 +6,7 @@
* Copyright 1996 by David Lindes * Copyright 1996 by David Lindes
* all right reserved. * all right reserved.
* *
* Version information: $Id: ttyload.c,v 1.23 2004-07-01 19:13:13 lindes Exp $ * Version information: $Id: ttyload.c,v 1.24 2008-09-17 02:05:11 lindes Exp $
* *
*/ */
@ -33,7 +33,7 @@
#define MINROWS (HEIGHTPAD + 6) #define MINROWS (HEIGHTPAD + 6)
#define MINCOLS (WIDTHPAD + 6) #define MINCOLS (WIDTHPAD + 6)
char *c="$Id: ttyload.c,v 1.23 2004-07-01 19:13:13 lindes Exp $"; char *c="$Id: ttyload.c,v 1.24 2008-09-17 02:05:11 lindes Exp $";
char strbuf[BUFSIZ], char strbuf[BUFSIZ],
*optstring = "i:hvmr:c:", *optstring = "i:hvmr:c:",
@ -485,7 +485,7 @@ int compute_height(thisload, maxload, height)
if(thisload < 0) if(thisload < 0)
return(height + 1); return(height + 1);
/* this is a reversal of what you might thing... the X axis /* this is a reversal of what you might think... the X axis
* is really on the top of the graph, so larger heights sit * is really on the top of the graph, so larger heights sit
* lower. the 'height -' part is implicitly done elsewhere. * lower. the 'height -' part is implicitly done elsewhere.
* (but not really ever actually done) */ * (but not really ever actually done) */