From 0181038357bf30d342cfcab38d5eea2dd36d3652 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Mon, 10 Jun 2013 11:28:30 +0000 Subject: [PATCH] Incluindo configuração do tipo de host via xml --- src/lib3270/telnet.c | 10 ---------- src/pw3270/hostdialog.c | 20 +++++++++++++++++++- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/lib3270/telnet.c b/src/lib3270/telnet.c index 4b46622..1c1d553 100644 --- a/src/lib3270/telnet.c +++ b/src/lib3270/telnet.c @@ -517,16 +517,6 @@ int net_connect(H3270 *session, const char *host, char *portname, Boolean ls, Bo vrprnt = parse_ctlchar("^R"); vlnext = parse_ctlchar("^V"); -/* - vintr = parse_ctlchar(appres.intr); - vquit = parse_ctlchar(appres.quit); - verase = parse_ctlchar(appres.erase); - vkill = parse_ctlchar(appres.kill); - veof = parse_ctlchar(appres.eof); - vwerase = parse_ctlchar(appres.werase); - vrprnt = parse_ctlchar(appres.rprnt); - vlnext = parse_ctlchar(appres.lnext); -*/ t_valid = 1; } #endif /*]*/ diff --git a/src/pw3270/hostdialog.c b/src/pw3270/hostdialog.c index 0e633ef..85bdbee 100644 --- a/src/pw3270/hostdialog.c +++ b/src/pw3270/hostdialog.c @@ -202,7 +202,25 @@ } else { - #warning TODO: Configurar o tipo de host de acordo com systype + int f; + + iHostType = -1; + for(f=0;f