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

Revision 1108, 595 bytes checked in by daisuke, 14 years ago (diff)

import initscripts-8.90.6 from internal cvs repository

Line 
1#!/bin/tcsh
2
3setenv target /etc/sysconfig/ime
4if (-f $target ) then
5    foreach _line_ ("`/bin/cat $target`")
6        eval `echo $_line_ | /bin/sed -e 's|=C$|=en_US|g' -e 's|\([^#=]*\)=\(.*\)|setenv \1 \2|'`
7    end
8    unset _line_
9endif
10
11setenv target ${HOME}/.vine/system/ime
12if (-f $target ) then
13    foreach _line_ ("`/bin/cat $target`")
14        eval `echo $_line_ | /bin/sed -e 's|=C$|=en_US|g' -e 's|\([^#=]*\)=\(.*\)|setenv \1 \2|'`
15    end
16    unset _line_
17endif
18
19unsetenv target
20
21if ( "$XIM_PROG" == "wnn7" && "$WNN7_FRONT_END" == "xwnmo" ) then
22   alias emacs 'env XMODIFIERS=@im=none emacs'
23endif
Note: See TracBrowser for help on using the repository browser.