Re: [fpc-pascal] Hardware

2006-08-22 Thread A.J. Venter
give most used hardware information via a single interface with platform specific code to retrieve it. It's on my TODO list :) A.J. -- "there's nothing as inspirational for a hacker as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn R

Re: [fpc-pascal] exiting a program more friendly way

2006-06-23 Thread A.J. Venter
rks (I know a lot don't) mail me offlist, I have a copy. A.J. -- "there's nothing as inspirational for a hacker as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.si

Re: [fpc-pascal] Comparing version numbers

2006-06-03 Thread A.J. Venter
ate place to ask questions. A.J. -- "there's nothing as inspirational for a hacker as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 __

Re: [fpc-pascal] Daemon doesn't work right at boottime.

2006-06-03 Thread A.J. Venter
arted by a script or by hand ? Any ideas ? -- "there's nothing as inspirational for a hacker as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.co

Re: [fpc-pascal] Comparing version numbers

2006-06-02 Thread A.J. Venter
hen Res := True; end; until done; CompareVersion := Res; end; -- "there's nothing as inspirational for a hacker as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect

Re: [fpc-pascal] Comparing version numbers

2006-06-02 Thread A.J. Venter
a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.

Re: [fpc-pascal] Comparing version numbers

2006-06-02 Thread A.J. Venter
for a hacker as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Comparing version numbers

2006-06-02 Thread A.J. Venter
ASCIIbetically. If there's a difference, terminate. If not: 2. Take any initial string of digits from each, remove, and compare numerically. If there's a difference, terminate. If not, goto 1. (Oh and I'm using while, not goto :p ) A.J. On Friday 02 June 2006 23:11, Vincent Snijders wrote

[fpc-pascal] Comparing version numbers

2006-06-02 Thread A.J. Venter
x27;s nothing as inspirational for a hacker as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 ___ fpc

Re: [fpc-pascal] Daemon doesn't work right at boottime.

2006-06-01 Thread A.J. Venter
er as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 ___ fpc-pascal maillist - fpc-pascal@lists.fre

Re: [fpc-pascal] Daemon doesn't work right at boottime.

2006-06-01 Thread A.J. Venter
Writeln(Flog,'Action completed, resuming counter'); end; end; Close(fLog); If bTerm Then BREAK Else { wait a while } fpSelect(0,nil,nil,nil,6); inc(Minutes); Until bTerm; Actions.Free; -- "there's no

[fpc-pascal] Daemon doesn't work right at boottime.

2006-06-01 Thread A.J. Venter
cker as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] Re: fpc-pascal Digest, Vol 19, Issue 24

2006-03-16 Thread A.J. Venter
as a cat obscuring a bug by sitting in front of the monitor" - Boudewijn Rempt A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Better random numbers ?

2006-02-26 Thread A.J. Venter
enhance it but I like the direction of your thinking, combining randseed with some virtually guaranteed unique value solves the problem. Ciao A.J. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +

[fpc-pascal] Better random numbers ?

2006-02-26 Thread A.J. Venter
eed ? I am talking literally every few milliseconds here. -- A.J. Venter Chief Software Architect OpenLab International www.getopenlab.com www.silentcoder.co.za +27 82 726 5103 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] Interactive SHELL?

2006-02-16 Thread A.J. Venter
ing from the screen. I was > using readkey and echowing back a "*" during password input. I will have to > do it another way. Maybe not, depending on what OS you are working for, try using ncrt instead, I am pretty sure ncurses does NOT use raw mode so it may work. A.J. -- A.

Re: [fpc-pascal] Simple hello world fails on freebsd

2005-07-23 Thread A.J. Venter
Okay, feel free to ignore it, turns out my freebsd jail is on an amd-64 cpu, not an i386. A.J. On Sunday 24 July 2005 00:35, A.J. Venter wrote: > Hi all, this is my first attempt at using freepascal on freebsd, > I installed it from the tarball, installing everything, but I can

[fpc-pascal] Simple hello world fails on freebsd

2005-07-23 Thread A.J. Venter
Hi all, this is my first attempt at using freepascal on freebsd, I installed it from the tarball, installing everything, but I can't compile ANYTHING. Below is the output from the compiler on a simple hello world program. Free Pascal Compiler version 2.0.0 [2005/05/15] for i386 Copyright (c) 19

Re: [fpc-pascal] Paths on different OS's

2005-07-14 Thread A.J. Venter
IM which auto-adjusts for the OS you're compiling to. A.J. -- A.J. Venter Lead Developer - Direq International +27 82 726 5103 Fax: 0866542898 http://direq.org http://silentcoder.co.za ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.o

Re: [fpc-pascal] Something like "Is a number"?

2005-07-09 Thread A.J. Venter
> >You can use val(str, int/real, err) > > > >if err is 0, the string was converted to an integer or real (depending on > >the type of int/real. > > > >John > > Thank you, it's working!!! > Yes that's the old Pascal version of StrToInt :) and it had errorchecking :) Just for the record, like every

[fpc-pascal] Wrapping libInkLevel

2005-07-07 Thread A.J. Venter
Hi, I've been trying to create a wrapper for libinklevel, h2pas with a fairly standard set of options ran fine, the wrapper compiled once I commented a double-definition for PInk_level, but on trying to use it, it throws a stack exception: I include the translated header file below, maybe somebody

Re: [fpc-pascal] Free Pascal soom will land in Italy!

2004-10-07 Thread A.J. Venter
Okay, appology - I didn't look closely and thought this came from the lazarus mailing list. I'll leave it to the requester to decide if a lazarus app should also count as kewl fpc app :) A.J. On Thursday, 7 October 2004 12:40, A.J. Venter wrote: > Am I allowed to punt my own a

Re: [fpc-pascal] Free Pascal soom will land in Italy!

2004-10-07 Thread A.J. Venter
; > FPC itself ;)? > Lazarus =) ? > Tony's CBT? > > > Please let me > > know if you know about any. Let's spear Free Pascal! > > Jilani > > _______ > fpc-pascal maillist - [EMAIL PROTECTED] > http://lists.freepa

Re: [fpc-pascal]linux question

2004-09-20 Thread A.J. Venter
; echo $? > > A) is that correct? erm that's the EVIL way. Try BACK=`/sbin/prgA` > B) how does prgA report the output back, using a simple write statement? For this one at least, yes, I've done many of those using little FPC shorts to enhance shell scripts. > > Thanks > &

[fpc-pascal]RE: How to change a users password on Linux

2004-05-21 Thread A.J. Venter
Erm, obviously I need a way to do that in pascal, I think that got left out of the message A.J. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]How to change a users password on Linux

2004-05-21 Thread A.J. Venter
Hi, I am working on a project that needs among other things to create Linux users, and then set a password for them. One way to do this is to use a program that can read the password from stdin and just wrap around it, for example echo "testusers:test" | chpasswd will change testuser's password t

Re: [fpc-pascal]XP=extreme pain in the butt

2003-09-18 Thread A.J. Venter
_ > fpc-pascal maillist - [EMAIL PROTECTED] > http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- "The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows." - Frank Zappa

Re: Hacking was Re: [fpc-pascal]Lazarus

2003-08-30 Thread A.J. Venter
Not to be pedantic, but can I request that we as TRUE hackers at least get the terminology right. The site was a cracked by a cracker. FPC was created, and is used by a large number of hackers. Maybe I should just give upsigh. Ciao A.J. On Fri, 2003-08-29 at 12:31, Sigurd Stordal wrote: >

Re: [fpc-pascal]HELP!

2003-08-06 Thread A.J. Venter
maillist - > > [EMAIL PROTECTED]://lists.freepascal.org/mailman/listinfo/fpc-pascal > > > __ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > __

Re: [fpc-pascal]A suggestion.

2003-07-25 Thread A.J. Venter
; On vrijdag, jul 25, 2003, at 08:30 Europe/Brussels, A.J. Venter wrote: > > > > >I miss being able to put the cursor on a function/procedure/reserved > > >word name and hitting F1 to see the help section for it. > > > > The text mode IDE already has support for thi

[fpc-pascal]A suggestion.

2003-07-24 Thread A.J. Venter
specific platform. Something like xml perhaps ? I wait to hear from all. -- Do not try to think outside the box. That's impossible. Instead only try to realise the truthThere is no box. A.J. Venter Tech Guru DireqLearn. ___ fpc-pascal mai

Re: [fpc-pascal]Synapse for FPC

2003-07-24 Thread A.J. Venter
rwise users will still need IFDEFS anyway. > > Michael. > > > ___________ > fpc-pascal maillist - [EMAIL PROTECTED] > http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Do not try to think outside the box. That's impossible. Instead only try to realise the truthThere is no box. A.J. Venter Tech Guru DireqLearn. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]SDL with FPC - possible?

2003-06-19 Thread A.J. Venter
On Thursday 19 Jun 2003 5:13 pm, Marco van de Voort wrote: The Jedi packages have never really worked for me, but I do quite a lot of dev in FPC with SDL. I rather reccomend SDL4FreePascal by Daniel Mantione, just do a freshmeat search to get the download link. A.J. > > Are there any libsdl unit

Re: [fpc-pascal]need help with the ide

2003-06-11 Thread A.J. Venter
_ > fpc-pascal maillist - [EMAIL PROTECTED] > http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- ¨Can´t you see the signs ?¨ - Creed A.J. Venter DireqLearn Linux Guru ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Lazarus +FPC

2003-03-30 Thread A.J. Venter
, Michael Van Canneyt wrote: > On Fri, 28 Mar 2003, Mattias Gaertner wrote: > > > On Fri, 28 Mar 2003 23:54:48 +1000 > > James Mills <[EMAIL PROTECTED]> wrote: > > > > > On Fri, Mar 28, 2003 at 02:41:17PM +0100, Marco van de Voort wrote: > > > > >

[fpc-pascal]Lazarus +FPC

2003-03-28 Thread A.J. Venter
at I could have evolved from man." A.J. Venter DireqLearn Linux Guru Public Key: http://www.mandrakesecure.net/en/cks/search.cgi?stype=keyid_4b&keyid_4b=F5AA10E9 ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Retrieving memory size?

2003-03-27 Thread A.J. Venter
On Linux systems you can get it out of /proc. If you are on windows however, I am not sure how to do it. Have a look at the contributed units, I am almost certain I have seen a unit there for doing it with. Sorry if this is not wonderfull help, but then again I only develop on and for Linux. On T

Re: [fpc-pascal]OT: An FPC program in LinuxFormat Magazine

2003-03-25 Thread A.J. Venter
Well thanks everybody for the words of encouragement and praise. I just released version 1.4 yesterday, with multi-language support etc. I have been on this list since the days when you had to use a snapshot to get AnsiStrings, and it's always been great. I know I don't post that often, but that's

[fpc-pascal]OT: An FPC program in LinuxFormat Magazine

2003-03-24 Thread A.J. Venter
, yes I am the A.J. that wrote it, and no I am not trying to make anybody buy it, it's GPL anyway. In case you do care, akinimod.sf.net, otherwize just ignore the post. A.J. -- "I'm a creationist. I refuse to believe that I could have evolved from man." A.J. Venter DireqLear