From owner-freebsd-questions@FreeBSD.ORG Mon Oct 8 02:23:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61E9E16A420 for ; Mon, 8 Oct 2007 02:23:02 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.freebsd.org (Postfix) with ESMTP id 1809013C4B8 for ; Mon, 8 Oct 2007 02:23:01 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1040808wxd for ; Sun, 07 Oct 2007 19:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Sv0jqMBm9Bof4oFin5/4JVBecHQNIu0wdqDqpDMGIog=; b=IfePQIAztOFFnHIhlIE+erRxl6VE24lspGIHbbV9lRXLjcGwzV3+HU4IOGO07E5nWdD0F4KQmIdjwJe6khRN+hKY68vgFrjMm29wea7hQtra2IqhLFrMXA5byS1Gzy2wbZU6Ja2lYPBYiiHLQaJcZAzXIYFKphMdJHpdFw7kPQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Lgqo9c2B9XNh0u8iUAkR+Tn/HpPUnR1do6TipN993ZXd5YGRyqv+e8+/6GhmKLFvtVy7zN0nPrGi/i9Jch6WbsndT7EGszcV+cA0T5pgboXP9nn4N9kSaoGKjUTlXlipdohYI4WQVihh5oYwvUllnhyGpe/BPXZKcCsfp/x7t9g= Received: by 10.90.92.10 with SMTP id p10mr2912213agb.1191810181437; Sun, 07 Oct 2007 19:23:01 -0700 (PDT) Received: by 10.90.103.15 with HTTP; Sun, 7 Oct 2007 19:23:01 -0700 (PDT) Message-ID: <38b9f0350710071923w16c75c65lc7820b7f09d07f64@mail.gmail.com> Date: Mon, 8 Oct 2007 10:23:01 +0800 From: ronggui To: "User Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: help: the Input problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 02:23:02 -0000 I use scim as my input. When I use bash as my login shell, I add these lines to ~/.profile export LANG=zh_CN.eucCN export LC_ALL=zh_CN.eucCN export G_BROKEN_FILENAMES=1 export G_FILENAME_ENCODING=GBK export XMODIFIERS='@im=SCIM' scim -d All is fine. But I would like to use tcsh as my login shell, and try to add the followings to ~/.login_conf me:\ :lang=zh_CN.eucCN:\ :charset=gbk:\ :setenv=LC_ALL=zh_CN.eucCN:\ :setenv=LC_COLLATE=zh_CN.eucCN:\ :setenv=LC_CTYPE=zh_CN.eucCN:\ :setenv=LC_MESSAGES=zh_CN.eucCN:\ :setenv=LC_MONETARY=zh_CN.eucCN:\ :setenv=LC_NUMERIC=zh_CN.eucCN:\ :setenv=LC_TIME=zh_CN.eucCN:\ :setenv=G_BROKEN_FILENAMES=1:\ :setenv=G_FILENAME_ENCODING=GBK:\ :setenv=XMODIFIERS="@im=SCIM": and add "scim -d" to the ~/.xsession. I can't toggle on the scim. PS: I login in with kdm. What should I do to use tcsh as my login shell? Thanks -- Ronggui Huang Department of Sociology, Fudan University, Shanghai, China Department of Public and Social Administration, CityU, HK