[fpc-pascal] upx.exe identified by Avast as a virus in 2.2.2 Go32v2 distribution

2008-11-13 Thread Bob Batey
Hi, While scanning for viruses on my PC I got a notification from my Avast antivirus scan that upx.exe was a virus. To check, I looked up upx.exe and see that it is an exe compression tool. Does anyone know if the 2.2.2 Go32v2 target has a corrupted upx.exe file embedded in it? I'm thinking the

[fpc-pascal] Error linking Lazarus

2006-07-13 Thread Bob
/home/bob/lazarus/ide' gmake[1]: *** [ide] Error 2 gmake[1]: Leaving directory `/usr/home/bob/lazarus/ide' gmake: *** [ide] Error 2 In the file lazarus/link.res we see the problem INPUT( - -lglib12<=== A - -lgdk12 <=== B - -lX11 - -lgtk12 <=== C - -lXi - -lXext -

Re: [fpc-pascal] eof strangeness

2006-05-02 Thread Bob Richards
terminating your program after an EOL (ENTER), If you send it an EOF ^d it also responds reasonably. $ ./testeof ^d entered at kybd EOF found Bob -- PGP Encrypted E-Mail Prefered Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___

Re: [fpc-pascal] ParamStr(0) bug??

2006-04-24 Thread Bob Richards
John Coppens wrote: > You could try to access the environment variables - the '_' variable > contains the command used to start the program. Just tested it - it shows > the link. Thanks John! That works a charm. -- PGP Encrypted E-Mail Prefered Public Key at: http://ww

[fpc-pascal] ParamStr(0) bug??

2006-04-24 Thread Bob Richards
if I use a symlink, the ParamStr(0) function doesn't work as I would expect. It always returns the name of the executable not the name of the link to it. Example: Program test; Begin WriteLn('This program was executed as: ',ParamStr(0)); end. $ ./test This program was ex

[fpc-pascal] WinSock

2006-03-15 Thread Bob Richards
have the complete lib/units/i-386-win32 library as well. In the windows rtl directory there are other units, besides winsock; like windows, wincrt, winevent, winmouse Where are the docs for these?? TIA Bob ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] [Lazarus] Install from source on Linux Issue

2006-02-16 Thread Bob Richards
Bob Richards wrote: Hm. well, this must be an issue with my fpc install! I went and got the new fpdocs via svn, did a "make html" and: [EMAIL PROTECTED] fpcdocs]$ make html Makefile:118: *** Compiler Free Pascal Compiler version 2.0.2 [2006/02/13] for i386 Copyright (c) 19

[fpc-pascal] [Lazarus] Install from source on Linux Issue

2006-02-16 Thread Bob Richards
1993-2005 by Florian Klaempfl /usr/local/lib/fpc/2.0.2/ppc386 [options] [options] Bob -- PGP Encrypted E-Mail Preferred Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr

Re: [fpc-pascal] Interactive SHELL?

2006-02-16 Thread Bob Richards
e the source should port to windows as well. Bob -- PGP Encrypted E-Mail Preferred Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Interactive SHELL?

2006-02-15 Thread Bob Richards
ing password input. I will have to do it another way. Bob -- PGP Encrypted E-Mail Prefered Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Interactive SHELL?

2006-02-15 Thread Bob Richards
write my own readkey routine, and lose crt. Not a big deal. Thanks again Bob -- PGP Encrypted E-Mail Prefered Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal

Re: [fpc-pascal] Interactive SHELL?

2006-02-15 Thread Bob Richards
from crt SHOULD be readkey. I will look at unit CRT, and see if perhaps there is a termonal mode command I can issue. Thanks. Bob -- PGP Encrypted E-Mail Prefered Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal mail

[fpc-pascal] Interactive SHELL?

2006-02-15 Thread Bob Richards
st Regards Bob -- PGP Encrypted E-Mail Preferred Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] A simple "exception handling" question

2006-01-29 Thread Bob Richards
ERY NICE, and THANKS all! I also appreciate your patience with this... Bob -- PGP Encrypted E-Mail Preferred Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] A simple "exception handling" question

2006-01-29 Thread Bob Richards
ith SmartLinking enabled. There are no ".A" files in my source tree. To enable Smart Linking, do I need to recomplile the sources with some switch allowing SmartLinking to be active? The Docs, imply NO, that this is the default; your reply above implies Yes. Bob -- PGP Encrypted E-Mail Prefer

Re: [fpc-pascal] A simple "exception handling" question

2006-01-29 Thread Bob Richards
et (not to mention a lot of fun)! I drooled when I saw all the new functions and procedures available Nifty stuff! What I have to keep in the back of my mind, is, that this is User-Supported and as such will have the occasional "bug". -- PGP Encrypted E-Mail Preferred

Re: [fpc-pascal] A simple "exception handling" question

2006-01-28 Thread Bob Richards
is fpc 2.0.0 on Linux, but at this level I don't think it should matter. Sorry for being dense :-( Bob -- PGP Encrypted E-Mail Prefered Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] A simple "exception handling" question

2006-01-28 Thread Bob Richards
Encrypted E-Mail Prefered Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] A simple "exception handling" question

2006-01-28 Thread Bob Richards
ot;Hex2Dec" in Strutils: "If S does not contain a valid hexadecimal value, an EConvertError exception will be raised." So, what profound lack of understanding am I suffering from? Anybody? Bob ___ fpc-pascal maillist - fpc-pascal@list

[fpc-pascal] Re: fpc-pascal Digest, Vol 16, Issue 33

2005-12-23 Thread Bob Barry
really think the problem is that my ISP's proxy does not support the http extension methods required by SVN. Thanks, Bob ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] svn

2005-12-23 Thread Bob Barry
ould provide a clean fix for all fpc users behind proxies, and would eliminate the need for each one to plead, cajole and fight with his ISP. Thanks, Bob ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] svn

2005-12-22 Thread Bob Barry
rsion using https. Could fpc's subversion server be configured to accomodate https? Please? Thanks, Bob Barry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] building fpc docs

2005-10-30 Thread Bob Barry
For a long time I've been unable to build fpc docs from svn. I finally had a good look at it and came up with an ugly workaround. Start with a freshly-built svn fpc (with no msg2inc) or rm .../fpc/compiler/msg2inc. In .../fpcdocs run "make html". It fails with: cp styles/listings.sty styles

[fpc-pascal] compilation of fpc docs fails

