wx3270/Command-line options

From The x3270 Wiki

The syntax for wx3270 is:

wx3270 [option]... [hostname [port]]

If a hostname and optional port are specified on the command line, a corresponding connection will be automatically added to the current profile, if needed. The name of the connection will be the hostname, optionally followed by a space and the port.

Here is a summary of wx3270 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
-allow operation[,...] Allow specific restricted operations
-connection connection-name Start a specific connection defined in the profile New in 1.2
-console Attach a console at start-up
-culture culture-name Override the system culture
-detatched Disable follower mode New in 1.2
-dumplocalization file-name Dump the localization database to a file
-edit Open the profile in edit mode (no auto-connect) Requires -profile option
-fullscreen Start in full-screen mode New in 1.2
-help Display command-line help and exit New in 1.2
-host host-name Connect to specific host in the profile Deprecated in 1.2
-httpd [address:]port Listen for HTTP requests on port
-location x,y Initial window position
-maximize Start with the window maximized New in 1.2
-model model-specification Override model settings New in 1.2
-noborder Remove the window border
-nobuttons Remove the menu bar
-noprofile Do not use a profile
-noscrollbar Remove the scroll bar
-nosplash Suppress the splash screen
-nowatch Do not watch the folder containing the profile
-oversize columnsxrows Override oversize settings New in 1.2
-profile profile-path Use the specified profile instead of the default Documents\wx3270\Base.wx3270
-readonly Do not store config changes in the profile
-readwrite Exit unless the profile can be opened in read/write mode
-restrict operation[,...] Allow all but the specified restricted operations
-ro Alias for -readonly
-scriptport [address:]port Listen for s3270 protocol connections on port
-scriptportonce* Accept only one -scriptport connection
-topmost Make wx3270 the topmost window
-trace* Start back-end command and data stream tracing at start-up
-uitrace Start GUI tracing at start-up Implies -trace option
-utf8* Use UTF-8 encoding for all I/O
-v Display version information and then exit

(*) Link to b3270 resource page. This option is passed directly through to the b3270 back end, setting that resource to true.