Re: [foxboro] disabling sets

  • From: "mdaatje" <mdaatje@xxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Mon, 29 Mar 2010 18:46:06 +0200

Have a look in the default /usr/fox/wp/data/dm_cmds (or fv_cmds) startup
script.
Normally in here the omsets are disabled when logging in remotely (also
protect value 100).

From this syntax you can create (copy-paste) your own lines to put in the
environment files.

$DMNAME is known in a displaymanager script.

Hope this helps.

Regards,

Martijn Daamen

> -----Oorspronkelijk bericht-----
> Van: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
> Namens Terry Doucet
> Verzonden: maandag 29 maart 2010 18:00
> Aan: foxboro@xxxxxxxxxxxxx
> Onderwerp: Re: [foxboro] disabling sets
> 
> Well now it is getting complicated. I have never done this specific
> task but you might try some commands from the .profile script.
> 
> 
> 
> # So we need to determine what signal to trap on
> 
> #
> 
> SIG_PATH=/usr/include/sys/signal.h
> 
> SIGUSR1=`grep SIGUSR1 $SIG_PATH | awk '{ printf ( "%s", $3 ) }'`
> 
> REM_STATION=`who am i| awk '{print $6}' | tr -d "()"`
> 
> DISPLAY=$REM_STATION:0 ; export DISPLAY
> 
> 
> 
> Then try an omget of the "DISPLAYDMNAME" or similar syntax.
> 
> Sorry I can't help you further.
> 
> Terry
> > From: stan.brown@xxxxxxxxxxxxxxxxx
> > To: foxboro@xxxxxxxxxxxxx
> > Date: Mon, 29 Mar 2010 10:42:53 -0400
> > Subject: Re: [foxboro] disabling sets
> >
> > Is there a way to "read" the value of DMNAME ? I'd like for this
> script to be generic.
> >

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: