From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.help Subject: Re: set input/output coding system for term-mode Date: Wed, 13 Jun 2007 12:29:52 +0800 Organization: the Church of Emacs Message-ID: <87zm34jx33.fsf@www.williamxu.com> References: <87hcpd290s.fsf@www.williamxu.com> <87d50123fy.fsf@www.williamxu.com> <1CF3144D-DAE1-4B4F-8090-ACF1017DDF03@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181709848 24488 80.91.229.12 (13 Jun 2007 04:44:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 04:44:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 13 06:44:06 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyKi9-0001XU-8h for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2007 06:44:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyKi8-00082x-Lb for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2007 00:44:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyKhp-00082d-M9 for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 00:43:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyKhp-00082R-2R for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 00:43:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyKho-00082O-US for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 00:43:40 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HyKho-0005Oh-Hh for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 00:43:40 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HyKch-0007EE-VT for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 06:38:24 +0200 Original-Received: from 203.86.61.139 ([203.86.61.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jun 2007 06:38:23 +0200 Original-Received: from william.xwl by 203.86.61.139 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jun 2007 06:38:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 203.86.61.139 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:qm96+U8wQkfW7t+NPOEiJs0UA4Y= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44986 Archived-At: Peter Dyballa writes: It does not work in any physical or emulated terminal to see the contents of a file which is not encoded in the terminal's default encoding in the file's proper encoding. So you mean that the terminal's default encoding can't be changed inside Emacs? The question is why you want to do such a silly thing in GNU Emacs! You can easily visit the file in some buffer using the correct encoding ... And you can prefer a few coding systems. Hehe.. Actually i'd like to use terminal to login some BBS system(by ssh). Any better alternatives? -- William