Name Last Update
.github Loading commit data...
.vscode Loading commit data...
arch Loading commit data...
branding Loading commit data...
conf Loading commit data...
debian Loading commit data...
doxygen Loading commit data...
glade Loading commit data...
locale Loading commit data...
remap Loading commit data...
rpm Loading commit data...
sdk Loading commit data...
src Loading commit data...
testscripts Loading commit data...
win Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
LICENCA Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
colors.conf Loading commit data...
configure.ac Loading commit data...
gitsync.sh Loading commit data...
gtkdoc.sh Loading commit data...
pushtag.sh Loading commit data...
test.glade Loading commit data...
v3270.cbp Loading commit data...
valgrind.suppression Loading commit data...

README.md

3270 Virtual Terminal for GTK.

Created originally as part of PW3270 application.

See more details at https://softwarepublico.gov.br/social/pw3270/

Instalation

Linux

For the supported distributions get the install repositories and instructions from https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=libv3270

Windows

  • TODO

Building for Linux

Requirements

Building

  • TODO

Building for windows

Cross-compiling on SuSE Linux (Native or WSL) - The easier way!

  1. Add the MinGW Repositories
sudo zypper ar obs://windows:mingw:win32 mingw32
sudo zypper ar obs://windows:mingw:win64 mingw64
sudo zypper ref
  1. Get libv3270 sources from git
git clone https://github.com/PerryWerneck/libv3270.git ./v3270
  1. Install 64 bits cross compilers
./v3270/win/install-cross.sh --64
  1. Configure 64 bits build environment
./v3270/win/win-configure.sh --64
  1. Build
cd v3270
make clean
make all

Compiling on Windows (With MSYS2)

  1. Build and install lib3270

  2. Install the required libraries

pacman -S mingw-w64-x86_64-gtk3
  1. Get libv3270 sources from git
git clone https://github.com/PerryWerneck/libv3270.git ./libv3270
  1. Build library using the mingw shell
cd libv3270
./autogen.sh
make all

Building for macOS (using homebrew)

  1. Build and install lib3270

  2. Install additional dependencies

    $ brew install gtk+3
    
  3. Configure, build and install

    $ ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.3"
    $ make all && make install
    $ brew link libv3270
    

Uninstalling

  1. To uninstall

    $ brew unlink libv3270
    $ rm -fr "$(brew --cellar)/libv3270"