[fpc-pascal]CGI

2003-01-27 Thread Luis Del Aguila
Quisiera saber como se hace un programa CGI, para leer un formulario html y
enviar su contenido por email en un servidor Windows (IIS).

¿ How to make a CGI program in pascal, that read and send for e-mail the
Html form content ?

Gracias.
Thanks.

Att.
Luis Del Aguila









___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Re: [fpc-pascal]Graphics woes

2003-01-27 Thread Michael Van Canneyt


On Sat, 25 Jan 2003, John Coppens wrote:

> Hi all...
>
> I've been needing quick & dirty graphing capability, and I'm missing the
> old graph library. I know - I have the graph lib working, but the frequent
> swaps in and out of X11 are not really very comfortable.
>
> As is, I have not found any elegant solution to the problem. I'm that
> needy I am considering implementing some kind of graph lib that actually
> opens a new window under X11 and uses that window to plot - still
> maintaining compatibility with the ol' graph lib. Maybe in some kind of
> client/server relation. It would be nice to have the text window still
> active... Does something like this exist? Sound interesting?

This exists. Try the ggigraph unit. It is a graph unit that uses GGI to
do the actual drawing. It will open an x-window under X11, but will work
with svgalib when on the console. Maybe also the framebuffer, I don't
know that.

Michael.

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Re: [fpc-pascal]FPC 1.0.6 and open arrays

2003-01-27 Thread Jonas Maebe

On zaterdag, jan 25, 2003, at 00:15 Europe/Brussels, Jilani Khaldi 
wrote:

Does FPC support open arrays?
I get an error compiling something like this:

type
  m = array of integer;

but it works fine if I declare it inside a procedure or a function:

procedure OpenArray(var m: array of integer);


You are confusing two things. The first declaration is a dynamic array, 
the second an open array. FPC 1.0.x supports only the latter, 1.1 
supports both.


Jonas

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]FPC 1.0.6 and open arrays

2003-01-27 Thread Michael Van Canneyt


On Sat, 25 Jan 2003, Jilani Khaldi wrote:

> Hi All,
>
> Does FPC support open arrays?
> I get an error compiling something like this:
>
> type
>   m = array of integer;

This is a dynamic array, not an open array.
Dynamic arrays are supported in version 1.1.

>
> but it works fine if I declare it inside a procedure or a function:
>
> procedure OpenArray(var m: array of integer);

This is an open array, and is supported in 1.0.6

Michael.

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Re: [fpc-pascal]Graphics woes

2003-01-27 Thread John Coppens
On Mon, 27 Jan 2003 14:19:56 +0100 (W. Europe Standard Time)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Sat, 25 Jan 2003, John Coppens wrote:
> 
> > Hi all...
> >
> > I've been needing quick & dirty graphing capability, and I'm missing
> > the old graph library. I know - I have the graph lib working, but the
> > frequent swaps in and out of X11 are not really very comfortable.
> >
> > As is, I have not found any elegant solution to the problem. I'm that
> > needy I am considering implementing some kind of graph lib that
> > actually opens a new window under X11 and uses that window to plot -
> > still maintaining compatibility with the ol' graph lib. Maybe in some
> > kind of client/server relation. It would be nice to have the text
> > window still active... Does something like this exist? Sound
> > interesting?
> 
> This exists. Try the ggigraph unit. It is a graph unit that uses GGI to
> do the actual drawing. It will open an x-window under X11, but will work
> with svgalib when on the console. Maybe also the framebuffer, I don't
> know that.

Hi Michael...

Thanks for the info. I installed libggi and libgii, as these were
necessary to link ggiGraph. Made a small test program, but it doesn't
seem to recognize or accept any of the driver resolutions. I tried with
the normal D8bit, D16bit (and several other) graph driver constants, all
return moderange hi = lo = -1.

I nosed around in the ggi sources, where other constants are defined, but
these are not visible from ggiGraph.

I found this reference:

--
Peter Vreman wrote:

> I can't test GGI. Maybe we should then remove all the GGI graph as it
> doesn't work 100% correct?  Then it'll never get debugged and fixed!

I can't remember exactly who added the GGI version to CVS, but IIRC I
just posted a first version back then and clearly noted that ggigraph is
not finished and may never get finished by me. And currently it doesn't
seem to make sense to support GGI anymore: The graph unit cannot really
handle large bit depths, GGI doesn't support the 4 bpp modes, and
finally in the future fpGFX will support GGI much better than ggigraph
ever could.
If you want to, then remove it, I will not continue ggigraph.

