Open mykter opened 7 years ago
What is $retrothresh
set to?
Is your .tagtime file being found and loaded?
Does cygwin handle path separators "correctly"?
$retrothresh = 60;
(but the error ones aren't being tagged as RETRO - those work fine)
I assume it is successfully loading my .tagtimerc file, as I have a non-default logfile path, which it is using.
I'm no cygwin expert unfortunately. I assume as it is loading both the .tagtimerc and log files, tagtime's use of path separators are working.
Do the values of $ts
, $ln
and $nxtping
look sensible?
Try adding
print "$ts, $ln, $nxtping\n"
between line 60 and 61
ts
& ln
have the values of the previous ping I answered, and nxtping
has the time of the current ping.
So I see my original suggestion (an error margin on that check) is wrong, as it is comparing the previous ping time to the current ping time.
My new guess is that the editor
function successfully invokes the editor window, but the launch
function doesn't. It seems editor
ensures $ENV{DISPLAY}
is set, whereas launch
doesn't - will try that.
Yep that did it, thanks for your help. So if this line from editor
:
$ENV{DISPLAY} ||= ":0.0";
is missing from launch
for a reason, then I suggest we add it wrapped in an if($cygwin) {
It probably doesn't even need the if($cygwin)
wrapper.
Would you be willing to submit a Pull request for this?
Aside from my RETRO pings, all my pings start up in the editor with either:
or
without exception.
Running on cygwin, win7.
I guess there should be some tolerance in the check on line 61 of launch.pl ?