Sem anexo né... Seria isto:
diff --git a/src/pw3270/main.c b/src/pw3270/main.c
index 80cc411..fe72e9f 100644
--- a/src/pw3270/main.c
+++ b/src/pw3270/main.c
@@ -405,7 +405,7 @@ int main(int argc, char *argv[])
{ "session", 's', 0, G_OPTION_ARG_STRING, &session_name, N_( "Session name" ), PACKAGE_NAME },
{ "host", 'h', 0, G_OPTION_ARG_STRING, &host, N_( "Host to connect"), NULL },
{ "colors", 'c', 0, G_OPTION_ARG_CALLBACK, optcolors, N_( "Set reported colors (8/16)" ), "16" },
- { "systype", 't', 0, G_OPTION_ARG_STRING, &system, N_( "Host system type" ), "S390" },
+ { "systype", 't', 0, G_OPTION_ARG_STRING, &systype, N_( "Host system type" ), "S390" },
{ "toggleset", 'S', 0, G_OPTION_ARG_STRING, &toggleset, N_( "Set toggles ON" ), NULL },
{ "togglereset", 'R', 0, G_OPTION_ARG_STRING, &togglereset, N_( "Set toggles OFF" ), NULL },
{ "charset", 'C', 0, G_OPTION_ARG_STRING, &charset, N_( "Set host charset" ), NULL },
diff --git a/src/pw3270/window.c b/src/pw3270/window.c
index 1163b66..f8f0c67 100644
--- a/src/pw3270/window.c
+++ b/src/pw3270/window.c
@@ -200,7 +200,7 @@
if(systype)
{
- set_string_to_config("host","uri","%s",systype);
+ set_string_to_config("host","systype","%s",systype);
pw3270_set_host_type(widget,systype);
}
else