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-client exits 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-client will 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