2005-10-13 Thread Bob Barry
/msg/errore.msg messages.inc make: ../fpc/compiler/utils/msg2inc: Command not found make: *** [messages.inc] Error 127 make: Leaving directory `/var/tmp/portage/fpc-2.0.1/work/fpcdocs' fpc/.svn/entries shows: committed-rev="1364". Thanks, Bob Barry _

Re: [fpc-pascal] Questions on Documentation

2005-10-11 Thread Bob Richards
A list member wrote me a private email and enclosed a very useful Korn Shell script which he posted here on the list in the past; it produced this: http://www.tamara-b.org/users/bob/rtl_pf_index.html Document. With this, as well as Tomas' file added to the docs, I am now cooking! Thanks!!

Re: [fpc-pascal] Questions on Documentation

2005-10-11 Thread Bob Richards
to go looking for something needed. If anyone else here finds Tomas' summary useful, I have done a quick and dirty html conversion for easy inclusion into the fpctoc file. Here: http://www.tamara-b.org/users/bob/AddToDoc.html Bob -- PGP Encrypted E-Mail Pr

[fpc-pascal] docs of "fpc-2.0 fixes" don't build

2005-10-11 Thread Bob Barry
Documents do not build with current fixes/fpc svn: Svn update reports: updating fpc-2.0 fixes: At revision 1355. Make fails with: Free Pascal Compiler version 2.0.1 [2005/10/05] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Linux for i386 Compiling utils/msg2inc.pp msg2inc.pp(64

[fpc-pascal] Questions on Documentation

2005-10-10 Thread Bob Richards
documentation quest? Any sugestions on which one? Best Regards Bob -- PGP Encrypted E-Mail Preferred Public Key at: http://www.tamara-b.org/~bob/pubkey.asc . ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] history

2005-09-13 Thread Bob Barry
In the course of trying to compile fpc docs, I compared file msg2inc.pp of svn to that of the fpc-2.0.0 source tarball. No change whatsoever had been made to the code, but all the revision history has been removed since fpc-2.0.0. This means that users will henceforth be unable to know who to tha

Re: [fpc-pascal] compiling html docs from svn

2005-09-05 Thread Bob Barry
Michael - On Sat, 3 Sep 2005 19:57 you wrote: > It is hopefully fixed now. I still see the same error with the latest svn. I've attached a log of "make html" - please look it over and see if you can spot the problem. Thanks, Bob Barry cp styles/listings.sty styles/lstdoc.s

Re: [fpc-pascal] compiling html docs from svn

2005-09-04 Thread Bob Barry
oss fingers) documentation. This assures that all parts of the package come from the same snapshot, and that the content of the package can easily be installed, queried, updated, or deleted. Thanks, Bob Barry ___ fpc-pascal maillist - fpc-pascal@lists.

[fpc-pascal] compiling html docs from svn

2005-09-03 Thread Bob Barry
ning "make html" gives exactly the same result. Running "make pdf" fails similarly, with: l.120 ...legal enum minimum-size specifier "arg1"] Running make txt succeeds (but that's not what I want). Is this fixable? Is it just a temporary &quo

[fpc-pascal] building docs from svn

2005-08-23 Thread Bob Barry
vn/fpc/compiler' make: *** [../fpc/compiler/msg2inc] Error 2 It looks like a cooperative entry in the fpc/compiler Makefile, and a msg2inc file, are needed for this to work. Is there a way of switching the included messages off? Thanks, Bob Barry __

[fpc-pascal] fpc and lazarus svn thru firewall

2005-08-11 Thread Bob Barry
My ISP uses a proxy firewall, and SVN will not work thru it or around it. Requests for the proxy to accomodate subversion have brought no action. I finally found tips for using subversion through an http firewall at: http://www.bluemarsh.com/java/subversion.html, Desproxy homepage is http:

Re: [fpc-pascal] Lazarus install failure

2005-05-11 Thread Bob Barry
s Install doc dir.. /usr/local/share/doc/fpc-1.9.9/lazarus Install example dir.. /usr/local/share/doc/fpc-1.9.9/lazarus/examples Install data dir. /usr/local/lib/fpc/1.9.9 But "make install" still fails. I'm about out of ideas - will update from cvs again now. Any suggestions? Thanks, Bob Barry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] building docs from cvs

2005-05-11 Thread Bob Barry
vi] Error 1 make: Leaving directory `/home/bobb/freepascal/cvs/fpc/docs' Thanks, Bob ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Lazarus install failure

