XPCE-CLIENT(1)
πΈ xpce-client β from the General Commands Manual π
okay bestie, buckle up, we're talking to sockets today π«Ά
β¨ NAME β¨
xpce-client β the lil program that goes and contacts an XPCE server socket π¬
β¨ SYNOPSIS β¨
xpce-client socket [-b] [-c command]
β¨ DESCRIPTION β¨
so like, xpce-client is a tiny lil program whose whole job is to hit up an xpce(1) server socket and feed the xpce process some commands. that's it. that's the gig. she's small but she's efficient β¨
now, if you want a generic server that can straight up execute Prolog goals, that already exists and it lives in library(pce_server). iconic. you can start that server from xpce with this command right here:
?- pce_server(socket).
and once you've done that? you can pull up on it like this:
% xpce-client socket
(pce) send(new(P, picture), open).
P = @717363
(pce) exit
%
no cap, that's the whole vibe π₯
β¨ Options β¨
-bβ block until the xpce server closes the connection. without this flag,xpce-clientexits as soon as it has sent all the requests to the server β she does not sit around waiting for a response. bye girl π-c commandβ send command as a command to the server. if you don't pass this option,xpce-clientwill instead copy standard input to the server socket and copy any output from the socket to standard output. so it's basically a lil pipe between you and the server, bestie π«Ά
β¨ SEE ALSO β¨
β¨ COPYING β¨
okay so this is the fun part: xpce-client(1) is not copyrighted. π like, at all. you may use, copy and modify its sources and/or binaries as you like. go off, do whatever, she's yours π
β¨ AUTHOR β¨
Jan Wielemaker, SWI, University of Amsterdam π
and that's a wrap, bestie!! this whole page came to you from the General Commands Manual edition of XPCE-CLIENT(1), dated March 7 1995 β yeah she's vintage but she ATE and she's still serving π
β¨ periodt π¦
π¦ where this page comes from
- debian bookworm: swi-prolog-x 9.0.4+dfsg-2 Β· BSD-2-Clause
- debian trixie: swi-prolog-x 9.2.9+dfsg-1+b1 Β· BSD-2-Clause
- epel 9: pl-xpce 8.4.3-4.el9 Β· (GPLv2+ with exceptions or Artistic 2.0) and (GPL+ or Artistic) and (BSD or GPL+) and TCL and UCD and MIT and BSD and Public Domain
- fedora 43: swi-prolog-x 9.2.9-8.fc43 Β· BSD-2-Clause AND CC-BY-SA-3.0 AND FBM AND GPL-2.0-or-later WITH Bison-exception-2.2 AND HPND-Pbmplus AND IJG AND LGPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain AND PostgreSQL AND Spencer-99 AND TCL
- fedora 44: swi-prolog-win 10.0.2-1.fc44 Β· BSD-2-Clause AND CC-BY-SA-3.0 AND FBM AND GPL-2.0-or-later WITH Bison-exception-2.2 AND HPND-Pbmplus AND IJG AND Knuth-CTAN AND LicenseRef-Fedora-Public-Domain AND PostgreSQL AND Spencer-99 AND TCL
- ubuntu jammy: swi-prolog-x 8.4.2+dfsg-2ubuntu1 Β· BSD-2-Clause
- ubuntu noble: swi-prolog-x 9.0.4+dfsg-3.1ubuntu4 Β· BSD-2-Clause
- ubuntu questing: swi-prolog-x 9.2.9+dfsg-1
- ubuntu resolute: swi-prolog-x 9.2.9+dfsg-1.1build1 Β· BSD-2-Clause
- ubuntu stonking: swi-prolog-x 9.2.9+dfsg-1.1ubuntu3 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms