From: FX (fxcoudert_at_gmail.com)
Date: Sun Apr 26 2020 - 14:49:37 CDT

Hi John,

> I don't want it in the hard-coded platform-dependent startup, but
> I'm willing for it to end up in either early Tcl startup

I couldn’t write Tcl code if my life depended on it.

> or later
> C++ startup in the OS-independent part of the code.

The version I wrote should work on unix, but a variant using strtok() instead of strsep() would be more portable. On Windows it looks like access() can be replaced with _access().

Thanks,
FX