2005-05-09 Thread Bob Barry
/*.ppu | wc -l 55 Behavior is the same after I copied /etc/fpc.cfg to /root/.fpc.cfg. Behavior is the same after: export PPC_CONFIG_PATH=/etc Can someone tell me what's wrong or missing? Thanks, Bob Barry ___ fpc-pascal maillist

[fpc-pascal] index to all RTL procedures and functions

2005-05-08 Thread Bob Barry
The following script generates an index to all RTL procedures and functions. As a newbie to fpc I find this useful. Sorry - the index is html, and is derived from html, which is NOT the right way to do it, but I don't know latex. The RTL toc should be modified to include this index if it is foun

[fpc-pascal] fpc searchpath for ppc386

2005-05-07 Thread Bob Barry
V 1.9.9 But should this be necessary? Docs said that make would create an fpc.cfg file, but it did not. I ran: /usr/local/lib/fpc/1.9.9/samplecfg /usr/local/lib/fpc/1.9.9 /etc and it created a good-looking /etc/fpc.cfg, but it doesn't help fpc find ppc386. Thanks, Bob Barry ___

Re: [fpc-pascal] building docs from cvs

2005-05-07 Thread Bob Barry
the compiler breezes past hundreds of warnings along the way. Is that normal? Thanks, Bob ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] building docs from cvs

2005-05-06 Thread Bob Barry
halts on errors like: ! LaTeX Error: Lonely \item--perhaps a missing list environment. l.1302 ... "arg1" does not seem to be initialized] Behavior was similar for dvi, txt, pdf, and ps. Can someone suggest what's missing or required? The gzipped user.log is attached

Re: [fpc-pascal] gtk2 example "gtkglext"

2005-05-01 Thread Bob Barry
Michalis - On Sat, 30 Apr 2005 19:07 you wrote: > Are you sure that you updated from cvs with `-d' flag ? That's it! Thanks, I've fixed my upgrade script so it won't happen again. Regards, Bob ___ fpc-pascal

[fpc-pascal] gtk2 example "gtkglext"

2005-04-30 Thread Bob Barry
Attempt to compile current cvs failed due to directory "gtkglext" missing from fpc/packages/extra/gtk2/examples: make[6]: Leaving directory `/home/bobb/freepascal/cvs/fpc/packages/extra/gtk2/examples/plugins' make -C scribble_simple clean make[6]: Entering directory `/home/bobb/freepascal/cvs/f

Re: [fpc-pascal] Question about interfaces

2005-03-19 Thread Bob Shaffer
I think I'm going to have to agree with everyone else on this one. If I read this, thinking it was pascal code, I wouldn't have the slightest idea what these % and/or $ operators were doing. Operator overloading should never be used to change the meaning of an operator. It's there so you can mak

Re: [fpc-pascal] C++ and Free Pascal

2005-03-15 Thread Bob Shaffer
hat to C++ programs. Would that be possible without having to put wrappers over wrappers, or am I pretty much stuck maintaining the library in both C++ and Pascal if I want it in both? Thanks, Bob Shaffer II ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] C++ and Free Pascal

2005-03-15 Thread Bob Shaffer
in pascal and then link it to a C++ program, it wouldn't be so bad. I would have to rewrite it all, yes - but I wouldn't have to maintain two nearly identical libraries. _________ Bob Shaffer II - Owner, Develo

Re: [fpc-pascal] Re: fpc Makefiles

2005-02-11 Thread Bob Barry
Vincent - On Friday 11 February 2005 10:00, you wrote: > >>All of the Makefiles use "TAROPT=vI" to compress with bzip; the gnu tar > >>changefile indicates that "I" was superseded by "j" on 2000-10-23. The > >>attached patch changes all "vI" to "vj". > > > > The "vI" comes from fpcmake; the atta

[fpc-pascal] Re: fpc Makefiles

2005-02-10 Thread Bob Barry
in cvs kept up-to-date, or should users run fpcmake after updating from cvs? > All of the Makefiles use "TAROPT=vI" to compress with bzip; the gnu tar > changefile indicates that "I" was superseded by "j" on 2000-10-23. The > attached patch changes all "vI&

[fpc-pascal] fpc Makefiles

2005-02-10 Thread Bob Barry
lly want html documentation, but I can't get any action at all out of the "make -C docs l2h" which is recommended by "make -C docs help", or the "make html" recommended by ...fpc/install/INSTALL. I'm hoping that "html" will fall into line if I get &q

[fpc-pascal] cvs ebuild

2005-02-01 Thread Bob Barry
Does any Gentoo user on the list have a working cvs ebuild? If so, would you share it? Afterthought - CVS contains fpc.spec and fpcdoc.spec for Redhat users and a whole directory for debian users; how about adding fpc.ebuild for Gentoo users? Thanks, Bob Barry

Re: [fpc-pascal]CGI and inet Units

2003-09-16 Thread Bob Richards
On Tue, 2003-09-16 at 15:47, [EMAIL PROTECTED] wrote: > On 16 Sep 2003, Bob Richards wrote: > The uncgi and inet units are distributed with FPC. > > Surprised you don't find any links, becayse the following definitely work: > http://www.freepascal.org/packa

[fpc-pascal]CGI and inet Units

2003-09-16 Thread Bob Richards
"used" to be under contrib on the main site, but it seems no-longer. There are many google hits, but they lead to dead sites I am running the latest stable release of FPC ".10", I HAD the units at one time, but no-longer... so I know they exist; but where??? TIA Bob _