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, 2 Feb 2009 16:20:06 +1300 (NZDT) Message-ID: <20090202032006.39140958D3E@surfperch.wetafx.co.nz> Reply-To: Richard Addison-Wood , 2148@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233554475 26709 80.91.229.12 (2 Feb 2009 06:01:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 06:01:15 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 07:02:28 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 1LTrt6-0006kp-6t for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 07:02:28 +0100 Original-Received: from localhost ([127.0.0.1]:55835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTrrn-0002L8-BF for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 01:01:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTpig-0003XK-KS for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:43:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTpif-0003WX-Nk for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:43:34 -0500 Original-Received: from [199.232.76.173] (port=60715 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTpif-0003WN-LJ for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:43:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41888) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTpif-0003I3-5M for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:43:33 -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 n123hVZU025843; Sun, 1 Feb 2009 19:43:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n123U22c022295; Sun, 1 Feb 2009 19:30:02 -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, 02 Feb 2009 03:30:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2148 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123354485821047 (code B ref -1); Mon, 02 Feb 2009 03:30:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 03:20:58 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n123KsVd021039 for ; Sun, 1 Feb 2009 19:20:56 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTpMk-0005uU-3u for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:20:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTpMg-0005uI-C8 for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:20:52 -0500 Original-Received: from [199.232.76.173] (port=59783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTpMg-0005uF-62 for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:20:50 -0500 Original-Received: from wheke.wetafx.co.nz ([131.203.105.13]:36042) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTpMf-0001cD-9h for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2009 22:20:50 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by wheke.wetafx.co.nz (Postfix) with ESMTP id 6A1CC1ADC5B2 for ; Mon, 2 Feb 2009 16:20:37 +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 yt2pFOaQSHj6; Mon, 2 Feb 2009 16:20:06 +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 889431ADC361 for ; Mon, 2 Feb 2009 16:20:06 +1300 (NZDT) Original-Received: from localhost (localhost [127.0.0.1]) by set01.wetafx.co.nz (Postfix) with ESMTP id 5DC6162C8CB for ; Mon, 2 Feb 2009 16:20:06 +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 FlVLPAqANadt for ; Mon, 2 Feb 2009 16:20:06 +1300 (NZDT) Original-Received: from surfperch.wetafx.co.nz (surfperch.wetafx.co.nz [192.168.48.188]) by set01.wetafx.co.nz (Postfix) with ESMTP id 3D65D62C8C6 for ; Mon, 2 Feb 2009 16:20:06 +1300 (NZDT) Original-Received: by surfperch.wetafx.co.nz (Postfix, from userid 2069) id 39140958D3E; Mon, 2 Feb 2009 16:20:06 +1300 (NZDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 01 Feb 2009 22:43:34 -0500 X-Mailman-Approved-At: Mon, 02 Feb 2009 01:00:58 -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:24806 Archived-At: I attempted to do this command in shell mode: 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 The immediate output was: 0_23456_260: Command not found. but when I hit enter again without typing anything else, I got: _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_25 So the first 254 characters I typed got held back, and the additional 11 characters were sent to the inferior shell. Further, the held back characters were then sent when I pressed enter again. So this is what the buffer looked like: ==================== >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 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 >0_23456_260: Command not found. > _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_25 > ==================== I would count this as very unexpected and dangerous behaviour. In GNU Emacs 22.3.1 (x86_64-unknown-linux-gnu) of 2008-09-15 on lambretta Windowing system distributor `The X.Org Foundation', version 11.0.70200000 configured using `configure '--prefix=/vol/apps_master/apps.Linux64/emacs-22.3_64'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: M-x s h e l l M-x r e p o r t - e m a c s - b u g Recent messages: ("/vol/apps/emacs-22.3_64/bin/emacs" "--no-init") For information about GNU Emacs and the GNU system, type C-h C-a. Loading shell...done Mark set Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done