                    ** uim-fep **

Uim-fep is a FEP (Front End Processer). Front End Processer is as same as input
method, in Japanese.

INSTALL
=======

See INSTALL.

How to USE
==========

 Set the environment variable LANG. You can use also LC_ALL or LC_CTYPE.

 Ex.1 example using sh
 $ LANG=ja_JP.eucjp ; export LANG
 
 Ex.2 example using csh
 % setenv LANG ja_JP.utf8

 and exec uim-fep.

 $ uim-fep

 If you want yo know the key binds, see the manual of uim.


* Environment variables
  o TERM
    Set the terminal name in terminfo/termcap.
    You must set this variable correctly otherwise fail to use uim-fep.

  o SHELL
    Set the program name after uim-fep execed.
    You can specify both relative path and absolute path.
    
  o UIM_FEP
    Set the name of conversion engine. E.G. anthy, skk, ...

  o LC_ALL LC_CTYPE LANG
    Detecting the language and encoding in accordance with this order.

  o WINDOW
    backtickȤäƤȤɽޤ

  o UIM_FEP_PID
    PID (Process ID) of uim-fep.

  o UIM_FEP_GETMODE
    uim-fepΥ⡼ɤ񤭹ޤեǤ

  o UIM_FEP_SETMODE
    Υե˥⡼ɤ񤭹uim-fepΥ⡼ɤѤޤ
    $ echo 0 > $UIM_FEP_SETMODE

  o LIBUIM_USER_SCM_FILE
    Set the path of the uim's configuration file.
    In default, uim-fep uses ~/.uim

* Options 
  Options are given priority over environment variables if conflicted.

  o -u [skk/anthy/canna/tcode/tutcode/prime]
    You can set conversion engine name.

  o -s [lastline/backtick/none]
    Set the location where status line is displayed
    Also you can use abbreviated opsions -sl, -sb, -sn.

  o -b <file>
    Set the socket path which is used by backtik.
    When you set relative path, its base path is ~/.uim.d/fep/

  o -w <num>
    Width of status line. This variable is used if it's in from 1 to width of terminal.
  
  o -t <seconds>
    When you are using rsh,  you may not use some keys such as "F1",
    "up", "<Alt>a". This problem is caused because escape-sequence
    doesn't be committed at once.
    You can solve this problem by setting the waiting time after
    inputting escape.
    In default, waiting time is zero second.

    Example: Set the waiting time 0.1 second
    $ uim-fep -t 0.1

  o -c  This option make the character which is located at cursorposition look inverted.
        kterm, aterm, rxvt, teraterm(Ǥʤξ)ʤɤü
        Ǥȿž줿ʸ˥뤬ȿžä뤳Ȥޤ
        Τ褦ʾϤΥץդȿžʸ˥뤬
        Ȥȿž褦ˤʤޤ

  o -i  ơ饤褷ƤȤץꥨǥå(̤ʸ)
        ʳԽƤȤ˥Ū˾äޤ
        λˤʤȤϤΥץդƤ

  o -e command arg1 arg2 ...
    ư륳ޥɤꤷޤΥץʹߤΰ
    commandϤޤ

  o -h This option show help messages.

  o -v This option show version.


How to use backtick
===================
  First, put your uim-fep-tick to the directory in the PATH list.
  Second, in ~/.screenrc, write down following lines,

    backtick 0 0 0 uim-fep-tick
    hardstatus alwayslastline "%0`"

  last, exec uim-fep in the window of screen with -s option,

    $ uim-fep -s backtick

  o Options of uim-fep-tick
    * -s <file>
      You can specify the socket path.
      When you set relative path, its base path is ~/.uim.d/fep/

    * -h Display the help message

    * -v Display the version info of uim-fep
  
  o uim-fepscreenʣΥɥǵưǤޤ

  o uim-fep-tickscreen鵯ư뤿ᡢscreenδĶѿѤ
    ޤ


