From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: Process output truncation when using UTF-8 Date: Sat, 21 Jun 2003 00:56:28 -0400 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <874r3f1ocb.fsf@zamazal.org> <200305300816.RAA21216@etlken.m17n.org> <87el2bi4uy.fsf@zamazal.org> <200306200420.NAA24367@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1056171688 6715 80.91.224.249 (21 Jun 2003 05:01:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2003 05:01:28 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 21 07:01:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19TaUw-0001jR-00 for ; Sat, 21 Jun 2003 07:01:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19TaTw-0007Cv-SR for gnu-bug-gnu-emacs@m.gmane.org; Sat, 21 Jun 2003 01:00:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19TaSt-0006RH-L0 for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2003 00:59:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19TaSa-0005yz-3N for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2003 00:58:44 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19TaQP-0004Qz-5I for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2003 00:56:29 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19TaQO-0000E5-4j; Sat, 21 Jun 2003 00:56:28 -0400 Original-To: Kenichi Handa In-reply-to: <200306200420.NAA24367@etlken.m17n.org> (message from Kenichi Handa on Fri, 20 Jun 2003 13:20:48 +0900 (JST)) Original-cc: pdm@zamazal.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5363 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5363 #if 0 /* This causes bugs in (for instance) telnet to certain sites. */ s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ #ifdef INLCR /* Just being cautious, since I can't check how widespread INLCR is--rms. */ s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */ #endif #endif I tried to change the first line above to "#if 1". The newly build emacs doesn't do CR->LF conversion, thus works well with the test case (utf-8-bug.el). I don't know if that problem with (for instance) telnet still exists. It might not--we could change this and see if anyone loses. Is there a reason to use a pty in this case? If you set process-connection-type to nil for this application, does that solve the problem?