三 ┏( ^o^)┛ < Japanese Input Method SKK (Simple Kana to Kanji conversion) on your terminal
Project description
What is this?
This program provides Simple Kana Kanji conversion (SKK) input method service to your terminal. It depends on Canossa(https://github.com/saitoha/canossa), which is an off-screen terminal emulation service, Canossa makes application enable to restore specified screen region on demand!! So this SKK service can provide cool popup feature.
Install
via github
$ git clone --recursive https://github.com/saitoha/sentimental-skk.git sentimental-skk $ cd sentimental-skk $ python setup.py install
or via pip
$ pip install sentimental-skk
Usage
$ sskk [options]
Options:
-h, --help show this help message and exit --version show version -t TERM, --term=TERM override TERM environment variable -l LANG, --lang=LANG override LANG environment variable -o ENC, --outenc=ENC set output encoding -u, --use-titlebar use title bar manipulation feature
How It Works
PTY and Normal Terminal/Application:
+---------------------------------------------+ | Terminal | +---------+-----------------------------------+ | +---------|-----------------------------------+ | +------+-------+ +---------------+ | | | Master |========| Slave | | | +--------------+ +-------+-------+ | +----------------------------------|----------+ | +----------------------------------+----------+ | Application | +---------------------------------------------+
TFF (Terminal Filter Framework):
Scanner Event Driven Parser Event Dispatcher +-----+ +-----+ +-----+ << I/O Stream >> | | << CodePoint Stream >> | | << Event Stream >> | | << I/O Stream >> ------------------->| |------------------------>| |-------------------->| |---||--------------------> (Raw Sequences) | | (Unicode Points) | | (Function Call) | | (Raw Sequences) +-----+ +-----+ +--+--+ ISO-2022 ISO-6429 | Compatible Parsing | v +-----+ Event Observer | | << I/O Stream >> (I/O Handler) | |---||--------------------> | | (Raw Sequences) +-----+
sskk
+---------------------------------------------+ | | | Terminal | | | +---------------------------------------------+ | ^ | | < input > < output > | | | +----------------+ | | [ PTY 1 ] +------|------|-------------------------------+ | v | | | +----------+---+ +----------------+ | | | Master |=======| Slave | | | +--------------+ +--+-------------+ | | | ^ | +----------------------------|--------|-------+ | | < input > | | | +---------------+ < output > | | [ sskk ] | | +------------|------------------------|---------------+ | | | | | | |<--------------------------+ | | | | | | v | | | | +-----------------+ +-------+--------+ | +------+------+ | | | | | | | | | | | | | | | | | | InputHandler | | OutputHandler | | | Canossa | | | | | | | | | | | | | | | | | | +--------+--------+ +----------------+ | +-------------+ | | ^ | ^ | | | | | | | | | | | | +-------------------+ | | | | | | | | | | | TFF Multiplexer +-----------------+ | | | | | | | +---------+---------+ | | | | | +------------|------------------------|---------------+ | | < input > < output > | | | +----------------+ | | | | [ PTY 2 ] +-------|-------|-----------------------------+ | v | | | +------------+--+ +---------------+ | | | Master |=======| Slave | | | +---------------+ +----+----------+ | | | ^ | +-------------------------------|------|------+ | | +--------------------+ | | | < input > < output > | | v | +----------------+---------------------------------------------+ | | | Application Process | | | +--------------------------------------------------------------+
Dependency
Masahiko Sato et al./SKK Development Team’s SKK-JISYO.L
This package includes the large SKK dictionary, SKK-JISYO.L. http://openlab.jp/skk/skk/dic/SKK-JISYO.L
wcwidth.py https://svn.wso2.org/repos/wso2/carbon/platform/trunk/dependencies/cassandra/pylib/cqlshlib/wcwidth.py (Licensed under Apache License 2.0)
Hayaki Saito’s Canossa https://github.com/saitoha/canossa
Hayaki Saito’s TFF, Terminal Filter Framework https://github.com/saitoha/tff
Hayaki Saito’s termprop https://github.com/saitoha/tff
Reference
Daredevil SKK (DDSKK) http://openlab.ring.gr.jp/skk/ddskk-ja.html
Unicode Text Editor MinEd http://towo.net/mined/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for sentimental_skk-0.0.47-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 722505c942ff9f8c44998b185df6b7a7d9d76aabbf7bb7c69962c86264c29046 |
|
MD5 | c1f5f8286bd9e2fe77bf909de09ebccb |
|
BLAKE2b-256 | bd5f05b2650c3a61dca6e8daa4726a11cf4a19dec678a519cab7f74f2ec6b0a7 |
Hashes for sentimental_skk-0.0.47-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d2bf7b48f93699e9089e7c3e22b22f023a2e05d7a00cb8a0fd1866d8a77dde1 |
|
MD5 | e36a4807306263fc403a5070a148eb4f |
|
BLAKE2b-256 | 72a0ccfda94b9a4ff699d9b0620848b7a57cddf6a4916b1f6a2513fa47e69ea2 |