;
; $Id: 2A_CTRL,v 1.1.2.1 1999/02/08 05:35:02 yamasita Exp $
;

; FreeWnn is a network-extensible Kana-to-Kanji conversion system.
; This file is part of FreeWnn.
; 
; Copyright Kyoto University Research Institute for Mathematical Sciences
;                 1987, 1988, 1989, 1990, 1991, 1992
; Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
; Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
;
; Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2, or (at your option)
; any later version.
;
; This program 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 General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with GNU Emacs; see the file COPYING.  If not, write to the
; Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
;
; Commentary:
;
; Change log:
;
; Last modified date: 8,Feb.1999
;

(defvar pf1 (list '\x81')) 
(defvar pf2 (list '\x82'))
(defvar pf3 (list '\x83'))
(defvar pf4 (list '\x84'))
(defvar pf5 (list '\x85'))

(unless PIN_YIN)(pf1)	(on PIN_YIN)(off ASCII)(off QI_TA)(off GONG_NENG)
(if PIN_YIN)(if quan_pin)(pf1) 	(off quan_pin)(off two_pin_3key)(on two_pin)
(if PIN_YIN)(if two_pin)(pf1) 	(off two_pin)(off quan_pin)(on two_pin_3key)
(if PIN_YIN)(if two_pin_3key)(pf1)  (off two_pin)(off two_pin_3key)(on quan_pin)

(unless ASCII)(pf3)	(on ASCII)(off PIN_YIN)(off QI_TA)(off GONG_NENG)
(if ASCII)(if ban_jiao)(pf3)	(off ban_jiao)(on  quan_jiao)
(if ASCII)(if quan_jiao)(pf3) 	(off quan_jiao)(on  ban_jiao)

(unless QI_TA)(pf4)	(on QI_TA)(off PIN_YIN)(off ASCII)(off GONG_NENG)
(if QI_TA)(if chang_yong_zi)(pf4)	(off chang_yong_zi)(on  guo_biao_ma)
(if QI_TA)(if guo_biao_ma)(pf4)		(off guo_biao_ma)(on  qu_wei_ma)
(if QI_TA)(if qu_wei_ma)(pf4)		(off qu_wei_ma)(on  nei_ma)
(if QI_TA)(if nei_ma)(pf4)		(off nei_ma)(on chang_yong_zi)

(pf5) 	(switch GONG_NENG)	H
