From unknown Thu Jun 19 13:56:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5596 <5596@debbugs.gnu.org> To: bug#5596 <5596@debbugs.gnu.org> Subject: Status: Term type warning lacks final \n Reply-To: bug#5596 <5596@debbugs.gnu.org> Date: Thu, 19 Jun 2025 20:56:09 +0000 retitle 5596 Term type warning lacks final \n reassign 5596 emacs submitter 5596 jidanni@jidanni.org severity 5596 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 18 10:00:26 2010 Received: (at submit) by debbugs.gnu.org; 18 Feb 2010 15:00:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ni7re-000300-1o for submit@debbugs.gnu.org; Thu, 18 Feb 2010 10:00:26 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ni7rc-0002zv-PA for submit@debbugs.gnu.org; Thu, 18 Feb 2010 10:00:25 -0500 Received: from mail.gnu.org ([199.232.76.166]:46766 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ni7rX-0006I1-VM for submit@debbugs.gnu.org; Thu, 18 Feb 2010 10:00:20 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ni7rX-0003OX-F6 for submit@debbugs.gnu.org; Thu, 18 Feb 2010 10:00:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,NO_REAL_NAME,UNPARSEABLE_RELAY autolearn=no version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:56287) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ni7rX-0003OH-5m for submit@debbugs.gnu.org; Thu, 18 Feb 2010 10:00:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ni7rW-0003AD-B8 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2010 10:00:18 -0500 Received: from [140.186.70.92] (port=59710 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ni7rV-00038y-9f for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2010 10:00:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ni7rU-0004EO-KW for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2010 10:00:17 -0500 Received: from mailbigip.dreamhost.com ([208.97.132.5]:54286 helo=homiemail-a5.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ni7rU-0004EK-EP for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2010 10:00:16 -0500 Received: from jidanni.org (125-230-46-90.dynamic.hinet.net [125.230.46.90]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id 85EACBCB37 for ; Thu, 18 Feb 2010 07:00:15 -0800 (PST) From: jidanni@jidanni.org To: bug-gnu-emacs@gnu.org Subject: Term type warning lacks final \n Date: Thu, 18 Feb 2010 23:00:13 +0800 Message-ID: <87635u6136.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Fellas, you forgot the final \n: $ TERM=dumb emacs -nw emacs: Terminal type "dumb" is not powerful enough to run Emacs. It lacks the ability to position the cursor. If that is not the actual type of terminal you have, use the Bourne shell command `TERM=... export TERM' (C-shell: `setenv TERM ...') to specify the correct type. It may be necessary to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.$ From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 18 12:05:36 2010 Received: (at 5596-done) by debbugs.gnu.org; 18 Feb 2010 17:05:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ni9om-0004S3-N4 for submit@debbugs.gnu.org; Thu, 18 Feb 2010 12:05:36 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ni9nE-0004Qm-7w for 5596-done@debbugs.gnu.org; Thu, 18 Feb 2010 12:04:00 -0500 Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o1IH3qi2021091; Thu, 18 Feb 2010 12:03:52 -0500 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 602AF3A6E5; Thu, 18 Feb 2010 12:03:52 -0500 (EST) From: Stefan Monnier To: jidanni@jidanni.org Subject: Re: bug#5596: Term type warning lacks final \n Message-ID: References: <87635u6136.fsf@jidanni.org> Date: Thu, 18 Feb 2010 12:03:52 -0500 In-Reply-To: <87635u6136.fsf@jidanni.org> (jidanni@jidanni.org's message of "Thu, 18 Feb 2010 23:00:13 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3473=0 X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 5596-done X-Mailman-Approved-At: Thu, 18 Feb 2010 12:05:35 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) > $ TERM=dumb emacs -nw > emacs: Terminal type "dumb" is not powerful enough to run Emacs. > It lacks the ability to position the cursor. > If that is not the actual type of terminal you have, > use the Bourne shell command `TERM=... export TERM' (C-shell: > `setenv TERM ...') to specify the correct type. It may be necessary > to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.$ Thanks should be fixed with the patch below, Stefan === modified file 'src/term.c' --- src/term.c 2010-01-13 08:35:10 +0000 +++ src/term.c 2010-02-18 16:51:07 +0000 @@ -3938,6 +3938,8 @@ va_start (ap, str); fprintf (stderr, "emacs: "); vfprintf (stderr, str, ap); + if (!(strlen (str) > 0 && str[strlen (str) - 1] == '\n')) + fprintf (stderr, "\n"); va_end (ap); fflush (stderr); exit (1); From unknown Thu Jun 19 13:56:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 19 Mar 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator