Re: [fpc-pascal] [NETWORK - LINUX ]: Calculate broadcast - network

2006-10-12 Thread Michael Van Canneyt
On Thu, 12 Oct 2006, Michael Van Canneyt wrote: > > > On Thu, 12 Oct 2006, TOUZEAU DAVID wrote: > > > > > > > > > Dear > > > > The tool is designed to simplify the change network settings quickly. > > > > So the goal for the admin is to type: > > > > #./tool 192.168.1.2 255.255.255.0 19

Re: [fpc-pascal] [NETWORK - LINUX ]: Calculate broadcast - network

2006-10-12 Thread Michael Van Canneyt
On Thu, 12 Oct 2006, TOUZEAU DAVID wrote: > > > > Dear > > The tool is designed to simplify the change network settings quickly. > > So the goal for the admin is to type: > > #./tool 192.168.1.2 255.255.255.0 192.168.1.1 > > and the tool will change settings in /etc/network/interfaces by

Re: [fpc-pascal] Apache and dbus headers

2006-10-12 Thread Felipe Monteiro de Carvalho
On 10/12/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: I would like to distribute the Apache headers with Free Pascal; I will need them for my web system. The DBus headers would be useful too. If you agree, I will check them in the Subversion system. Yes sure =) I will talk about the deta

Re: [fpc-pascal] Apache and dbus headers

2006-10-12 Thread Michael Van Canneyt
On Thu, 12 Oct 2006, Felipe Monteiro de Carvalho wrote: > Hello, > > I released 0.3 version of the Apache headers. It now works for both > 2.2 and 2.0. It also contains partial translation of 1.3 headers but I > haven't managed to make them work yet. > > http://www.freepascal.org/wiki/index.ph

[fpc-pascal] Apache and dbus headers

2006-10-12 Thread Felipe Monteiro de Carvalho
Hello, I released 0.3 version of the Apache headers. It now works for both 2.2 and 2.0. It also contains partial translation of 1.3 headers but I haven't managed to make them work yet. http://www.freepascal.org/wiki/index.php/FPC_and_Apache_Modules I am also translating the headers of dbus inte

Re: [fpc-pascal] Temporary Filenames in GO32

2006-10-12 Thread Tomas Hajny
Jason P Sage wrote: > I read an old thread about how to make temporary filenames (unique > filenames . . > My algorithm is platform independent but I know my technique may be > frowned > upon by many but it works. > > I create a file called something intuitive: counterlockfile.lock > > Each call

Re: [fpc-pascal] [NETWORK - LINUX ]: Calculate broadcast - network

2006-10-12 Thread TOUZEAU DAVID
Dear The tool is designed to simplify the change network settings quickly. So the goal for the admin is to type: #./tool 192.168.1.2 255.255.255.0 192.168.1.1 and the tool will change settings in /etc/network/interfaces by iface eth0 inet static address 192.168.1.2 netmask

Re: [fpc-pascal] [NETWORK - LINUX ]: Calculate broadcast - network

2006-10-12 Thread Alexandre Leclerc
2006/10/12, TOUZEAU DAVID <[EMAIL PROTECTED]>: Dear I develop a tool that change the network settings in /etc/network/interfaces the config file must be iface eth0 inet static address 192.168.xx.xx netmask 255.255.255.0 network 192.168.xx.0 broadcast 192.16

RE: [fpc-pascal] [NETWORK - LINUX ]: Calculate broadcast - network

2006-10-12 Thread Wolfe, Robert
The network IP and the broadcast address are usually determined by your IT department if they are static addresses or automatically assigned by the DHCP server on your network, if one is present. Robert Wolfe, MCSE/RHCE, Survey Research and Data Acquisition Resource Department of Health Behavi

[fpc-pascal] [NETWORK - LINUX ]: Calculate broadcast - network

2006-10-12 Thread TOUZEAU DAVID
Dear I develop a tool that change the network settings in /etc/network/interfaces the config file must be iface eth0 inet static address 192.168.xx.xx netmask 255.255.255.0 network 192.168.xx.0 broadcast 192.168.xx.255 gateway 192.168.xx.xx In this cas

Re: [fpc-pascal] [SYSTEM]: How detecting if run as root ?

2006-10-12 Thread TOUZEAU DAVID
Many thanks i found the function GetEUID i'll try it http://www.cs.uwc.ac.za/~firstyear/manuals/doc/units/unitsse36.html#x53-41900012.3 Pete Cervasio a écrit : On Wednesday 11 October 2006 20:44, Michalis Kamburelis wrote: Pete Cervasio wrote: The better way would be to use the geteu

Re: [fpc-pascal] Temporary Filenames in GO32

2006-10-12 Thread Michael Van Canneyt
On Wed, 11 Oct 2006, Jason P Sage wrote: > I read an old thread about how to make temporary filenames (unique filenames > is what the topic was about) and I have written a simple unit that sort of > does this without needing a second to elapse (or millisecond for that > matter) to pass in order

[fpc-pascal] Temporary Filenames in GO32

2006-10-12 Thread Jason P Sage
I read an old thread about how to make temporary filenames (unique filenames is what the topic was about) and I have written a simple unit that sort of does this without needing a second to elapse (or millisecond for that matter) to pass in order to get the next unique name. I have heard of

[fpc-pascal] Get PID by process name

2006-10-12 Thread Andi Purwito
Is there any function how to get pid by process name? Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/l