From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Cannot open termcap database Date: Sat, 5 Dec 2009 03:05:03 -0800 (PST) Message-ID: <200912051105.nB5B53wL016307@godzilla.ics.uci.edu> References: <7dbe73ed0912031141h781e61d1l18776fb696cc4916@mail.gmail.com> <200912032120.nB3LK3MN028567@godzilla.ics.uci.edu> <200912040453.nB44rwPp002343@godzilla.ics.uci.edu> <200912041717.nB4HHe8H008078@godzilla.ics.uci.edu> <83zl5yk158.fsf@gnu.org> <83iqclkana.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260011317 7253 80.91.229.12 (5 Dec 2009 11:08:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 11:08:37 +0000 (UTC) Cc: alinsoar@voila.fr, mathias.dahl@gmail.com, Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 05 12:08:29 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGsV3-0000Og-22 for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2009 12:08:29 +0100 Original-Received: from localhost ([127.0.0.1]:33297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGsV2-0003kx-36 for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2009 06:08:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGsUt-0003kA-Qd for emacs-devel@gnu.org; Sat, 05 Dec 2009 06:08:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGsUn-0003fD-UO for emacs-devel@gnu.org; Sat, 05 Dec 2009 06:08:18 -0500 Original-Received: from [199.232.76.173] (port=35185 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGsUn-0003f7-O7 for emacs-devel@gnu.org; Sat, 05 Dec 2009 06:08:13 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:57791) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGsUl-0005Kt-8U; Sat, 05 Dec 2009 06:08:11 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nB5B54L3016187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 Dec 2009 03:05:04 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB5B53wL016307; Sat, 5 Dec 2009 03:05:03 -0800 (PST) In-Reply-To: <83iqclkana.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Dec 2009 11:55:37 +0200") Original-Lines: 41 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nB5B54L3016187 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118300 Archived-At: Eli Zaretskii writes: > > From: Stefan Monnier > > Cc: Dan Nicolaescu , alinsoar@voila.fr, emacs-devel@gnu.org, mathias.dahl@gmail.com > > Date: Fri, 04 Dec 2009 14:46:23 -0500 > > > > > MSDOS needs it. I could move all the code it needs to msdos.c, if > > > that's what people want, but it sounds easier to leave termcap.c in > > > place and just move termcap.o to MSDOS_OBJ in src/Makefile.in. Then > > > no other platform will link it in. > > > > Moving the code is not a good idea. If it's still in use, then we may > > as well keep it as is. So we should simply change the configure script > > so that it never uses it except under MSDOS, or upon some other > > explicit request. > > The MSDOS build does not use the configure script, it uses its own > config.bat, and relies on src/Makefile.in to mention DOS-specific > files in MSDOS_OBJ. So if the configure script is modified to never > use termcap.c and termcap.o is added to MSDOS_OBJ, I think the effect > is what you suggest above. termcap.o would also need to be removed from the setting of termcapobj in src/Makefile.in > Btw, maybe I'm blind, but configure checks only for termcap.h, it > never references -ltermcap or anything else that has "termcap" as a > substring. Would removing termcap.h from the script be all that is > needed for Unix platforms to not use termcap.c? No, see above. And it gets even better: termcap.h is not even used, see src/term.c and src/cm.c: /* For now, don't try to include termcap.h. On some systems, configure finds a non-standard termcap.h that the main build won't find. */ #if defined HAVE_TERMCAP_H && 0 #include #else