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


Download files

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

Source Distribution

drcsterm-0.1.2.tar.gz (24.7 kB view details)

Uploaded Source

Built Distributions

drcsterm-0.1.2-py2.7.egg (31.9 kB view details)

Uploaded Source

drcsterm-0.1.2-py2.6.egg (31.8 kB view details)

Uploaded Source

File details

Details for the file drcsterm-0.1.2.tar.gz.

File metadata

  • Download URL: drcsterm-0.1.2.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for drcsterm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1cbaf50a761e38e5a837b6433ad6b586605b679154f3edbc2e8d8079e76b315c
MD5 ea3e50e80f63785478c0cf3e9e92d650
BLAKE2b-256 a8c1e62c53569fda5f80869a9ec88f561f274d81c01fee69dce773aca0c805e1

See more details on using hashes here.

File details

Details for the file drcsterm-0.1.2-py2.7.egg.

File metadata

  • Download URL: drcsterm-0.1.2-py2.7.egg
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for drcsterm-0.1.2-py2.7.egg
Algorithm Hash digest
SHA256 d48a826fd7e42d858088ce8080f6ae8608ec8b69cf22c48ed1d1480196a83ef2
MD5 c81b9f2196311bf5bd8c111d368cd9d3
BLAKE2b-256 7cdb13ff472a83e22801d36f34ed32b6d9e8f31bfd5c1dc4b39aeb37a7d9bfc8

See more details on using hashes here.

File details

Details for the file drcsterm-0.1.2-py2.6.egg.

File metadata

  • Download URL: drcsterm-0.1.2-py2.6.egg
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for drcsterm-0.1.2-py2.6.egg
Algorithm Hash digest
SHA256 81881b2598bfa1cd7c12aca0aa26e8e2c800a5ef553a8eb0599337619a1770fe
MD5 d7294d6b428b259d48b483d1f90e0bf3
BLAKE2b-256 cec9af98bf17555efe13ec828ba2afedd20fe66eb7abe5ca4611b23bbd995dfa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page