Commit 77471b00b47bb1ea6bb687e5427f5457d1783b70

Authored by Perry Werneck
Committed by GitHub
2 parents 756e0a03 fab96c79
Exists in master and in 2 other branches develop, macos

Merge pull request #12 from PerryWerneck/develop

Small fixes
@@ -67,12 +67,10 @@ MSGCAT=@MSGCAT@ @@ -67,12 +67,10 @@ MSGCAT=@MSGCAT@
67 WINDRES=@WINDRES@ 67 WINDRES=@WINDRES@
68 AR=@AR@ 68 AR=@AR@
69 VALGRIND=@VALGRIND@ 69 VALGRIND=@VALGRIND@
70 -GENMARSHAL=@GENMARSHAL@  
71 -CONVERT=@CONVERT@  
72 -OPTIPNG=@OPTIPNG@  
73 ZIP=@ZIP@ 70 ZIP=@ZIP@
74 DOXYGEN=@DOXYGEN@ 71 DOXYGEN=@DOXYGEN@
75 DLLTOOL=@DLLTOOL@ 72 DLLTOOL=@DLLTOOL@
  73 +STRIP=@STRIP@
76 74
77 #---[ Paths ]---------------------------------------------------------------------------- 75 #---[ Paths ]----------------------------------------------------------------------------
78 76
@@ -141,6 +139,11 @@ $(OBJDBG)/%.o: \ @@ -141,6 +139,11 @@ $(OBJDBG)/%.o: \
141 139
142 @$(CC) \ 140 @$(CC) \
143 $(CFLAGS) \ 141 $(CFLAGS) \
  142 + -DDEBUG=1 \
  143 + -MM -MT $@ -MF $(patsubst %.o,%.d,$@) $<
  144 +
  145 + @$(CC) \
  146 + $(CFLAGS) \
144 -Wall -Wextra -fstack-check \ 147 -Wall -Wextra -fstack-check \
145 -DDEBUG=1 \ 148 -DDEBUG=1 \
146 -o $@ -c $< 149 -o $@ -c $<
@@ -160,6 +163,12 @@ $(OBJRLS)/%.o: \ @@ -160,6 +163,12 @@ $(OBJRLS)/%.o: \
160 163
161 @echo $< ... 164 @echo $< ...
162 @$(MKDIR) $(dir $@) 165 @$(MKDIR) $(dir $@)
  166 +
  167 + @$(CC) \
  168 + $(CFLAGS) \
  169 + -DNDEBUG=1 \
  170 + -MM -MT $@ -MF $(patsubst %.o,%.d,$@) $<
  171 +
163 @$(CC) \ 172 @$(CC) \
164 $(CFLAGS) \ 173 $(CFLAGS) \
165 -DNDEBUG=1 \ 174 -DNDEBUG=1 \
@@ -213,6 +222,20 @@ install-%: \ @@ -213,6 +222,20 @@ install-%: \
213 #---[ Release Targets ]------------------------------------------------------------------ 222 #---[ Release Targets ]------------------------------------------------------------------
214 223
215 all: \ 224 all: \
  225 + all-@OSNAME@
  226 +
  227 +all-windows: \
  228 + $(BINRLS)/$(SONAME) \
  229 + $(BINRLS)/$(LIBNAME).a \
  230 + locale/$(PACKAGE_NAME).pot \
  231 + $(BINRLS)/$(LIBNAME).delayed.a
  232 +
  233 + @$(INSTALL_DATA) \
  234 + $(BINRLS)/$(LIBNAME).def \
  235 + $(BASEDIR)/win
  236 +
  237 +
  238 +all-linux: \
216 $(BINRLS)/$(SONAME) \ 239 $(BINRLS)/$(SONAME) \
217 $(BINRLS)/$(LIBNAME).a \ 240 $(BINRLS)/$(LIBNAME).a \
218 locale/$(PACKAGE_NAME).pot 241 locale/$(PACKAGE_NAME).pot
@@ -221,6 +244,11 @@ Release: \ @@ -221,6 +244,11 @@ Release: \
221 $(BINRLS)/$(SONAME) \ 244 $(BINRLS)/$(SONAME) \
222 $(BINRLS)/$(LIBNAME).a 245 $(BINRLS)/$(LIBNAME).a
223 246
  247 +strip: \
  248 + $(BINRLS)/$(SONAME)
  249 +
  250 + @$(STRIP) --discard-all $(BINRLS)/$(SONAME)
  251 +
224 $(BINRLS)/$(LIBNAME).delayed.a: \ 252 $(BINRLS)/$(LIBNAME).delayed.a: \
225 $(BINRLS)/$(SONAME) 253 $(BINRLS)/$(SONAME)
226 254
@@ -275,7 +303,7 @@ install-linux-lib: \ @@ -275,7 +303,7 @@ install-linux-lib: \
275 @mkdir -p $(DESTDIR)$(datarootdir)/pw3270 303 @mkdir -p $(DESTDIR)$(datarootdir)/pw3270
276 304
277 install-windows-lib: \ 305 install-windows-lib: \
278 - $(BINRLS)/$(SONAME) \ 306 + strip \
279 $(BINRLS)/$(LIBNAME).dll.a \ 307 $(BINRLS)/$(LIBNAME).dll.a \
280 install-locale 308 install-locale
281 309
@@ -494,4 +522,6 @@ clean: \ @@ -494,4 +522,6 @@ clean: \
494 cleanDebug \ 522 cleanDebug \
495 cleanRelease 523 cleanRelease
496 524
  525 +-include $(foreach SRC, $(basename $(SOURCES)), $(OBJDBG)/$(SRC).d)
  526 +-include $(foreach SRC, $(basename $(SOURCES)), $(OBJRLS)/$(SRC).d)
497 527
@@ -10,9 +10,9 @@ Installation repositories @@ -10,9 +10,9 @@ Installation repositories
10 10
11 You can find instalation repositories in SuSE Build Service: 11 You can find instalation repositories in SuSE Build Service:
12 12
13 - * Linux (Many distributions): https://build.opensuse.org/project/show/home:PerryWerneck:pw3270  
14 - * Windows 32 bits: https://build.opensuse.org/project/show/home:PerryWerneck:mingw32  
15 - * Windows 64 bits: https://build.opensuse.org/project/show/home:PerryWerneck:mingw64 13 + * Linux: https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=lib3270
  14 + * Windows cross (32 bits): https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=mingw32-lib3270
  15 + * Windows cross (64 bits): https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=mingw64-lib3270
