Chris Koeritz [Thu, 1 Apr 2021 20:49:56 +0000 (16:49 -0400)]
partly working mac build settings from last update
errors now seem more reasonable, although warnings are still a huge spew. need to determine why the warnings shot up, once things build normally again.
Chris Koeritz [Thu, 1 Apr 2021 18:58:14 +0000 (14:58 -0400)]
minor tweaks trying to get macos working again
some upgrade has hosed my build on macos, catalina. not sure it was working at all since last OS version (prior to catalina, whatever that was).
but running apps previously built was working, and now is not, and rebuild is also failing.
should not affect other platforms, except for basis/functions.h change that may cause more warnings now (but which newer mac compiler hated).
Chris Koeritz [Thu, 1 Apr 2021 17:47:26 +0000 (13:47 -0400)]
displays every cert in the trust chain in PEM file
supposedly can take a PEM file with the trust chain components (i.e.
certificates) in any order, since one cannot count on the order they are
found in. have not tested this, but it did display well for the one
file i needed to see all the certs in.
Chris Koeritz [Thu, 21 Jan 2021 16:33:25 +0000 (16:33 +0000)]
new script for hiding output on success
this script will take a command line to execute and redirect the
commands stdout and stderr to two files. if the command does not return
an error code, then the output files are just deleted. if there is an
error reported, then the two files are sent back to stdout and stderr as
they would normally have been, and an additional error message is sent
to stderr.
Chris Koeritz [Thu, 7 Jan 2021 00:02:33 +0000 (19:02 -0500)]
recording grub mod for system 76 laptops
addresses a freeze-up condition when returning from sleep. doesn't totally eliminate it but makes the sleep process a lot more reliable. usually, if sleep is going to work, it will keep working for months now. before any old sleep might come up with a dead session where machine was running but had no activity at all and had to be totally powered off to return to normal state.
Chris Koeritz [Thu, 25 Jun 2020 14:42:11 +0000 (10:42 -0400)]
updated to work on centos
centos was bitching about:
git rev-parse @
and
git pull --tags --all
on centos 7.
revised to use:
git rev-parse HEAD
and
git fetch --tags --all
instead.
Chris Koeritz [Wed, 17 Jun 2020 15:26:45 +0000 (11:26 -0400)]
updated to use java itself to get JAVA_HOME
this is the best approach possible if the desired version of java is already in your path.
our previous implementation is a guessing game and is dysfunctional. "is", since it's still in place if the call to java fails.
Chris Koeritz [Wed, 10 Jun 2020 19:33:50 +0000 (15:33 -0400)]
cleaner implementation of keep_awake
will still put process in background, but now you can control it from the shell.
unfortunately, these will probably still zombie out if the connection gets dropped for some reason (either because we're not printing frequently enough or for causes out of our control).
Chris Koeritz [Mon, 1 Jun 2020 21:02:20 +0000 (17:02 -0400)]
settled on whichable func over direct call to which
the whichable function does the which but also hides errors from not finding the command in question. this is much preferred over seeing errors about "gvim not found" etc.
Chris Koeritz [Mon, 1 Jun 2020 14:19:23 +0000 (10:19 -0400)]
simplified sudo function
tossed out a lot of my changes after discovering the -i option to sudo, which starts a legitimate fresh shell of the type i needed. now, the only weirdity i have to deal with is that the PATH variable still seems to be passed in from sudo even though i've asked for that fresh shell. setting it to null prior to doing the sudo fixes that. works a bit better now.