From 21d51f7e0a639a3224ffc45dc3c06854decf1d45 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 30 Jan 2024 20:51:38 +0000 Subject: Initial commit Signed-off-by: Laurent Bercot --- doc/apaste.html | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 doc/apaste.html (limited to 'doc/apaste.html') diff --git a/doc/apaste.html b/doc/apaste.html new file mode 100644 index 0000000..34f66d3 --- /dev/null +++ b/doc/apaste.html @@ -0,0 +1,114 @@ + + + + + + apaste: the apaste program + + + + + + +

+apaste
+Software
+skarnet.org +

+ +

The apaste program

+ +

+ apaste is a program that reads one or more files, or its +standard input, and sends the data to an apasted +server. +

+ +

Interface

+ +
+     apaste [ -S | -s ] [ -C cadir ] [ -d server[:port] ] [ -r rtimeout ] [ -w wtimeout ] file...
+
+ + + +

Exit codes

+ +
+
0
Success. The data has been recorded by the server and available in +some way as indicated by the slug.
+
100
Bad usage. apaste was run in an incorrect way.
+
111
System call failed. This usually signals an issue with the +underlying operating system, or with the network in some way. +
+ +

Options

+ +
+
-S
+
Normal, plain text connection to the server, even if the built-in default +is TLS. The built-in default can be changed via the --with-default-tls +or --without-default-tls options to configure.
+ +
-s
+
TLS connection to the server, even if the built-in default +is plain text. The built-in default can be changed via the --with-default-tls +or --without-default-tls options to configure.
+ +
-C cadir
+
When using a TLS connection, use cadir as the directory +containing the hashed names of the trust anchor certificates +(used for verifying the server's certificate chain). The built-in default +can be changed via the --with-default-cadir option to configure.
+ +
-d server[:port]
+
Connect to server server, port port. The built-in defaults +can be changed via the --with-default-server, --with-default-port, +and --with-default-tlsport options to configure.
+ +
-r rtimeout
+
If the server isn't answering with a slug within rtimeout +milliseconds, give up. The default is 0, meaning infinite: apaste will +wait forever for a server reply if necessary.
+ +
-w wtimeout
+
If the server hasn't accepted all the data within wtimeout +milliseconds, give up. The default is 0, meaning infinite: apaste will +take as much time as it needs to send its data.
+
+ +

Example usage

+ + + +

Notes

+ + + + + -- cgit v1.3.1