GNAVI: GNU Ada Visual Interface: GWenerator 0.8 released
GNAVI: The GNU Ada Visual Interface, GWindows - GUI Framework, GNATCOM - ActiveX/COM and the GNAVI IDE for RAD Development. The Open Source Answer to Delphi and VB
I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
This is my situation
DOS pc serial cable (sl0) Linux Pc eth1
192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router)
I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface.
... (3 Replies)
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
I am looking for and IDE or at least a compiler that can handle
calls from ADA to C++, including classes and whatnot. I am talking about the AIX platform (RS6000). I have tried Rational's ApexDuo but it sucks. Does anyone know a better solution ?
Pure C++ compilers that are better than IBM's... (0 Replies)
TEMPLATES2ADA(1) Templates Parser User's Guide TEMPLATES2ADA(1)NAME
templates2ada - generate Ada sources from a templates file
SYNOPSIS
templates2ada [options]
DESCRIPTION
templates2ada parses all the template files in a directory and then generates an output file from these, based on a template file (a
default example of which is provided as /usr/share/doc/libtemplates-parser-dev/examples/templates.tads). The latter contains in fact two
examples, depending on whether one Ada package should be generated per template, or whether a single package should be built. In the for-
mer case, if you are using the GNAT compiler, you should run `gnatchop' on the resulting file. Here is an example:
$ rm -f src/templates/*.ads
$ templates2ada -d resources/ -o src/templates/generated -r
$ cd src/templates; gnatchop -w -q generated
$ rm -f src/templates/generated
One of the goals of templates2ada is to ensure that you are only setting tags that actually exist in the template (and thus prevent, as
much as possibly, typos in the name of tags); also, when combined with other tools, to help ensure that all tags needed by the template are
properly set.
templates2ada also has special knowledge about HTTP constructs and will generate Ada constants for the HTTP parameters you might receive in
return. Once more the goal is to help avoid typos in the Ada code.
For instance, we will consider a simple template file, found in a local file `resources/block1.thtml'. This template contains the following
simple html code:
<form>
<input name="PARAM1" value="@_TAG1_@" />
<input name="PARAM2" value="@_TAG2_@" />
</form>
When you run templates2ada, the following Ada package will be generated. Note that this is only the default output of templates2ada, which
can be fully tailored to your needs.
package Templates.Block1 is
pragma Style_Checks (Off);
Template : constant string := "resources/block1.thtml";
Tag1 : constant String := "TAG1";
Tag2 : constant String := "TAG2";
package Http is
Param1 : constant String := "PARAM1";
Param2 : constant String := "PARAM2";
end Http;
end Templates.Block1;
OPTIONS -d dir Search for template files in dir.
-h Display a summary of options.
-o file
Write the output to file.
-e ext Process all files with extension ext that are in the input directory; consider these files as template files.
-r Recurse into subdirectories.
-t file
Use file as the output template file. The templates parser comes with an example for such a file, /usr/share/doc/templates-
parser/examples/templates.tads, that you can adapt to your own needs.
-v Verbose mode. This will output a warning when an http parameter has a name made only of template parser tags, since no matching
entry can then be created for it in the output file.
SEE ALSO templatespp(1)
The Template Parsers User's Guide in package libtemplates-parser-dev.
AUTHOR
templates2ada was written by Pascal Obry <p.obry@wanadoo.fr> as part of the Ada Web Server.
This manual page was written by Ludovic Brenta <lbrenta@debian.org> for Debian GNU/Linux.
GNU Ada Tools 2008-05-04 TEMPLATES2ADA(1)