From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#1482: cleanup: term.c dead code Date: Sun, 10 Jul 2011 11:45:45 -0400 Message-ID: References: <200812030633.mB36XjrI024295@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1310312790 7493 80.91.229.12 (10 Jul 2011 15:46:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 15:46:30 +0000 (UTC) Cc: 1482@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 10 17:46:26 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 1QfwDB-0001HK-Ta for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2011 17:46:26 +0200 Original-Received: from localhost ([::1]:45619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfwDB-0002m8-6q for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2011 11:46:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfwCs-0002lY-Qx for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 11:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfwCo-0006Ep-NN for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 11:46:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfwCo-0006Ek-DQ for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 11:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QfwCo-00045m-79; Sun, 10 Jul 2011 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu 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 15:46:02 +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.131031275515714 (code B ref 1482); Sun, 10 Jul 2011 15:46:02 +0000 Original-Received: (at 1482) by debbugs.gnu.org; 10 Jul 2011 15:45:55 +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 1QfwCg-00045P-14 for submit@debbugs.gnu.org; Sun, 10 Jul 2011 11:45:54 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfwCd-00045A-JS for 1482@debbugs.gnu.org; Sun, 10 Jul 2011 11:45:52 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QfwCX-0004sj-6b; Sun, 10 Jul 2011 11:45:45 -0400 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 10 Jul 2011 15:00:46 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 10 Jul 2011 11:46:02 -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:48481 Archived-At: Lars Magne Ingebrigtsen writes: > 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? /etc/termcap or the terminfo datatbase, none of them has these...