From f9fefa545da0fd27259c2d44354d026d100c9c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Haoran=20S=2E=20Diao=20=28=E5=88=81=E6=B5=A9=E7=84=B6=29?=
<0@hairydiode.xyz>
Date: Sat, 25 Nov 2023 05:27:56 -0800
Subject: Edited some stuf
---
cont/jankime.html | 10 +++++-----
cont/unihome.html | 2 +-
fourcorners.html | 44 ++++++++++++++++++++++++++++++++++++++++++++
index.html | 1 +
jankime.html | 10 +++++-----
unihome.html | 7 ++++++-
6 files changed, 62 insertions(+), 12 deletions(-)
create mode 100644 fourcorners.html
diff --git a/cont/jankime.html b/cont/jankime.html
index c56766f..1f3a94f 100644
--- a/cont/jankime.html
+++ b/cont/jankime.html
@@ -4,11 +4,11 @@
--------------------------------------------------------------------------------
[SETTITLE]Janky IME
[SETDATE]6-29-2023
-UPDATE: This IME is now tmux based, old xdotool version is still here
+UPDATE: This IME is now tmux based, old xdotool version is still here
UPDATE2: I have created the most cursed thing in existance. Full unicode display
and input support in the linux console using only userland bash/busybox and
-tmux. See we have unicode at home
+tmux. See we have unicode at home
A new python version came out, so of course that means every python package on
my rolling-release system has broken. This includes ibus, which I need for my
@@ -51,7 +51,7 @@ The Implementation:
Input is read with read in a loop
- CODE:
+ CODE:
OIFS=$IFS
export IFS=""; read -rsn1 i
IFS=$OIFS
@@ -66,7 +66,7 @@ The Implementation:
I then simply run grep ^$code\s, rearrange the columns with awk and sort,
then take out the ranking column
- CODE:
+ CODE:
opt=$(grep "^$code\s" ~/lang/zh/boshiamy/ibus-boshiamy/boshiamy.txt |\
#remove simplfied
grep -v 98|\
@@ -79,7 +79,7 @@ The Implementation:
conversion of the input characters from line seperated to space
seperated was done for free. However this makes the code less portable
- CODE:
+ CODE:
char=$(echo $opt | awk "{print \$1}")
...
tmux send-key -t "!" "$char"
diff --git a/cont/unihome.html b/cont/unihome.html
index 71c146a..199cce0 100644
--- a/cont/unihome.html
+++ b/cont/unihome.html
@@ -109,7 +109,7 @@ braille display from before. I also wrote a little script that displays all the
non-ASCII characters in the previously focused tmux pane, so together we can
both display and input utf-8 characters in the linux console using tmux.
-see the code and writeup
+see the code and writeup
"Screenshots" below:
diff --git a/fourcorners.html b/fourcorners.html
new file mode 100644
index 0000000..03da45c
--- /dev/null
+++ b/fourcorners.html
@@ -0,0 +1,44 @@
+
+
+
+
+--------------------------------------------------------------------------------
+
+>HairyDiode
+
+--------------------------------------------------------------------------------
+Four Corners Input Method for ibus-table 11-25-2023
+--------------------------------------------------------------------------------
+
+I noticed that ibus-table lacked a four corners input method online so I made
+one myself based off UniHan database data. One issue is that ibus does not
+distinguish between numpad and regular keyboard keys, otherwise this input
+method would allow for typing both Chinese and English without having to even
+switch IMEs. Also UniHan's data is incomplete, so I'll probably have to use data
+from the Variant Character Dictionary or something.
+
+我發現 ibus-table 沒有四角輸入法,因此我編了一方。數據來自統一碼漢字數據庫。可惜
+ibus 無法分別小鍵盤上的鍵, 要不該輸入法可英漢同時輸入。其外統一碼的數據不全,所
+以以后我該用『異體字字典』之類的數據。
+
+源碼/Code
+
+
+