Skip to content

Python bindings (through SWIG) for TurboVision by Salvador Tropea

License

Notifications You must be signed in to change notification settings

georghe-crihan/PyTvision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTVison - Python bindings (through SWIG) for TurboVision by Salvador Tropea

Initial SWIG bindings are Copyright (C) 2004 Alex Novgorodov (drdivano).

PyTVision taken from: http://pytvision.sourceforge.net

Archive URL: https://sourceforge.net/projects/pytvision/files/pytvision/0.0.2/.

TVision 2.0.2 by Salvador E. Tropea (SET) taken from: https://sourceforge.net/projects/tvision/files/DOS_Win32/2.0.2/

DONE:

  • Builds and runs under OSX Sierra with XCode CLANG and ncurses, although it does require macports for SWIG.
  • All the examples from TurboVision distribution, apart from those requiring libintl and TurboVision Streams, compile and work in console and XQuartz GUI.

TODO:

  • Fix core dump when run from Python under console and XQuartz.
  • Possibly support Java bindings to allow use with Jython.
  • Possibly enable libintl support.
  • Possibly add TurboVision Streams support.

DESCRIPTION

This is PyTVision - a set of Python bindings for Turbo Vision.

The distribution includes a version of Turbo Vision, with removed streams and some other minor modifications, to simpify wrappers and reduce bloat. (There are plans to create even smaller version of Turbo Vision, by adding a preprocessor definition, that disables its rarely used features).

The current version PyTVision compiles under Linux and under DOS using DJGPP/PythonD (although creating proper compile environment under DOS is a non-trivial task).

BUILDING

To build the module you will need swig 1.3.21.

Use the following to build the module and run the example under Linux:

cd tvision-py
sh configure --no-intl
make
cd ..

python setup.py build --build-lib .

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/tvision-py/makes
python test.py

About

Python bindings (through SWIG) for TurboVision by Salvador Tropea

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published