Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmactivateprotocol(3x) [osf1 man page]

XmActivateProtocol(3X)													    XmActivateProtocol(3X)

NAME
XmActivateProtocol - A VendorShell function that activates a protocol SYNOPSIS
#include <Xm/Xm.h> #include <Xm/Protocols.h> void XmActivateProtocol (shell, property, protocol) Widget shell; Atom property; Atom protocol; void XmActivateWMProtocol (shell, protocol) Widget shell; Atom protocol; DESCRIPTION
XmActivateProtocol activates a protocol. It updates the handlers and the property if the shell is realized. It is sometimes useful to allow a protocol's state information (callback lists, and so on) to persist, even though the client may choose to temporarily resign from the interaction. This is supported by allowing a protocol to be in one of two states: active or inactive. If the protocol is active and the shell is realized, the property contains the protocol Atom. If the protocol is inactive, the Atom is not present in the property. XmActivateWMProtocol is a convenience interface. It calls XmActivateProtocol with the property value set to the atom returned by interning WM_PROTOCOLS. Specifies the widget with which the protocol property is associated. Specifies the protocol property. Specifies the proto- col Atom (or an int type cast to Atom). For a complete definition of VendorShell and its associated resources, see VendorShell(3X). SEE ALSO
VendorShell(3X), XmActivateWMProtocol(3X), XmInternAtom(3X) XmActivateProtocol(3X)

Check Out this Related Man Page

XmActivateProtocol(library call)										  XmActivateProtocol(library call)

NAME
XmActivateProtocol -- A VendorShell function that activates a protocol SYNOPSIS
#include <Xm/Protocols.h> void XmActivateProtocol( Widget shell, Atom property, Atom protocol); DESCRIPTION
XmActivateProtocol activates a protocol. It updates the handlers and the property if the shell is realized. It is sometimes useful to allow a protocol's state information (callback lists, and so on) to persist, even though the client may choose to temporarily resign from the interaction. This is supported by allowing a protocol to be in one of two states: active or inactive. If the protocol is active and the shell is realized, the property contains the protocol Atom. If the protocol is inactive, the Atom is not present in the property. XmActivateWMProtocol is a convenience interface. It calls XmActivateProtocol with the property value set to the atom returned by interning WM_PROTOCOLS. shell Specifies the widget with which the protocol property is associated property Specifies the protocol property protocol Specifies the protocol Atom For a complete definition of VendorShell and its associated resources, see VendorShell(3). RELATED
VendorShell(3), XmActivateWMProtocol(3), XmRemoveProtocols(3) and XmInternAtom(3). XmActivateProtocol(library call)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to replace a line in a file using shell script

I have a property file in which the DB name is specified and when i run my servers they will point to the DB specified in that property file. Now i'm gonna write a script which will start all the services. But before that i just want to dynamically change the DB name in that property file by... (3 Replies)
Discussion started by: cs_sakthi
3 Replies

2. UNIX for Dummies Questions & Answers

Unix terminal protocol

I need to accomodate terminals running off an NCR UNIX SCO server. I need the protocol so I can get the correct S/W image for the router. (3 Replies)
Discussion started by: de2934
3 Replies

3. UNIX for Dummies Questions & Answers

Protocols

What protocol would be the best to use on a network with nt and unix servers and windows me clients? Can SMB protocol be used to implement large networks? What protocol can be used to make remote file systems appear as if they are local? Quite a few questions I know, any help would be... (1 Reply)
Discussion started by: jnash
1 Replies

4. IP Networking

protocol

iam doing a research on WAN so pliz any body can give me or tell me where i would find communication protocol map..thats all 7 layers..OIS MODEL (1 Reply)
Discussion started by: ravineelkumar
1 Replies

5. Shell Programming and Scripting

matching first instance of FS

Hi All, I have a property in a file as: property=value=a If I use FS="=" then I want only first = to be considered as field separator and remaining as value echo -e "property=value=a" | awk -F= '{print $2}' ie my $2 should be value=a Can anyone please help me with this. I need it in... (3 Replies)
Discussion started by: gurukottur
3 Replies

6. Shell Programming and Scripting

Replacing Character in a file based on element

Hi, I have file like below. Unix:/pclls/turc>cat tibc.property executeReceiver=Y executeSender=Y I want to replace executeSender=N in the file. My file should be like below. executeReceiver=Y executeSender=N I tried with the below command, its giving error. cat tibc.property |... (2 Replies)
Discussion started by: senthil_is
2 Replies

7. UNIX for Dummies Questions & Answers

ZOTAC IONITX-A-U Atom 330 1.6GHz Dual-Core 441 NVI

Has anyone installed on the ZOTAC IONITX-A-U Atom 330 1.6GHz Dual-Core 441 NVIDIA ION Mini ITX platform? If so, what if any, were the challneges that you had? What went smoothly I want to get this board because it looks like a stellar system and perfect for Linux. I'm quite curious about... (2 Replies)
Discussion started by: sarfraz
2 Replies

8. Shell Programming and Scripting

Searching a delimited Key value pairs in shell script

Hello, I have property file with key value pairs separated by pipe , I am trying to write a script which reads the property file and search and print value of specific key. I tried with Sed, I am successfull. The file is as follows ... (4 Replies)
Discussion started by: ANK
4 Replies

9. Shell Programming and Scripting

change word in a property file

Hi, I have a property file called "inspector.properties". In this property file stands the following: inspect=ON Now I want to have a shell script that when you run it, changes the ON in OFF in this property file. Is this possible with sed? Can anybody help me with this? Tnx very much. (5 Replies)
Discussion started by: thebladerunner
5 Replies

10. Shell Programming and Scripting

Reading a property file through shell script???

Hi! i need a script that can read a property file. i.e., A script to read a "property" from property file. Read the property value and based on value of property, decide whether to start the some dataload activity or not. Its urngent. Can anyone help me out???:( (7 Replies)
Discussion started by: sukhdip
7 Replies

11. Shell Programming and Scripting

reading and updating property file

I have to do a read operation for a field in property file, which looks like follows: 123|xyz|datetime|count '|' is delimiter. Finally I managed to read the contents of property file using statement like cut -d"|" -f1 $PROPERTIES_FILE | tr '\n' ' ' <-- Reading first column But now I... (2 Replies)
Discussion started by: rakeshranjanscs
2 Replies

12. Shell Programming and Scripting

comparing csv files

Hi! I'm just new to shell scripting n simple tasks looks so tough in initial stage. i need to write a script which will read a property file, property file will be containing count of the csv files, and in a folder(same folder) there will be respective csv files. like Property file data1=100... (3 Replies)
Discussion started by: sukhdip
3 Replies

13. Shell Programming and Scripting

Variable has value with = or == sign

I have a script which is reading value from property file and doing replacement in source location which contains multiple files. property file has values abc=xyz; yux=1;version=3.0; bcd=123;apple==mango when my script does search and reads value from property file. its replacing value... (1 Reply)
Discussion started by: Shamkamde
1 Replies

14. Shell Programming and Scripting

Not to remove Files based on property value

Hi All, Need your help to fix one script. Main agenda is: 1. Read a property file. 2. Delete all files in directory except the name from Property file. I am trying to read property file for value then deleting all files from directory except THAT value/name. I have tried so far as... (3 Replies)
Discussion started by: sukhdip
3 Replies