16 16
17 Building for Linux 17 Building for Linux
18 ================== 18 ==================
@@ -98,12 +98,12 @@ Windows native with MSYS2 @@ -98,12 +98,12 @@ Windows native with MSYS2
98 98
99 * Add c:\msys64\usr\bin and c:\msys64\mingw64\bin to system path 99 * Add c:\msys64\usr\bin and c:\msys64\mingw64\bin to system path
100 100
101 -3. Install devel packages 101 +3. Install devel packages using pacman on mingw shell
102 102
103 ```shell 103 ```shell
104 $ pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git pkg-config mingw-w64-x86_64-gettext mingw-w64-x86_64-openssl 104 $ pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git pkg-config mingw-w64-x86_64-gettext mingw-w64-x86_64-openssl
105 ``` 105 ```
106 - Afther thist close and reopen mingw shell. 106 + Afther this close and reopen mingw shell.
107 107
108 4. Get lib3270 sources from git using the mingw shell 108 4. Get lib3270 sources from git using the mingw shell
109 109
@@ -55,6 +55,7 @@ AC_PROG_SED @@ -55,6 +55,7 @@ AC_PROG_SED
55 AC_PROG_LN_S 55 AC_PROG_LN_S
56 AC_PATH_TOOL([AR], [ar], [ar]) 56 AC_PATH_TOOL([AR], [ar], [ar])
57 AC_PATH_TOOL([DLLTOOL], [dlltool], [dlltool]) 57 AC_PATH_TOOL([DLLTOOL], [dlltool], [dlltool])
  58 +AC_PATH_TOOL([STRIP], [strip], [true])
