GNU bug report logs - #1482
cleanup: term.c dead code

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Wed, 3 Dec 2008 06:40:04 UTC

Severity: minor

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 1482 <at> debbugs.gnu.org
Subject: bug#1482: cleanup: term.c dead code
Date: Sun, 10 Jul 2011 15:00:46 +0200
Dan Nicolaescu <dann <at> ics.uci.edu> writes:

> These terminal types are not supported by terminfo, so probably they are
> long dead.  This code can be cleaned up whenever cleanups are allowed.
>
>   /* Special handling for certain terminal types known to need it */
>
>   if (!strcmp (terminal_type, "supdup"))
>     {
>       terminal->memory_below_frame = 1;
>       tty->Wcm->cm_losewrap = 1;
>     }
>   if (!strncmp (terminal_type, "c10", 3)
>       || !strcmp (terminal_type, "perq"))
>     {

I think cleaning up this now would be OK, but how do we know that these
three terminal types aren't supported?  Is there a list somewhere?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 14 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.