Sebastian---

I cannot find much progress in fpGFX 'cept some reference to its being
'really beta'.

Is there any example code for ggiGraph lying around to start testing?

John


> 
> Michael.
> 
> ___
> fpc-pascal maillist  -  [EMAIL PROTECTED]
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Re: [fpc-pascal]CGI

2003-01-27 Thread Andreas K. Foerster
On Sun, Jan 26, 2003 at 10:36:00AM -0500, Luis Del Aguila wrote:

> ¿ How to make a CGI program in pascal, that read and send for e-mail the
> Html form content ?

Look at the User's Guide, chapter 11.

There's also an unCGI Unit around.

HTH

-- 
Tschuess
Andreas
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Re: [fpc-pascal]FPC 1.0.6 and open arrays

2003-01-27 Thread Andreas K. Foerster
On Sun, Jan 26, 2003 at 12:53:25PM +0100, Marco van de Voort wrote:

> This is an dynamic array, and is supported only in 1.1 (the next big 
> version currently in development)
>  
> > but it works fine if I declare it inside a procedure or a function:
> > 
> > procedure OpenArray(var m: array of integer);
> 
> This is an open array, and those are supported in both 1.0.x and 1.1.
> 
> So these are two different features (even though the syntax is 
> similar)

Will there also be sopport for conformant Arrays as they are defined 
in standard Pascal (ISO-7185)?

-- 
Tschuess
Andreas
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Re: [fpc-pascal]Graphics woes

2003-01-27 Thread Michael . VanCanneyt


On Mon, 27 Jan 2003, John Coppens wrote:

> On Mon, 27 Jan 2003 14:19:56 +0100 (W. Europe Standard Time)
> Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
>
> >
> >
> > On Sat, 25 Jan 2003, John Coppens wrote:
> >
> > > Hi all...
> > >
> > > I've been needing quick & dirty graphing capability, and I'm missing
> > > the old graph library. I know - I have the graph lib working, but the
> > > frequent swaps in and out of X11 are not really very comfortable.
> > >
> > > As is, I have not found any elegant solution to the problem. I'm that
> > > needy I am considering implementing some kind of graph lib that
> > > actually opens a new window under X11 and uses that window to plot -
> > > still maintaining compatibility with the ol' graph lib. Maybe in some
> > > kind of client/server relation. It would be nice to have the text
> > > window still active... Does something like this exist? Sound
> > > interesting?
> >
> > This exists. Try the ggigraph unit. It is a graph unit that uses GGI to
> > do the actual drawing. It will open an x-window under X11, but will work
> > with svgalib when on the console. Maybe also the framebuffer, I don't
> > know that.
>
> Hi Michael...
>
> Thanks for the info. I installed libggi and libgii, as these were
> necessary to link ggiGraph. Made a small test program, but it doesn't
> seem to recognize or accept any of the driver resolutions. I tried with
> the normal D8bit, D16bit (and several other) graph driver constants, all
> return moderange hi = lo = -1.
>
> I nosed around in the ggi sources, where other constants are defined, but
> these are not visible from ggiGraph.

[cut]
>
> I cannot find much progress in fpGFX 'cept some reference to its being
> 'really beta'.

It would not work in a 'graph' way anyway.

>
> Is there any example code for ggiGraph lying around to start testing?

No. in principle, the unit should work like any graph unit.
Looking at the ggi docs, I would say you need to set a GGI_DEFMODE
environment variable.

I tried running it, but the first draw statement crashes the program.
No-one is maintaining ggigraph at the moment. Feel free to debug it and send
us patches; it would be good to get it working again.

Michael.

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Re: [fpc-pascal]FPC 1.0.6 and open arrays

2003-01-27 Thread Marco van de Voort
> On Sun, Jan 26, 2003 at 12:53:25PM +0100, Marco van de Voort wrote:
> 
> > > 
> > > procedure OpenArray(var m: array of integer);
> > 
> > This is an open array, and those are supported in both 1.0.x and 1.1.
> > 
> > So these are two different features (even though the syntax is 
> > similar)
> 
> Will there also be sopport for conformant Arrays as they are defined 
> in standard Pascal (ISO-7185)?

Not that I'm aware of (unless you plan to implement it ? ).

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal