pr3287/Command-line options

From The x3270 Wiki

The syntax for pr3287 is:

pr3287[option]... [hostname [port]]

Here is a summary of pr3287 command-line options. The table columns are:

Option
The name and syntax of the option. For most options, there is a hyperlink to a page with further details.
Meaning
A summary of what the option does.
Default
The default value of the option.
Notes
Additional information about the option.

Options

Option Meaning Default Notes
--help Display basic command-line help and then exit
-4 Prefer IPv4 addresses New in 4.2
-6 Prefer IPv6 addresses New in 4.2
-accepthostname name Name to match in the host's TLS certificate
-assoc session-name Associate the 3287 session with the named TELNET session
-blanklines Print blank lines even if empty in formatted LU3 mode
-cadir dir Directory containing CA root certificates for TLS OpenSSL only
-cafile file File containing CA root certificate for TLS OpenSSL only
-certfile file File containing client certificate for TLS
-certfiletype type Type of client certificate file (pem or asn1) for TLS pem OpenSSL only
-chainfile file File containing chain of CA certificates for TLS OpenSSL only
-clientcert name Name of client certificate for TLS macOS and Windows only
-codepage codepage Host EBCDIC code page bracket
-command command Use command for printing instead of lpr lpr POSIX only
-daemon Fork into the background POSIX only
-emflush Flush output when an unformatted EM order is received
-keyfile file Key file for TLS client certificate OpenSSL only
-keyfiletype type Type of client certificate key file (pem or asn1) for TLS pem OpenSSL only
-keypasswd password Password for the key file (OpenSSL) for TLS
Password for the certificate file (macOS) for TLS
-noverifycert Do not verify the TLS host certificate
-printer printer-name
-printer directory-pathname
Use the specified printer or (new in 4.3) save text to the specified directory Windows only
-proxy type:[user[:pass]@]server[:port] Type of proxy and proxy server to use
-trace Turn on data stream and action tracing
-tracefile file-name Use file-name as the file for data stream and action tracing POSIX: /tmp/x3trc.pid
Windows: x3trc.pid.txt
Use -trace to turn on tracing
-v Display version information on standard output and then exit

Deprecated options

Option Meaning Default Notes
-charset codepage Host EBCDIC code page bracket Use -codepage insteademulation
-verifycert Verify the TLS host certificate Redundant; this is the default