• errflags

    From Benny Pedersen@2:230/0 to All on Wed Sep 13 15:03:44 2017
    Hello All!

    would it be possible to make errflags support in makenl ?

    so later processing seperately with errflags is not needed ?

    reason i ask is that pascal code of errflags.pas does not compile on linux, so if it could be added to makenl it would be nice


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.13.0-gentoo (i686))
    * Origin: openvpn on its way here (2:230/0)
  • From mark lewis@1:3634/12 to Benny Pedersen on Wed Sep 13 13:07:46 2017

    On Wed, 13 Sep 2017, Benny Pedersen wrote to All:

    would it be possible to make errflags support in makenl ?

    so later processing seperately with errflags is not needed ?

    i kinda like the idea but only to a certain point...

    reason i ask is that pascal code of errflags.pas does not compile
    on linux, [...]

    are you using the proper compiler? where is the source available from?

    )\/(ark


    * Origin: (1:3634/12)
  • From Kees van Eeten@2:280/5003.4 to Benny Pedersen on Thu Sep 14 00:44:48 2017
    Hello Benny!

    13 Sep 17 15:03, you wrote to All:

    would it be possible to make errflags support in makenl ?

    so later processing seperately with errflags is not needed ?

    reason i ask is that pascal code of errflags.pas does not compile on linux, so if it could be added to makenl it would be nice

    You can compile errflags.pas perfectly well with Free PasCal. On both
    Windows and Linux. You may have to remove some compiler options.

    I do not know if calling external programs in windows works, it does not
    seem to do so in the Linux version. I can live with that.

    The most current exe available from ZC2 was compiled with FPC.

    Kees

    --- GoldED+/LNX 1.1.5
    * Origin: As for me, all I know is that, I know nothing. (2:280/5003.4)
  • From Kees van Eeten@2:280/5003.4 to mark lewis on Thu Sep 14 00:50:58 2017
    Hello mark!

    13 Sep 17 13:07, you wrote to Benny Pedersen:

    reason i ask is that pascal code of errflags.pas does not compile
    on linux, [...]

    are you using the proper compiler? where is the source available from?

    FPC works, sources are available from ZC2.

    Kees

    --- GoldED+/LNX 1.1.5
    * Origin: As for me, all I know is that, I know nothing. (2:280/5003.4)
  • From Benny Pedersen@2:230/0 to mark lewis on Thu Sep 14 01:58:14 2017
    Hello mark!

    13 Sep 2017 13:07, mark lewis wrote to Benny Pedersen:

    are you using the proper compiler?

    freepascal under linux is what i have

    where is the source available from?

    i lost it yes, current version i have as source file is version 2.15

    fpc errflags.pas

    gave me some warnings, no errors

    all well ?


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.13.1-gentoo (i686))
    * Origin: openvpn on its way here (2:230/0)
  • From Benny Pedersen@2:230/0 to Kees van Eeten on Thu Sep 14 02:03:40 2017
    Hello Kees!

    14 Sep 2017 00:44, Kees van Eeten wrote to Benny Pedersen:

    reason i ask is that pascal code of errflags.pas does not compile on
    linux, so if it could be added to makenl it would be nice

    You can compile errflags.pas perfectly well with Free PasCal. On
    both Windows and Linux. You may have to remove some compiler options.

    okay, its just the half of the problem imho, that makenl can make nodelist with
    errors in, that have to be proccesed with errflags to report it to maintainer of nodelist segment, this part should be solved in makenl imho not by external programming

    I do not know if calling external programs in windows works, it does
    not seem to do so in the Linux version. I can live with that.

    maybe is it just that i use windows compile flags on linux ?

    The most current exe available from ZC2 was compiled with FPC.

    okay i lost where zc2 is now adays :=)


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.13.1-gentoo (i686))
    * Origin: openvpn on its way here (2:230/0)
  • From Kees van Eeten@2:280/5003.4 to Benny Pedersen on Thu Sep 14 14:21:06 2017
    Hello Benny!

    14 Sep 17 02:03, you wrote to me:

    okay, its just the half of the problem imho, that makenl can make nodelist with errors in, that have to be proccesed with errflags to report it to maintainer of nodelist segment, this part should be solved in makenl imho not by external programming

    Including the functionality of Errflags in makenl is something that may be
    difficult to get consensus for its need.

    Apart from a few corrections the main purpose of Errflgs is to adapt the
    way flags are used in the nodelist, as preferred by the ZC and does not exceed
    his ethics on what may be changed in a submitted segment.

    For use by the first level of nodelist admins, I think Errflags should also
    correct the most common errors made by admins.

    Makenl mainly reports syntax error is the nodelist.

    Errflgs is to be used as a preprocessor just as the are preprocessors to
    clean code written in C.

    You can also build a preprocessor with bash and sed and possibly some other
    commands. With some effort you could convert nodes without contackt info to
    tp Pvt nodes and remove irrelevant flags.

    I do not know if calling external programs in windows works, it does
    not seem to do so in the Linux version. I can live with that.

    maybe is it just that i use windows compile flags on linux ?

    The most current exe available from ZC2 was compiled with FPC.

    okay i lost where zc2 is now adays :=)

    Try the Nodelist header.

    Kees

    --- GoldED+/LNX 1.1.5
    * Origin: As for me, all I know is that, I know nothing. (2:280/5003.4)
  • From mark lewis@1:3634/12.73 to Kees van Eeten on Thu Sep 14 16:42:28 2017

    On 2017 Sep 14 00:50:58, you wrote to me:

    reason i ask is that pascal code of errflags.pas does not compile on
    linux, [...]

    are you using the proper compiler? where is the source available from?

    FPC works,

    yes, that's what i was going to point out ;)

    sources are available from ZC2.

    are they in the distributed errflags archive?

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... This \0/ tagline has /0\ a lot of \0/ bugs in /0\ it..
    ---
    * Origin: (1:3634/12.73)
  • From mark lewis@1:3634/12.73 to Benny Pedersen on Thu Sep 14 16:43:46 2017

    On 2017 Sep 14 01:58:14, you wrote to me:

    are you using the proper compiler?

    freepascal under linux is what i have

    that should be fine, then...

    where is the source available from?

    i lost it yes, current version i have as source file is version 2.15

    fpc errflags.pas

    gave me some warnings, no errors

    all well ?

    warnings are just warnings... errors stop compiles...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Will work for Rolling stock....
    ---
    * Origin: (1:3634/12.73)
  • From Kees van Eeten@2:280/5003.4 to mark lewis on Fri Sep 15 00:15:24 2017
    Hello mark!

    14 Sep 17 16:42, you wrote to me:

    sources are available from ZC2.

    are they in the distributed errflags archive?

    That is where I got them from. I made a change in 2014 to allow -Unpublished-
    to be used where it previously wasn't.

    No new archive was built then, there may be another change to remove empty
    lines, as errflags generates stupid output lines when such lines are found.

    I used ERRFL215.RAR as a starting point.

    Kees

    --- GoldED+/LNX 1.1.5
    * Origin: As for me, all I know is that, I know nothing. (2:280/5003.4)
  • From Andrew Leary@1:320/219 to Benny Pedersen on Sun Sep 17 08:48:10 2017
    Hello Benny!

    13 Sep 17 15:03, you wrote to all:

    would it be possible to make errflags support in makenl ?

    Technically, it should be possible. It would likely involve rewriting the existing Pascal version of ErrFlags in C.

    Politically, it likely would be difficult to get a consensus on integrating the two programs. Currently only Z2 regularly uses ErrFlags on submitted segments.

    Unless situations change drastically, I will not invest the time required to write, test, and debug an integrated version of MakeNL/ErrFlags.

    Andrew

    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)
  • From Michiel van der Vlist@2:280/5555 to Andrew Leary on Sun Sep 17 15:39:06 2017
    Hello Andrew,

    On Sunday September 17 2017 08:48, you wrote to Benny Pedersen:

    Technically, it should be possible. It would likely involve rewriting
    the existing Pascal version of ErrFlags in C.

    That would be a major project.

    Unless situations change drastically, I will not invest the time
    required to write, test, and debug an integrated version of MakeNL/ErrFlags.

    Given the political situation and the facts that not all that many people use errflags and that very few actually need it, I support you decision. Your valuable time is better spent on other issues.

    If the *nix people want a *nix version of errflags, let them do it themselves. The source is available.


    Cheers, Michiel

    --- GoldED+/W32-MSVC 1.1.5-b20170303
    * Origin: http://www.vlist.eu (2:280/5555)
  • From Vince Coen@2:250/1 to Andrew Leary on Sun Sep 17 15:20:36 2017
    Hello Andrew!

    Sunday September 17 2017 08:48, you wrote to Benny Pedersen:

    Hello Benny!

    13 Sep 17 15:03, you wrote to all:

    would it be possible to make errflags support in makenl ?

    Technically, it should be possible. It would likely involve rewriting
    the existing Pascal version of ErrFlags in C.

    Politically, it likely would be difficult to get a consensus on
    integrating the two programs. Currently only Z2 regularly uses
    ErrFlags on submitted segments.

    Unless situations change drastically, I will not invest the time
    required to write, test, and debug an integrated version of
    MakeNL/ErrFlags.

    IF you did do an integration of errflags might be wise to have a program switch
    that turns flag tests on.

    That way NO one can complain.


    Hmm, there again there are always those that always do !


    Vince

    --- Mageia Linux v5/Mbse v1.0.7.2/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Ward Dossche@2:292/854 to Andrew Leary on Sun Sep 17 16:38:58 2017
    Andrew,

    Unless situations change drastically, I will not invest the time required to write, test, and debug an integrated version of MakeNL/ErrFlags.

    Good decision, I for one probably wouldn't want to use such built-in fuctionality anyway.

    \%/@rd

    --- D'Bridge 3.99
    * Origin: I will always keep a PC running WinXP (2:292/854)