* ~/.uim񤯤Ȥ
  a .. z                ->        "a" .. "z"
  A .. Z                ->        "A" .. "Z" (or "<Shift>A" ..  "<Shift>Z")
  C-a .. C-z            ->        "<Control>a" .. <Control>z"
  M-a .. M-z            ->        "<Alt>a" .. "<Alt>z"
  M-A .. M-Z            ->        "<Alt>A" ..  "<Alt>Z" (or "<Alt><Shift>A" .. "<Alt><Shift>Z")
  M-C-a .. M-C-z        ->        "<Control><Alt>a" ..  "<Control><Alt>z"
  return                ->        "<Control>m"
  backspace(C-hΤȤ)  ->        "<Control>h"
  backspace(C-?ΤȤ)  ->        "<Control>?"
  backspace(ʳ)   ->        "backspace"
  tab                   ->        "<Control>i"
  del, C-?              ->        "delete"
  esc, C-[              ->        "escape"
  C-\                   ->        "<Control>\\"
  C-]                   ->        "<Control>]"
  C-^                   ->        "<Control>^"
  C-_                   ->        "<Control>_"
  C-space               ->        "<Control> "
  M-esc, M-C-[          ->        "<Alt>escape"
  M-C-\                 ->        "<Alt><Control>\\"
  M-C-]                 ->        "<Alt><Control>]"
  M-C-^                 ->        "<Alt><Control>^"
  M-C-_                 ->        "<Alt><Control>_"
  M-C-space             ->        "<Alt><Control> "
                ->        "up" "down" "right" "left"
  F1 .. F12             ->        "F1" .. "F12"
  Home                  ->        "home"
  End                   ->        "end"
  PageUp                ->        "prior"
  PageDown              ->        "next"
  Insert                ->        Ȥޤ

  o If you want to use Alt key, you should 
