From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: request: libguile to wrap getsid(2) Date: Sun, 27 Dec 2009 23:58:05 +0100 Message-ID: <877hs8xbwi.fsf@ambire.localdomain> References: <87ws09y3g3.fsf@ambire.localdomain> <87pr601t5c.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261954891 14461 80.91.229.12 (27 Dec 2009 23:01:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2009 23:01:31 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Dec 28 00:01:21 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NP26y-0001zb-EJ for guile-user@m.gmane.org; Mon, 28 Dec 2009 00:01:20 +0100 Original-Received: from localhost ([127.0.0.1]:39170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP26y-0006RZ-J1 for guile-user@m.gmane.org; Sun, 27 Dec 2009 18:01:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NP26u-0006QR-LQ for guile-user@gnu.org; Sun, 27 Dec 2009 18:01:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NP26r-0006NM-Ia for guile-user@gnu.org; Sun, 27 Dec 2009 18:01:16 -0500 Original-Received: from [199.232.76.173] (port=40175 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP26r-0006NJ-EV for guile-user@gnu.org; Sun, 27 Dec 2009 18:01:13 -0500 Original-Received: from smtp-out01.alice.it ([85.33.2.12]:2810) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NP26r-0007OW-4B for guile-user@gnu.org; Sun, 27 Dec 2009 18:01:13 -0500 Original-Received: from FBCMMO05.fbc.local ([192.168.184.136]) by smtp-out01.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Dec 2009 00:01:08 +0100 Original-Received: from FBCMCL01B09.fbc.local ([192.168.171.26]) by FBCMMO05.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Dec 2009 00:00:21 +0100 Original-Received: from ambire.localdomain ([79.24.37.156]) by FBCMCL01B09.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Dec 2009 00:00:21 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1NP23p-0007FH-7y for guile-user@gnu.org; Sun, 27 Dec 2009 23:58:05 +0100 In-Reply-To: <87pr601t5c.fsf@ossau.uklinux.net> (Neil Jerram's message of "Sun, 27 Dec 2009 12:46:39 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-OriginalArrivalTime: 27 Dec 2009 23:00:21.0782 (UTC) FILETIME=[5DFE4360:01CA8748] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7577 Archived-At: () Neil Jerram () Sun, 27 Dec 2009 12:46:39 +0000 Cool. (I like ratpoison, and I wasn't aware it had been abandoned. A Guile-enabled ratpoison would be great.) Perhaps i should have distiguished what was abandoned: the C code, the body. Its spirit lives in stumpwm (Common Lisp). Anyway, now it has another body. No problem, I'll add this. Cool, thanks. Can you point to a specific 1.4.x commit, to help with any extra bits that are needed, e.g. anything in configure.ac? No 1.4.x commit yet but i plan to do w/o configure checks since getsid(2) is POSIX.1-2001. FWIW (not really directly useful for Guile which must *provide* getsid), here is a fragment from rpx configure.ac: dnl Some versions of Guile don't provide getsid(2). AC_CACHE_CHECK([if Guile provides getsid(2)],[guile_cv_getsid], GUILE_CHECK([guile_cv_getsid],[(exit getsid)]) if test 0 = $guile_cv_getsid then guile_cv_getsid=yes else guile_cv_getsid=no fi) if test no = $guile_cv_getsid ; then AC_DEFINE([NEED_RPX_GETSID],[1], [Define if Guile does not provide Scheme-callable getsid(2).]) fi Well, indeed. Let's make 2010 the year of repairing our divisions... That is my hope as well. With Guile 1.9.x/2.0, we have a fantastic new base system that I think will serve us well for some years. With that in place, it would be great to pull together all the Guile apps and extensions that are out there, and showcase them working together and doing interesting things. It does indeed look very promising. Plus, as far as possible, I hope we can find ways of making everything work with older versions of Guile too. As years go by, i have come to venerate old code per se less and less. I think it would be cool to write tools to distill the essence of old code, recasting into new code. That is what compilers do, after all... Dreaming, i'd like to see compilers that go beyond: compilation source ---------------------> "executable" representation to grok-db -----+<-------+ v | compilation | source ---------------+----> "executable" representation where grok-db contains the analysis results of (this and other) source, both present and past. thi