diff --git a/locale/pt_BR.po b/locale/pt_BR.po index 07b16b1..4d69067 100644 --- a/locale/pt_BR.po +++ b/locale/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-16 15:09-0300\n" +"POT-Creation-Date: 2023-06-16 00:04-0300\n" "PO-Revision-Date: 2023-04-21 08:40-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Brazilian Portuguese \n" @@ -440,14 +440,49 @@ msgstr "Conectar" msgid "Connect on startup" msgstr "Conectar ao iniciar" +#: src/core/properties/signed.c:46 +msgid "Connected in NVT ANSI mode" +msgstr "" + +#: src/core/properties/signed.c:51 +msgid "Connected in TN3270E mode, 3270 mode" +msgstr "" + +#: src/core/properties/signed.c:49 +msgid "Connected in TN3270E mode, NVT mode" +msgstr "" + +#: src/core/properties/signed.c:50 +msgid "Connected in TN3270E mode, SSCP-LU mode" +msgstr "" + +#: src/core/properties/signed.c:48 +#, fuzzy +msgid "Connected in TN3270E mode, no negotiated" +msgstr "Não está no modo 3270, transferência cancelada" + +#: src/core/properties/signed.c:47 +msgid "Connected in old-style 3270 mode" +msgstr "" + #: src/core/telnet.c:1764 msgid "Connected initial" msgstr "Connected initial" +#: src/core/properties/signed.c:45 +#, fuzzy +msgid "Connected, no mode yet" +msgstr "Connected initial" + #: src/core/telnet.c:1782 msgid "Connecting" msgstr "Conectando" +#: src/core/properties/signed.c:43 +#, fuzzy +msgid "Connecting to host" +msgstr "Não foi possível conectar no host" + #: src/network_modules/tools.c:160 src/core/linux/connect.c:230 #: src/core/linux/connect.c:321 src/core/linux/connect.c:338 #: src/core/windows/connect.c:358 src/core/windows/connect.c:376 @@ -460,11 +495,25 @@ msgstr "Erro de conexão" msgid "Connection failed" msgstr "Conexão falhou" +#: src/core/properties/signed.c:44 +#, fuzzy +msgid "Connection pending" +msgstr "Conexão falhou" + #: src/network_modules/tools.c:122 msgid "Connection reset by peer" msgstr "Conexão foi cancelada pelo servidor" -#: src/core/properties/signed.c:55 +#: src/core/properties/signed.c:96 +#, fuzzy +msgid "Connection secure with CA check" +msgstr "A conexão é segura ?" + +#: src/core/properties/signed.c:97 +msgid "Connection secure, no CA, self-signed or expired CRL" +msgstr "" + +#: src/core/properties/signed.c:121 msgid "Connection state" msgstr "Estado da conexão" @@ -478,15 +527,15 @@ msgstr "Continuar" msgid "Cross hair cursor" msgstr "Cursor mira" -#: src/core/properties/unsigned.c:117 +#: src/core/properties/unsigned.c:113 msgid "Current screen height in rows" msgstr "Altura atual da tela em linhas" -#: src/core/properties/unsigned.c:110 +#: src/core/properties/unsigned.c:106 msgid "Current screen width in columns" msgstr "Largura atua da tela em colunas" -#: src/core/properties/signed.c:63 +#: src/core/properties/signed.c:130 msgid "Cursor address" msgstr "Endereço do cursor" @@ -528,7 +577,7 @@ msgstr "Tecla \"DUP\"" msgid "Data conversion error" msgstr "Erro na conversão de dados" -#: src/core/properties/string.c:159 +#: src/core/properties/string.c:143 msgid "Default host URL" msgstr "URL parão para acesso ao host" @@ -544,7 +593,7 @@ msgstr "Apagar campo" msgid "Delete word" msgstr "Apaga palavra" -#: src/core/properties/string.c:173 +#: src/core/properties/string.c:157 msgid "Description of the current security state" msgstr "Descrição do estado de segurança atual" @@ -556,12 +605,17 @@ msgstr "Tipo de dispositivo rejeitado" msgid "Disconnect from host" msgstr "Desconecta do servidor" +#: src/core/properties/signed.c:42 +#, fuzzy +msgid "Disconnected" +msgstr "Desconectado" + #: src/core/ft/ft.c:244 src/network_modules/openssl/main.c:100 #: src/network_modules/openssl/main.c:148 msgid "Disconnected from host." msgstr "Desconectado do servidor." -#: src/core/properties/string.c:120 +#: src/core/properties/string.c:114 msgid "Display charset" msgstr "Tabela de caracteres para a tela" @@ -637,12 +691,12 @@ msgstr "Apagar campos" msgid "Erro sending data to host" msgstr "Erro ao enviar dados para o servidor" -#: src/core/ft/ft_cut.c:408 src/core/ft/ft_dft.c:413 +#: src/core/ft/ft_dft.c:413 src/core/ft/ft_cut.c:408 #, c-format msgid "Error \"%s\" reading from local file (rc=%d)" msgstr "Erro \"%s\" lendo arquivo local (rc=%d)" -#: src/core/ft/ft_cut.c:504 src/core/ft/ft_dft.c:306 +#: src/core/ft/ft_dft.c:306 src/core/ft/ft_cut.c:504 #, c-format msgid "Error \"%s\" writing to local file (rc=%d)" msgstr "Erro \"%s\" gravando arquivo local (rc=%d)" @@ -727,7 +781,7 @@ msgstr "Erro de formato no campo \"notAfter\" do certificado" msgid "Format error in certificate's notBefore field" msgstr "Erro de formato no campo \"notBefore\" do certificado" -#: src/core/properties/boolean.c:177 +#: src/core/properties/boolean.c:175 msgid "Formatted screen" msgstr "Tela formatada" @@ -739,11 +793,11 @@ msgstr "Tela cheia" msgid "Half connect" msgstr "Half connect" -#: src/core/properties/boolean.c:156 +#: src/core/properties/boolean.c:154 msgid "Has selected area" msgstr "Tem área selecionada" -#: src/core/properties/string.c:113 +#: src/core/properties/string.c:107 msgid "Host charset" msgstr "Página de código do host" @@ -767,11 +821,11 @@ msgstr "Servidor rejeitou o tipo de dispositivo ou requisição" msgid "Host rejected resource(s)" msgstr "Servidor rejeitou recurso(s)" -#: src/core/properties/string.c:90 +#: src/core/properties/string.c:84 msgid "Host type name" msgstr "Nome do tipo de host" -#: src/core/properties/unsigned.c:90 +#: src/core/properties/unsigned.c:86 msgid "Host type number" msgstr "Numero do tipo de host" @@ -783,7 +837,7 @@ msgstr "IBM AS/400" msgid "IBM S/390" msgstr "IBM S/390" -#: src/core/properties/signed.c:77 +#: src/core/properties/signed.c:146 msgid "ID of the session security state" msgstr "Identificação do estado de segurança da sessão" @@ -904,23 +958,23 @@ msgstr "Opção xxxxxxxx inválida: Transferência cancelada" msgid "Invalid oversize" msgstr "Valor inválido para 'oversize'" -#: src/core/properties/boolean.c:77 +#: src/core/properties/boolean.c:75 msgid "Is connection secure" msgstr "A conexão é segura ?" -#: src/core/properties/boolean.c:170 +#: src/core/properties/boolean.c:168 msgid "Is starting (no first screen)?" msgstr "Está iniciando (não recebeu a primeira tela)?" -#: src/core/properties/boolean.c:70 +#: src/core/properties/boolean.c:68 msgid "Is terminal connected" msgstr "O terminal está conectado" -#: src/core/properties/boolean.c:149 +#: src/core/properties/boolean.c:147 msgid "Is terminal in the INITIAL_E state?" msgstr "O terminal está no estad INITIAL_E?" -#: src/core/properties/boolean.c:63 +#: src/core/properties/boolean.c:61 msgid "Is terminal ready" msgstr "O terminal está pronto" @@ -936,7 +990,7 @@ msgstr "Uso da chave não permite assinatura de certificados" msgid "Keyboard is locked" msgstr "Teclado está bloqueado" -#: src/core/properties/unsigned.c:169 +#: src/core/properties/unsigned.c:165 msgid "Keyboard lock status" msgstr "Estado de bloqueio do teclado" @@ -958,7 +1012,7 @@ msgstr "Pesquisa LDAP não produziu valores." msgid "LDAPSearch did not produce any values." msgstr "Pesquisa LDAP não produziu valores." -#: src/core/properties/signed.c:70 +#: src/core/properties/signed.c:138 msgid "Latest program message" msgstr "Última mensagem de programa" @@ -970,7 +1024,7 @@ msgstr "Esquerda" msgid "Line mode" msgstr "Line mode" -#: src/core/properties/boolean.c:184 +#: src/core/properties/boolean.c:182 msgid "Lock keyboard on operator error" msgstr "Bloqueia teclado em caso de erro do operador" @@ -978,15 +1032,15 @@ msgstr "Bloqueia teclado em caso de erro do operador" msgid "Margined paste" msgstr "Colar com margem" -#: src/core/properties/unsigned.c:131 +#: src/core/properties/unsigned.c:127 msgid "Maximum screen height in rows" msgstr "Altura máxima da tela em linhas" -#: src/core/properties/unsigned.c:124 +#: src/core/properties/unsigned.c:120 msgid "Maximum screen width in columns" msgstr "Largura maxima da tela em colunas" -#: src/core/properties/string.c:82 +#: src/core/properties/string.c:76 msgid "Model name" msgstr "Nome do modelo" @@ -1043,10 +1097,15 @@ msgstr "Move para o próximo campo desprotegido" msgid "Move to the previous unprotected field on screen" msgstr "Move para o campo desprotegido anterior" -#: src/core/telnet.c:304 src/core/linux/connect.c:200 -#: src/core/linux/event_dispatcher.c:130 src/core/windows/connect.c:223 -#: src/core/windows/event_dispatcher.c:135 src/core/macos/connect.c:200 -#: src/core/macos/event_dispatcher.c:130 +#: src/core/properties/signed.c:98 +#, fuzzy +msgid "Negotiating SSL" +msgstr "Negociação SSL" + +#: src/core/telnet.c:304 src/core/linux/event_dispatcher.c:130 +#: src/core/linux/connect.c:200 src/core/windows/event_dispatcher.c:135 +#: src/core/windows/connect.c:223 src/core/macos/event_dispatcher.c:130 +#: src/core/macos/connect.c:200 msgid "Network error" msgstr "Erro de rede" @@ -1079,6 +1138,11 @@ msgstr "Sem suporte TLS/SSL nessa sessão" msgid "No handler for URL scheme." msgstr "Nenhum manipulador para o esquema de URL" +#: src/core/properties/signed.c:95 +#, fuzzy +msgid "No secure connection" +msgstr "Conexão _Segura." + #: src/network_modules/openssl/messages.c:292 msgid "" "No signatures could be verified because the chain contains only one " @@ -1091,15 +1155,15 @@ msgstr "" msgid "No transfer in progress" msgstr "Nenhuma transferência em andamento" -#: src/core/properties/boolean.c:198 +#: src/core/properties/boolean.c:196 msgid "Non zero if the download of CRL is enabled" msgstr "Diferente de zero se o host se o download do CRL está habilitado" -#: src/core/properties/boolean.c:93 +#: src/core/properties/boolean.c:91 msgid "Non zero if the host is AS400." msgstr "Diferente de zero se o host é AS400" -#: src/core/properties/boolean.c:85 +#: src/core/properties/boolean.c:83 msgid "Non zero if the host is TSO." msgstr "Diferente de zero se o host é TSO" @@ -1162,7 +1226,7 @@ msgstr "Pendente" msgid "Personal computer filespec incorrect: file transfer canceled" msgstr "Especificação de arquivo PC incorreta: Transferência cancelada" -#: src/core/properties/string.c:152 +#: src/core/properties/string.c:136 msgid "Preferred protocol for CRL download" msgstr "Protocolo preferido para download da CRL" @@ -1190,6 +1254,14 @@ msgstr "Program Action 2" msgid "Program Action 3" msgstr "Program Action 3" +#: src/core/properties/string.c:128 +msgid "Protocol library revision" +msgstr "" + +#: src/core/properties/string.c:121 +msgid "Protocol library version" +msgstr "" + #: src/core/rpq.c:229 #, c-format msgid "RPQ %s term omitted due to insufficient space" @@ -1322,11 +1394,11 @@ msgstr "" msgid "SSL negotiation failed" msgstr "Negociação SSL falhou" -#: src/core/properties/unsigned.c:138 +#: src/core/properties/unsigned.c:134 msgid "Screen buffer length in bytes" msgstr "Tamanho do buffer de tela em bytes" -#: src/core/properties/string.c:181 +#: src/core/properties/string.c:165 msgid "Screen oversize if larger than the chosen model" msgstr "\"oversize\" maior que o modelo escolhido" @@ -1444,11 +1516,11 @@ msgstr "Erro no socket" msgid "Sound" msgstr "Som" -#: src/core/properties/boolean.c:128 +#: src/core/properties/boolean.c:126 msgid "State is 3270, TN3270e or SSCP" msgstr "Estado do terminal é 3270, TN3270e or SSCP" -#: src/core/properties/boolean.c:163 +#: src/core/properties/boolean.c:161 msgid "Still have text to paste" msgstr "Ainda existe texto para colar" @@ -1492,15 +1564,15 @@ msgstr "TN3270E NVT" msgid "TN3270E SSCP-LU" msgstr "TN3270E SSCP-LU" -#: src/core/properties/unsigned.c:99 +#: src/core/properties/unsigned.c:95 msgid "Terminal model" msgstr "Modelo do terminal" -#: src/core/properties/string.c:104 +#: src/core/properties/string.c:98 msgid "Terminal name" msgstr "Nome do terminal" -#: src/core/properties/string.c:97 +#: src/core/properties/string.c:91 msgid "Terminal type" msgstr "Tipo do terminal" @@ -1626,7 +1698,7 @@ msgstr "" "signature value could not be determined rather than it not matching the " "expected value, this is only meaningful for RSA keys." -#: src/core/properties/unsigned.c:81 +#: src/core/properties/unsigned.c:77 msgid "The color type" msgstr "O tipo de cor" @@ -1678,7 +1750,7 @@ msgstr "" "name did not match the issuer name of the current certificate. Only " "displayed when the -issuer_checks option is set." -#: src/core/properties/unsigned.c:162 +#: src/core/properties/unsigned.c:158 msgid "The delay between the host unlocking the keyboard and the actual unlock" msgstr "" "Intervalo de tempo entre o desbloqueio de teclado pelo host e o desbloqueio " @@ -1724,15 +1796,15 @@ msgstr "" "The issuer certificate of a looked up certificate could not be found. This " "normally means the list of trusted certificates is not complete." -#: src/core/properties/string.c:189 +#: src/core/properties/string.c:173 msgid "The log file name" msgstr "Define o nome do arquivo de log" -#: src/core/properties/unsigned.c:100 +#: src/core/properties/unsigned.c:96 msgid "The model number" msgstr "Nº do modelo" -#: src/core/properties/string.c:62 +#: src/core/properties/string.c:56 msgid "The name of the LU associated with the session" msgstr "O nome da LU associada à sessão" @@ -1794,7 +1866,7 @@ msgstr "" msgid "The secure connection has been closed cleanly." msgstr "A conexão segura foi fechada corretamente" -#: src/core/properties/string.c:166 +#: src/core/properties/string.c:150 msgid "The security state" msgstr "O estado da segurança" @@ -1842,12 +1914,12 @@ msgstr "O erro do sistema operacional foi \"%s\" (rc=%d)" msgid "The system error was %s" msgstr "O erro do sistema operacional foi \"%s\"" -#: src/core/util.c:266 +#: src/core/util.c:270 #, c-format msgid "The system error was '%s' (rc=%d)" msgstr "O erro do sistema foi \"%s\" (rc=%d)" -#: src/core/properties/string.c:197 +#: src/core/properties/string.c:181 msgid "The trace file name" msgstr "O nome do arquivo de trace" @@ -1869,7 +1941,7 @@ msgstr "Não existe espaço suficiente no host para os dados." msgid "This is a host program error." msgstr "Este é um erro no programa do host." -#: src/core/properties/unsigned.c:146 +#: src/core/properties/unsigned.c:142 msgid "Time for auto-reconnect" msgstr "Tempo para reconexão automática" @@ -1925,8 +1997,8 @@ msgstr "Mostrar posição do cursor" msgid "Transfer cancelled by host" msgstr "Transferência cancelada pelo host" -#: src/core/ft/ft_cut.c:387 src/core/ft/ft_cut.c:475 src/core/ft/ft_dft.c:213 -#: src/core/ft/ft_dft.c:344 +#: src/core/ft/ft_dft.c:213 src/core/ft/ft_dft.c:344 src/core/ft/ft_cut.c:387 +#: src/core/ft/ft_cut.c:475 msgid "Transfer cancelled by user" msgstr "Transferência cancelada pelo usuário" @@ -1947,7 +2019,7 @@ msgstr "Erro de transmissão" msgid "Try again" msgstr "Tentar novamente" -#: src/core/properties/string.c:74 +#: src/core/properties/string.c:68 msgid "URL of the current host" msgstr "URL do host atual" @@ -2017,6 +2089,10 @@ msgstr "Não foi possível verificar o primeiro certificado" msgid "Unconnected" msgstr "Não conectado" +#: src/core/properties/signed.c:100 +msgid "Undefined" +msgstr "Indefinido" + #: src/core/toggles/table.c:225 msgid "Underline" msgstr "Sublinhados" @@ -2039,6 +2115,8 @@ msgid "Unexpected type %d in typeahead queue" msgstr "Tipo inesperado %d na fila de teclado" #: src/core/telnet.c:1774 src/core/telnet.c:1794 +#: src/core/properties/signed.c:59 src/core/properties/signed.c:88 +#: src/core/properties/signed.c:108 msgid "Unknown" msgstr "Desconhecido" @@ -2065,7 +2143,7 @@ msgstr "PF %d desconhecida" msgid "Unknown frame type from host" msgstr "Servidor enviou tipo de frame desconhecido" -#: src/core/properties/unsigned.c:161 +#: src/core/properties/unsigned.c:157 msgid "Unlock delay" msgstr "Atraso no desbloqueio" @@ -2093,6 +2171,10 @@ msgstr "Usar teclas +/- para navegar por campos" msgid "Use the keys +/- from keypad to select editable fields" msgstr "Use the keys +/- from keypad to select editable fields" +#: src/core/properties/signed.c:99 +msgid "Verifying SSL (Getting CRL)" +msgstr "" + #: src/core/windows/connect.c:111 msgid "WSAStartup failed" msgstr "WSAStartup falhou" @@ -2118,6 +2200,58 @@ msgstr "Erro windows foi %d" msgid "Wrap around" msgstr "Wrap around" +#: src/core/properties/signed.c:71 src/core/properties/signed.c:77 +#: src/core/properties/signed.c:78 +msgid "X" +msgstr "X" + +#: src/core/properties/signed.c:72 +msgid "X -f" +msgstr "X -f" + +#: src/core/properties/signed.c:69 +#, fuzzy +msgid "X Connected" +msgstr "X Desconectado" + +#: src/core/properties/signed.c:80 +#, fuzzy +msgid "X Connecting" +msgstr "Conectando" + +#: src/core/properties/signed.c:76 +msgid "X Inhibit" +msgstr "X Inibido" + +#: src/core/properties/signed.c:70 +msgid "X Not Connected" +msgstr "X Desconectado" + +#: src/core/properties/signed.c:74 +msgid "X Numeric" +msgstr "X Numérico" + +#: src/core/properties/signed.c:75 +msgid "X Overflow" +msgstr "X Estouro" + +#: src/core/properties/signed.c:73 +msgid "X Protected" +msgstr "X Protegido" + +#: src/core/properties/signed.c:79 +#, fuzzy +msgid "X Resolving" +msgstr "Resolvendo" + +#: src/core/properties/signed.c:67 +msgid "X System" +msgstr "X Sistema" + +#: src/core/properties/signed.c:68 +msgid "X Wait" +msgstr "X Aguarde" + #: src/core/ft/ftmessages.c:74 msgid "" "You did not enter the required parameters after a SEND or RECEIVE command." @@ -2225,15 +2359,7 @@ msgstr "erro fcntl() ao obter estado do socket." msgid "ioctlsocket(FIONBIO) failed." msgstr "ioctlsocket(FIONBIO) falhou." -#: src/core/properties/string.c:134 -msgid "lib3270 revision" -msgstr "Revisão da lib3270" - -#: src/core/properties/string.c:127 -msgid "lib3270 version" -msgstr "Versão da lib3270" - -#: src/core/properties/boolean.c:191 +#: src/core/properties/boolean.c:189 msgid "numeric lock" msgstr "numeric lock" @@ -3558,9 +3684,6 @@ msgstr "setsockopt(SO_OOBINLINE) falhou" #~ msgid "SSL init failed!" #~ msgstr "Inicialização SSL falhou" -#~ msgid "SSL negotiation" -#~ msgstr "Negociação SSL" - #~ msgid "SSL negotiation has failed" #~ msgstr "Negociação de segurança falhou" @@ -4054,9 +4177,6 @@ msgstr "setsockopt(SO_OOBINLINE) falhou" #~ msgid "Unable to paste formatted data" #~ msgstr "Incapaz de colar texto formatado" -#~ msgid "Undefined" -#~ msgstr "Indefinido" - #~ msgid "Unexpected SSL error" #~ msgstr "Erro SSL inesperado" @@ -4160,33 +4280,6 @@ msgstr "setsockopt(SO_OOBINLINE) falhou" #~ msgid "Windows error was \"%s\" (%u)" #~ msgstr "Erro windows foi \"%s\" (%u)" -#~ msgid "X" -#~ msgstr "X" - -#~ msgid "X -f" -#~ msgstr "X -f" - -#~ msgid "X Inhibit" -#~ msgstr "X Inibido" - -#~ msgid "X Not Connected" -#~ msgstr "X Desconectado" - -#~ msgid "X Numeric" -#~ msgstr "X Numérico" - -#~ msgid "X Overflow" -#~ msgstr "X Estouro" - -#~ msgid "X Protected" -#~ msgstr "X Protegido" - -#~ msgid "X System" -#~ msgstr "X Sistema" - -#~ msgid "X Wait" -#~ msgstr "X Aguarde" - #~ msgid "XML file" #~ msgstr "Arquivo XML" @@ -4274,9 +4367,6 @@ msgstr "setsockopt(SO_OOBINLINE) falhou" #~ msgid "_Save" #~ msgstr "_Salvar" -#~ msgid "_Secure connection." -#~ msgstr "Conexão _Segura." - #~ msgid "_Send" #~ msgstr "_Enviar" @@ -4307,15 +4397,18 @@ msgstr "setsockopt(SO_OOBINLINE) falhou" #~ msgid "bracket" #~ msgstr "bracket" -#~ msgid "disconnected" -#~ msgstr "Desconectado" - #~ msgid "fcntl(%s)" #~ msgstr "fcntl(%s)" #~ msgid "ioctl(%s)" #~ msgstr "ioctl(%s)" +#~ msgid "lib3270 revision" +#~ msgstr "Revisão da lib3270" + +#~ msgid "lib3270 version" +#~ msgstr "Versão da lib3270" + #~ msgid "setsockopt(%s)" #~ msgstr "setsockopt(%s)" diff --git a/win/bundle.common b/win/bundle.common new file mode 100644 index 0000000..6dc5afd --- /dev/null +++ b/win/bundle.common @@ -0,0 +1,359 @@ +#!/bin/bash +# +# SPDX-License-Identifier: LGPL-3.0-or-later +# +# Copyright (C) 2023 Perry Werneck +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see . +# + +# Check command-line arguments +argument() { + + local cmdline + for cmdline in ${BASH_ARGV[*]} + do + if [ "$(echo ${cmdline} | sed "s@^--@@g" | sed "s@^-@@g" | cut -d= -f1)" == "${1}" ]; then + local value + value="$(echo ${cmdline} | cut -d= -f2)" + if [ -z "${value}" ]; then + echo "1" + else + echo "${value}" + fi + return 0 + fi + done + echo "" + return 2 +} + +argument "help" > /dev/null +if [ "$?" == "0" ]; then + echo "Use ${0} options" + echo "" + echo " --help Help options (this screen)" + echo " --zip Build zipfile" + + if [ -e "${srcdir}/win/${PACKAGE_NAME}.nsi" ]; then + echo " --nsi Build nsi installer" + fi + echo " --upload Upload bundle to github" +fi + +# Setup default paths +srcdir="$(dirname $(dirname $(readlink -f "${0}")))" +cd ${srcdir} +if [ "$?" != "0" ]; then + echo "Cant cd to ${srcdir}" + exit -1 +fi + +if [ -z ${MINGW_PREFIX} ]; then + if [ -d "/usr/x86_64-w64-mingw32/sys-root/mingw" ]; then + MINGW_PREFIX="/usr/x86_64-w64-mingw32/sys-root/mingw" + PKG_CONFIG="/usr/bin/x86_64-w64-mingw32-pkg-config" + else + echo "Cant determine mingw prefix" + exit -1 + fi +fi + +if [ -z ${PKG_CONFIG} ]; then + PKG_CONFIG=${MINGW_PREFX}/bin/pkg-config +fi + +PACKAGE_NAME=$(grep AC_INIT configure.ac | cut -d[ -f2 | cut -d] -f1) +if [ -z ${PACKAGE_NAME} ]; then + echo "Cant determine package name" + exit -1 +fi + +PACKAGE_VERSION=$(grep AC_INIT configure.ac | cut -d[ -f3 | cut -d] -f1) +if [ -z ${PACKAGE_VERSION} ]; then + echo "Cant determine package name" + exit -1 +fi + +mkdir -p .bin/bundle +if [ "$?" != "0" ]; then + echo "Cant mkdir base buildroot" + exit -1 +fi + +buildroot=$(readlink -f .bin/bundle) +if [ -z ${buildroot} ]; then + echo "Cant detect buildroot ${buildroot}" + exit -1 +fi + +mkdir -p "${buildroot}" +if [ "$?" != "0" ]; then + echo "Cant mkdir ${buildroot}" + exit -1 +fi + +rm -fr "${buildroot}/*" +if [ "$?" != "0" ]; then + echo "Cant clean ${buildroot}" + exit -1 +fi + +bindir="${buildroot}${MINGW_PREFIX}/bin" +sysdir="${buildroot}/windows/system32" + +if [ -z "${WIN_ROOT}" ]; then + WIN_ROOT="/c/Windows" +fi + +export LANG=C + +prepare() { + + argument "help" > /dev/null + if [ "$?" == "0" ]; then + exit 0 + fi + + rm -fr "${buildroot}" + mkdir -p "${buildroot}" +} + +install_bin() { + + mkdir -p "${bindir}" + + AGAIN=1 + until [ $AGAIN = 0 ]; do + + SOURCES=$(mktemp) + REQUIRES=$(mktemp) + + find "${buildroot}" -iname "*.dll" > ${SOURCES} + find "${buildroot}" -iname "*.exe" >> ${SOURCES} + + while read FILENAME + do + echo ${FILENAME} + objdump -p ${FILENAME} | grep "DLL Name:" | cut -d: -f2 | tr "[:upper:]" "[:lower:]" >> ${REQUIRES} + done < ${SOURCES} + + libs_to_exclude=" + advapi32.dll + cfgmgr32.dll + comctl32.dll + comdlg32.dll + crypt32.dll + d3d8.dll + d3d9.dll + ddraw.dll + dnsapi.dll + dsound.dll + dwmapi.dll + gdi32.dll + gdiplus.dll + glu32.dll + glut32.dll + imm32.dll + iphlpapi.dll + kernel32.dll + ksuser.dll + mpr.dll + mscms.dll + mscoree.dll + msimg32.dll + msvcr71.dll + msvcr80.dll + msvcr90.dll + msvcrt.dll + mswsock.dll + netapi32.dll + odbc32.dll + ole32.dll + oleacc.dll + oleaut32.dll + opengl32.dll + psapi.dll + rpcrt4.dll + secur32.dll + setupapi.dll + shell32.dll + shlwapi.dll + user32.dll + usp10.dll + version.dll + wininet.dll + winmm.dll + wldap32.dll + ws2_32.dll + wsock32.dll + winspool.drv + ntdll.dll + winhttp.dll + hid.dll + bcrypt.dll + " + + # Remove system DLLs from list + for i in $libs_to_exclude; do + sed -i -e "/${i}/d" ${REQUIRES} + done + + AGAIN=0 + while read FILENAME + do + + echo ${FILENAME} + + if [ ! -e "${bindir}/${FILENAME}" ]; then + + if [ -e ${MINGW_PREFIX}/bin/${FILENAME} ]; then + + AGAIN=1 + cp -v "${MINGW_PREFIX}/bin/${FILENAME}" "${bindir}/${FILENAME}" + if [ "$?" != "0" ]; then + exit -1 + fi + + elif [ -e ${MINGW_PREFIX}/lib/${FILENAME} ]; then + + AGAIN=1 + cp -v "${MINGW_PREFIX}/lib/${FILENAME}" "${bindir}/${FILENAME}" + if [ "$?" != "0" ]; then + exit -1 + fi + + elif [ -e "${WIN_ROOT}/System32/${FILENAME}" ]; then + + echo "Ignoring ${WIN_ROOT}/System32/${FILENAME}" + + else + + echo "Can't find ${MINGW_PREFIX}/bin/${FILENAME} or ${WIN_ROOT}/System32/${FILENAME}" + find "${MINGW_PREFIX}" -iname "${FILENAME}" + exit -1 + + fi + + fi + + done < ${REQUIRES} + + rm -f ${SOURCES} + rm -f ${REQUIRES} + + done + + # libhllapi should be available in windows path + if [ -e "${bindir}/libhllapi.dll" ]; then + mkdir -p "${sysdir}" + mv "${bindir}/libhllapi.dll" "${sysdir}" + if [ "$?" != "0" ]; then + exit -1 + fi + fi + +} + +install_locale() { + + mkdir -p ${buildroot}${MINGW_PREFIX}/share/locale/pt_BR/LC_MESSAGES + + locales=" + gettext-runtime.mo + gettext-tools.mo + glib20.mo + gtk30.mo + gtk30-properties.mo + " + + FILENAMES=$(mktemp) + for i in ${locales} + do + find "${MINGW_PREFIX}/share/locale" -name ${i} >> ${FILENAMES} + done + + while read FILENAME + do + mkdir -p $(dirname "${buildroot}${FILENAME}") + cp -v "${FILENAME}" "${buildroot}${FILENAME}" + if [ "$?" != "0" ]; then + exit -1 + fi + done < ${FILENAMES} + rm -f ${FILENAMES} +} + + +make_zip() { + + cd ${buildroot}${MINGW_PREFIX} + if [ "$?" != "0" ]; then + exit -1 + fi + + rm -f ${srcdir}/${MINGW_PACKAGE_PREFIX}-${PACKAGE_NAME}-${PACKAGE_VERSION}.bundle.zip + + zip -9 -r ${srcdir}/${MINGW_PACKAGE_PREFIX}-${PACKAGE_NAME}-${PACKAGE_VERSION}.bundle.zip . + if [ "$?" != "0" ]; then + exit -1 + fi + + cd ${srcdir} + if [ "$?" != "0" ]; then + exit -1 + fi + + if [ -z $(which gh) ]; then + return 0 + fi + + argument "upload" > /dev/null + if [ "$?" == "0" ]; then + gh release upload --clobber "${PACKAGE_VERSION}" ${srcdir}/${MINGW_PACKAGE_PREFIX}-${PACKAGE_NAME}-${PACKAGE_VERSION}.bundle.zip + fi + +} + +install_license() { + mkdir -p "${buildroot}${MINGW_PREFIX}/usr/share/${PACKAGE_NAME}" + cp "${srcdir}/LICENSE" "${buildroot}${MINGW_PREFIX}/usr/share/${PACKAGE_NAME}" + if [ "$?" != "0" ]; then + echo "Cant copy LICENSE" + exit -1 + fi +} + +install_runtime() { + install_bin + install_locale +} + +build_package() { + + # Build + make -C "${srcdir}" all + if [ "$?" != "0" ]; then + echo "Build failed" + exit -1 + fi + + make -C "${srcdir}" "DESTDIR=${buildroot}" install + if [ "$?" != "0" ]; then + echo "Install failed" + exit -1 + fi + +} + diff --git a/win/bundle.cross b/win/bundle.cross new file mode 100755 index 0000000..67df668 --- /dev/null +++ b/win/bundle.cross @@ -0,0 +1,60 @@ +#!/bin/bash +# +# SPDX-License-Identifier: LGPL-3.0-or-later +# +# Copyright (C) 2023 Perry Werneck +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see . +# + +MINGW_PREFIX="/usr/x86_64-w64-mingw32/sys-root/mingw" +PKG_CONFIG="/usr/bin/x86_64-w64-mingw32-pkg-config" +MINGW_PACKAGE_PREFIX="mingw64" + +# Load bundle functions +. "$(dirname $(readlink -f "${0}"))/bundle.common" + +argument "help" > /dev/null +if [ "$?" == "0" ]; then + echo " --install-requires Install required packages" + echo " --build Build application from source" +fi + +prepare + +argument "build" > /dev/null +if [ "$?" == "0" ]; then + + NOCONFIGURE=1 ./autogen.sh + if [ "$?" != "0" ]; then + echo "Configure failed" + exit -1 + fi + + ${MINGW_PACKAGE_PREFIX}-configure + if [ "$?" != "0" ]; then + echo "Configure failed" + exit -1 + fi + + build_package + +fi + +install_bin +install_license +make_zip + +echo "Bundle build complete" + diff --git a/win/bundle.msys b/win/bundle.msys new file mode 100755 index 0000000..c29bce5 --- /dev/null +++ b/win/bundle.msys @@ -0,0 +1,30 @@ +#!/bin/bash +# +# SPDX-License-Identifier: LGPL-3.0-or-later +# +# Copyright (C) 2023 Perry Werneck +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see . +# + +# Load bundle functions +. "$(dirname $(readlink -f "${0}"))/bundle.common" + +prepare + +install_bin +install_license +make_zip + + diff --git a/win/lib3270.def b/win/lib3270.def index a7ed628..65dec1f 100644 --- a/win/lib3270.def +++ b/win/lib3270.def @@ -1,353 +1,359 @@ -EXPORTS - lib3270_action @1 - lib3270_action_activate @2 - lib3270_action_get_by_name @3 - lib3270_action_group_get_activatable @4 - lib3270_action_group_notify @5 - lib3270_action_is_activatable @6 - lib3270_activate_by_name @7 - lib3270_add_poll_fd @8 - lib3270_allow_reconnect @9 - lib3270_asc2ebc @10 - lib3270_attn @11 - lib3270_autoptr_cleanup_HKEY @12 - lib3270_autoptr_cleanup_LIB3270_POPUP @13 - lib3270_autoptr_cleanup_char @14 - lib3270_backspace @15 - lib3270_break @16 - lib3270_build_config_filename @17 - lib3270_build_data_filename @18 - lib3270_build_filename @19 - lib3270_calloc @20 - lib3270_can_paste_next @21 - lib3270_charsettable @22 - lib3270_chomp @23 - lib3270_chug @24 - lib3270_clear @25 - lib3270_clear_operator_error @26 - lib3270_cmp_string_at @27 - lib3270_cmp_string_at_address @28 - lib3270_connect_url @29 - lib3270_connection_state_get_name @30 - lib3270_crl_get_preferred_protocol @31 - lib3270_crl_set_preferred_protocol @32 - lib3270_cursor_down @33 - lib3270_cursor_left @34 - lib3270_cursor_right @35 - lib3270_cursor_up @36 - lib3270_cut_selected @37 - lib3270_data_recv @38 - lib3270_delete @39 - lib3270_deletefield @40 - lib3270_deleteword @41 - lib3270_disconnect @42 - lib3270_drag_selection @43 - lib3270_dup @44 - lib3270_ebc2asc @45 - lib3270_emulate_input @46 - lib3270_enter @47 - lib3270_erase @48 - lib3270_erase_selected @49 - lib3270_eraseeof @50 - lib3270_eraseeol @51 - lib3270_eraseinput @52 - lib3270_field_addr @53 - lib3270_field_length @54 - lib3270_fieldend @55 - lib3270_fieldmark @56 - lib3270_firstfield @57 - lib3270_free @58 - lib3270_ft_cancel @59 - lib3270_ft_destroy @60 - lib3270_ft_get_user_data @61 - lib3270_ft_new @62 - lib3270_ft_set_blksize @63 - lib3270_ft_set_lrecl @64 - lib3270_ft_set_options @65 - lib3270_ft_set_primspace @66 - lib3270_ft_set_secspace @67 - lib3270_ft_set_user_data @68 - lib3270_ft_start @69 - lib3270_get_action @70 - lib3270_get_actions @71 - lib3270_get_associated_luname @72 - lib3270_get_attribute_at_address @73 - lib3270_get_auto_reconnect @74 - lib3270_get_boolean_properties_list @75 - lib3270_get_color_type @76 - lib3270_get_connection_state @77 - lib3270_get_contents @78 - lib3270_get_cursor_address @79 - lib3270_get_cursor_position @80 - lib3270_get_default_charset @81 - lib3270_get_default_host @82 - lib3270_get_default_session_handle @83 - lib3270_get_display_charset @84 - lib3270_get_element @85 - lib3270_get_field_attribute @86 - lib3270_get_field_bounds @87 - lib3270_get_field_end @88 - lib3270_get_field_len @89 - lib3270_get_field_start @90 - lib3270_get_field_string_at @91 - lib3270_get_ft_callbacks @92 - lib3270_get_ft_state @93 - lib3270_get_has_copy @94 - lib3270_get_has_selection @95 - lib3270_get_height @96 - lib3270_get_host @97 - lib3270_get_host_charset @98 - lib3270_get_host_type @99 - lib3270_get_host_type_name @100 - lib3270_get_installation_path @101 - lib3270_get_int_properties_list @102 - lib3270_get_int_property @103 - lib3270_get_is_protected @104 - lib3270_get_is_protected_at @105 - lib3270_get_keyboard_lock_state @106 - lib3270_get_length @107 - lib3270_get_lock_on_operator_error @108 - lib3270_get_lock_status @109 - lib3270_get_log_filename @110 - lib3270_get_lunames @111 - lib3270_get_max_height @112 - lib3270_get_max_width @113 - lib3270_get_model @114 - lib3270_get_model_name @115 - lib3270_get_model_number @116 - lib3270_get_next_unprotected @117 - lib3270_get_numeric_lock @118 - lib3270_get_oia_box_solid @119 - lib3270_get_option_list @120 - lib3270_get_oversize @121 - lib3270_get_pointer @122 - lib3270_get_product_name @123 - lib3270_get_program_message @124 - lib3270_get_region @125 - lib3270_get_revision @126 - lib3270_get_screen_size @127 - lib3270_get_selected @128 - lib3270_get_selected_text @129 - lib3270_get_selection @130 - lib3270_get_selection_bounds @131 - lib3270_get_selection_flags @132 - lib3270_get_selection_rectangle @133 - lib3270_get_session_callbacks @134 - lib3270_get_session_id @135 - lib3270_get_ssl_crl_text @136 - lib3270_get_ssl_peer_certificate_text @137 - lib3270_get_ssl_state @138 - lib3270_get_ssl_state_description @139 - lib3270_get_ssl_state_icon_name @140 - lib3270_get_ssl_state_message @141 - lib3270_get_string_at @142 - lib3270_get_string_at_address @143 - lib3270_get_string_properties_list @144 - lib3270_get_task_count @145 - lib3270_get_toggle @146 - lib3270_get_toggle_description @147 - lib3270_get_toggle_id @148 - lib3270_get_toggle_label @149 - lib3270_get_toggle_list @150 - lib3270_get_toggle_name @151 - lib3270_get_toggle_summary @152 - lib3270_get_toggles @153 - lib3270_get_trace_filename @154 - lib3270_get_trace_handler @155 - lib3270_get_translation_domain @156 - lib3270_get_typeahead @157 - lib3270_get_undera @158 - lib3270_get_unlock_delay @159 - lib3270_get_unsigned_properties_list @160 - lib3270_get_url @161 - lib3270_get_user_data @162 - lib3270_get_version @163 - lib3270_get_version_info @164 - lib3270_get_width @165 - lib3270_get_word_bounds @166 - lib3270_getpeername @167 - lib3270_getsockname @168 - lib3270_half_connected @169 - lib3270_has_active_script @170 - lib3270_has_selection @171 - lib3270_host_get_name @172 - lib3270_iconv_free @173 - lib3270_iconv_from_host @174 - lib3270_iconv_new @175 - lib3270_iconv_to_host @176 - lib3270_in_3270 @177 - lib3270_in_ansi @178 - lib3270_in_e @179 - lib3270_in_neither @180 - lib3270_in_sscp @181 - lib3270_in_tn3270e @182 - lib3270_input_string @183 - lib3270_is_as400 @184 - lib3270_is_connected @185 - lib3270_is_disconnected @186 - lib3270_is_formatted @187 - lib3270_is_protected @188 - lib3270_is_ready @189 - lib3270_is_secure @190 - lib3270_is_selected @191 - lib3270_is_tso @192 - lib3270_is_unlocked @193 - lib3270_kybdreset @194 - lib3270_load @195 - lib3270_main_iterate @196 - lib3270_malloc @197 - lib3270_move_cursor @198 - lib3270_move_selected_area @199 - lib3270_move_selection @200 - lib3270_newline @201 - lib3270_nextfield @202 - lib3270_nextword @203 - lib3270_pakey @204 - lib3270_parse_host_type @205 - lib3270_paste_next @206 - lib3270_paste_text @207 - lib3270_pconnected @208 - lib3270_pfkey @209 - lib3270_popup @210 - lib3270_popup_an_errno @211 - lib3270_popup_clone_printf @212 - lib3270_popup_dialog @213 - lib3270_popup_va @214 - lib3270_previousfield @215 - lib3270_previousword @216 - lib3270_print @217 - lib3270_print_all @218 - lib3270_print_copy @219 - lib3270_print_selected @220 - lib3270_property_get_by_name @221 - lib3270_property_get_description @222 - lib3270_property_get_label @223 - lib3270_property_get_name @224 - lib3270_property_get_summary @225 - lib3270_property_get_tooltip @226 - lib3270_realloc @227 - lib3270_receive @228 - lib3270_reconnect @229 - lib3270_register_action_group_listener @230 - lib3270_register_fd_handlers @231 - lib3270_register_io_controller @232 - lib3270_register_schange @233 - lib3270_register_timer_handlers @234 - lib3270_register_toggle_listener @235 - lib3270_remap_char @236 - lib3270_remove_poll @237 - lib3270_remove_poll_fd @238 - lib3270_reselect @239 - lib3270_reset_callbacks @240 - lib3270_reset_charset @241 - lib3270_reset_ft_callbacks @242 - lib3270_ring_bell @243 - lib3270_run_task @244 - lib3270_save @245 - lib3270_save_all @246 - lib3270_save_copy @247 - lib3270_save_selected @248 - lib3270_select_all @249 - lib3270_select_field @250 - lib3270_select_field_at @251 - lib3270_select_region @252 - lib3270_select_to @253 - lib3270_select_word @254 - lib3270_select_word_at @255 - lib3270_selection_get_length @256 - lib3270_selection_new @257 - lib3270_send @258 - lib3270_service_get_name @259 - lib3270_session_free @260 - lib3270_session_new @261 - lib3270_set_as400 @262 - lib3270_set_auto_reconnect @263 - lib3270_set_boolean_property @264 - lib3270_set_color_type @265 - lib3270_set_connected_initial @266 - lib3270_set_cursor_address @267 - lib3270_set_cursor_position @268 - lib3270_set_dft_buffersize @269 - lib3270_set_disconnected @270 - lib3270_set_field @271 - lib3270_set_has_copy @272 - lib3270_set_host_charset @273 - lib3270_set_host_type @274 - lib3270_set_host_type_by_name @275 - lib3270_set_int_property @276 - lib3270_set_lock_on_operator_error @277 - lib3270_set_log_filename @278 - lib3270_set_log_handler @279 - lib3270_set_lunames @280 - lib3270_set_model @281 - lib3270_set_model_name @282 - lib3270_set_model_number @283 - lib3270_set_numeric_lock @284 - lib3270_set_oversize @285 - lib3270_set_poll_state @286 - lib3270_set_popup_handler @287 - lib3270_set_session_id @288 - lib3270_set_string @289 - lib3270_set_string_at @290 - lib3270_set_string_at_address @291 - lib3270_set_string_property @292 - lib3270_set_syslog @293 - lib3270_set_toggle @294 - lib3270_set_trace_filename @295 - lib3270_set_trace_handler @296 - lib3270_set_tso @297 - lib3270_set_uint_property @298 - lib3270_set_unlock_delay @299 - lib3270_set_url @300 - lib3270_set_user_data @301 - lib3270_setup_session @302 - lib3270_ssl_get_crl_download @303 - lib3270_ssl_set_crl_download @304 - lib3270_state_get_name @305 - lib3270_strdup @306 - lib3270_strdup_printf @307 - lib3270_strip @308 - lib3270_sysreq @309 - lib3270_testpattern @310 - lib3270_toggle @311 - lib3270_toggle_get_by_name @312 - lib3270_toggle_get_description @313 - lib3270_toggle_get_from_id @314 - lib3270_toggle_get_label @315 - lib3270_toggle_get_name @316 - lib3270_toggle_get_summary @317 - lib3270_trace_data @318 - lib3270_trace_event @319 - lib3270_translate_char @320 - lib3270_translate_ft_message @321 - lib3270_translate_to_address @322 - lib3270_unregister_action_group_listener @323 - lib3270_unregister_schange @324 - lib3270_unregister_toggle_listener @325 - lib3270_unselect @326 - lib3270_unsigned_property_get_by_name @327 - lib3270_update_poll_fd @328 - lib3270_vsprintf @329 - lib3270_wait @330 - lib3270_wait_for_connected @331 - lib3270_wait_for_cstate @332 - lib3270_wait_for_keyboard_unlock @333 - lib3270_wait_for_ready @334 - lib3270_wait_for_string @335 - lib3270_wait_for_string_at @336 - lib3270_wait_for_string_at_address @337 - lib3270_wait_for_update @338 - lib3270_win32_create_regkey @339 - lib3270_win32_get_dword @340 - lib3270_win32_local_charset @341 - lib3270_win32_set_string @342 - lib3270_win32_strerror @343 - lib3270_win32_translate_error_code @344 - lib3270_write_dstrace @345 - lib3270_write_event_trace @346 - lib3270_write_log @347 - lib3270_write_nettrace @348 - lib3270_write_rc @349 - lib3270_write_screen_trace @350 - lib3270_write_trace @351 - lib3270_write_va_log @352 +EXPORTS + lib3270_action @1 + lib3270_action_activate @2 + lib3270_action_get_by_name @3 + lib3270_action_group_get_activatable @4 + lib3270_action_group_notify @5 + lib3270_action_is_activatable @6 + lib3270_activate_by_name @7 + lib3270_add_poll_fd @8 + lib3270_allow_reconnect @9 + lib3270_asc2ebc @10 + lib3270_attn @11 + lib3270_autoptr_cleanup_HKEY @12 + lib3270_autoptr_cleanup_LIB3270_POPUP @13 + lib3270_autoptr_cleanup_char @14 + lib3270_backspace @15 + lib3270_break @16 + lib3270_build_config_filename @17 + lib3270_build_data_filename @18 + lib3270_build_filename @19 + lib3270_calloc @20 + lib3270_can_paste_next @21 + lib3270_charsettable @22 + lib3270_check_revision @23 + lib3270_chomp @24 + lib3270_chug @25 + lib3270_clear @26 + lib3270_clear_operator_error @27 + lib3270_cmp_string_at @28 + lib3270_cmp_string_at_address @29 + lib3270_connect_url @30 + lib3270_connection_state_get_name @31 + lib3270_crl_get_preferred_protocol @32 + lib3270_crl_set_preferred_protocol @33 + lib3270_cursor_down @34 + lib3270_cursor_left @35 + lib3270_cursor_right @36 + lib3270_cursor_up @37 + lib3270_cut_selected @38 + lib3270_data_recv @39 + lib3270_delete @40 + lib3270_deletefield @41 + lib3270_deleteword @42 + lib3270_disconnect @43 + lib3270_drag_selection @44 + lib3270_dup @45 + lib3270_ebc2asc @46 + lib3270_emulate_input @47 + lib3270_enter @48 + lib3270_erase @49 + lib3270_erase_selected @50 + lib3270_eraseeof @51 + lib3270_eraseeol @52 + lib3270_eraseinput @53 + lib3270_field_addr @54 + lib3270_field_length @55 + lib3270_fieldend @56 + lib3270_fieldmark @57 + lib3270_firstfield @58 + lib3270_free @59 + lib3270_ft_cancel @60 + lib3270_ft_destroy @61 + lib3270_ft_get_user_data @62 + lib3270_ft_new @63 + lib3270_ft_set_blksize @64 + lib3270_ft_set_lrecl @65 + lib3270_ft_set_options @66 + lib3270_ft_set_primspace @67 + lib3270_ft_set_secspace @68 + lib3270_ft_set_user_data @69 + lib3270_ft_start @70 + lib3270_get_action @71 + lib3270_get_actions @72 + lib3270_get_associated_luname @73 + lib3270_get_attribute_at_address @74 + lib3270_get_auto_reconnect @75 + lib3270_get_boolean_properties_list @76 + lib3270_get_color_type @77 + lib3270_get_connection_state @78 + lib3270_get_connection_state_as_string @79 + lib3270_get_contents @80 + lib3270_get_cursor_address @81 + lib3270_get_cursor_position @82 + lib3270_get_default_charset @83 + lib3270_get_default_host @84 + lib3270_get_default_session_handle @85 + lib3270_get_display_charset @86 + lib3270_get_element @87 + lib3270_get_field_attribute @88 + lib3270_get_field_bounds @89 + lib3270_get_field_end @90 + lib3270_get_field_len @91 + lib3270_get_field_start @92 + lib3270_get_field_string_at @93 + lib3270_get_ft_callbacks @94 + lib3270_get_ft_state @95 + lib3270_get_has_copy @96 + lib3270_get_has_selection @97 + lib3270_get_height @98 + lib3270_get_host @99 + lib3270_get_host_charset @100 + lib3270_get_host_type @101 + lib3270_get_host_type_name @102 + lib3270_get_installation_path @103 + lib3270_get_int_properties_list @104 + lib3270_get_int_property @105 + lib3270_get_is_protected @106 + lib3270_get_is_protected_at @107 + lib3270_get_keyboard_lock_state @108 + lib3270_get_length @109 + lib3270_get_lock_on_operator_error @110 + lib3270_get_lock_status @111 + lib3270_get_log_filename @112 + lib3270_get_lunames @113 + lib3270_get_max_height @114 + lib3270_get_max_width @115 + lib3270_get_model @116 + lib3270_get_model_name @117 + lib3270_get_model_number @118 + lib3270_get_next_unprotected @119 + lib3270_get_numeric_lock @120 + lib3270_get_oia_box_solid @121 + lib3270_get_option_list @122 + lib3270_get_oversize @123 + lib3270_get_pointer @124 + lib3270_get_product_name @125 + lib3270_get_program_message @126 + lib3270_get_program_message_as_string @127 + lib3270_get_region @128 + lib3270_get_revision @129 + lib3270_get_screen_size @130 + lib3270_get_selected @131 + lib3270_get_selected_text @132 + lib3270_get_selection @133 + lib3270_get_selection_bounds @134 + lib3270_get_selection_flags @135 + lib3270_get_selection_rectangle @136 + lib3270_get_session_callbacks @137 + lib3270_get_session_id @138 + lib3270_get_ssl_crl_text @139 + lib3270_get_ssl_peer_certificate_text @140 + lib3270_get_ssl_state @141 + lib3270_get_ssl_state_as_string @142 + lib3270_get_ssl_state_description @143 + lib3270_get_ssl_state_icon_name @144 + lib3270_get_ssl_state_message @145 + lib3270_get_string_at @146 + lib3270_get_string_at_address @147 + lib3270_get_string_properties_list @148 + lib3270_get_task_count @149 + lib3270_get_termname @150 + lib3270_get_termtype @151 + lib3270_get_toggle @152 + lib3270_get_toggle_description @153 + lib3270_get_toggle_id @154 + lib3270_get_toggle_label @155 + lib3270_get_toggle_list @156 + lib3270_get_toggle_name @157 + lib3270_get_toggle_summary @158 + lib3270_get_toggles @159 + lib3270_get_trace_filename @160 + lib3270_get_trace_handler @161 + lib3270_get_translation_domain @162 + lib3270_get_typeahead @163 + lib3270_get_undera @164 + lib3270_get_unlock_delay @165 + lib3270_get_unsigned_properties_list @166 + lib3270_get_url @167 + lib3270_get_user_data @168 + lib3270_get_version @169 + lib3270_get_version_info @170 + lib3270_get_width @171 + lib3270_get_word_bounds @172 + lib3270_getpeername @173 + lib3270_getsockname @174 + lib3270_half_connected @175 + lib3270_has_active_script @176 + lib3270_has_selection @177 + lib3270_host_get_name @178 + lib3270_iconv_free @179 + lib3270_iconv_from_host @180 + lib3270_iconv_new @181 + lib3270_iconv_to_host @182 + lib3270_in_3270 @183 + lib3270_in_ansi @184 + lib3270_in_e @185 + lib3270_in_neither @186 + lib3270_in_sscp @187 + lib3270_in_tn3270e @188 + lib3270_input_string @189 + lib3270_is_as400 @190 + lib3270_is_connected @191 + lib3270_is_disconnected @192 + lib3270_is_formatted @193 + lib3270_is_protected @194 + lib3270_is_ready @195 + lib3270_is_secure @196 + lib3270_is_selected @197 + lib3270_is_tso @198 + lib3270_is_unlocked @199 + lib3270_kybdreset @200 + lib3270_load @201 + lib3270_main_iterate @202 + lib3270_malloc @203 + lib3270_move_cursor @204 + lib3270_move_selected_area @205 + lib3270_move_selection @206 + lib3270_newline @207 + lib3270_nextfield @208 + lib3270_nextword @209 + lib3270_pakey @210 + lib3270_parse_host_type @211 + lib3270_paste_next @212 + lib3270_paste_text @213 + lib3270_pconnected @214 + lib3270_pfkey @215 + lib3270_popup @216 + lib3270_popup_an_errno @217 + lib3270_popup_clone_printf @218 + lib3270_popup_dialog @219 + lib3270_popup_va @220 + lib3270_previousfield @221 + lib3270_previousword @222 + lib3270_print @223 + lib3270_print_all @224 + lib3270_print_copy @225 + lib3270_print_selected @226 + lib3270_property_get_by_name @227 + lib3270_property_get_description @228 + lib3270_property_get_label @229 + lib3270_property_get_name @230 + lib3270_property_get_summary @231 + lib3270_property_get_tooltip @232 + lib3270_realloc @233 + lib3270_receive @234 + lib3270_reconnect @235 + lib3270_register_action_group_listener @236 + lib3270_register_fd_handlers @237 + lib3270_register_io_controller @238 + lib3270_register_schange @239 + lib3270_register_timer_handlers @240 + lib3270_register_toggle_listener @241 + lib3270_remap_char @242 + lib3270_remove_poll @243 + lib3270_remove_poll_fd @244 + lib3270_reselect @245 + lib3270_reset_callbacks @246 + lib3270_reset_charset @247 + lib3270_reset_ft_callbacks @248 + lib3270_ring_bell @249 + lib3270_run_task @250 + lib3270_save @251 + lib3270_save_all @252 + lib3270_save_copy @253 + lib3270_save_selected @254 + lib3270_select_all @255 + lib3270_select_field @256 + lib3270_select_field_at @257 + lib3270_select_region @258 + lib3270_select_to @259 + lib3270_select_word @260 + lib3270_select_word_at @261 + lib3270_selection_get_length @262 + lib3270_selection_new @263 + lib3270_send @264 + lib3270_service_get_name @265 + lib3270_session_free @266 + lib3270_session_new @267 + lib3270_set_as400 @268 + lib3270_set_auto_reconnect @269 + lib3270_set_boolean_property @270 + lib3270_set_color_type @271 + lib3270_set_connected_initial @272 + lib3270_set_cursor_address @273 + lib3270_set_cursor_position @274 + lib3270_set_dft_buffersize @275 + lib3270_set_disconnected @276 + lib3270_set_field @277 + lib3270_set_has_copy @278 + lib3270_set_host_charset @279 + lib3270_set_host_type @280 + lib3270_set_host_type_by_name @281 + lib3270_set_int_property @282 + lib3270_set_lock_on_operator_error @283 + lib3270_set_log_filename @284 + lib3270_set_log_handler @285 + lib3270_set_lunames @286 + lib3270_set_model @287 + lib3270_set_model_name @288 + lib3270_set_model_number @289 + lib3270_set_numeric_lock @290 + lib3270_set_oversize @291 + lib3270_set_poll_state @292 + lib3270_set_popup_handler @293 + lib3270_set_session_id @294 + lib3270_set_string @295 + lib3270_set_string_at @296 + lib3270_set_string_at_address @297 + lib3270_set_string_property @298 + lib3270_set_syslog @299 + lib3270_set_toggle @300 + lib3270_set_trace_filename @301 + lib3270_set_trace_handler @302 + lib3270_set_tso @303 + lib3270_set_uint_property @304 + lib3270_set_unlock_delay @305 + lib3270_set_url @306 + lib3270_set_user_data @307 + lib3270_setup_session @308 + lib3270_ssl_get_crl_download @309 + lib3270_ssl_set_crl_download @310 + lib3270_state_get_name @311 + lib3270_strdup @312 + lib3270_strdup_printf @313 + lib3270_strip @314 + lib3270_sysreq @315 + lib3270_testpattern @316 + lib3270_toggle @317 + lib3270_toggle_get_by_name @318 + lib3270_toggle_get_description @319 + lib3270_toggle_get_from_id @320 + lib3270_toggle_get_label @321 + lib3270_toggle_get_name @322 + lib3270_toggle_get_summary @323 + lib3270_trace_data @324 + lib3270_trace_event @325 + lib3270_translate_char @326 + lib3270_translate_ft_message @327 + lib3270_translate_to_address @328 + lib3270_unregister_action_group_listener @329 + lib3270_unregister_schange @330 + lib3270_unregister_toggle_listener @331 + lib3270_unselect @332 + lib3270_unsigned_property_get_by_name @333 + lib3270_update_poll_fd @334 + lib3270_vsprintf @335 + lib3270_wait @336 + lib3270_wait_for_connected @337 + lib3270_wait_for_cstate @338 + lib3270_wait_for_keyboard_unlock @339 + lib3270_wait_for_ready @340 + lib3270_wait_for_string @341 + lib3270_wait_for_string_at @342 + lib3270_wait_for_string_at_address @343 + lib3270_wait_for_update @344 + lib3270_win32_create_regkey @345 + lib3270_win32_get_dword @346 + lib3270_win32_local_charset @347 + lib3270_win32_set_string @348 + lib3270_win32_strerror @349 + lib3270_win32_translate_error_code @350 + lib3270_write_dstrace @351 + lib3270_write_event_trace @352 + lib3270_write_log @353 + lib3270_write_nettrace @354 + lib3270_write_rc @355 + lib3270_write_screen_trace @356 + lib3270_write_trace @357 + lib3270_write_va_log @358 -- libgit2 0.21.2