From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Addison-Wood Newsgroups: gmane.emacs.bugs Subject: bug#2148: In shell mode, comint-send-input seems to cut off at 254 characters Date: Mon, 09 Feb 2009 14:15:22 +1300 Message-ID: <498F83AA.1000105@wetafx.co.nz> References: <87zlgz7d3o.fsf@cyd.mit.edu> Reply-To: Richard Addison-Wood , 2148@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234143831 12115 80.91.229.12 (9 Feb 2009 01:43:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2009 01:43:51 +0000 (UTC) Cc: 2148@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 09 02:45:05 2009 Return-path: Envelope-to: geb-bug-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 1LWLCo-0001JL-SF for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Feb 2009 02:45:03 +0100 Original-Received: from localhost ([127.0.0.1]:49317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWLBV-0005Ra-Ex for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2009 20:43:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWLBQ-0005QV-KF for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2009 20:43:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWLBP-0005QJ-Pe for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2009 20:43:36 -0500 Original-Received: from [199.232.76.173] (port=39705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWLBP-0005QG-KG for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2009 20:43:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36240) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWLBP-0000tN-3i for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2009 20:43:35 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n191hX0s032336; Sun, 8 Feb 2009 17:43:33 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n191P5XL027734; Sun, 8 Feb 2009 17:25:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Richard Addison-Wood Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 09 Feb 2009 01:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2148 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2148-submit@emacsbugs.donarmstrong.com id=B2148.123414213226340 (code B ref 2148); Mon, 09 Feb 2009 01:25:05 +0000 Original-Received: (at 2148) by emacsbugs.donarmstrong.com; 9 Feb 2009 01:15:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from wheke.wetafx.co.nz (wheke.wetafx.co.nz [131.203.105.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n191FTYb026333 for <2148@emacsbugs.donarmstrong.com>; Sun, 8 Feb 2009 17:15:30 -0800 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by wheke.wetafx.co.nz (Postfix) with ESMTP id EFA931ADC60C; Mon, 9 Feb 2009 14:15:22 +1300 (NZDT) X-Virus-Scanned: with amavisd-new by waha at wetafx.co.nz Original-Received: from wheke.wetafx.co.nz ([127.0.0.1]) by localhost (wheke.wetafx.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7F8Ed+UN0IRg; Mon, 9 Feb 2009 14:15:22 +1300 (NZDT) Original-Received: from set01.wetafx.co.nz (webmail.wetafx.co.nz [192.168.17.82]) by wheke.wetafx.co.nz (Postfix) with ESMTP id ACACA1ADC60B; Mon, 9 Feb 2009 14:15:22 +1300 (NZDT) Original-Received: from localhost (localhost [127.0.0.1]) by set01.wetafx.co.nz (Postfix) with ESMTP id 9C1E962C2DF; Mon, 9 Feb 2009 14:15:22 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at wetafx.co.nz Original-Received: from set01.wetafx.co.nz ([127.0.0.1]) by localhost (set01.wetafx.co.nz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u-UMRLX1Lr4S; Mon, 9 Feb 2009 14:15:22 +1300 (NZDT) Original-Received: from [192.168.48.188] (surfperch.wetafx.co.nz [192.168.48.188]) by set01.wetafx.co.nz (Postfix) with ESMTP id 7EBA862C2DE; Mon, 9 Feb 2009 14:15:22 +1300 (NZDT) User-Agent: Thunderbird 2.0.0.6 (X11/20070728) In-Reply-To: <87zlgz7d3o.fsf@cyd.mit.edu> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 08 Feb 2009 20:43:36 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25064 Archived-At: I have more information about what is going on. Can you see if you can reproduce it? After opening a new shell buffer, I type: /bin/tcsh -f to get a tcsh shell without running custom start-up stuff. Then, I type this: set filec to turn on tcsh's file completion mechanisms (since this is one of the settings that my start-up stuff does). And then, when I type this: echo _234567_10_234567_20_234567_30_234567_40_234567_50_234567_60_234567_70_234567_80_234567_90_23456_100_23456_110_23456_120_23456_130_23456_140_23456_150_23456_160_23456_170_23456_180_23456_190_23456_200_23456_210_23456_220_23456_230_23456_240_23456_250_23456_260 I get the strange behaviour I described before. Alternatively, If I type this: unset filec I can enter that long line without a problem. So, in /bin/tcsh, one of the things that 'set filec' turns on is to use control-D to show a list of what matches the prefix of the immediately preceding word. It appears that 'send_process(proc, buf, len, object)' in process.c will determine that it should send a maximum of 254 characters and will send '\004' at each 254 character interval. It still seems strange to me that emacs would have this behaviour. Is that really how it should be done? I wouldn't think that I would be the only user who would be using /bin/tcsh with 'set filec'.