ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/share/m17n/cjk-util.mim

93 lines
3.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

;; cjk-util.mim -- Provide utilities for CJK input methods.
;; Copyright (C) 2005, 2007, 2008
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H15PRO112
;; This file is part of the m17n library.
;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.
;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; Lesser General Public License for more details.
;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
(input-method t nil cjk-util)
(description "Provide utilities for CJK input methods.
This is acutually not a standalone input method, but is expected
to be included in the other input method (e.g. zh-py).
The fullwidth mode is turned on by typing \">>\", and turned off
by typing \"<<\".
The single fullwidth mode is turned on by typing \"Z\". In this
mode, any key typed is converted to the fullwidth character and
is inserted, then the mode is turned off.
")
(map
(fullwidth
(" " ? ) ("!" ?) ("\"" ?) ("#" ?)
("$" ("$¢£¥₩")) ("%" ?) ("&" ?) ("'" ?)
("(" ?\) (")" ?\) ("*" ?) ("+" ?)
("," ?) ("-" ?) ("." ?) ("/" ?)
("0" ?) ("1" ?) ("2" ?) ("3" ?)
("4" ?) ("5" ?) ("6" ?) ("7" ?)
("8" ?) ("9" ?) (":" ?) (";" ?)
("<" ?) ("=" ?) (">" ?) ("?" ?)
("@" ?) ("A" ?) ("B" ?) ("C" ?)
("D" ?) ("E" ?) ("F" ?) ("G" ?)
("H" ?) ("I" ?) ("J" ?) ("K" ?)
("L" ?) ("M" ?) ("N" ?) ("O" ?)
("P" ?) ("Q" ?) ("R" ?) ("S" ?)
("T" ?) ("U" ?) ("V" ?) ("W" ?)
("X" ?) ("Y" ?) ("Z" ?) ("[" ?\)
("\\" ?) ("]" ?\) ("^" ?) ("_" ?_)
("`" ?) ("a" ?) ("b" ?) ("c" ?)
("d" ?) ("e" ?) ("f" ?) ("g" ?)
("h" ?) ("i" ?) ("j" ?) ("k" ?)
("l" ?) ("m" ?) ("n" ?) ("o" ?)
("p" ?) ("q" ?) ("r" ?) ("s" ?)
("t" ?) ("u" ?) ("v" ?) ("w" ?)
("x" ?) ("y" ?) ("z" ?) ("{" ?\)
("|" ?) ("}" ?\) ("~" ?)
((cent) ?¢)
((sterling) ?£)
((notsign) ?¬)
((brokenbar) ?¦)
((yen) ?¥)
((Korean_Won) ?₩))
(enter-fullwidth-mode
(">>"))
(exit-fullwidth-mode
("<<"))
(enter-single-fullwidth-mode
("Z")))
(state
(fullwidth-mode
""
(fullwidth (commit))
(exit-fullwidth-mode (shift t))
(nil (unhandle)))
(single-fullwidth-mode
""
(fullwidth (commit) (shift t))))
;; Local Variables:
;; mode: lisp
;; coding: utf-8
;; End: