From owner-freebsd-questions@FreeBSD.ORG Fri May 2 07:01:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C81D37B401 for ; Fri, 2 May 2003 07:01:14 -0700 (PDT) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAD9443FB1 for ; Fri, 2 May 2003 07:01:11 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b125.otenet.gr [212.205.244.133]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h42E17mX011581 for ; Fri, 2 May 2003 17:01:07 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h42E15iK010199 for ; Fri, 2 May 2003 17:01:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h42C4Nkb060658; Fri, 2 May 2003 15:04:23 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 2 May 2003 15:04:23 +0300 From: Giorgos Keramidas To: Eduardo Viruena Silva Message-ID: <20030502120423.GE66954@gothmog.gr> References: <200305011648.28755.jrhoden@unimelb.edu.au> <20030501132059.GC62775@gothmog.gr> <64545.200.67.206.87.1051860195.squirrel@mail.esfm.ipn.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64545.200.67.206.87.1051860195.squirrel@mail.esfm.ipn.mx> cc: freebsd-questions@freebsd.org Subject: Re: using tcsh with 8bit characters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2003 14:01:14 -0000 On 2003-05-02 02:23, Eduardo Viruena Silva wrote: >> On 2003-05-01 16:48, JacobRhoden wrote: >>> When you convert your keyboard layout to a different language, many >>> programs seem to accept special characters, but at the commandline >>> (tcsh) they never work, does anyone know how to fix this? (i searched >>> on google but all the results were in another language :/ >> >> It's usually a matter of correctly setting your locale in the >> environment. For instance, writing Greek characters at the tcsh >> prompt works fine here: >> >> : $ env | grep LC >> : LC_COLLATE=el_GR.ISO8859-7 >> : LC_CTYPE=el_GR.ISO8859-7 >> : $ env | grep LANG >> : LANG=C >> : $ tcsh >> : giorgos@gothmog[16:15pm]/home/giorgos> [type some greek text; hit ^C] >> : giorgos@gothmog[16:15pm]/home/giorgos> exit > > let me ask something else... > do you know how to make "pine" write foreign characters? I never had problems writing 8-bit text with Pine, but anyway... Set your locale related environment correctly, and then edit your ~/.pinerc file. There should be a line that sets `character-set' to US-ASCII or similar. Change that to the proper character set for your terminals and you should be set to go.