Re: [dev] Problem building dmenu tip

2010-07-19 Thread Szabolcs Nagy
On 7/18/10, Josh Rickmar joshua_rick...@eumx.net wrote: in the irc channel said he remembers a similar problem when linking with ld on Linux. Any ideas? nah, that's not what i meant i just noted that you get similar error when you link with ld in general like ld -o foo -lc foo.o

Re: [dev] Problem building dmenu tip

2010-07-19 Thread Anselm R Garbe
On 18 July 2010 21:40, Josh Rickmar joshua_rick...@eumx.net wrote: I'm having the following problem when building dmenu tip on OpenBSD current.  At first I thought it was a problem with OpenBSD, but a user in the irc channel said he remembers a similar problem when linking with ld on Linux.  

Re: [dev] [9base] patch to build on OpenBSD

2010-07-19 Thread Anselm R Garbe
Hi Sebastian, On 18 July 2010 17:26, Sebastian Liem sebastian.l...@gmail.com wrote: ehlo, I had to do some changes to successfully build 9base on OpenBSD-current. Changes  a. include sys/dkio.h in lib9/_p9dir.c (already done in plan9port)  b. s/_mktemp/__mktemp/g in ed/ed.c due clashing

Re: [dev] Problem building dmenu tip

2010-07-19 Thread Szabolcs Nagy
* Anselm R Garbe garb...@gmail.com [2010-07-19 07:45:16 +0100]: On 18 July 2010 21:40, Josh Rickmar joshua_rick...@eumx.net wrote: CC -o dinput /usr/lib/crt0.o(.text+0x9d): In function `___start': : undefined reference to `main' collect2: ld returned 1 exit status *** Error code 1

Re: [dev] [9base] patch to build on OpenBSD

2010-07-19 Thread Kris Maglione
On Mon, Jul 19, 2010 at 07:48:13AM +0100, Anselm R Garbe wrote: Hi Sebastian, On 18 July 2010 17:26, Sebastian Liem sebastian.l...@gmail.com wrote: ehlo, I had to do some changes to successfully build 9base on OpenBSD-current. Changes  a. include sys/dkio.h in lib9/_p9dir.c (already done in

Re: [dev] Problem building dmenu tip

2010-07-19 Thread Josh Rickmar
On Mon, Jul 19, 2010 at 08:30:40AM +0200, Szabolcs Nagy wrote: On 7/18/10, Josh Rickmar joshua_rick...@eumx.net wrote: in the irc channel said he remembers a similar problem when linking with ld on Linux. Any ideas? nah, that's not what i meant i just noted that you get similar error

Re: [dev] Problem building dmenu tip

2010-07-19 Thread Josh Rickmar
On Mon, Jul 19, 2010 at 11:35:03AM +0200, Szabolcs Nagy wrote: * Anselm R Garbe garb...@gmail.com [2010-07-19 07:45:16 +0100]: On 18 July 2010 21:40, Josh Rickmar joshua_rick...@eumx.net wrote: CC -o dinput /usr/lib/crt0.o(.text+0x9d): In function `___start': : undefined reference to

Re: [dev] [9base] patch to build on OpenBSD

2010-07-19 Thread Kris Maglione
On Sun, Jul 18, 2010 at 06:26:55PM +0200, Sebastian Liem wrote: diff -r 09af6227574f ed/ed.c --- a/ed/ed.c Fri Jun 04 11:44:25 2010 +0100 +++ b/ed/ed.c Sun Jul 18 17:35:53 2010 +0200 @@ -121,7 +121,7 @@ voidsetwide(void); voidsqueeze(int); voidsubstitute(int); -char*

Re: [dev] wmii: dash, bash and tests in wmiirc

2010-07-19 Thread LuX
Hi! Thank you for your quick and complete answer. On Sun, Jul 18, 2010 at 09:30:19PM -0400, Kris Maglione wrote: First of all, you're making things too complicated. The following would suffice: You're right, but I wanted to know was the reason why this command didn't work in wmiirc. You gave

Re: [dev] wmii: dash, bash and tests in wmiirc

2010-07-19 Thread Kris Maglione
On Mon, Jul 19, 2010 at 08:46:32PM +0200, LuX wrote: By the way, what I wanted to do when I encountered this stupid problem with -f flag, if not clever, might at least be usefull for other people. I wanted to add to wmii some basic ability to deal with USB pens: - mount and open them

Re: [dev] wmii: dash, bash and tests in wmiirc

2010-07-19 Thread Kris Maglione
On Mon, Jul 19, 2010 at 08:46:32PM +0200, LuX wrote: https://bbs.archlinux.org/viewtopic.php?pid=794658#p794658 Oh, and while I'm thinking about it, it's really best not to post such scripts as diffs. I tend to just post them as they'd appear in wmiirc_local, so: foo() { ... }

Re: [dev] wmii: dash, bash and tests in wmiirc

2010-07-19 Thread Suraj Kurapati
On Mon, Jul 19, 2010 at 11:46 AM, LuX lux.onthe...@free.fr wrote: I wanted to add to wmii some basic ability to deal with USB pens: - mount and open them automatically when plugged in; I use ConsoleKit (by way of the Thunar file manager) for this, but I don't know how it works internally. I

Re: [dev] wmii: dash, bash and tests in wmiirc

2010-07-19 Thread Kris Maglione
On Mon, Jul 19, 2010 at 03:21:43PM -0700, Suraj Kurapati wrote: On Mon, Jul 19, 2010 at 11:46 AM, LuX lux.onthe...@free.fr wrote: I wanted to add to wmii some basic ability to deal with USB pens: - mount and open them automatically when plugged in; I use ConsoleKit (by way of the Thunar file