From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 10:19:35 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 BB25016A419 for ; Tue, 16 Oct 2007 10:19:35 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id 8D75513C4A8 for ; Tue, 16 Oct 2007 10:19:35 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1672170wxd for ; Tue, 16 Oct 2007 03:19:31 -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:cc:in-reply-to:mime-version:content-type:references; bh=3EzMsV8wxwNfbmwH6pXMCKvO6/5A+BIHCg7is/mEZ4k=; b=SApfcZfqj6VLjNdCHb1Zev4sfolF88txLFiAHX0lhFxOtuTGwA5Zr2+uGM1hgyDcyQeIJM7gOWNoe8Cc6wtU7EqypzbgCgitoQUjaXzA+tGNESg6dLf/1idGkHEqOci6QFERzkrupLxK6pGedS8IZHzJiXfxJYF/D+stpq/n67k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ioUTOUQB3iPII0F2lwNJSneyFIASHDHgFb3KwT14LbjIEufUlhBBZiaq+FqeM61MKt0wS5le6ToLt/TJOcTuQaA+5o1aH6AVJmw2ViVxg672I5RteOsx7YBn2GqU+7rdHxPao5GeuAgC+xgjkuaqGm02qvY9s6PizQDCNtMKlrk= Received: by 10.90.115.9 with SMTP id n9mr10403668agc.1192529971463; Tue, 16 Oct 2007 03:19:31 -0700 (PDT) Received: by 10.90.103.15 with HTTP; Tue, 16 Oct 2007 03:19:31 -0700 (PDT) Message-ID: <38b9f0350710160319i25663809p1c66efb710e51635@mail.gmail.com> Date: Tue, 16 Oct 2007 18:19:31 +0800 From: ronggui To: "Jerry McAllister" In-Reply-To: <20071008151823.GB7586@gizmo.acns.msu.edu> MIME-Version: 1.0 References: <38b9f0350710071923w16c75c65lc7820b7f09d07f64@mail.gmail.com> <20071008151823.GB7586@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 10:19:35 -0000 Thanks. Finally, I set all the env variables in =AC/.tcshrc, It works. 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=3Dzh_CN.eucCN > > export LC_ALL=3Dzh_CN.eucCN > > export G_BROKEN_FILENAMES=3D1 > > export G_FILENAME_ENCODING=3DGBK > > export XMODIFIERS=3D'@im=3DSCIM' > > 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=3Dzh_CN.eucCN:\ > > :charset=3Dgbk:\ > > :setenv=3DLC_ALL=3Dzh_CN.eucCN:\ > > :setenv=3DLC_COLLATE=3Dzh_CN.eucCN:\ > > :setenv=3DLC_CTYPE=3Dzh_CN.eucCN:\ > > :setenv=3DLC_MESSAGES=3Dzh_CN.eucCN:\ > > :setenv=3DLC_MONETARY=3Dzh_CN.eucCN:\ > > :setenv=3DLC_NUMERIC=3Dzh_CN.eucCN:\ > > :setenv=3DLC_TIME=3Dzh_CN.eucCN:\ > > :setenv=3DG_BROKEN_FILENAMES=3D1:\ > > :setenv=3DG_FILENAME_ENCODING=3DGBK:\ > > :setenv=3DXMODIFIERS=3D"@im=3DSCIM": > > > > 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" > --=20 Ronggui Huang Department of Sociology, Fudan University, Shanghai, China Department of Public and Social Administration, CityU, HK