Thanks A lot for the response .... It works fine .... I had not thought it was possible to enter a bash script in DISPLAY ....
regards Giorgio > To: [email protected] > From: [email protected] > Date: Wed, 11 May 2016 14:14:37 +0000 > Subject: Re: [Emc-users] halui interfaces with no gui problem > > You can use any executable program for [DISPLAY]DISPLAY= > LinuxCNC will quit when the named program exits. > > Example for a file named nogui.sh in config directory: > > $ cat nogui.sh > #!/bin/bash > function bye () { > echo bye > exit 0 > } > trap bye SIGTERM SIGHUP > tail -f /dev/null & > wait $! > > $ chmod 755 nogui.sh > > Ini file excerpts: > > [DISPLAY] > DISPLAY = ./nogui.sh > ... > [HAL] > HALUI = halui > ... > > > You can stop LinuxCNC by sending a hangup signal to nogui.sh: > > $ pkill -HUP nogui.sh > > You can also start independent programs (with a delay) > from an ini file: > [APPLICATIONS] > DELAY = number_of_seconds_to_wait > APP = name_of_program_in_path > > Ref: > http://linuxcnc.org/docs/2.7/html/config/ini-config.html#_applications_section > > -- > Dewey Garrett > > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
