z_axis | 13 Sep 02:54
Favicon

How to compile the rc file of sawfish ?

> ls ~/.sawfish/
custom	lisp/	rc

The rc is my Run Control file of sawfish.  In order to speed up sawfish, i  
want to compile it to bytecode.

Sincerely!

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
Picon

New versions?

Hello,

I'm just wondering about this project's status, there will be more
versions or is it just stalled?

I just started using librep, looks a great embedded Lisp to me - small
and fast enough, yet resourceful.

--
.o.     -=- Arkanoid -=-
..o     http://bertelli.endofinternet.net     <><
ooo     Debian GNU/Linux

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
Eric Mangold | 7 Apr 20:02

[PATCH] Re: Closing stdin of asynchronous sub processes

So I had a look at the librep source and came up with a patch to
src/unix_processes.c that exposes a "close-process" function. It
just calls the close_process_files C function that was already
present.

My test program below works perfectly once I added a call to
close-process.

Hopefully this can be committed?

-Eric Mangold

> Hello,
>
> I need set the primary X selection from rep (under sawfish) and it seems
> like using the xclip(1) program is the easiest way.
>
> To test outside of sawfish, I run this with rep:
>
> (setq proc (make-process))
> (start-process proc "xclip" "-i") ;;this reads the text to set from stdin
> (write proc "set selection to this")
>
> OK, that works fine if you just run it with no event-loop. But, if you add
> the event loop...
>
> (setq interrupt-mode 'exit) ;; make it so we can C-c out
> (setq proc (make-process))
> (start-process proc "xclip" "-i") ;;this reads the text to set from stdin
> (write proc "set selection to this")
(Continue reading)

Eric Mangold | 6 Apr 12:07

Closing stdin of asynchronous sub processes

Hello,

I need set the primary X selection from rep (under sawfish) and it seems
like using the xclip(1) program is the easiest way.

To test outside of sawfish, I run this with rep:

(setq proc (make-process))
(start-process proc "xclip" "-i") ;;this reads the text to set from stdin
(write proc "set selection to this")

OK, that works fine if you just run it with no event-loop. But, if you add
the event loop...

(setq interrupt-mode 'exit) ;; make it so we can C-c out
(setq proc (make-process))
(start-process proc "xclip" "-i") ;;this reads the text to set from stdin
(write proc "set selection to this")
(recursive-edit)

Then the xclip program is indeed launched but it never terminates because
it's stdin is still waiting for EOF. Apparently in the non-event-loop
version, the terminating of the rep binary forces the stdin/out/err of
xclip to be closed, and so xclip goes and does its thing.

So how does one close the stdin (if that is indeed my problem)?

Thanks,
Eric Mangold

(Continue reading)

binarychen | 4 Apr 03:37

Embed Lisp interpreter in my program

Hi all,

I want to embed a LISP interpreter in my software, let it touch the
variables in my program and can control my program behavior.

I don't want to implement a interpreter from ground up, so if there is a
convenient way?

Any help appreciated!

Binary

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Maurice | 9 Jan 02:06
Picon

make-thread on 64bit causes segfault

Hi,

rep compiled for x86_64 gives me a segmentation fault when calling the
function 'make-thread'. My system is an AMD 64 Athlon processor using
debian-amd64 as the operating system.

I tried the latest cvs-version:

  user> (require 'rep.threads)
  t
  user> (make-thread (lambda ()))

  Program received signal SIGSEGV, Segmentation fault.
  0x0000002a95d5cce3 in memcpy () from /lib/libc.so.6
  (gdb) bt
  #0  0x0000002a95d5cce3 in memcpy () from /lib/libc.so.6
  #1  0x0000002a95689015 in save_stack (c=0x5450c0) at continuations.c:492
  #2  0x0000002a956896f9 in primitive_call_cc (
      callback=0x2a95689d00 <inner_make_thread>, data=0x545040, c=0x5450c0)
      at continuations.c:735
  #3  0x0000002a95689e0d in ensure_default_thread () at continuations.c:1016
  #4  0x0000002a95689e82 in make_thread (thunk=5507320, name=5525696, 
      suspended=0) at continuations.c:1037
  ...

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
(Continue reading)

Pacheco Jason NPRI | 26 May 14:58
Picon
Picon

RE: Configure does not check for makeinfo

> Have you checked if makeinfo really exist and if it reside in a 
> directory listed in PATH?
> What kind of system are you compiling it on?
> The makeinfo utility (which is part of the GNU project) translates 
> texinfo sources to various formats, including TeX, HTML, XML, DocBook 
> and GNU Info.

No, makeinfo was not on the system. I am setting up a Crux Linux system
and compiling everything from scratch so I have a good idea of what is
on the machine and makeinfo was not on there. I completed the compilation
successfully by installing texinfo which also installed makeinfo. The
reason for my post to this list was to notify you that the configure script
is not checking for makeinfo when it is required.

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Johan Persson | 26 May 11:14

Re: Configure does not check for makeinfo

librep-list-request <at> lists.sourceforge.net wrote:

>Message: 4
>Date: Tue, 25 May 2004 07:59:56 -0400
>From: Pacheco Jason NPRI <PachecoJ <at> Npt.NUWC.Navy.Mil>
>Subject: Configure does not check for makeinfo
>To: "'librep-list <at> lists.sourceforge.net'" <librep-list <at> lists.sourceforge.net>
>
>	I would just like to note that I compiled librep from source last night and, while the configuration
process completed successfully, the compilation failed with the error "makeinfo command not found" (or
something along those lines). I assume that the configure script should check for the existance of a
makeinfo command.
>
>Jason Pacheco
>Systems Developer
>Naval Undersea Warfare Center
>  
>
Have you checked if makeinfo really exist and if it reside in a 
directory listed in PATH?
What kind of system are you compiling it on?
The makeinfo utility (which is part of the GNU project) translates 
texinfo sources to various formats, including TeX, HTML, XML, DocBook 
and GNU Info.

--

-- 
 \+---------------------------------------------------------+/
 / Johan Persson              Coder and a bloody philosopher \
 \ toki <at> shell.linux.se       http://www.shell.linux.se/toki/ /
 /+---------------------------------------------------------+\
(Continue reading)

Pacheco Jason NPRI | 25 May 13:59
Picon
Picon

Configure does not check for makeinfo

	I would just like to note that I compiled librep from source last night and, while the configuration
process completed successfully, the compilation failed with the error "makeinfo command not found" (or
something along those lines). I assume that the configure script should check for the existance of a
makeinfo command.

Jason Pacheco
Systems Developer
Naval Undersea Warfare Center

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
bryan | 29 Apr 08:20

Error in rep: undefined symbol

I recently upgraded to librep-0.17 and sawfish-1.2-gtk1.  Now, when
I run sawfish-ui, I get this error:

rep: error in loading shared libraries:
/usr/local/libexec/rep/0.17/i686-pc-linux-gnu/rep/i18n/gettext.so: undefined symbol: bind_textdomain_codeset

I have no idea how to fix this myself.  The sawfish upgrade tweaked
some of my preferences, and I'd like to tweak them back.  Can someone
suggest how I can get sawfish-ui working?

--
Bryan Medsker
bryan <at> ak.net

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Sam Steingold | 1 Jan 20:08
Picon

SourceForge needs a Lisp foundry

This message is sent to mailing lists of some Lispy SF projects.
Reply-To & Followup-To are set to the maxima list (since Maxima is the
most popular Lispy SF project).

WIBNI there were a Lisp SF foundry? <http://foundries.sourceforge.net/>
All we need is a volunteer to administer the foundry.
<http://sourceforge.net/docman/display_doc.php?docid=889&group_id=1#foundryrequest>

Any volunteers?

--

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Failure is not an option. It comes bundled with your Microsoft product.

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

Gmane