Re: [fpc-pascal] Inactive account on GitLab

2021-09-10 Thread denisgolovan via fpc-pascal
> I starred the projects of those bugs (FPC/FPC/Source and > FPC/Lazarus/Lazarus) but my todo list is still empty. > Not a biggie now that I know how to find my bugs, though I'd prefer to > find them with the proper filter (the first one with author_username) > and not with a full text search. Sam

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread Travis Siegel via fpc-pascal
I don't know how much it will help, but windows has a similar command to linux ifconfig, only on windows it's called ipconfig. Hope this helps. On 9/10/2021 3:03 AM, Bo Berglund via fpc-pascal wrote: Is there a way to enumerate the active adapters on a Windows computer with their IPv4 and MAC

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread Bo Berglund via fpc-pascal
On Fri, 10 Sep 2021 09:46:11 +0200, Sven Barth via fpc-pascal wrote: >You can use the ipconfig command and parse its output (especially ipconfig >/all). I also figured that to be the case, so I will run TProcess with Ipconfig /all and then parse the result line by line. It looks like there is a

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread Marco van de Voort via fpc-pascal
Op 10-9-2021 om 09:46 schreef Sven Barth via fpc-pascal: You can use the ipconfig command and parse its output (especially ipconfig /all). Afaik netsh has more info. I have several tests  for this in Delphi, but they use the iphlp headers that FPC doesn't have yet (a point on my todo list).

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread Michael Van Canneyt via fpc-pascal
On Fri, 10 Sep 2021, James Richters wrote: Well, that sure is a lot simpler than parsing the IPConfig output! Is there a way to capture the MAC address this way as well? I don't know, I never needed that. uses {$IFDEF MSWINDOWS}Windows, WinSock,{$ENDIF} Should have a ; at the end instead

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread James Richters via fpc-pascal
Well, that sure is a lot simpler than parsing the IPConfig output! Is there a way to capture the MAC address this way as well? uses {$IFDEF MSWINDOWS}Windows, WinSock,{$ENDIF} Should have a ; at the end instead of a , uses {$IFDEF MSWINDOWS}Windows, WinSock;{$ENDIF} James

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread James Richters via fpc-pascal
>You can use the ipconfig command and parse its output (especially ipconfig >/all). Here’s how I use ipconfig and parse the output: https://gist.github.com/Zaaphod/d1b7bf7a29aa653e3b0b61a836a03f62 James ___ fpc-pascal maillist - fpc-pascal@lists.fr

Re: [fpc-pascal] Inactive account on GitLab

2021-09-10 Thread Martin Frb via fpc-pascal
On 10/09/2021 10:42, Luca Olivetti via fpc-pascal wrote: Not a biggie now that I know how to find my bugs, though I'd prefer to find them with the proper filter (the first one with author_username) and not with a full text search. Still a full search, but more precise: https://forum.lazarus.

Re: [fpc-pascal] Inactive account on GitLab

2021-09-10 Thread Michael Van Canneyt via fpc-pascal
On Fri, 10 Sep 2021, Luca Olivetti via fpc-pascal wrote: El 10/9/21 a les 10:21, Michael Van Canneyt via fpc-pascal ha escrit: https://gitlab.com/dashboard/issues?scope=all&state=all&author_username=olivluca This one works though https://gitlab.com/dashboard/issues?scope=all&state=all

Re: [fpc-pascal] Inactive account on GitLab

2021-09-10 Thread Luca Olivetti via fpc-pascal
El 10/9/21 a les 10:21, Michael Van Canneyt via fpc-pascal ha escrit: https://gitlab.com/dashboard/issues?scope=all&state=all&author_username=olivluca This one works though https://gitlab.com/dashboard/issues?scope=all&state=all&search=%40olivluca I see you are referenced in many issues

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread Michael Van Canneyt via fpc-pascal
On Fri, 10 Sep 2021, Sven Barth via fpc-pascal wrote: Bo Berglund via fpc-pascal schrieb am Fr., 10. Sep. 2021, 09:41: Is there a way to enumerate the active adapters on a Windows computer with their IPv4 and MAC addresses? There is an API for that, but I don't remember that right now.

Re: [fpc-pascal] Inactive account on GitLab

2021-09-10 Thread Michael Van Canneyt via fpc-pascal
On Fri, 10 Sep 2021, Luca Olivetti via fpc-pascal wrote: El 10/9/21 a les 9:39, Luca Olivetti via fpc-pascal ha escrit: El 10/9/21 a les 8:12, Michael Van Canneyt via fpc-pascal ha escrit: Then it means the FPC issues  should appear in your gitlab todo list. I don't know if is there somet

Re: [fpc-pascal] Inactive account on GitLab

2021-09-10 Thread Luca Olivetti via fpc-pascal
El 10/9/21 a les 9:39, Luca Olivetti via fpc-pascal ha escrit: El 10/9/21 a les 8:12, Michael Van Canneyt via fpc-pascal ha escrit: Then it means the FPC issues  should appear in your gitlab todo list. I don't know if is there something wrong or I just don't know how to use gitlab: I have

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread Sven Barth via fpc-pascal
Bo Berglund via fpc-pascal schrieb am Fr., 10. Sep. 2021, 09:41: > Is there a way to enumerate the active adapters on a Windows computer with > their > IPv4 and MAC addresses? > There is an API for that, but I don't remember that right now. > I am trying to convert a Linux reporting script to

Re: [fpc-pascal] Inactive account on GitLab

2021-09-10 Thread Luca Olivetti via fpc-pascal
El 10/9/21 a les 8:12, Michael Van Canneyt via fpc-pascal ha escrit: Then it means the FPC issues  should appear in your gitlab todo list. I don't know if is there something wrong or I just don't know how to use gitlab: I have reported some bugs, e.g. https://gitlab.com/freepascal.org/fpc

[fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-09-10 Thread Bo Berglund via fpc-pascal
Is there a way to enumerate the active adapters on a Windows computer with their IPv4 and MAC addresses? I am trying to convert a Linux reporting script to Windows, but I have a hard time finding a suitable Windows command. The script uses common Linux commands and tools to get the eth0 and wlan0