From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 20:30:15 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 46C5016A469 for ; Tue, 16 Oct 2007 20:30:15 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id E093413C4AC for ; Tue, 16 Oct 2007 20:30:14 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l9GKS5rb047625; Tue, 16 Oct 2007 16:28:05 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l9GKS4cu047624; Tue, 16 Oct 2007 16:28:04 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 16 Oct 2007 16:28:04 -0400 From: Jerry McAllister To: ronggui Message-ID: <20071016202804.GI47125@gizmo.acns.msu.edu> References: <38b9f0350710071923w16c75c65lc7820b7f09d07f64@mail.gmail.com> <20071008151823.GB7586@gizmo.acns.msu.edu> <38b9f0350710160319i25663809p1c66efb710e51635@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <38b9f0350710160319i25663809p1c66efb710e51635@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , User Questions Subject: Re: 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: Tue, 16 Oct 2007 20:30:15 -0000 On Tue, Oct 16, 2007 at 06:19:31PM +0800, ronggui wrote: > Thanks. > > Finally, I set all the env variables in ¬/.tcshrc, It works. Far out!! ////jerry > > 2007/10/8, Jerry McAllister : > > > > On Mon, Oct 08, 2007 at 10:23:01AM +0800, ronggui wrote: > > > > > 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? > > > > Change the last field in your /etc/passwd entry to '/bin/tcsh' > > and make sure /bin/tcsh is listed in /etc/shells > > > > You can then put whatever you want to set for your account > > in your /home_directory_path/.cshrc file > > > > ////jerry > > > > > > > > Thanks > > > > > > -- > > > Ronggui Huang > > > > > > Department of Sociology, Fudan University, Shanghai, China > > > > > > Department of Public and Social Administration, CityU, HK > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > -- > Ronggui Huang > > Department of Sociology, Fudan University, Shanghai, China > > Department of Public and Social Administration, CityU, HK > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >