From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#1482: cleanup: term.c dead code Date: Sun, 10 Jul 2011 15:00:46 +0200 Message-ID: References: <200812030633.mB36XjrI024295@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310302959 23828 80.91.229.12 (10 Jul 2011 13:02:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 13:02:39 +0000 (UTC) Cc: 1482@debbugs.gnu.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 10 15:02:34 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfteb-00062u-M6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2011 15:02:33 +0200 Original-Received: from localhost ([::1]:43295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qftea-0003OO-I2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2011 09:02:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfteB-0003N4-KM for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 09:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qfte8-000807-4k for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 09:02:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfte8-0007zx-2p for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 09:02:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qfte7-0002XJ-PH; Sun, 10 Jul 2011 09:02:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2011 13:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1482 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 1482-submit@debbugs.gnu.org id=B1482.13103028709651 (code B ref 1482); Sun, 10 Jul 2011 13:02:03 +0000 Original-Received: (at 1482) by debbugs.gnu.org; 10 Jul 2011 13:01:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QftdF-0002Vc-Rj for submit@debbugs.gnu.org; Sun, 10 Jul 2011 09:01:09 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QftdD-0002V7-DJ for 1482@debbugs.gnu.org; Sun, 10 Jul 2011 09:01:07 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qftd1-0008VH-5a; Sun, 10 Jul 2011 15:00:55 +0200 In-Reply-To: <200812030633.mB36XjrI024295@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 2 Dec 2008 22:33:45 -0800 (PST)") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: The Human League's _Credo_: "Never Let Me Go" X-Hashcash: 1:23:110710:dann@ics.uci.edu::PO73jbHmxApc0Dj/:0gvl6 X-Hashcash: 1:23:110710:1482@debbugs.gnu.org::Wu3w69/pxZQpGl9g:00000000000000000000000000000000000000002kkNr X-MailScanner-ID: 1Qftd1-0008VH-5a MailScanner-NULL-Check: 1310907655.24592@e/9E56aRriQ88rfLaurEKA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 10 Jul 2011 09:02:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48460 Archived-At: Dan Nicolaescu 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/