Re: [Simple-evcorr-users] new action list variables

2016-04-18 Thread Risto Vaarandi
I think sec special characters can all be escaped. For example, percent sign can be escaped with another %, so 'write - %%a' action will print the string "%a" to standard output (the same strategy can be used for $ that starts a match variable reference). Another frequently occurring issue is

Re: [Simple-evcorr-users] new action list variables

2016-04-18 Thread Risto Vaarandi
hi David, I think I misread your previous mail -- my apologies. You were talking about the variables holding control characters, and *not* unpadded time-based variables? If so, it is indeed easy to add support for them. Once initialized, they don't need updates like time-based variables, so coding

Re: [Simple-evcorr-users] new action list variables

2016-04-18 Thread David Lang
On Mon, 18 Apr 2016, Risto Vaarandi wrote: > hi David, > I think I misread your previous mail -- my apologies. You were talking > about the variables holding control characters, and *not* unpadded > time-based variables? Yes, I was saying we should add variables for all the control characters if

Re: [Simple-evcorr-users] new action list variables

2016-04-18 Thread Risto Vaarandi
hi David, actually, a subset of these variables has already been implemented in the 2.7.9 version. The currently supported ones are: %.sec, %.min, %.hour -- seconds, minutes, and hours, represented with two digits, zero padded on the left %.hmsstr -- hours, minutes and seconds in HH:MM:SS format

Re: [Simple-evcorr-users] new action list variables

2016-04-18 Thread David Lang
On Thu, 18 Feb 2016, Risto Vaarandi wrote: > > hi all, > > currently, sec supports couple of builtin action list variables: %s that > holds the value of the rule 'desc' field, %t that holds the textual > timestamp, and %u that holds seconds since epoch. > > During recent discussions in the

Re: [Simple-evcorr-users] Create and load library with SEC

2016-04-18 Thread Risto Vaarandi
...also, if you would like to use rules with if-actions, they are supported by sec-2.7.X (the latest major version). Unless you have specific restrictions what versions you can install, I would recommend to go with sec-2.7.9 which is the latest stable distribution. kind regards, risto 2016-04-18

Re: [Simple-evcorr-users] Create and load library with SEC

2016-04-18 Thread Risto Vaarandi
hi Jaren, when looking at the command line options, they have been properly set. However, from the sec debug messages I can see that you are using version 2.6.2. This version is fairly old and does not support the 'if ( )' action. In order to adjust the first rule for version 2.6.2, it should be

Re: [Simple-evcorr-users] Create and load library with SEC

2016-04-18 Thread Jaren Peich
Hi Risto, Thank for the examples and the explanation Risto. I understood everything really quick!!!. I´ve tried to execute and i can find the way to do it. Scene-> all the files are in the same folder. I created like this: __