ȤˤAlt򲡤ʤ¾Υ򲡤Ȥˡ^[Ϥ
  褦ˤޤ
  mltermξ~/.mlterm/main˼Τ褦˽񤭤ޤ
    mod_meta_mode=esc
  ktermξ~/.Xresource~/.Xdefaults˼Τ褦˽񤭤ޤ
    KTerm*EightBitInput: false

  o Some terminals accept "<Alt>F1", "<Alt>right" correctly

  o You cannot input "shift-space"

  o prime-wide-latin-key?"<Control>L"ϤǤޤ

  o You cannot input "shift-backspace"

  o If you set nr-candidate-max to 0, you can indcate many candidate
    at one time.
 
  Examples:
    (define skk-nr-candidate-max 0)
    (define anthy-nr-candidate-max 0)
    (define prime-nr-candidate-max 0)


* Issues
  o ץꥨǥåԽüΥѹɽ뤳Ȥ
    ޤ

  o screenuim-fep-s lastlineǻȤäƤȤüΥѹ
    ȵscreen˽뤳Ȥޤ

  o ̵ȿˤʤä˽ꤷ
    $ kill -INT <uim-feppid>
    ΥޥɤľȻפޤܸϤϤǤʤʤޤ

  o ʤ뤳Ȥ뤫⤷ޤ

  o You cannot use uim-fep with Cygwin(aka DOS prompt).


* Notes
  ܥ󥯥åShift+InsertΥڡȤʤɤǰ٤̤Ϥ줿
  ȤѴˤΤޤ޽Ϥޤ
  ץꥨǥåȤ˥ڡȤ̵ˤʤޤ

  üαüǥץꥨǥåȤ򳫻ϤȼιԤ˰ܤޤ. 


* 
  o 2004/8/1  0.4.0
    * -Cץɲäޤ

  o 2004/7/29 0.3.9
    * pyʤ褦ˤޤ

  o 2004/7/17 0.3.8
    * SolarisǥѥǤ褦ˤޤ

  o 2004/7/3 0.3.7
    * wcswidthʤƤ⥳ѥǤ褦ˤޤ.
    * Ѵɽѹޤ. (ܸʳǤ"Ĥ"ɽǤʤ)

  o 2004/6/29 0.3.6
    * -lץѻߤޤĶѿLANGȤäƤ
    * euc-jpȾѥʤ2ȤưäƤХޤ
    * euc-jp, utf-8ʳǤȤ褦ˤޤ
    * -tץɲäޤ. 
    * rshǤȤ褦ˤޤ. 
    
  o 2004/6/21 0.3.5
    * ǲԤǵưȤʤХޤ(0.3.4ΥХ)

  o 2004/6/20 0.3.4
    * ץꥨǥåι®ޤ
    * Ԥ٤ѴǥߤĤʤ褦ˤޤ
    * -oץѻߤޤ

  o 2004/6/17 0.3.3
    * ̿ŪʥХޤ(0.3.2äХǤ)
    * ɥѹ줿Ȥ˥ơ饤褹褦ˤޤ
    * ץꥨǥåԽ˥ɥѹ줿Ȥ˥ץꥨǥåȤ
      񤭤ƤޤХޤ

  o 2004/6/13 0.3.2
    * TERM=vt100ʤɤǥ⡼ɽäƤޤХޤ
    * ϻ˲̤򥯥ꥢʤ褦ˤޤ
    * skkǹ®ϤɽʤХޤ

  o 2004/6/7 0.3.1
    * skk"tt"Ϥ"t"ȽϤ褦ˤޤ
    * Ԥ٤ѴǤ褦ˤޤ
    * -oץɲäޤ
    * primeɽХޤ

  o 2004/05/31 0.3.0
    --mltermץѻߤޤ
    -c, -iץɲäޤ

  o 2004/05/29 0.2.9
    ڡȤϤ줿ĹʸѴʤ褦ˤޤ
    ơ饤褷ƤȤץꥨǥåȤʳԽ
    ƤȤ˥Ū˾ä褦ˤޤ(̤ϤޤʤǤ)
    terminfoclearedʸΤȤ˽Хޤ
    
  o 2004/05/18 0.2.8
    --mltermץɲäޤ
    vimǤ褦ˤޤ(KoRoN)

  o 2004/05/16 0.2.7
    -s lastlineuim-fepscreenưƤɽʤ褦ˤޤ
    uim-fep -s lastline -e screen
    
  o 2004/05/15 0.2.6
    Хޤ
    anthyĹʸѴȤΤĤ򾯤ʤޤ
    screen(ץ쥨ǥåȤԽʤɤ)ü鼡ιԤκü˰ưǤ褦ˤޤ
    jfbtermǺǲԤΥơ饤򤯤ʤʤ褦ˤޤ

  o 2004/05/10
    0.2.5 ̥ꥢ˺ǲԤΥơ饤褹褦ˤ(mattn)
    λ˺ǲԤΥơ饤ä褦ˤ(mattn)

  o 2004/05/09
    0.2.4 skkC-j, /, C-j, /ν˲ȲϤʤʤХ

  o 2004/05/06
    0.2.3 uim-0.3.6б (constդ)
    -vץɲ
    ơ饤äȤclr_eolȤ褦ˤ

  o 2004/05/04
    0.2.2 ơ饤󤫤䤬Ϥ߽Фʤ褦ˤ
    uim-fep-tick-wץuim-fepΥץˤ
    uim-fep-tick-lץѻߤ

  o 2004/05/03
    0.2.1 nr-candidate-max0ʲˤƤХ

  o 2004/05/01
    0.2 ǲԤ򥹥ơ饤ˤƥɥѹȺǲ
    Ԥ˰ưǤƤޤХ
    ƱåȤȤuim-fep-tickΥץ2İʾǤʤ褦ˤ
    Ϥ߽Ф⶯Ĵ褦ˤ
    configureΥץbacktickѤ褦ˤ

  o 2004/04/26
    0.1.9 Ϣ³commitȤʤΤ

  o 2004/04/26
    0.1.8 ơ饤طΥХ
    uim-fep-tick-lץɲ

  o 2004/04/25
    0.1.7 configureĤ
    <c-\>ʤɤϤǤ褦ˤ
    ơ饤θ䤬Ϥ߽ФƤɽʤ褦ˤ
    ˽Ȥ˻ߤ褦ˤ
          
  o 2004/04/18
    0.1.6 primeб

  o 2004/04/17
    0.1.5 utf-8(mattnΥѥå) backtick

  o 2004/04/12
    0.1.4 Х

  o 2004/04/11
    0.1.3 ơ饤

  o 2004/04/11
    0.1.2 Х

  o 2004/04/10
    0.1.1 Х

  o 2004/04/09
    0.1 °ȥ

  o 2004/04/03
    ȯ

䡢Хʤɤ h013177b@ice.nuie.nagoya-u.ac.jp ˤꤤޤ
