[Cuis-dev] [RFC] AsciArt for UnicodeInput

Luciano Notarfrancesco luchiano at gmail.com
Mon Nov 6 11:34:14 PST 2023


Hi Gerald,
Some of those are already implemented, for example you can input subscripts
and superscripts like \^n or \_0. Also you can extend the named characters
by adding entries to the Dictionary of named characters (in
UnicodeCodePoint class), you can add entries to the dictionary or change
the initialization method that creates the default named characters.

On Tue, Nov 7, 2023 at 01:55 Gerald Klix <cuis.01 at klix.ch> wrote:

> Hi all, Hi Juan,
>
> I found it a bit tedious to remember various Unicode codes points
> to just input characters like ⧐, therefore I added a method
> to input them conveniently.
>
> With the attached change set, you type \.||> ("\." is the prefix
> just like "\+" for numerical input) in any text editor,
> this input will be replaced replaced by ⧐ after you enter a space.
>
> *Question: Is this the way to go?*
>
> The implementation is a bit crude
> and needs to be refined if we add this concept to the core image.
>
>
> Best Regards,
>
> Gerald
>
>
>
> Encl.:
> Current symbol mappings:
>
>    '
>    "    ̈
>    $$    $
>    $B    ฿
>    $C    ₵
>    $E    €
>    $L    ₺
>    $N    ₪
>    $NIS    ₪
>    $P    £
>    $R    ₹
>    $W    ₩
>    $Y    ¥
>    ''    ́
>    (C)    ©
>    (TM)    ™
>    **    ×
>    +-    ±
>    --    —
>    -->    ⟶
>    --|    ⊣
>    -/->    ↛
>    ->    →
>    ->>    ↠
>    ->|    ⇥
>    -^^    ↟
>    -|->    ⇸
>    -||->    ⇻
>    -[>    ⇾
>    -__    ↡
>    ...    …
>    .;^    ⋰
>    //    ÷
>    0*    ⊛
>    0+    ⊕
>    0+>    ⟴
>    0-    ⊖
>    0.    ⊙
>    0/    ⊘
>    00    ∘
>    0;    ⊝
>    0=    ⊜
>    0C    ℃
>    0F    ℉
>    0O    ∙
>    0x    ⊗
>    2->    ⇉
>    2^    ⇈
>    2_    ⇊
>    3->    ⇛
>    :-)    😀
>    ;-)    😉
>    ;;;    ⋯
>    ;;>    ⇢
>    ;;^    ⇡
>    ;;_    ⇣
>    <-    ←
>    <--    ⟵
>    <-->    ⟷
>    <--|    ⟻
>    <-/-    ↚
>    <-<    ↢
>    <->    ↔
>    <-|    ↤
>    <-|-    ⇷
>    <-|->    ⇹
>    <-||-    ⇺
>    <-||->    ⇼
>    <3-    ⇚
>    <::    ⇠
>    <<    «
>    <<-    ↞
>    <=    ⇐
>    <==>    ⟺
>    <==|    ⟽
>    <=>    ⇔
>    <=|    ⤆
>    <|    ⊲
>    <||    ⧏
>    <~    ⇜
>    <]-    ⇽
>    <{    ⟨
>    =/    ≠
>    =<    ≤
>    =>    ⇒
>    >->    ↣
>    ><<    ⧒
>    >=    ≥
>    >>    »
>    >><    ⧑
>    >><<    ⧓
>    >^    ↑
>    >_    ↓
>    \/\_    ↯
>    ^+    ⁺
>    ^-    ⁻
>    ^0    ⁰
>    ^1    ¹
>    ^2    ²
>    ^3    ³
>    ^4    ⁴
>    ^5    ⁵
>    ^6    ⁶
>    ^7    ⁷
>    ^8    ⁸
>    ^9    ⁹
>    ^;.    ⋱
>    ^><<    ⧕
>    ^|    ⌉
>    ^i    ⁱ
>    ^n    ⁿ
>    ^o    °
>    ^_    ↕
>    |+    ⊧
>    |-    ⊦
>    |--    ⊢
>    |-->    ⟼
>    |->    ↦
>    |<-    ⇤
>    |==    ⊨
>    |==>    ⟾
>    |=>    ⤇
>    |>    ⊳
>    |^    ⌈
>    |^>    ↥
>    ||-    ⊩
>    ||=    ⊫
>    ||>    ⧐
>    |||-    ⊪
>    |]    ⟧
>    |_    ⌊
>    |_>    ↧
>    |}    ⦄
>    ~    ̃
>    ~=    ≠
>    ~>    ⇝
>    ~~>    ⟿
>    [+]    ⊞
>    [.]    ⊡
>    [|    ⟦
>    [x]    ⊠
>    _+    ₊
>    _-    ₋
>    _0    ₀
>    _1    ₁
>    _2    ₂
>    _3    ₃
>    _4    ₄
>    _5    ₅
>    _6    ₆
>    _7    ₇
>    _8    ₈
>    _9    ₉
>    _|    ⌋
>    _h    ₕ
>    _i    ᵢ
>    _j    ⱼ
>    _k    ₖ
>    _l    ₗ
>    _m    ₘ
>    _n    ₙ
>    _p    ₚ
>    _r    ᵣ
>    _s    ₛ
>    _t    ₜ
>    _u    ᵤ
>    _v    ᵥ
>    `    ̀
>    {|    ⦃
>    }>    ⟩' .
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231107/25cca372/attachment-0001.htm>


More information about the Cuis-dev mailing list