Beispiel #1
0
    CN, "Allow self-signed host certificates" },
#endif /*]*/
{ OptSet,      OPT_SKIP2,   False, NULL,         NULL,
    "<toggle>", "Turn on <toggle>" },
#if defined(X3270_SCRIPT) /*[*/
{ OptSocket,   OPT_BOOLEAN, True,  ResSocket,    offset(socket),
    CN, "Create socket for script control" },
#endif /*]*/
{ OptTermName, OPT_STRING,  False, ResTermName,  offset(termname),
    "<name>", "Send <name> as TELNET terminal name" },
#if defined(WC3270) /*[*/
{ OptTitle,    OPT_STRING,  False, ResTitle,     offset(title),
    "<string>", "Set window title to <string>" },
#endif /*]*/
#if defined(X3270_TRACE) /*[*/
{ OptTrace,    OPT_BOOLEAN, True,  ResTrace,     toggle_offset(TRACING),
    CN, "Enable tracing" },
{ OptTraceFile,OPT_STRING,  False, ResTraceFile, offset(trace_file),
    "<file>", "Write traces to <file>" },
{ OptTraceFileSize,OPT_STRING,False,ResTraceFileSize,offset(trace_file_size),
    "<n>[KM]", "Limit trace file to <n> bytes" },
#endif /*]*/
{ OptUser,     OPT_STRING,  False, ResUser,      offset(user),
    "<name>", "Specify user name for RFC 4777" },
#if defined(S3270) /*[*/
{ OptUtf8,     OPT_BOOLEAN, True,  ResUtf8,      offset(utf8),
    CN,       "Force local codeset to be UTF-8"
},
#endif /*]*/
{ OptV,        OPT_V,	False, NULL,	     NULL,
    CN, "Display build options and character sets" },
Beispiel #2
0
//#if defined(C3270) /*[*/
//    { OptAllBold,  OPT_BOOLEAN, True,  ResAllBold,   offset(all_bold_on), NULL },
//    { OptAltScreen,OPT_STRING,  False, ResAltScreen, offset(altscreen), NULL },
//#endif /*]*/
    { OptAplMode,  OPT_BOOLEAN, True,  ResAplMode,   offset(apl_mode), NULL },
#if defined(C3270) /*[*/
//    { OptCbreak,   OPT_BOOLEAN, True,  ResCbreak,    offset(cbreak_mode), NULL },
#endif /*]*/
#if defined(HAVE_LIBSSL) /*[*/
    { OptCertFile, OPT_STRING,  False, ResCertFile,  offset(cert_file), NULL },
#endif /*]*/
    { OptCharset,  OPT_STRING,  False, ResCharset,   offset(charset), NULL },
    { OptClear,    OPT_SKIP2,   False, NULL,         NULL, NULL },
//    { OptDefScreen,OPT_STRING,  False, ResDefScreen, offset(defscreen), NULL },
#if defined(X3270_TRACE) /*[*/
    { OptDsTrace,  OPT_BOOLEAN, True,  ResDsTrace,   toggle_offset(DS_TRACE), NULL },
#endif /*]*/
    { OptHostsFile,OPT_STRING,  False, ResHostsFile, offset(hostsfile), NULL },
//#if defined(C3270)
//    { OptKeymap,   OPT_STRING,  False, ResKeymap,    offset(key_map), N_( "Specifies a keymap name and optional modifiers." ) },
// #endif

// #if defined(X3270_DBCS) /*[*/
//    { OptLocalEncoding,OPT_STRING,False,ResLocalEncoding,offset(local_encoding), NULL },
//#endif /*]*/
    { OptModel,    OPT_STRING,  False, ResKeymap,    offset(model), N_( "Set terminal model (screen size)" ) },
#if !defined(_WIN32) /*[*/
    { OptMono,     OPT_BOOLEAN, True,  ResMono,      offset(mono), N_( "Forces monochrome display" ) },
#endif /*]*/
//    { OptOnce,     OPT_BOOLEAN, True,  ResOnce,      offset(once), NULL },
    { OptOversize, OPT_STRING,  False, ResOversize,  offset(oversize), N_( "Sets the screen dimensions to be larger than the default for the chosen model (COLSxROWS)." ) },