0x7678 / Term48

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Term48 is a terminal emulator for BlackBerry. It implements (relevant parts of) the ECMA-48 standard, but also includes some other control sequences to make it compliant with the xterm-256color terminfo specification. It is a work in progress, but is good enough to be used regularly by the author.

You can get Term48 from BB World.

http://appworld.blackberry.com/webstore/content/26272878/

The current version runs on BB10 devices, and requires version >= 10.3. An older version is available for the Playbook.

To compile Term48, you will need some additional libraries:

Once these have been downloaded and compiled with the BlackBerry dev tools, you can build Term48 like so:

  • Create a new C/C++ project in Momentics
  • Pull down the source from this repo into the src directory of your project
  • Add libSDL12.so, libTouchControlOverlay.so, and libconfig.so.10 as assets in bar-descriptor.xml
  • In the project Properties, under C/C++ Build/Settings:
    • Add the following include directories to the QCC Compiler Preprocessor:
      • SDL/include
      • TouchControlOverlay/inc
      • libconfig/include
    • Under the QCC Compiler Preprocessor Defines, add __PLAYBOOK__
    • Under the QCC Linker Libraries, add the following Library Paths:
      • SDL12/Device-Release
      • TouchControlOverlay/Device-Release
      • libconfig/lib
    • Under the QCC Linker Libraries, add the following Libraries:
      • bps
      • icui18n
      • icuuc
      • SDL12
      • screen
      • m
      • freetype
      • TouchControlOverlay
      • config
      • clipboard
  • In the project Properties, under Project References, you can check the boxes for SDL12 and TouchControlOverlay if you like.

Once this is done, the Term48 source should compile and link. You can set whatever PackageID and whatnot that you like in the bar-descriptor.xml file. If you want to be able to access shared files on the device, check the 'Files' box under Application/Permissions.

As this is a work in progress, pull requests or feature requests are welcome. Please report any bugs with an Issue.

About

License:Apache License 2.0


Languages

Language:C 100.0%