From kon at iki.fi Sun Nov 5 05:40:43 2006 From: kon at iki.fi (Kalle Olavi Niemitalo) Date: Sun, 05 Nov 2006 14:40:43 +0200 Subject: [elinks-users] Should ELinks use U+303F IDEOGRAPHIC HALF-FILL SPACE? Message-ID: <87psc2gj78.fsf@Astalo.kon.iki.fi> A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available Url : http://linuxfromscratch.org/pipermail/elinks-users/attachments/20061105/9f4d8d5b/attachment.bin From fonseca at diku.dk Wed Nov 8 03:34:20 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Wed, 8 Nov 2006 11:34:20 +0100 Subject: [elinks-users] Should ELinks use U+303F IDEOGRAPHIC HALF-FILL SPACE? In-Reply-To: <87psc2gj78.fsf@Astalo.kon.iki.fi> References: <87psc2gj78.fsf@Astalo.kon.iki.fi> Message-ID: <20061108103420.GA9371@diku.dk> Kalle Olavi Niemitalo wrote Sun, Nov 05, 2006: > ELinks 0.12.GIT supports fullwidth CJK characters, which span two > display cells. If it should display a fullwidth character, but > there is only one display cell available (e.g. because another > window covers the other cell), ELinks displays a space instead. > Now, reading the Unicode 3.0 standard, I noticed U+303F > IDEOGRAPHIC HALF-FILL SPACE, which might be more appropriate than > the regular U+0020 SPACE. On the other hand, U+303F seems to be > missing from some fonts and may look uglier than a space. So I'm > not going to make such a change on my own. I don't know if you could post a patch so it would be possible to test it. -- Jonas Fonseca From kon at iki.fi Sun Nov 12 11:00:17 2006 From: kon at iki.fi (Kalle Olavi Niemitalo) Date: Sun, 12 Nov 2006 20:00:17 +0200 Subject: [elinks-users] Re: Should ELinks use U+303F IDEOGRAPHIC HALF-FILL SPACE? In-Reply-To: <20061108103420.GA9371@diku.dk> References: <87psc2gj78.fsf@Astalo.kon.iki.fi> <20061108103420.GA9371@diku.dk> Message-ID: <87ejs8h7f2.fsf@Astalo.kon.iki.fi> A non-text attachment was scrubbed... Name: U+303F.diff Type: text/x-patch Size: 6268 bytes Desc: Display U+303F rather than U+0020 if a double-cell character doesn't fit. Url : http://linuxfromscratch.org/pipermail/elinks-users/attachments/20061112/47ad0298/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available Url : http://linuxfromscratch.org/pipermail/elinks-users/attachments/20061112/47ad0298/attachment-0001.bin From fonseca at diku.dk Sun Nov 12 12:51:47 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Sun, 12 Nov 2006 20:51:47 +0100 Subject: [elinks-users] Re: Should ELinks use U+303F IDEOGRAPHIC HALF-FILL SPACE? In-Reply-To: <87ejs8h7f2.fsf@Astalo.kon.iki.fi> References: <87psc2gj78.fsf@Astalo.kon.iki.fi> <20061108103420.GA9371@diku.dk> <87ejs8h7f2.fsf@Astalo.kon.iki.fi> Message-ID: <20061112195147.GA7953@diku.dk> Kalle Olavi Niemitalo wrote Sun, Nov 12, 2006: > Display U+303F rather than U+0020 if a double-cell character doesn't fit. > > I searched for ' ' and 32 and 0x20 and \x20, and replaced with > UCS_ORPHAN_CELL wherever UCS_NO_CHAR was involved. However, > this doesn't seem to suffice for BFU input fields. Looks like the abstraction introduced by the patch would be nice to have regardless of whether we move to use the new value or not. -- Jonas Fonseca From kon at iki.fi Sun Nov 12 14:49:08 2006 From: kon at iki.fi (Kalle Olavi Niemitalo) Date: Sun, 12 Nov 2006 23:49:08 +0200 Subject: [elinks-users] Re: Should ELinks use U+303F IDEOGRAPHIC HALF-FILL SPACE? In-Reply-To: <20061112195147.GA7953@diku.dk> References: <87psc2gj78.fsf@Astalo.kon.iki.fi> <20061108103420.GA9371@diku.dk> <87ejs8h7f2.fsf@Astalo.kon.iki.fi> <20061112195147.GA7953@diku.dk> Message-ID: <87ac2wgwtn.fsf@Astalo.kon.iki.fi> A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available Url : http://linuxfromscratch.org/pipermail/elinks-users/attachments/20061112/36a4ab8f/attachment.bin From fonseca at diku.dk Sun Nov 19 07:09:13 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Sun, 19 Nov 2006 15:09:13 +0100 Subject: [elinks-users] [ANNOUNCE] ELinks 0.11.2 Message-ID: <20061119140913.GA21158@diku.dk> Hello, A small update to the stable branch as a reaction to the recently discovered vulnerability in the SMB protocol module. Additionally, the release also contains some minor fixes. The highlights of this particular release are listed below: Jonas Fonseca: Use internal OFF_T_FORMAT instead of PRId64 Fix compilation on Minix3 Kalle Olavi Niemitalo: Bug 841, CVE-2006-5925: Prevent enabling the SMB protocol. Witold Filipczyk: Ecmascript: activate link only when onClick returns true -- Jonas Fonseca From fonseca at diku.dk Tue Nov 21 08:51:20 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Tue, 21 Nov 2006 16:51:20 +0100 Subject: [elinks-users] [ANNOUNCE] ELinks 0.11.2 Message-ID: <20061121155120.GD20900@diku.dk> Hello, A small update to the stable branch as a reaction to the recently discovered vulnerability in the SMB protocol module. Additionally, the release also contains some minor fixes. The highlights of this particular release are listed below: Jonas Fonseca: Use internal OFF_T_FORMAT instead of PRId64 Fix compilation on Minix3 Kalle Olavi Niemitalo: Bug 841, CVE-2006-5925: Prevent enabling the SMB protocol. Witold Filipczyk: Ecmascript: activate link only when onClick returns true [ I am resending this because it looks like the first one was dropped. ] -- Jonas Fonseca From dmacks at netspace.org Wed Nov 22 00:04:28 2006 From: dmacks at netspace.org (Daniel E. Macks) Date: Wed, 22 Nov 2006 07:04:28 +0000 (UTC) Subject: [elinks-users] Trouble with CPPFLAGS References: <20061121155120.GD20900@diku.dk> Message-ID: Building elinks-0.11.2 on my OS X machine, there are symtoms of some flag mishandling. I set some -I and -L flags in CPPFLAGS and LDFLAGS respectively, as per the standard meaning of those variables, which is reflected in './configure --help': CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory At the end of ./configure on my OS X machine, I see: Compiler options (CFLAGS) ....... -g -O2 -Wall -fno-strict-aliasing -I/sw/include -I/sw/include Linker options (LIBS) ........... -L/sw/lib -lssl -lcrypto -ldl -lz -lbz2 -lidn -lexpat -liconv That seems strange, because Makefile.config has: CFLAGS = -g -O2 -Wall -fno-strict-aliasing CPPFLAGS = -I/sw/include -I/sw/include LDFLAGS = -L/sw/lib -rdynamic LIBS = -L/sw/lib -lssl -lcrypto -ldl -lz -lbz2 -lidn -lexpat -liconv Which sounds correct. The bug is in how the data from configure is labeled: configure.in emits CFLAGS+CPPFLAGS but calls it CFLAGS: ALL_CFLAGS="$CFLAGS $CPPFLAGS" EL_LOG_CONFIG(ALL_CFLAGS, [Compiler options (CFLAGS)], []) Because CPPFLAGS and CFLAGS have different meanings and are used differently internally (see below in this email and also see the comments in configure.in), better to display each separately: EL_LOG_CONFIG(CPPFLAGS, [Compiler options (CPPFLAGS)], []) EL_LOG_CONFIG(CFLAGS, [Compiler options (CFLAGS)], []) Then compiling also fails: [CC] src/bookmarks/backend/xbel.o xbel.c:14:19: expat.h: No such file or directory even though I have /sw/include/expat.h. Why isn't the -I flag in CPPFLAGS being passed? It's a bug in Makefile.config.in: COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS) CPPFLAGS, a set of flags specifically designed to be passed to the compiler and lumped together with CFLAGS in configure.in, isn't being passed to the compiler along with CFLAGS. A more standard automake incantation would be: COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) dan -- Daniel Macks dmacks at netspace.org http://www.netspace.org/~dmacks From lists at lublin.se Wed Nov 22 03:50:22 2006 From: lists at lublin.se (Daniel) Date: Wed, 22 Nov 2006 11:50:22 +0100 Subject: [elinks-users] advanced scripting? Message-ID: <20061122105022.GA24701@ujezd.lublin.se> Hi Is there any possibility to create a script (lua, perl, ...) for elinks that marks all the links present in the currently displayed page as visited? I have really no clue about what is possible with the script-extensions, obviously... //d From fonseca at diku.dk Wed Nov 22 12:30:05 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Wed, 22 Nov 2006 20:30:05 +0100 Subject: [elinks-users] Trouble with CPPFLAGS In-Reply-To: References: <20061121155120.GD20900@diku.dk> Message-ID: <20061122193005.GA5970@diku.dk> Hej Daniel, Daniel E. Macks wrote Wed, Nov 22, 2006: > Building elinks-0.11.2 on my OS X machine, there are symtoms of some > flag mishandling. [snip] The bug is in how the data from configure is > labeled. [snip] Compiling also fails [snip]. Why isn't the -I flag in > CPPFLAGS being passed? It's a bug in Makefile.config.in: > > COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS) > > CPPFLAGS, a set of flags specifically designed to be passed to the > compiler and lumped together with CFLAGS in configure.in, isn't being > passed to the compiler along with CFLAGS. A more standard automake > incantation would be: > > COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) Thanks for the thorough report. Digging in the old historic repository, it looks like CPPFLAGS was dropped[1] back on 2004-04-24 presumably because nothing in the ELinks buildsystem used it (I don't know). Then on 2006-08-05, a fix (well rather a workaround to the above change) for iconv compilation was introduced. CPPFLAGS then reappeared[3] (in the unstable branch "0.12.GIT") on 2006-08-05. All this has not been backported to the 0.11 branch. I have tried to correct these issues in a commit[4] to the development branch. I know this doesn't help you much, unless you consider to try out the trunk of the git repository or a nightly unstable tarball (which usually is pretty stable anyway ;). The development branch has several other compilation improvements targeted for Mac OS X, since I currently develop on that platform. [1] http://pasky.or.cz/gitweb.cgi?p=elinks-history.git;a=commit;h=ebad0e71572b41dac5376e148fe4b1b5cb9ccc33 [2] http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=commit;h=6d7e9bfe5b6379bc5a492208ff735aeb840b17c5 [3] http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=commit;h=40e257bedd59c35b4a54c5e85e4391383ad6bf84 [4] http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=commitdiff;h=a370e7ccacdb5ab945a48d08430f08880dbca328;hp=c9701c80af9b9c3be27dfe4076280a24aa3059dd -- Jonas Fonseca From ant at zimage.com Wed Nov 22 17:24:42 2006 From: ant at zimage.com (Phillip Pi) Date: Wed, 22 Nov 2006 16:24:42 -0800 Subject: [elinks-users] Can't compile eLinks v0.11.2 Message-ID: <20061123002442.GC21576@alpha.zimage.com> Hello, I am having problems compiling eLinks v0.11.2 in an old Debian box with PPC (not mine). I get error: make[4]: Leaving directory `/u00/home/ant/download/elinks-0.11.2/src/document/html/parser' [CC] src/document/html/frames.o [CC] src/document/html/parser.o [CC] src/document/html/renderer.o In file included from ../../.././src/cache/cache.h:6, from renderer.c:13: ../../.././src/util/time.h:44: error: syntax error before 'n' In file included from renderer.c:13: ../../.././src/cache/cache.h:47: error: syntax error before 'off_t' You can see the whole compilation log at http://pastebin.ca/255461 ... Thank you in advance. :) -- "We are anthill men upon an anthill world." --Ray Bradbury /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi at earthlink.net or ant at zimage.com ( ) From fonseca at diku.dk Thu Nov 23 07:55:45 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Thu, 23 Nov 2006 15:55:45 +0100 Subject: [elinks-users] Can't compile eLinks v0.11.2 In-Reply-To: <20061123002442.GC21576@alpha.zimage.com> References: <20061123002442.GC21576@alpha.zimage.com> Message-ID: <20061123145545.GA26427@diku.dk> Phillip Pi wrote Wed, Nov 22, 2006: > Hello, Hej Phillip, > I am having problems compiling eLinks v0.11.2 in an old Debian box with > PPC (not mine). I get error: > > make[4]: Leaving directory > `/u00/home/ant/download/elinks-0.11.2/src/document/html/parser' > [CC] src/document/html/frames.o > [CC] src/document/html/parser.o > [CC] src/document/html/renderer.o > In file included from ../../.././src/cache/cache.h:6, > from renderer.c:13: > ../../.././src/util/time.h:44: error: syntax error before 'n' > In file included from renderer.c:13: > ../../.././src/cache/cache.h:47: error: syntax error before 'off_t' Try to put the following in the start of src/util/time.h #include ... that is what v0.12 has there. -- Jonas Fonseca From ant at zimage.com Thu Nov 23 09:48:23 2006 From: ant at zimage.com (Phillip Pi) Date: Thu, 23 Nov 2006 08:48:23 -0800 Subject: [elinks-users] Can't compile eLinks v0.11.2 In-Reply-To: <20061123145545.GA26427@diku.dk> References: <20061123002442.GC21576@alpha.zimage.com> <20061123145545.GA26427@diku.dk> Message-ID: <20061123164823.GA25246@alpha.zimage.com> > > I am having problems compiling eLinks v0.11.2 in an old Debian box with > > PPC (not mine). I get error: > > > > make[4]: Leaving directory > > `/u00/home/ant/download/elinks-0.11.2/src/document/html/parser' > > [CC] src/document/html/frames.o > > [CC] src/document/html/parser.o > > [CC] src/document/html/renderer.o > > In file included from ../../.././src/cache/cache.h:6, > > from renderer.c:13: > > ../../.././src/util/time.h:44: error: syntax error before 'n' > > In file included from renderer.c:13: > > ../../.././src/cache/cache.h:47: error: syntax error before 'off_t' > > Try to put the following in the start of src/util/time.h > > #include > > ... that is what v0.12 has there. Thank you, Jonas. I assume this will be fixed for the next version so I don't have to add this line manually. Am I correct? :) -- "We are anthill men upon an anthill world." --Ray Bradbury /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi at earthlink.net or ant at zimage.com ( ) From fonseca at diku.dk Thu Nov 23 11:17:35 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Thu, 23 Nov 2006 19:17:35 +0100 Subject: [elinks-users] Can't compile eLinks v0.11.2 In-Reply-To: <20061123164823.GA25246@alpha.zimage.com> References: <20061123002442.GC21576@alpha.zimage.com> <20061123145545.GA26427@diku.dk> <20061123164823.GA25246@alpha.zimage.com> Message-ID: <20061123181735.GA28694@diku.dk> Phillip Pi wrote Thu, Nov 23, 2006: > > > I am having problems compiling eLinks v0.11.2 in an old Debian box with > > > PPC (not mine). I get error: > > > > > > make[4]: Leaving directory > > > `/u00/home/ant/download/elinks-0.11.2/src/document/html/parser' > > > [CC] src/document/html/frames.o > > > [CC] src/document/html/parser.o > > > [CC] src/document/html/renderer.o > > > In file included from ../../.././src/cache/cache.h:6, > > > from renderer.c:13: > > > ../../.././src/util/time.h:44: error: syntax error before 'n' > > > In file included from renderer.c:13: > > > ../../.././src/cache/cache.h:47: error: syntax error before 'off_t' > > > > Try to put the following in the start of src/util/time.h > > > > #include > > > > ... that is what v0.12 has there. > > Thank you, Jonas. I assume this will be fixed for the next version so I > don't have to add this line manually. Am I correct? :) Yes, I hope to make another bugfix release for the stable branch before or after Christmass. -- Jonas Fonseca From ant at zimage.com Thu Nov 23 11:34:29 2006 From: ant at zimage.com (Phillip Pi) Date: Thu, 23 Nov 2006 10:34:29 -0800 Subject: [elinks-users] Can't compile eLinks v0.11.2 In-Reply-To: <20061123181735.GA28694@diku.dk> References: <20061123002442.GC21576@alpha.zimage.com> <20061123145545.GA26427@diku.dk> <20061123164823.GA25246@alpha.zimage.com> <20061123181735.GA28694@diku.dk> Message-ID: <20061123183429.GB25246@alpha.zimage.com> On Thu, Nov 23, 2006 at 07:17:35PM +0100, Jonas Fonseca wrote: > Phillip Pi wrote Thu, Nov 23, 2006: > > > > I am having problems compiling eLinks v0.11.2 in an old Debian box with > > > > PPC (not mine). I get error: > > > > > > > > make[4]: Leaving directory > > > > `/u00/home/ant/download/elinks-0.11.2/src/document/html/parser' > > > > [CC] src/document/html/frames.o > > > > [CC] src/document/html/parser.o > > > > [CC] src/document/html/renderer.o > > > > In file included from ../../.././src/cache/cache.h:6, > > > > from renderer.c:13: > > > > ../../.././src/util/time.h:44: error: syntax error before 'n' > > > > In file included from renderer.c:13: > > > > ../../.././src/cache/cache.h:47: error: syntax error before 'off_t' > > > > > > Try to put the following in the start of src/util/time.h > > > > > > #include > > > > > > ... that is what v0.12 has there. > > > > Thank you, Jonas. I assume this will be fixed for the next version so I > > don't have to add this line manually. Am I correct? :) > > Yes, I hope to make another bugfix release for the stable branch before > or after Christmass. Thanks. OK I am going to unsubscribe from this mailing list. E-mail me if you need anything. -- "We are anthill men upon an anthill world." --Ray Bradbury /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi at earthlink.net or ant at zimage.com ( ) From ant at zimage.com Mon Nov 27 03:15:01 2006 From: ant at zimage.com (Phillip Pi) Date: Mon, 27 Nov 2006 02:15:01 -0800 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. Message-ID: <20061127101500.GF25246@alpha.zimage.com> Hello, It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X 10.2.8: ... [MAKE all] src/network [MAKE all] src/network/ssl [CC] src/network/ssl/socket.o [CC] src/network/ssl/ssl.o [LD] src/network/ssl/lib.o [CC] src/network/connection.o [CC] src/network/dns.o [CC] src/network/progress.o [CC] src/network/socket.o socket.c: In function `get_pasv_socket': socket.c:282: error: `socklen_t' undeclared (first use in this function) socket.c:282: error: (Each undeclared identifier is reported only once socket.c:282: error: for each function it appears in.) socket.c:282: error: parse error before "len" socket.c:300: error: `len' undeclared (first use in this function) socket.c: In function `connected': socket.c:456: error: `socklen_t' undeclared (first use in this function) socket.c:456: error: parse error before "len" socket.c:461: error: `len' undeclared (first use in this function) make[2]: *** [socket.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 The whole compilation log can be found here: http://pastebin.ca/259301 ... Thank you in advance. :) -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi at earthlink.net or ant at zimage.com ( ) From zas at norz.org Mon Nov 27 04:03:27 2006 From: zas at norz.org (Laurent MONIN) Date: Mon, 27 Nov 2006 12:03:27 +0100 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. In-Reply-To: <20061127101500.GF25246@alpha.zimage.com> References: <20061127101500.GF25246@alpha.zimage.com> Message-ID: <456AC5FF.406@norz.org> Phillip Pi wrote: > Hello, > > It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > 10.2.8: > > ... > [MAKE all] src/network > [MAKE all] src/network/ssl > [CC] src/network/ssl/socket.o > [CC] src/network/ssl/ssl.o > [LD] src/network/ssl/lib.o > [CC] src/network/connection.o > [CC] src/network/dns.o > [CC] src/network/progress.o > [CC] src/network/socket.o > socket.c: In function `get_pasv_socket': > socket.c:282: error: `socklen_t' undeclared (first use in this function) > socket.c:282: error: (Each undeclared identifier is reported only once > socket.c:282: error: for each function it appears in.) > socket.c:282: error: parse error before "len" > socket.c:300: error: `len' undeclared (first use in this function) > socket.c: In function `connected': > socket.c:456: error: `socklen_t' undeclared (first use in this function) > socket.c:456: error: parse error before "len" > socket.c:461: error: `len' undeclared (first use in this function) > make[2]: *** [socket.o] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 > > The whole compilation log can be found here: http://pastebin.ca/259301 > ... > > Thank you in advance. :) > A potential explanation can be seen there: http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html Which version of MacOSx are you using ? -- Zas From zas at norz.org Mon Nov 27 04:12:09 2006 From: zas at norz.org (Laurent MONIN) Date: Mon, 27 Nov 2006 12:12:09 +0100 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. In-Reply-To: <456AC5FF.406@norz.org> References: <20061127101500.GF25246@alpha.zimage.com> <456AC5FF.406@norz.org> Message-ID: <456AC809.7080406@norz.org> Laurent MONIN wrote: > Phillip Pi wrote: >> Hello, >> >> It's me again. I am having problems compiling eLinks v0.11.2 in Mac >> OS X 10.2.8: >> >> ... >> [MAKE all] src/network >> [MAKE all] src/network/ssl >> [CC] src/network/ssl/socket.o >> [CC] src/network/ssl/ssl.o >> [LD] src/network/ssl/lib.o >> [CC] src/network/connection.o >> [CC] src/network/dns.o >> [CC] src/network/progress.o >> [CC] src/network/socket.o >> socket.c: In function `get_pasv_socket': >> socket.c:282: error: `socklen_t' undeclared (first use in this function) >> socket.c:282: error: (Each undeclared identifier is reported only once >> socket.c:282: error: for each function it appears in.) >> socket.c:282: error: parse error before "len" >> socket.c:300: error: `len' undeclared (first use in this function) >> socket.c: In function `connected': >> socket.c:456: error: `socklen_t' undeclared (first use in this function) >> socket.c:456: error: parse error before "len" >> socket.c:461: error: `len' undeclared (first use in this function) >> make[2]: *** [socket.o] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all-recursive] Error 1 >> >> The whole compilation log can be found here: >> http://pastebin.ca/259301 ... >> >> Thank you in advance. :) >> > A potential explanation can be seen there: > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > Which version of MacOSx are you using ? > Mac OS X 10.2.8 (Stupid me !) So we have to define it somewhere ;) -- Zas From ant at zimage.com Mon Nov 27 04:19:08 2006 From: ant at zimage.com (Phillip Pi) Date: Mon, 27 Nov 2006 03:19:08 -0800 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. In-Reply-To: <456AC5FF.406@norz.org> References: <20061127101500.GF25246@alpha.zimage.com> <456AC5FF.406@norz.org> Message-ID: <20061127111908.GG25246@alpha.zimage.com> On Mon, Nov 27, 2006 at 12:03:27PM +0100, Laurent MONIN wrote: > Phillip Pi wrote: > >Hello, > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > >10.2.8: > > > >... > >[MAKE all] src/network > >[MAKE all] src/network/ssl > > [CC] src/network/ssl/socket.o > > [CC] src/network/ssl/ssl.o > > [LD] src/network/ssl/lib.o > > [CC] src/network/connection.o > > [CC] src/network/dns.o > > [CC] src/network/progress.o > > [CC] src/network/socket.o > >socket.c: In function `get_pasv_socket': > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > >socket.c:282: error: (Each undeclared identifier is reported only once > >socket.c:282: error: for each function it appears in.) > >socket.c:282: error: parse error before "len" > >socket.c:300: error: `len' undeclared (first use in this function) > >socket.c: In function `connected': > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > >socket.c:456: error: parse error before "len" > >socket.c:461: error: `len' undeclared (first use in this function) > >make[2]: *** [socket.o] Error 1 > >make[1]: *** [all-recursive] Error 1 > >make: *** [all-recursive] Error 1 > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > >... > > > >Thank you in advance. :) > > > A potential explanation can be seen there: > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > Which version of MacOSx are you using ? I did mention v10.2.8 in my original post. See above. :) I was unable to find unix_net.h on my HDD. :( BTW, the last version I compiled was with v0.10.6 (9/25/2005). -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi at earthlink.net or ant at zimage.com ( ) From ant at zimage.com Mon Nov 27 04:20:19 2006 From: ant at zimage.com (Phillip Pi) Date: Mon, 27 Nov 2006 03:20:19 -0800 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. In-Reply-To: <456AC809.7080406@norz.org> References: <20061127101500.GF25246@alpha.zimage.com> <456AC5FF.406@norz.org> <456AC809.7080406@norz.org> Message-ID: <20061127112019.GI25246@alpha.zimage.com> On Mon, Nov 27, 2006 at 12:12:09PM +0100, Laurent MONIN wrote: > Laurent MONIN wrote: > >Phillip Pi wrote: > >>Hello, > >> > >>It's me again. I am having problems compiling eLinks v0.11.2 in Mac > >>OS X 10.2.8: > >> > >>... > >>[MAKE all] src/network > >>[MAKE all] src/network/ssl > >> [CC] src/network/ssl/socket.o > >> [CC] src/network/ssl/ssl.o > >> [LD] src/network/ssl/lib.o > >> [CC] src/network/connection.o > >> [CC] src/network/dns.o > >> [CC] src/network/progress.o > >> [CC] src/network/socket.o > >>socket.c: In function `get_pasv_socket': > >>socket.c:282: error: `socklen_t' undeclared (first use in this function) > >>socket.c:282: error: (Each undeclared identifier is reported only once > >>socket.c:282: error: for each function it appears in.) > >>socket.c:282: error: parse error before "len" > >>socket.c:300: error: `len' undeclared (first use in this function) > >>socket.c: In function `connected': > >>socket.c:456: error: `socklen_t' undeclared (first use in this function) > >>socket.c:456: error: parse error before "len" > >>socket.c:461: error: `len' undeclared (first use in this function) > >>make[2]: *** [socket.o] Error 1 > >>make[1]: *** [all-recursive] Error 1 > >>make: *** [all-recursive] Error 1 > >> > >>The whole compilation log can be found here: > >>http://pastebin.ca/259301 ... > >> > >>Thank you in advance. :) > >> > >A potential explanation can be seen there: > > > >http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > > >Which version of MacOSx are you using ? > > > Mac OS X 10.2.8 (Stupid me !) > > So we have to define it somewhere ;) DOH! Just sent a reply out. Yeah, where and I don't have that unix_net.h file. I am going to bed so I will deal with this later. -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi at earthlink.net or ant at zimage.com ( ) From fonseca at diku.dk Mon Nov 27 09:31:40 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Mon, 27 Nov 2006 17:31:40 +0100 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. In-Reply-To: <456AC5FF.406@norz.org> References: <20061127101500.GF25246@alpha.zimage.com> <456AC5FF.406@norz.org> Message-ID: <20061127163140.GB24548@diku.dk> Laurent MONIN wrote Mon, Nov 27, 2006: > Phillip Pi wrote: > >Hello, > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > >10.2.8: > > > >... > >[MAKE all] src/network > >[MAKE all] src/network/ssl > > [CC] src/network/ssl/socket.o > > [CC] src/network/ssl/ssl.o > > [LD] src/network/ssl/lib.o > > [CC] src/network/connection.o > > [CC] src/network/dns.o > > [CC] src/network/progress.o > > [CC] src/network/socket.o > >socket.c: In function `get_pasv_socket': > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > >socket.c:282: error: (Each undeclared identifier is reported only once > >socket.c:282: error: for each function it appears in.) > >socket.c:282: error: parse error before "len" > >socket.c:300: error: `len' undeclared (first use in this function) > >socket.c: In function `connected': > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > >socket.c:456: error: parse error before "len" > >socket.c:461: error: `len' undeclared (first use in this function) > >make[2]: *** [socket.o] Error 1 > >make[1]: *** [all-recursive] Error 1 > >make: *** [all-recursive] Error 1 > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > >... > > > >Thank you in advance. :) > > > A potential explanation can be seen there: > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html Ok, here is a small patch that should fix it. diff --git a/configure.in b/configure.in index ad44020..65ccc65 100644 --- a/configure.in +++ b/configure.in @@ -221,6 +221,7 @@ AC_SYS_LARGEFILE AC_TYPE_SIZE_T AC_TYPE_OFF_T EL_CHECK_TYPE(ssize_t, int) +EL_CHECK_TYPE(socketlen_t, int) EL_CHECK_SYS_TYPE(long long, HAVE_LONG_LONG, []) EL_CHECK_SYS_TYPE(off_t, HAVE_OFF_T, []) EL_CHECK_INT_TYPE(int32_t, HAVE_INT32_T) Phillip, does this work for you? -- Jonas Fonseca From ant at zimage.com Mon Nov 27 13:13:46 2006 From: ant at zimage.com (Phillip Pi) Date: Mon, 27 Nov 2006 12:13:46 -0800 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. In-Reply-To: <20061127163140.GB24548@diku.dk> References: <20061127101500.GF25246@alpha.zimage.com> <456AC5FF.406@norz.org> <20061127163140.GB24548@diku.dk> Message-ID: <20061127201346.GK24941@alpha.zimage.com> On Mon, Nov 27, 2006 at 05:31:40PM +0100, Jonas Fonseca wrote: > Laurent MONIN wrote Mon, Nov 27, 2006: > > Phillip Pi wrote: > > >Hello, > > > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > > >10.2.8: > > > > > >... > > >[MAKE all] src/network > > >[MAKE all] src/network/ssl > > > [CC] src/network/ssl/socket.o > > > [CC] src/network/ssl/ssl.o > > > [LD] src/network/ssl/lib.o > > > [CC] src/network/connection.o > > > [CC] src/network/dns.o > > > [CC] src/network/progress.o > > > [CC] src/network/socket.o > > >socket.c: In function `get_pasv_socket': > > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > > >socket.c:282: error: (Each undeclared identifier is reported only once > > >socket.c:282: error: for each function it appears in.) > > >socket.c:282: error: parse error before "len" > > >socket.c:300: error: `len' undeclared (first use in this function) > > >socket.c: In function `connected': > > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > > >socket.c:456: error: parse error before "len" > > >socket.c:461: error: `len' undeclared (first use in this function) > > >make[2]: *** [socket.o] Error 1 > > >make[1]: *** [all-recursive] Error 1 > > >make: *** [all-recursive] Error 1 > > > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > > >... > > > > > >Thank you in advance. :) > > > > > A potential explanation can be seen there: > > > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > Ok, here is a small patch that should fix it. > > diff --git a/configure.in b/configure.in > index ad44020..65ccc65 100644 > --- a/configure.in > +++ b/configure.in > @@ -221,6 +221,7 @@ AC_SYS_LARGEFILE > AC_TYPE_SIZE_T > AC_TYPE_OFF_T > EL_CHECK_TYPE(ssize_t, int) > +EL_CHECK_TYPE(socketlen_t, int) > EL_CHECK_SYS_TYPE(long long, HAVE_LONG_LONG, []) > EL_CHECK_SYS_TYPE(off_t, HAVE_OFF_T, []) > EL_CHECK_INT_TYPE(int32_t, HAVE_INT32_T) > > Phillip, does this work for you? I will try that later. I am at work right now, so can't do it now. -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi at earthlink.net or ant at zimage.com ( ) From fonseca at diku.dk Mon Nov 27 13:59:17 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Mon, 27 Nov 2006 21:59:17 +0100 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. In-Reply-To: <20061127201346.GK24941@alpha.zimage.com> References: <20061127101500.GF25246@alpha.zimage.com> <456AC5FF.406@norz.org> <20061127163140.GB24548@diku.dk> <20061127201346.GK24941@alpha.zimage.com> Message-ID: <20061127205917.GA32748@diku.dk> Phillip Pi wrote Mon, Nov 27, 2006: > On Mon, Nov 27, 2006 at 05:31:40PM +0100, Jonas Fonseca wrote: > > Laurent MONIN wrote Mon, Nov 27, 2006: > > > Phillip Pi wrote: > > > >Hello, > > > > > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > > > >10.2.8: > > > > > > > >... > > > >[MAKE all] src/network > > > >[MAKE all] src/network/ssl > > > > [CC] src/network/ssl/socket.o > > > > [CC] src/network/ssl/ssl.o > > > > [LD] src/network/ssl/lib.o > > > > [CC] src/network/connection.o > > > > [CC] src/network/dns.o > > > > [CC] src/network/progress.o > > > > [CC] src/network/socket.o > > > >socket.c: In function `get_pasv_socket': > > > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > > > >socket.c:282: error: (Each undeclared identifier is reported only once > > > >socket.c:282: error: for each function it appears in.) > > > >socket.c:282: error: parse error before "len" > > > >socket.c:300: error: `len' undeclared (first use in this function) > > > >socket.c: In function `connected': > > > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > > > >socket.c:456: error: parse error before "len" > > > >socket.c:461: error: `len' undeclared (first use in this function) > > > >make[2]: *** [socket.o] Error 1 > > > >make[1]: *** [all-recursive] Error 1 > > > >make: *** [all-recursive] Error 1 > > > > > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > > > >... > > > > > > > >Thank you in advance. :) > > > > > > > A potential explanation can be seen there: > > > > > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > > > Ok, here is a small patch that should fix it. > > > > diff --git a/configure.in b/configure.in > > index ad44020..65ccc65 100644 > > --- a/configure.in > > +++ b/configure.in > > @@ -221,6 +221,7 @@ AC_SYS_LARGEFILE > > AC_TYPE_SIZE_T > > AC_TYPE_OFF_T > > EL_CHECK_TYPE(ssize_t, int) > > +EL_CHECK_TYPE(socketlen_t, int) Oops, this should of course say socklen_t ... -- Jonas Fonseca From ant at zimage.com Mon Nov 27 14:03:43 2006 From: ant at zimage.com (Phillip Pi) Date: Mon, 27 Nov 2006 13:03:43 -0800 Subject: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors. In-Reply-To: <20061127205917.GA32748@diku.dk> References: <20061127101500.GF25246@alpha.zimage.com> <456AC5FF.406@norz.org> <20061127163140.GB24548@diku.dk> <20061127201346.GK24941@alpha.zimage.com> <20061127205917.GA32748@diku.dk> Message-ID: <20061127210343.GN24941@alpha.zimage.com> On Mon, Nov 27, 2006 at 09:59:17PM +0100, Jonas Fonseca wrote: > Phillip Pi wrote Mon, Nov 27, 2006: > > On Mon, Nov 27, 2006 at 05:31:40PM +0100, Jonas Fonseca wrote: > > > Laurent MONIN wrote Mon, Nov 27, 2006: > > > > Phillip Pi wrote: > > > > >Hello, > > > > > > > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > > > > >10.2.8: > > > > > > > > > >... > > > > >[MAKE all] src/network > > > > >[MAKE all] src/network/ssl > > > > > [CC] src/network/ssl/socket.o > > > > > [CC] src/network/ssl/ssl.o > > > > > [LD] src/network/ssl/lib.o > > > > > [CC] src/network/connection.o > > > > > [CC] src/network/dns.o > > > > > [CC] src/network/progress.o > > > > > [CC] src/network/socket.o > > > > >socket.c: In function `get_pasv_socket': > > > > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > > > > >socket.c:282: error: (Each undeclared identifier is reported only once > > > > >socket.c:282: error: for each function it appears in.) > > > > >socket.c:282: error: parse error before "len" > > > > >socket.c:300: error: `len' undeclared (first use in this function) > > > > >socket.c: In function `connected': > > > > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > > > > >socket.c:456: error: parse error before "len" > > > > >socket.c:461: error: `len' undeclared (first use in this function) > > > > >make[2]: *** [socket.o] Error 1 > > > > >make[1]: *** [all-recursive] Error 1 > > > > >make: *** [all-recursive] Error 1 > > > > > > > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > > > > >... > > > > > > > > > >Thank you in advance. :) > > > > > > > > > A potential explanation can be seen there: > > > > > > > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > > > > > Ok, here is a small patch that should fix it. > > > > > > diff --git a/configure.in b/configure.in > > > index ad44020..65ccc65 100644 > > > --- a/configure.in > > > +++ b/configure.in > > > @@ -221,6 +221,7 @@ AC_SYS_LARGEFILE > > > AC_TYPE_SIZE_T > > > AC_TYPE_OFF_T > > > EL_CHECK_TYPE(ssize_t, int) > > > +EL_CHECK_TYPE(socketlen_t, int) > > Oops, this should of course say socklen_t ... OK. Noted to try later. -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi at earthlink.net or ant at zimage.com ( ) From jean.yves.levesque at gmail.com Wed Nov 29 13:07:05 2006 From: jean.yves.levesque at gmail.com (Jean-Yves Levesque) Date: Thu, 30 Nov 2006 15:07:05 +1900 Subject: [elinks-users] (no subject) Message-ID: <111f7ec40611291207g43263064y8e37d9218d8f817c@mail.gmail.com> Trying to see if when using local cgi scripts if it is possible to pass arguments. Elinks does not seem to accept arguments (ie blabla.cgi?test) Any other way? jy -- Je ne parle qu'en mon nom. I am only speaking for myself. From fonseca at diku.dk Thu Nov 30 08:34:41 2006 From: fonseca at diku.dk (Jonas Fonseca) Date: Thu, 30 Nov 2006 16:34:41 +0100 Subject: [elinks-users] Passing arguments to local CGI scripts In-Reply-To: <111f7ec40611291207g43263064y8e37d9218d8f817c@mail.gmail.com> References: <111f7ec40611291207g43263064y8e37d9218d8f817c@mail.gmail.com> Message-ID: <20061130153441.GA21414@diku.dk> Hi, Jean-Yves Levesque wrote Thu, Nov 30, 2006: > Trying to see if when using local cgi scripts if > it is possible to pass arguments. Elinks does not > seem to accept arguments (ie blabla.cgi?test) > > Any other way? Are you sure that you have set up ELinks correctly? That is, added: set protocol.file.cgi.policy = 1 set protocol.file.cgi.path = "/path/to/cgi/dir" to elinks.conf. I've added a simple test script to the elinks-0.11 version that you can try out to see what variables (including QUERY_STRING) that ELinks sets up. I've attached it to this message. Hope this helps. -- Jonas Fonseca -------------- next part -------------- A non-text attachment was scrubbed... Name: print-vars.sh Type: application/x-sh Size: 658 bytes Desc: not available Url : http://linuxfromscratch.org/pipermail/elinks-users/attachments/20061130/912ccca7/attachment.sh From jean.yves.levesque at gmail.com Thu Nov 30 10:55:18 2006 From: jean.yves.levesque at gmail.com (Jean-Yves Levesque) Date: Fri, 1 Dec 2006 12:55:18 +1900 Subject: [elinks-users] Re : Passing arguments to local CGI scripts In-Reply-To: <20061130153441.GA21414@diku.dk> References: <111f7ec40611291207g43263064y8e37d9218d8f817c@mail.gmail.com> <20061130153441.GA21414@diku.dk> Message-ID: <111f7ec40611300955k5d41f484xfcdabe118c69880a@mail.gmail.com> 2006/12/1, Jonas Fonseca : > Hi, > > Jean-Yves Levesque wrote Thu, Nov 30, 2006: > > Trying to see if when using local cgi scripts if > > it is possible to pass arguments. Elinks does not > > seem to accept arguments (ie blabla.cgi?test) > > > > Any other way? > > Are you sure that you have set up ELinks correctly? That is, added: > > set protocol.file.cgi.policy = 1 > set protocol.file.cgi.path = "/path/to/cgi/dir" > > to elinks.conf. > > I've added a simple test script to the elinks-0.11 version that you > can try out to see what variables (including QUERY_STRING) that ELinks > sets up. I've attached it to this message. > > Hope this helps. > > -- > Jonas Fonseca > > Works fine. Was looking at the wrong stuff. QUERY_STRING works fine. thanks a lot jy. -- Je ne parle qu'en mon nom. I am only speaking for myself.