source: projects/initscripts/trunk/profile.d/ime.sh @ 1108

Revision 1108, 826 bytes checked in by daisuke, 12 years ago (diff)

import initscripts-8.90.6 from internal cvs repository

Line 
1#!/bin/bash
2
3[ -f /etc/sysconfig/ime ] && . /etc/sysconfig/ime
4[ -f ${HOME}/.vine/system/ime ] && . ${HOME}/.vine/system/ime
5[ -f /usr/share/vine/vinelib ] && . /usr/share/vine/vinelib
6
7[ -n "$EMACS_IME" ]     && export EMACS_IME
8[ -n "$XIM_PROG" ]      && export XIM_PROG
9[ -n "$JSERVER" ]       && export JSERVER
10[ -n "$WNN6_FRONT_END" ] && export WNN6_FRONT_END
11[ -n "$WNN6_SERVER" ]   && export WNN6_SERVER
12[ -n "$WNN7_FRONT_END" ] && export WNN7_FRONT_END
13[ -n "$WNN7_SERVER" ]   && export WNN7_SERVER
14[ -n "$CANNA_SERVER" ]  && export CANNA_SERVER
15[ -n "$GTK_IM_MODULE" ] && export GTK_IM_MODULE
16[ -n "$QT_IM_MODULE" ]  && export QT_IM_MODULE
17[ -n "$XMODIFIERS" ] && export XMODIFIERS
18
19if [ "$XIM_PROG" = "wnn7" -a "$WNN7_FRONT_END" = "xwnmo" ]; then
20        emacs () { XMODIFIERS=@im=none command emacs ${1+"$@"}; }
21        export -f emacs >/dev/null
22fi
Note: See TracBrowser for help on using the repository browser.