Skip to main content

UCS Private Area (Plain 16) -> DRCS conversion filter for terminal

Project description

What is This

DRCSTerm aims at reviving the DRCS(Dynamically Redefined Character Set) feature to the Terminal World. It provides the character mapping service which converts some UCS Private Area (Plain 16) characters to ISO-2022 designation sequences on your terminal.

Enable/Disable Mapping

DRCSTerm reserves private mode 8800-8805

Example for DRCSMMv1:

  • Enable mapping service version 1:

    CSI ? 8800 h
    
  • Disable mapping service version 1:

    CSI ? 8800 l
    

Mapping Rule

DRCSTerm uses UCS 16 Plane (U+100000-U+10FFFF). If output character stream includes characters in this range, such as;

U+10XXYY ( 0x40 <= 0xXX <=0x7E, 0x20 <= 0xYY <= 0x7F )

DRCSTerm convert them into fllowing ISO-2022 Designatin Format:

ESC ( SP <\xXX> <\xYY> ESC ( B

Install

via github

$ git clone --recursive https://github.com/saitoha/drcsterm.git
$ cd drcsterm
$ python setup.py install

or via pip

$ pip install drcsterm

Usage

$ drcsterm [options] command
  • Options:

    -h, --help                  show this help message and exit
    --version                   show version
    -t TERM, --term=TERM        override TERM environment variable
    

Dependency

Reference

Project details


Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
drcsterm-0.1.2-py2.6.egg (31.8 kB) Copy SHA256 hash SHA256 Egg 2.6 Feb 11, 2014
drcsterm-0.1.2-py2.7.egg (31.9 kB) Copy SHA256 hash SHA256 Egg 2.7 Feb 11, 2014
drcsterm-0.1.2.tar.gz (24.7 kB) Copy SHA256 hash SHA256 Source None Feb 11, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page