From lojbab@lojban.org Mon Aug 13 21:58:15 2001 Return-Path: X-Sender: lojbab@lojban.org X-Apparently-To: lojban@yahoogroups.com Received: (EGP: mail-7_3_1); 14 Aug 2001 04:58:15 -0000 Received: (qmail 90686 invoked from network); 14 Aug 2001 04:58:14 -0000 Received: from unknown (10.1.10.142) by l7.egroups.com with QMQP; 14 Aug 2001 04:58:14 -0000 Received: from unknown (HELO stmpy-4.cais.net) (205.252.14.74) by mta3 with SMTP; 14 Aug 2001 04:58:14 -0000 Received: from user.lojban.org (209-8-89-101.dynamic.cais.com [209.8.89.101]) by stmpy-4.cais.net (8.11.1/8.11.1) with ESMTP id f7E4wCK65587 for ; Tue, 14 Aug 2001 00:58:12 -0400 (EDT) Message-Id: <4.3.2.7.2.20010814004545.00d41420@pop.cais.com> X-Sender: vir1036@pop.cais.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 14 Aug 2001 00:56:31 -0400 To: lojban@yahoogroups.com Subject: Re: [lojban] Logflash on Linux up and running In-Reply-To: <20010813144957.Z9477@digitalkingdom.org> References: <3B78484C.2080605@reutershealth.com> <3B78484C.2080605@reutershealth.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed From: "Bob LeChevalier (lojbab)" X-Yahoo-Message-Num: 9592 At 02:49 PM 8/13/01 -0700, Robin Lee Powell wrote: >On Mon, Aug 13, 2001 at 05:36:12PM -0400, John Cowan wrote: > > I have successfully built Logflash on Linux using FPC, > > the Free Pascal Compiler (http://www.freepascal.org). > > A tarball with the modified source code and rebuilt index, > > plus executables for Linux (ELF, glibc) is at > > http://www.ccil.org/~cowan/lflinux.tar.gz. > >Also, will this version work with cmavo? If so, does anyone know what >format the .raw file needs to be in? The .raw file is the gismu list as posted on the web page. It has to be named "logdata.raw" for LF1 (gismu) and LF2 (rafsi/lujvo-making), logdata3.raw for the cmavo list for LF3. You cannot use LF1 with cmavo, though the differences between LF1 and LF3 are very minor. Note that, per John's message >Unfortunately, the *.LF1 files in logflash.zip (from >lojban.org as well) weren't in the proper format. >So I tried to compile lf1bldwd.pas, the word file builder. >Fatal compile-time error. > >I modified lf1bldwd.pas so that 4 lines of the form >{$I foo} (a Turbo Pascal include directive) took the >form {$I foo.pas}. Recompiled without errors. >I grabbed the gismu list at >http://www.lojban.org/files/wordlists/gismu , >renamed it "logdata.raw", and ran lf1bldwd. >This created new *.LF1 files. If you have lf1bldwd (which I didn't know was in the online source or I would have said something earlier), then you can make tailored word files with subsets of the gismu list. All that is needed is to have the number on line 1 of the file be the number of words in the file (and retain the fixed columnation of the file format). You may also need to follow DOS end-of-line convention rather than *nix convention. There is a corresponding program, lf3bldwd for LF3. No idea if it is including in the LF3 source (assuming that is up on the web site). lojbab -- lojbab lojbab@lojban.org Bob LeChevalier, President, The Logical Language Group, Inc. 2904 Beau Lane, Fairfax VA 22031-1303 USA 703-385-0273 Artificial language Loglan/Lojban: http://www.lojban.org