emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#5596: marked as done (Term type warning lacks fi


From: Emacs bug Tracking System
Subject: [Emacs-bug-tracker] bug#5596: marked as done (Term type warning lacks final \n)
Date: Thu, 18 Feb 2010 17:06:02 +0000

Your message dated Thu, 18 Feb 2010 12:03:52 -0500
with message-id <address@hidden>
and subject line Re: bug#5596: Term type warning lacks final \n
has caused the Emacs bug report #5596,
regarding Term type warning lacks final \n
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden
immediately.)


-- 
5596: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5596
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Term type warning lacks final \n Date: Thu, 18 Feb 2010 23:00:13 +0800
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.$




--- End Message ---
--- Begin Message --- Subject: Re: bug#5596: Term type warning lacks final \n Date: Thu, 18 Feb 2010 12:03:52 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)
> $ 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);



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]