XForms: Xforms & command line parameters

Alain Muls (alain@asge-009.rma.ac.be)
Wed, 9 Jul 1997 17:00:09 +0200

To subscribers of the xforms list from Alain Muls <alain@asge-009.rma.ac.be> :

Hello,

In order to have xforms (fl_initialize) treat the command line
parameters specific for X-windows (such as -display), I have as first
program line the call to
fl_initialize ( &argc, argv, 0, 0, 0 ) ;
These specific X-windows command line parameters are then removed from
the argument list

After that I want to treat the command line parameters specific to my
program, such as `-f configuration_file'.
fl_initialize however drops the name of the configuration file if I
leave a space between -f and configuration file. When I do not type a
space, everything is allright. But I prefer to have the space. Is
there another way around ?

Thanks
Alain

-----------------------------------------------------------------------
Alain Muls tel +32/2/737.61.20
Royal Military Academy fax +32/2/737.60.47 ASGE
Renaissanceavenue 30 e-mail Alain.Muls@asge.rma.ac.be
B-1000 Brussels e-mail alain@asge-004.rma.ac.be
BELGIUM ICBM 50d50,6669'N 4d23.5299'E
-----------------------------------------------------------------------
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/