1XPCE-CLIENT(1) General Commands Manual XPCE-CLIENT(1)
2
3
4
6 xpce-client - Contact an XPCE server socket
7
9 xpce-client socket [-b] [-c command]
10
12 xpce-client is a small program to contact an xpce(1) server socket and
13 feed the xpce process commands. A generic server that provides the
14 possibility to execute Prolog goals is available in the
15 library(pce_server). This server may be started from xpce using the
16 command
17
18 ?- pce_server(socket).
19
20 after which this server may be contacted using:
21
22 % xpce-client socket
23 (pce) send(new(P, picture), open).
24 P = @717363
25 (pce) exit
26 %
27
28 Options
29 -b Block until the xpce server closes the connection. Otherwise
30 xpce-client exists as soon as it has send all requests to the
31 server without waiting for response.
32
33 -c command
34 Send command as a command to the server. Without this option,
35 xpce-client will copy standard input to the server socket and
36 copy any output from the socket to standard output.
37
39 xpce(1), pl(1)
40
42 xpce-client(1) is not copyrighted. You may use, copy and modify its
43 sources and/or binaries as you like.
44
46 Jan Wielemaker, SWI, University of Amsterdam
47
48
49
50 March 7 1995 XPCE-CLIENT(1)