58 59
59 AC_LANG([C]) 60 AC_LANG([C])
60 61
locale/pt_BR.po
@@ -5,7 +5,7 @@ msgid &quot;&quot; @@ -5,7 +5,7 @@ msgid &quot;&quot;
5 msgstr "" 5 msgstr ""
6 "Project-Id-Version: pw3270 5.0\n" 6 "Project-Id-Version: pw3270 5.0\n"
7 "Report-Msgid-Bugs-To: \n" 7 "Report-Msgid-Bugs-To: \n"
8 -"POT-Creation-Date: 2020-09-12 13:24-0300\n" 8 +"POT-Creation-Date: 2020-10-17 11:58-0300\n"
9 "PO-Revision-Date: 2020-09-03 18:36-0300\n" 9 "PO-Revision-Date: 2020-09-03 18:36-0300\n"
10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" 10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n"
11 "Language-Team: Português <>\n" 11 "Language-Team: Português <>\n"
@@ -65,7 +65,7 @@ msgstr &quot;%s: Caractere desconhecido depois de \\pf&quot; @@ -65,7 +65,7 @@ msgstr &quot;%s: Caractere desconhecido depois de \\pf&quot;
65 msgid "%s: Vertical tab not supported" 65 msgid "%s: Vertical tab not supported"
66 msgstr "%s: Tabulação vertical não é suportada" 66 msgstr "%s: Tabulação vertical não é suportada"
67 67
68 -#: src/core/telnet.c:1896 68 +#: src/core/telnet.c:1902
69 msgid "3270 Mode" 69 msgid "3270 Mode"
70 msgstr "Modo 3270" 70 msgstr "Modo 3270"
71 71
@@ -258,7 +258,7 @@ msgstr &quot;Não foi possível decodificar dados do CRL&quot; @@ -258,7 +258,7 @@ msgstr &quot;Não foi possível decodificar dados do CRL&quot;
258 msgid "Can't decode certificate revocation list" 258 msgid "Can't decode certificate revocation list"
259 msgstr "Não foi possível decodificar a lista de certificados revogados" 259 msgstr "Não foi possível decodificar a lista de certificados revogados"
260 260
261 -#: src/core/connect.c:188 261 +#: src/core/connect.c:201
262 msgid "Can't determine the TLS/SSL state" 262 msgid "Can't determine the TLS/SSL state"
263 msgstr "Não foi possível determinar o estado TLS/SSL" 263 msgstr "Não foi possível determinar o estado TLS/SSL"
264 264
@@ -368,7 +368,7 @@ msgstr &quot;Falha na assinatura do certificado&quot; @@ -368,7 +368,7 @@ msgstr &quot;Falha na assinatura do certificado&quot;
368 msgid "Change screen size on alternative screen" 368 msgid "Change screen size on alternative screen"
369 msgstr "Mudar tamanho do terminal em tela alternativa" 369 msgstr "Mudar tamanho do terminal em tela alternativa"
370 370
371 -#: src/core/telnet.c:1901 371 +#: src/core/telnet.c:1907
372 msgid "Charset" 372 msgid "Charset"
373 msgstr "Tabela de caracteres" 373 msgstr "Tabela de caracteres"
374 374
@@ -388,7 +388,7 @@ msgstr &quot;Clear AID&quot; @@ -388,7 +388,7 @@ msgstr &quot;Clear AID&quot;
388 msgid "Command incomplete: file transfer canceled" 388 msgid "Command incomplete: file transfer canceled"
389 msgstr "Comando incompleto, transferência cancelada" 389 msgstr "Comando incompleto, transferência cancelada"
390 390
391 -#: src/core/telnet.c:1895 391 +#: src/core/telnet.c:1901
392 msgid "Connect" 392 msgid "Connect"
393 msgstr "Conectar" 393 msgstr "Conectar"
394 394
@@ -396,11 +396,11 @@ msgstr &quot;Conectar&quot; @@ -396,11 +396,11 @@ msgstr &quot;Conectar&quot;
396 msgid "Connect on startup" 396 msgid "Connect on startup"
397 msgstr "Conectar ao iniciar" 397 msgstr "Conectar ao iniciar"
398 398
399 -#: src/core/telnet.c:1873 399 +#: src/core/telnet.c:1879
400 msgid "Connected initial" 400 msgid "Connected initial"
401 msgstr "Connected initial" 401 msgstr "Connected initial"
402 402
403 -#: src/core/telnet.c:1893 403 +#: src/core/telnet.c:1899
404 msgid "Connecting" 404 msgid "Connecting"
405 msgstr "Conectando" 405 msgstr "Conectando"
406 406
@@ -426,15 +426,15 @@ msgstr &quot;Continuar&quot; @@ -426,15 +426,15 @@ msgstr &quot;Continuar&quot;
426 msgid "Cross hair cursor" 426 msgid "Cross hair cursor"
427 msgstr "Cursor mira" 427 msgstr "Cursor mira"
428 428
429 -#: src/core/properties/unsigned.c:122 429 +#: src/core/properties/unsigned.c:114
430 msgid "Current screen height in rows" 430 msgid "Current screen height in rows"
431 msgstr "Altura atual da tela em linhas" 431 msgstr "Altura atual da tela em linhas"
432 432
433 -#: src/core/properties/unsigned.c:115 433 +#: src/core/properties/unsigned.c:107
434 msgid "Current screen width in columns" 434 msgid "Current screen width in columns"
435 msgstr "Largura atua da tela em colunas" 435 msgstr "Largura atua da tela em colunas"
436 436
437 -#: src/core/properties/unsigned.c:108 437 +#: src/core/properties/signed.c:67
438 msgid "Cursor address" 438 msgid "Cursor address"
439 msgstr "Endereço do cursor" 439 msgstr "Endereço do cursor"
440 440
@@ -496,7 +496,7 @@ msgstr &quot;Apaga palavra&quot; @@ -496,7 +496,7 @@ msgstr &quot;Apaga palavra&quot;
496 msgid "Description of the current security state" 496 msgid "Description of the current security state"
497 msgstr "Descrição do estado de segurança atual" 497 msgstr "Descrição do estado de segurança atual"
498 498
499 -#: src/core/telnet.c:1238 499 +#: src/core/telnet.c:1244
500 msgid "Device type rejected" 500 msgid "Device type rejected"
501 msgstr "Tipo de dispositivo rejeitado" 501 msgstr "Tipo de dispositivo rejeitado"
502 502
@@ -589,12 +589,12 @@ msgstr &quot;Erro ao enviar dados para o servidor&quot; @@ -589,12 +589,12 @@ msgstr &quot;Erro ao enviar dados para o servidor&quot;
589 msgid "Error" 589 msgid "Error"
590 msgstr "Erro" 590 msgstr "Erro"
591 591
592 -#: src/core/ft/ft_cut.c:423 src/core/ft/ft_dft.c:454 592 +#: src/core/ft/ft_dft.c:454 src/core/ft/ft_cut.c:423
593 #, c-format 593 #, c-format
594 msgid "Error \"%s\" reading from local file (rc=%d)" 594 msgid "Error \"%s\" reading from local file (rc=%d)"
595 msgstr "Erro \"%s\" lendo arquivo local (rc=%d)" 595 msgstr "Erro \"%s\" lendo arquivo local (rc=%d)"
596 596
597 -#: src/core/ft/ft_cut.c:528 src/core/ft/ft_dft.c:332 597 +#: src/core/ft/ft_dft.c:332 src/core/ft/ft_cut.c:528
598 #, c-format 598 #, c-format
599 msgid "Error \"%s\" writing to local file (rc=%d)" 599 msgid "Error \"%s\" writing to local file (rc=%d)"
600 msgstr "Erro \"%s\" gravando arquivo local (rc=%d)" 600 msgstr "Erro \"%s\" gravando arquivo local (rc=%d)"
@@ -631,7 +631,7 @@ msgstr &quot;Erro ao gravar arquivo no host, transferência cancelada&quot; @@ -631,7 +631,7 @@ msgstr &quot;Erro ao gravar arquivo no host, transferência cancelada&quot;
631 msgid "Error writing to host" 631 msgid "Error writing to host"
632 msgstr "Erro enviando dados para o servidor" 632 msgstr "Erro enviando dados para o servidor"
633 633
634 -#: src/core/telnet.c:1900 634 +#: src/core/telnet.c:1906
635 msgid "Exiting" 635 msgid "Exiting"
636 msgstr "Saindo" 636 msgstr "Saindo"
637 637
@@ -687,7 +687,7 @@ msgstr &quot;Tela formatada&quot; @@ -687,7 +687,7 @@ msgstr &quot;Tela formatada&quot;
687 msgid "Full Screen" 687 msgid "Full Screen"
688 msgstr "Tela cheia" 688 msgstr "Tela cheia"
689 689
690 -#: src/core/telnet.c:1894 690 +#: src/core/telnet.c:1900
691 msgid "Half connect" 691 msgid "Half connect"
692 msgstr "Half connect" 692 msgstr "Half connect"
693 693
@@ -703,7 +703,7 @@ msgstr &quot;Página de código do host&quot; @@ -703,7 +703,7 @@ msgstr &quot;Página de código do host&quot;
703 msgid "Host disconnected, transfer cancelled" 703 msgid "Host disconnected, transfer cancelled"
704 msgstr "Servidor desconectou, transferência cancelada" 704 msgstr "Servidor desconectou, transferência cancelada"
705 705
706 -#: src/core/telnet.c:1296 706 +#: src/core/telnet.c:1302
707 msgid "Host illegally added function(s)" 707 msgid "Host illegally added function(s)"
708 msgstr "Host illegally added function(s)" 708 msgstr "Host illegally added function(s)"
709 709
@@ -711,11 +711,11 @@ msgstr &quot;Host illegally added function(s)&quot; @@ -711,11 +711,11 @@ msgstr &quot;Host illegally added function(s)&quot;
711 msgid "Host program error code xxxxxxxxxx: file transfer canceled" 711 msgid "Host program error code xxxxxxxxxx: file transfer canceled"
712 msgstr "Erro código xxxxxxxxxx no aplicativo do host: Transferência cancelada" 712 msgstr "Erro código xxxxxxxxxx no aplicativo do host: Transferência cancelada"
713 713
714 -#: src/core/telnet.c:1221 714 +#: src/core/telnet.c:1227
715 msgid "Host rejected device type or request type" 715 msgid "Host rejected device type or request type"
716 msgstr "Servidor rejeitou o tipo de dispositivo ou requisição" 716 msgstr "Servidor rejeitou o tipo de dispositivo ou requisição"
717 717
718 -#: src/core/telnet.c:1234 718 +#: src/core/telnet.c:1240
719 msgid "Host rejected resource(s)" 719 msgid "Host rejected resource(s)"
720 msgstr "Servidor rejeitou recurso(s)" 720 msgstr "Servidor rejeitou recurso(s)"
721 721
@@ -735,7 +735,7 @@ msgstr &quot;IBM AS/400&quot; @@ -735,7 +735,7 @@ msgstr &quot;IBM AS/400&quot;
735 msgid "IBM S/390" 735 msgid "IBM S/390"
736 msgstr "IBM S/390" 736 msgstr "IBM S/390"
737 737
738 -#: src/core/properties/signed.c:73 738 +#: src/core/properties/signed.c:81
739 msgid "ID of the session security state" 739 msgid "ID of the session security state"
740 msgstr "Identificação do estado de segurança da sessão" 740 msgstr "Identificação do estado de segurança da sessão"
741 741
@@ -893,7 +893,7 @@ msgstr &quot;Uso da chave não permite assinatura de certificados&quot; @@ -893,7 +893,7 @@ msgstr &quot;Uso da chave não permite assinatura de certificados&quot;
893 msgid "Keyboard is locked" 893 msgid "Keyboard is locked"
894 msgstr "Teclado está bloqueado" 894 msgstr "Teclado está bloqueado"
895 895
896 -#: src/core/properties/unsigned.c:166 896 +#: src/core/properties/unsigned.c:158
897 msgid "Keyboard lock status" 897 msgid "Keyboard lock status"
898 msgstr "Estado de bloqueio do teclado" 898 msgstr "Estado de bloqueio do teclado"
899 899
@@ -907,7 +907,7 @@ msgstr &quot;Pesquisa LDAP não produziu nenhum atributo.&quot; @@ -907,7 +907,7 @@ msgstr &quot;Pesquisa LDAP não produziu nenhum atributo.&quot;
907 msgid "LDAPSearch did not produce any values." 907 msgid "LDAPSearch did not produce any values."
908 msgstr "Pesquisa LDAP não produziu nenhum valor." 908 msgstr "Pesquisa LDAP não produziu nenhum valor."
909 909
910 -#: src/core/properties/signed.c:66 910 +#: src/core/properties/signed.c:74
911 msgid "Latest program message" 911 msgid "Latest program message"
912 msgstr "Última mensagem de programa" 912 msgstr "Última mensagem de programa"
913 913
@@ -915,7 +915,7 @@ msgstr &quot;Última mensagem de programa&quot; @@ -915,7 +915,7 @@ msgstr &quot;Última mensagem de programa&quot;
915 msgid "Left" 915 msgid "Left"
916 msgstr "Esquerda" 916 msgstr "Esquerda"
917 917
918 -#: src/core/telnet.c:1897 918 +#: src/core/telnet.c:1903
919 msgid "Line mode" 919 msgid "Line mode"
920 msgstr "Line mode" 920 msgstr "Line mode"
921 921
@@ -927,11 +927,11 @@ msgstr &quot;Bloqueia teclado em caso de erro do operador&quot; @@ -927,11 +927,11 @@ msgstr &quot;Bloqueia teclado em caso de erro do operador&quot;
927 msgid "Margined paste" 927 msgid "Margined paste"
928 msgstr "Colar com margem" 928 msgstr "Colar com margem"
929 929
930 -#: src/core/properties/unsigned.c:136 930 +#: src/core/properties/unsigned.c:128
931 msgid "Maximum screen height in rows" 931 msgid "Maximum screen height in rows"
932 msgstr "Altura máxima da tela em linhas" 932 msgstr "Altura máxima da tela em linhas"
933 933
934 -#: src/core/properties/unsigned.c:129 934 +#: src/core/properties/unsigned.c:121
935 msgid "Maximum screen width in columns" 935 msgid "Maximum screen width in columns"
936 msgstr "Largura maxima da tela em colunas" 936 msgstr "Largura maxima da tela em colunas"
937 937
@@ -992,8 +992,8 @@ msgstr &quot;Move para o próximo campo desprotegido&quot; @@ -992,8 +992,8 @@ msgstr &quot;Move para o próximo campo desprotegido&quot;
992 msgid "Move to the previous unprotected field on screen" 992 msgid "Move to the previous unprotected field on screen"
993 msgstr "Move para o campo desprotegido anterior" 993 msgstr "Move para o campo desprotegido anterior"
994 994
995 -#: src/core/telnet.c:314 src/core/windows/connect.c:232  
996 -#: src/core/windows/event_dispatcher.c:150 995 +#: src/core/telnet.c:314 src/core/windows/event_dispatcher.c:150
  996 +#: src/core/windows/connect.c:232
997 msgid "Network error" 997 msgid "Network error"
998 msgstr "Erro de rede" 998 msgstr "Erro de rede"
999 999
@@ -1100,7 +1100,7 @@ msgstr &quot;Colar com margem esquerda&quot; @@ -1100,7 +1100,7 @@ msgstr &quot;Colar com margem esquerda&quot;
1100 msgid "Path length constraint exceeded" 1100 msgid "Path length constraint exceeded"
1101 msgstr "Path length constraint exceeded" 1101 msgstr "Path length constraint exceeded"
1102 1102
1103 -#: src/core/telnet.c:1872 1103 +#: src/core/telnet.c:1878
1104 msgid "Pending" 1104 msgid "Pending"
1105 msgstr "Pendente" 1105 msgstr "Pendente"
1106 1106
@@ -1120,7 +1120,7 @@ msgstr &quot;Campo anterior&quot; @@ -1120,7 +1120,7 @@ msgstr &quot;Campo anterior&quot;
1120 msgid "Previous word" 1120 msgid "Previous word"
1121 msgstr "Palavra anterior" 1121 msgstr "Palavra anterior"
1122 1122
1123 -#: src/core/telnet.c:1899 1123 +#: src/core/telnet.c:1905
1124 msgid "Printer" 1124 msgid "Printer"
1125 msgstr "Impressão" 1125 msgstr "Impressão"
1126 1126
@@ -1216,7 +1216,7 @@ msgstr &quot;RPQ: Erro em gethostbyname&quot; @@ -1216,7 +1216,7 @@ msgstr &quot;RPQ: Erro em gethostbyname&quot;
1216 msgid "Reconnect to the same host" 1216 msgid "Reconnect to the same host"
1217 msgstr "Reconecta ao mesmo servidor" 1217 msgstr "Reconecta ao mesmo servidor"
1218 1218
1219 -#: src/core/telnet.c:1898 1219 +#: src/core/telnet.c:1904
1220 msgid "Remodel" 1220 msgid "Remodel"
1221 msgstr "Remodel" 1221 msgstr "Remodel"
1222 1222
@@ -1248,7 +1248,7 @@ msgstr &quot;Reinicia bloqueio de teclado&quot; @@ -1248,7 +1248,7 @@ msgstr &quot;Reinicia bloqueio de teclado&quot;
1248 msgid "Resize on alternate screen" 1248 msgid "Resize on alternate screen"
1249 msgstr "Mudar tamanho do terminal em tela alternativa" 1249 msgstr "Mudar tamanho do terminal em tela alternativa"
1250 1250
1251 -#: src/core/telnet.c:1871 src/core/telnet.c:1892 1251 +#: src/core/telnet.c:1877 src/core/telnet.c:1898
1252 msgid "Resolving" 1252 msgid "Resolving"
1253 msgstr "Resolvendo" 1253 msgstr "Resolvendo"
1254 1254
@@ -1272,7 +1272,7 @@ msgstr &quot;Conexão SSL falhou&quot; @@ -1272,7 +1272,7 @@ msgstr &quot;Conexão SSL falhou&quot;
1272 msgid "SSL negotiation failed" 1272 msgid "SSL negotiation failed"
1273 msgstr "Negociação SSL falhou" 1273 msgstr "Negociação SSL falhou"
1274 1274
1275 -#: src/core/properties/unsigned.c:143 1275 +#: src/core/properties/unsigned.c:135
1276 msgid "Screen buffer length in bytes" 1276 msgid "Screen buffer length in bytes"
1277 msgstr "Tamanho do buffer de tela em bytes" 1277 msgstr "Tamanho do buffer de tela em bytes"
1278 1278
@@ -1412,31 +1412,31 @@ msgstr &quot;Sys Req&quot; @@ -1412,31 +1412,31 @@ msgstr &quot;Sys Req&quot;
1412 msgid "Sys Request" 1412 msgid "Sys Request"
1413 msgstr "Sys Request" 1413 msgstr "Sys Request"
1414 1414
1415 -#: src/core/telnet.c:1050 1415 +#: src/core/telnet.c:1056
1416 msgid "TLS negotiation failure" 1416 msgid "TLS negotiation failure"
1417 msgstr "Negociação TLS falhou" 1417 msgstr "Negociação TLS falhou"
1418 1418
1419 -#: src/core/telnet.c:1875 1419 +#: src/core/telnet.c:1881
1420 msgid "TN3270 3270" 1420 msgid "TN3270 3270"
1421 msgstr "TN3270 3270" 1421 msgstr "TN3270 3270"
1422 1422
1423 -#: src/core/telnet.c:1874 1423 +#: src/core/telnet.c:1880
1424 msgid "TN3270 NVT" 1424 msgid "TN3270 NVT"
1425 msgstr "TN3270 NVT" 1425 msgstr "TN3270 NVT"
1426 1426
1427 -#: src/core/telnet.c:1876 1427 +#: src/core/telnet.c:1882
1428 msgid "TN3270E" 1428 msgid "TN3270E"
1429 msgstr "TN3270E" 1429 msgstr "TN3270E"
1430 1430
1431 -#: src/core/telnet.c:1879 1431 +#: src/core/telnet.c:1885
1432 msgid "TN3270E 3270" 1432 msgid "TN3270E 3270"
1433 msgstr "TN3270E 3270" 1433 msgstr "TN3270E 3270"
1434 1434
1435 -#: src/core/telnet.c:1877 1435 +#: src/core/telnet.c:1883
1436 msgid "TN3270E NVT" 1436 msgid "TN3270E NVT"
1437 msgstr "TN3270E NVT" 1437 msgstr "TN3270E NVT"
1438 1438
1439 -#: src/core/telnet.c:1878 1439 +#: src/core/telnet.c:1884
1440 msgid "TN3270E SSCP-LU" 1440 msgid "TN3270E SSCP-LU"
1441 msgstr "TN3270E SSCP-LU" 1441 msgstr "TN3270E SSCP-LU"
1442 1442
@@ -1623,7 +1623,7 @@ msgstr &quot;&quot; @@ -1623,7 +1623,7 @@ msgstr &quot;&quot;
1623 "name did not match the issuer name of the current certificate. Only " 1623 "name did not match the issuer name of the current certificate. Only "
1624 "displayed when the -issuer_checks option is set." 1624 "displayed when the -issuer_checks option is set."
1625 1625
1626 -#: src/core/properties/unsigned.c:159 1626 +#: src/core/properties/unsigned.c:151
1627 msgid "The delay between the host unlocking the keyboard and the actual unlock" 1627 msgid "The delay between the host unlocking the keyboard and the actual unlock"
1628 msgstr "" 1628 msgstr ""
1629 "Intervalo de tempo entre o desbloqueio de teclado pelo host e o desbloqueio " 1629 "Intervalo de tempo entre o desbloqueio de teclado pelo host e o desbloqueio "
@@ -1677,7 +1677,7 @@ msgstr &quot;Nº do modelo&quot; @@ -1677,7 +1677,7 @@ msgstr &quot;Nº do modelo&quot;
1677 msgid "The name of the LU associated with the session" 1677 msgid "The name of the LU associated with the session"
1678 msgstr "O nome da LU associada à sessão" 1678 msgstr "O nome da LU associada à sessão"
1679 1679
1680 -#: src/core/connect.c:189 1680 +#: src/core/connect.c:202
1681 msgid "" 1681 msgid ""
1682 "The network module didn't set the TLS/SSL state message, this is not " 1682 "The network module didn't set the TLS/SSL state message, this is not "
1683 "supposed to happen and can be a coding error" 1683 "supposed to happen and can be a coding error"
@@ -1851,8 +1851,8 @@ msgstr &quot;Mostrar posição do cursor&quot; @@ -1851,8 +1851,8 @@ msgstr &quot;Mostrar posição do cursor&quot;
1851 msgid "Transfer cancelled by host" 1851 msgid "Transfer cancelled by host"
1852 msgstr "Transferência cancelada pelo host" 1852 msgstr "Transferência cancelada pelo host"
1853 1853
1854 -#: src/core/ft/ft_cut.c:400 src/core/ft/ft_cut.c:495 src/core/ft/ft_dft.c:230  
1855 -#: src/core/ft/ft_dft.c:373 1854 +#: src/core/ft/ft_dft.c:230 src/core/ft/ft_dft.c:373 src/core/ft/ft_cut.c:400
  1855 +#: src/core/ft/ft_cut.c:495
1856 msgid "Transfer cancelled by user" 1856 msgid "Transfer cancelled by user"
1857 msgstr "Transferência cancelada pelo usuário" 1857 msgstr "Transferência cancelada pelo usuário"
1858 1858
@@ -1933,7 +1933,7 @@ msgstr &quot;Não foi possível enviar a requisição de transferência de arquivo&quot; @@ -1933,7 +1933,7 @@ msgstr &quot;Não foi possível enviar a requisição de transferência de arquivo&quot;
1933 msgid "Unable to verify the first certificate" 1933 msgid "Unable to verify the first certificate"
1934 msgstr "Não foi possível verificar o primeiro certificado" 1934 msgstr "Não foi possível verificar o primeiro certificado"
1935 1935
1936 -#: src/core/telnet.c:1870 1936 +#: src/core/telnet.c:1876
1937 msgid "Unconnected" 1937 msgid "Unconnected"
1938 msgstr "Não conectado" 1938 msgstr "Não conectado"
1939 1939
@@ -1954,7 +1954,7 @@ msgstr &quot;Erro inesperado gravando socket&quot; @@ -1954,7 +1954,7 @@ msgstr &quot;Erro inesperado gravando socket&quot;
1954 msgid "Unexpected type %d in typeahead queue" 1954 msgid "Unexpected type %d in typeahead queue"
1955 msgstr "Tipo inesperado %d na fila de teclado" 1955 msgstr "Tipo inesperado %d na fila de teclado"
1956 1956
1957 -#: src/core/telnet.c:1883 src/core/telnet.c:1905 1957 +#: src/core/telnet.c:1889 src/core/telnet.c:1911
1958 msgid "Unknown" 1958 msgid "Unknown"
1959 msgstr "Desconhecido" 1959 msgstr "Desconhecido"
1960 1960
@@ -1981,7 +1981,7 @@ msgstr &quot;PF %d desconhecida&quot; @@ -1981,7 +1981,7 @@ msgstr &quot;PF %d desconhecida&quot;
1981 msgid "Unknown frame type from host" 1981 msgid "Unknown frame type from host"
1982 msgstr "Servidor enviou tipo de frame desconhecido" 1982 msgstr "Servidor enviou tipo de frame desconhecido"
1983 1983
1984 -#: src/core/properties/unsigned.c:158 1984 +#: src/core/properties/unsigned.c:150
1985 msgid "Unlock delay" 1985 msgid "Unlock delay"
1986 msgstr "Atraso no desbloqueio" 1986 msgstr "Atraso no desbloqueio"
1987 1987
win/lib3270.def 0 → 100644
@@ -0,0 +1,330 @@ @@ -0,0 +1,330 @@
  1 +EXPORTS
  2 + lib3270_action @1
  3 + lib3270_action_activate @2
  4 + lib3270_action_get_by_name @3
  5 + lib3270_action_group_get_activatable @4
  6 + lib3270_action_group_notify @5
  7 + lib3270_action_is_activatable @6
  8 + lib3270_activate_by_name @7
  9 + lib3270_add_poll_fd @8
  10 + lib3270_allow_reconnect @9
  11 + lib3270_asc2ebc @10
  12 + lib3270_attn @11
  13 + lib3270_autoptr_cleanup_HKEY @12
  14 + lib3270_autoptr_cleanup_LIB3270_POPUP @13
  15 + lib3270_autoptr_cleanup_char @14
  16 + lib3270_backspace @15
  17 + lib3270_break @16
  18 + lib3270_build_config_filename @17
  19 + lib3270_build_data_filename @18
  20 + lib3270_build_filename @19
  21 + lib3270_calloc @20
  22 + lib3270_can_paste_next @21
  23 + lib3270_charsettable @22
  24 + lib3270_clear @23
  25 + lib3270_clear_operator_error @24
  26 + lib3270_cmp_string_at @25
  27 + lib3270_cmp_string_at_address @26
  28 + lib3270_connect_url @27
  29 + lib3270_connection_state_get_name @28
  30 + lib3270_crl_get_preferred_protocol @29
  31 + lib3270_crl_set_preferred_protocol @30
  32 + lib3270_cursor_down @31
  33 + lib3270_cursor_left @32
  34 + lib3270_cursor_right @33
  35 + lib3270_cursor_up @34
  36 + lib3270_cut_selected @35
  37 + lib3270_data_recv @36
  38 + lib3270_delete @37
  39 + lib3270_deletefield @38
  40 + lib3270_deleteword @39
  41 + lib3270_disconnect @40
  42 + lib3270_drag_selection @41
  43 + lib3270_dup @42
  44 + lib3270_ebc2asc @43
  45 + lib3270_emulate_input @44
  46 + lib3270_enter @45
  47 + lib3270_erase @46
  48 + lib3270_erase_selected @47
  49 + lib3270_eraseeof @48
  50 + lib3270_eraseeol @49
  51 + lib3270_eraseinput @50
  52 + lib3270_field_addr @51
  53 + lib3270_field_length @52
  54 + lib3270_fieldend @53
  55 + lib3270_fieldmark @54
  56 + lib3270_firstfield @55
  57 + lib3270_free @56
  58 + lib3270_ft_cancel @57
  59 + lib3270_ft_destroy @58
  60 + lib3270_ft_get_user_data @59
  61 + lib3270_ft_new @60
  62 + lib3270_ft_set_user_data @61
  63 + lib3270_ft_start @62
  64 + lib3270_get_action @63
  65 + lib3270_get_actions @64
  66 + lib3270_get_associated_luname @65
  67 + lib3270_get_attribute_at_address @66
  68 + lib3270_get_boolean_properties_list @67
  69 + lib3270_get_color_type @68
  70 + lib3270_get_connection_state @69
  71 + lib3270_get_contents @70
  72 + lib3270_get_cursor_address @71
  73 + lib3270_get_cursor_position @72
  74 + lib3270_get_default_charset @73
  75 + lib3270_get_default_host @74
  76 + lib3270_get_default_session_handle @75
  77 + lib3270_get_display_charset @76
  78 + lib3270_get_element @77
  79 + lib3270_get_field_attribute @78
  80 + lib3270_get_field_bounds @79
  81 + lib3270_get_field_end @80
  82 + lib3270_get_field_len @81
  83 + lib3270_get_field_start @82
  84 + lib3270_get_field_string_at @83
  85 + lib3270_get_ft_callbacks @84
  86 + lib3270_get_ft_state @85
  87 + lib3270_get_has_copy @86
  88 + lib3270_get_has_selection @87
  89 + lib3270_get_height @88
  90 + lib3270_get_host @89
  91 + lib3270_get_host_charset @90
  92 + lib3270_get_host_type @91
  93 + lib3270_get_host_type_name @92
  94 + lib3270_get_installation_path @93
  95 + lib3270_get_int_properties_list @94
  96 + lib3270_get_int_property @95
  97 + lib3270_get_is_protected @96
  98 + lib3270_get_is_protected_at @97
  99 + lib3270_get_keyboard_lock_state @98
  100 + lib3270_get_length @99
  101 + lib3270_get_lock_on_operator_error @100
  102 + lib3270_get_lock_status @101
  103 + lib3270_get_lunames @102
  104 + lib3270_get_max_height @103
  105 + lib3270_get_max_width @104
  106 + lib3270_get_model @105
  107 + lib3270_get_model_name @106
  108 + lib3270_get_model_number @107
  109 + lib3270_get_next_unprotected @108
  110 + lib3270_get_numeric_lock @109
  111 + lib3270_get_oia_box_solid @110
  112 + lib3270_get_option_list @111
  113 + lib3270_get_oversize @112
  114 + lib3270_get_pointer @113
  115 + lib3270_get_program_message @114
  116 + lib3270_get_region @115
  117 + lib3270_get_revision @116
  118 + lib3270_get_screen_size @117
  119 + lib3270_get_selected @118
  120 + lib3270_get_selected_text @119
  121 + lib3270_get_selection @120
  122 + lib3270_get_selection_bounds @121
  123 + lib3270_get_selection_flags @122
  124 + lib3270_get_selection_rectangle @123
  125 + lib3270_get_session_callbacks @124
  126 + lib3270_get_session_id @125
  127 + lib3270_get_ssl_crl_text @126
  128 + lib3270_get_ssl_peer_certificate_text @127
  129 + lib3270_get_ssl_state @128
  130 + lib3270_get_ssl_state_description @129
  131 + lib3270_get_ssl_state_icon_name @130
  132 + lib3270_get_ssl_state_message @131
  133 + lib3270_get_string_at @132
  134 + lib3270_get_string_at_address @133
  135 + lib3270_get_string_properties_list @134
  136 + lib3270_get_toggle @135
  137 + lib3270_get_toggle_description @136
  138 + lib3270_get_toggle_id @137
  139 + lib3270_get_toggle_label @138
  140 + lib3270_get_toggle_list @139
  141 + lib3270_get_toggle_name @140
  142 + lib3270_get_toggle_summary @141
  143 + lib3270_get_toggles @142
  144 + lib3270_get_trace_handler @143
  145 + lib3270_get_translation_domain @144
  146 + lib3270_get_typeahead @145
  147 + lib3270_get_undera @146
  148 + lib3270_get_unlock_delay @147
  149 + lib3270_get_unsigned_properties_list @148
  150 + lib3270_get_url @149
  151 + lib3270_get_user_data @150
  152 + lib3270_get_version @151
  153 + lib3270_get_version_info @152
  154 + lib3270_get_width @153
  155 + lib3270_get_word_bounds @154
  156 + lib3270_half_connected @155
  157 + lib3270_has_active_script @156
  158 + lib3270_has_selection @157
  159 + lib3270_host_get_name @158
  160 + lib3270_iconv_free @159
  161 + lib3270_iconv_from_host @160
  162 + lib3270_iconv_new @161
  163 + lib3270_iconv_to_host @162
  164 + lib3270_in_3270 @163
  165 + lib3270_in_ansi @164
  166 + lib3270_in_e @165
  167 + lib3270_in_neither @166
  168 + lib3270_in_sscp @167
  169 + lib3270_in_tn3270e @168
  170 + lib3270_input_string @169
  171 + lib3270_is_as400 @170
  172 + lib3270_is_connected @171
  173 + lib3270_is_disconnected @172
  174 + lib3270_is_formatted @173
  175 + lib3270_is_protected @174
  176 + lib3270_is_ready @175
  177 + lib3270_is_secure @176
  178 + lib3270_is_selected @177
  179 + lib3270_is_tso @178
  180 + lib3270_is_unlocked @179
  181 + lib3270_kybdreset @180
  182 + lib3270_load @181
  183 + lib3270_main_iterate @182
  184 + lib3270_malloc @183
  185 + lib3270_move_cursor @184
  186 + lib3270_move_selected_area @185
  187 + lib3270_move_selection @186
  188 + lib3270_newline @187
  189 + lib3270_nextfield @188
  190 + lib3270_nextword @189
  191 + lib3270_pakey @190
  192 + lib3270_parse_host_type @191
  193 + lib3270_paste_next @192
  194 + lib3270_paste_text @193
  195 + lib3270_pconnected @194
  196 + lib3270_pfkey @195
  197 + lib3270_popup @196
  198 + lib3270_popup_an_errno @197
  199 + lib3270_popup_clone_printf @198
  200 + lib3270_popup_dialog @199
  201 + lib3270_popup_va @200
  202 + lib3270_previousfield @201
  203 + lib3270_previousword @202
  204 + lib3270_print @203
  205 + lib3270_print_all @204
  206 + lib3270_print_copy @205
  207 + lib3270_print_selected @206
  208 + lib3270_property_get_by_name @207
  209 + lib3270_property_get_description @208
  210 + lib3270_property_get_label @209
  211 + lib3270_property_get_name @210
  212 + lib3270_property_get_summary @211
  213 + lib3270_property_get_tooltip @212
  214 + lib3270_realloc @213
  215 + lib3270_reconnect @214
  216 + lib3270_register_action_group_listener @215
  217 + lib3270_register_fd_handlers @216
  218 + lib3270_register_io_controller @217
  219 + lib3270_register_schange @218
  220 + lib3270_register_timer_handlers @219
  221 + lib3270_register_toggle_listener @220
  222 + lib3270_remap_char @221
  223 + lib3270_remove_poll @222
  224 + lib3270_remove_poll_fd @223
  225 + lib3270_reselect @224
  226 + lib3270_reset_callbacks @225
  227 + lib3270_reset_charset @226
  228 + lib3270_reset_ft_callbacks @227
  229 + lib3270_ring_bell @228
  230 + lib3270_run_task @229
  231 + lib3270_save @230
  232 + lib3270_save_all @231
  233 + lib3270_save_copy @232
  234 + lib3270_save_selected @233
  235 + lib3270_select_all @234
  236 + lib3270_select_field @235
  237 + lib3270_select_field_at @236
  238 + lib3270_select_region @237
  239 + lib3270_select_to @238
  240 + lib3270_select_word @239
  241 + lib3270_select_word_at @240
  242 + lib3270_selection_get_length @241
  243 + lib3270_selection_new @242
  244 + lib3270_service_get_name @243
  245 + lib3270_session_free @244
  246 + lib3270_session_new @245
  247 + lib3270_set_as400 @246
  248 + lib3270_set_boolean_property @247
  249 + lib3270_set_color_type @248
  250 + lib3270_set_connected_initial @249
  251 + lib3270_set_cursor_address @250
  252 + lib3270_set_cursor_position @251
  253 + lib3270_set_disconnected @252
  254 + lib3270_set_field @253
  255 + lib3270_set_has_copy @254
  256 + lib3270_set_host_charset @255
  257 + lib3270_set_host_type @256
  258 + lib3270_set_host_type_by_name @257
  259 + lib3270_set_int_property @258
  260 + lib3270_set_lock_on_operator_error @259
  261 + lib3270_set_log_handler @260
  262 + lib3270_set_lunames @261
  263 + lib3270_set_model @262
  264 + lib3270_set_model_name @263
  265 + lib3270_set_model_number @264
  266 + lib3270_set_numeric_lock @265
  267 + lib3270_set_oversize @266
  268 + lib3270_set_poll_state @267
  269 + lib3270_set_popup_handler @268
  270 + lib3270_set_session_id @269
  271 + lib3270_set_string @270
  272 + lib3270_set_string_at @271
  273 + lib3270_set_string_at_address @272
  274 + lib3270_set_string_property @273
  275 + lib3270_set_syslog @274
  276 + lib3270_set_toggle @275
  277 + lib3270_set_trace_handler @276
  278 + lib3270_set_tso @277
  279 + lib3270_set_uint_property @278
  280 + lib3270_set_unlock_delay @279
  281 + lib3270_set_url @280
  282 + lib3270_set_user_data @281
  283 + lib3270_setup_session @282
  284 + lib3270_ssl_get_crl_download @283
  285 + lib3270_ssl_set_crl_download @284
  286 + lib3270_state_get_name @285
  287 + lib3270_strdup @286
  288 + lib3270_strdup_printf @287
  289 + lib3270_sysreq @288
  290 + lib3270_testpattern @289
  291 + lib3270_toggle @290
  292 + lib3270_toggle_get_by_name @291
  293 + lib3270_toggle_get_description @292
  294 + lib3270_toggle_get_from_id @293
  295 + lib3270_toggle_get_label @294
  296 + lib3270_toggle_get_name @295
  297 + lib3270_toggle_get_summary @296
  298 + lib3270_trace_data @297
  299 + lib3270_trace_event @298
  300 + lib3270_translate_char @299
  301 + lib3270_translate_ft_message @300
  302 + lib3270_translate_to_address @301
  303 + lib3270_unregister_action_group_listener @302
  304 + lib3270_unregister_schange @303
  305 + lib3270_unregister_toggle_listener @304
  306 + lib3270_unselect @305
  307 + lib3270_unsigned_property_get_by_name @306
  308 + lib3270_update_poll_fd @307
  309 + lib3270_vsprintf @308
  310 + lib3270_wait @309
  311 + lib3270_wait_for_cstate @310
  312 + lib3270_wait_for_keyboard_unlock @311
  313 + lib3270_wait_for_ready @312
  314 + lib3270_wait_for_string @313
  315 + lib3270_wait_for_string_at @314
  316 + lib3270_wait_for_string_at_address @315
  317 + lib3270_wait_for_update @316
  318 + lib3270_win32_create_regkey @317
  319 + lib3270_win32_get_dword @318
  320 + lib3270_win32_local_charset @319
  321 + lib3270_win32_strerror @320
  322 + lib3270_win32_translate_error_code @321
  323 + lib3270_write_dstrace @322
  324 + lib3270_write_event_trace @323
  325 + lib3270_write_log @324
  326 + lib3270_write_nettrace @325
  327 + lib3270_write_rc @326
  328 + lib3270_write_screen_trace @327
  329 + lib3270_write_trace @328
  330 + lib3270_write_va_log @329