Re: [racket-users] Escaping strings for the shell

2018-12-28 Thread Neil Van Dyke
David Storrs wrote on 12/28/18 11:09 PM: I am using 'system' to offload some work onto wget and other applications in a few one-off scripts. Is there an easy way to escape a string so it's suitable for usage in the shell? Things like backwhacking all the quotes and relevant spaces and such.

Re: [racket-users] Escaping strings for the shell

2018-12-28 Thread Jack Rosenthal
On Fri, 28 Dec 2018 at 23:09 -0500, David Storrs wrote: > I am using 'system' to offload some work onto wget and other > applications in a few one-off scripts. Is there an easy way to escape > a string so it's suitable for usage in the shell? Things like > backwhacking all the quotes and relevant

[racket-users] Escaping strings for the shell

2018-12-28 Thread David Storrs
I am using 'system' to offload some work onto wget and other applications in a few one-off scripts. Is there an easy way to escape a string so it's suitable for usage in the shell? Things like backwhacking all the quotes and relevant spaces and such. -- You received this message because you are

[racket-users] make-output-port events

2018-12-28 Thread Curtis Dutton
I'm trying to create an output port that wraps a set of foreign interface functions. The ffi has a bytes_writable function which tells how many bytes can be written as well as a write_bytes function that does the writing. In this case I need to poll with bytes_writable until it returns more than

Re: [racket-users] hackernews

2018-12-28 Thread Hendrik Boom
On Fri, Dec 28, 2018 at 06:18:30AM +0100, Jesse Alama wrote: > > I've had some moderate success in established, non-Racket companies by > working around -- rather than taking on and trying to replace -- the main > language & toolchain. For the PHP shop where I work, I made a DSL called > Riposte [

[racket-users] Long live SDRAW.LISP -- in Racket pict!

2018-12-28 Thread Jack Rosenthal
Greetings Racketeers, In case you are not familiar with the SDRAW program from Touretzky's "Common Lisp: A Gentle Intro to Symbolic Computation", it is a program which draws cons-cell diagrams in an X-window using CLX. The program is pretty dated, and getting it up and running on a modern machine

Re: [racket-users] hackernews

2018-12-28 Thread Thomas F. Burdick
On December 27, 2018 10:47:24 PM GMT+01:00, Stephen De Gabrielle wrote: >I always wanted to ask if the prototype object model is a good idea or >bad idea? The most fun I ever had making GUIs was in Garnet, a library for CMU CL which combined prototype objects and a system where slots we're c

[racket-users] how to implement chez scheme's unread-char on racket?

2018-12-28 Thread 撒闿要
hi: I want to use unread-char in racket, but I do not know how to implement ? Anyone can help me? Thank you! -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to