Commit Graph

19 Commits

Author SHA1 Message Date
lindes 1571acae74 Don't need ascftime, we've already converted to using strftime, as it
should have been in the first place, I suspect... so getting rid of old
cruft related to that.
2005-07-30 22:32:19 +00:00
lindes fe57af6b97 got rid of a blank line... bog. 2001-10-29 21:22:28 +00:00
lindes 4adfc6d5a7 once again, just like Linux (and IRIX too)... Hrm, maybe I can just do
something special on Solaris, and make the rest of these things all use
a common file.
2001-08-28 01:25:01 +00:00
lindes a050fce46e oif. exactly the same as arch/Linux/terminfo.c -- fuggin' solaris. 2001-08-28 01:19:31 +00:00
lindes 7e3af8197e linux version of terminfo.c -- same code as solaris, but different headers
required...  *sigh*.  Perhaps, assuming FreeBSD and IRIX can also use the same
code (which I don't know to be true yet), I'll figure out some better way to
deal with this, so I don't have multiple identical code fragments.
2001-08-28 01:16:19 +00:00
lindes 19e4b032cd now have code for screen-size auto-detect for solaris, cool. :-) 2001-08-28 01:01:10 +00:00
lindes 9dc70b48a1 now using gcc-3.0 on my IRIX box; which found a couple new warnings; fixed. 2001-08-25 06:53:32 +00:00
lindes 9ef120571b now using kstat for Solaris, which works on Solaris 2.x as well as 8. 2001-08-24 21:00:01 +00:00
lindes b06ece0283 ya know... this whole NEED_LOCAL_HEADERS thing isn't really required;
It's just a matter of things working on Solaris 8, but not earlier.
2001-08-24 18:52:45 +00:00
lindes fac8a6ca46 FreeBSD now works! :-) 2001-08-24 05:02:42 +00:00
lindes 86f03ae0be now using sysget() insetad of /dev/kmem, which means no suid or sgid. yay! 2001-08-24 04:48:47 +00:00
lindes 140c5fc718 made arch/IRIX/getload.c, mostly out of old code from the original
version of ttyload.  Updated Makefile to deal with platforms (IRIX and
FreeBSD being two, as I understand things currently) where the default
.c.o rule doesn't put output .o's into the subdirectories where the .c's
for them came from, or where '<program>: <objects>' doesn't imply an ld
command (e.g. IRIX).
2001-08-24 03:52:47 +00:00
lindes 54679e5365 use fclose() if you're going to use fopen() -- though perhaps
fseek(), and a static FILE * variable would be better??
2001-05-21 15:34:17 +00:00
lindes 4acd3757df No ascftime() around on Linux... *sigh* 2001-02-24 09:00:10 +00:00
lindes 5a629f6af3 not everything is everywhere... So here are some files to help
me deal with that reality.  Right now, it's just an ascftime()
(minimal) replacement, and the default is not to use it on most
platforms (Linux uses it, though... *sigh*)
2001-02-24 08:59:41 +00:00
lindes cc24550f8e getload function for Linux, initial version. 2001-02-24 08:57:37 +00:00
lindes bba74436c3 initial take on a skeleton default for getload.c, with some comments. 2001-02-24 07:29:32 +00:00
lindes 1a09950624 made things work on a Solaris box. 2000-05-20 01:46:27 +00:00
lindes bc331aac01 ugh, stuff still isn't happy on vax... but I think that may just
be vax.  checkpoint checkin so I can try it elsewhere.  Ugh,
though, I need to re-write large chunks of this stuff.
2000-05-20 01:31:30 +00:00