aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-11-11 10:10:03 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-11-11 10:16:21 +0200
commita527b0991ddbd8ac3f0ef438c285cb11dd08901b (patch)
tree32a18c588690d29d3b7d762743120a7c994b0fc2 /doc
parent89922fc0cd25312d74e8b3fff35b0fb678b2c223 (diff)
downloaddico-a527b0991ddbd8ac3f0ef438c285cb11dd08901b.tar.gz
dico-a527b0991ddbd8ac3f0ef438c285cb11dd08901b.tar.bz2
dico: accept UNIX socket as argument to open
* dico/connect.c (dict_connect): Accept UNIX socket pathname as argument. Improve error checking. * dico/func.c (ds_open): If one argument given, it can be a socket pathname. * doc/dico.texi: Document changes to the "open" command.
Diffstat (limited to 'doc')
-rw-r--r--doc/dico.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/dico.texi b/doc/dico.texi
index 834d33a..7a7538b 100644
--- a/doc/dico.texi
+++ b/doc/dico.texi
@@ -5650,6 +5650,10 @@ name is @samp{gnu.org.ua} and the default port number is 2628. Both
values can be changed at configuration time, see @ref{Default Server}
for a detailed instruction.
+ When given one argument, @code{open} checks if it begins with a
+directory separator (@samp{/}). If so, the argument is handled as the
+full file name of a UNIX socket.
+
Note that you are not required to issue this command. If it is not
given, @command{dico} will attempt to establish a connection using its
default settings before executing any command that requires a

Return to:

Send suggestions and report system problems to the System administrator.