-c command :Command to be executed
-x text :Text to be written on button
-w :no warning sent
An example shell script is attached, a BURT restore script could also be executed.
The button cannot be covered as it will always pop-to-the-top of an x-display.
An example of a button use follows:
estop -c liEstop.scr -x "e-stop"
#!/bin/csh -f # Stop LINAC Triggers, this will dump the ACIS also caput L:T:M1:runMO 0 caput L:T:D1:runMO 0 caput L:T:E1:runMO 0 caput L:T:S1:runMO 0 # Trip the modulators caput pvnames 0 . . #Stop the e-gun caput pvnames 0 . . #Turn off Low Level RF caput pvnames 1 . . #Trip the focusing magnets caput pvnames 0 . . #Turn off steering magnets caput pvnames 1 . .