Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jon Kleiser
cket", and > run > > ln -s /usr/local/opt/readline/lib/libreadline.dylib > > That way, Racket will find the "libreadline.dylib" from Homebrew > instead of the not-libreadline from the OS, since Racket looks in its > own "lib" first. > > At F

Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jon Kleiser
problem with libedit, which Racket uses by default, and the > version of libedit that comes with Mac OS is not built with Unicode > support. > > If you insteall readline (e.g., through Homebrew), then installing the > "readline-gpl" Racket package will use readline and s

Re: [racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jon Kleiser
My Terminal "Advanced" tab also says "Unicode (UTF-8)". When I run the PicoLisp REPL, then I have no translation and stripping, "høy" is entered as "høy", it seems. fredag 14. september 2018 10.55.28 UTC+2 skrev Jens Axel Søgaard følgende: > > > D

[racket-users] Non-ASCII characters stripped from input in macOS Terminal

2018-09-14 Thread Jon Kleiser
If I enter this in the REPL in my macOS Terminal (string->list "hei") then I get '(#\h #\e #\i), as expected, but if I replace "hei" with "høy", the input line suddenly looks like this (string->list "h\U+FFC3\U+FFB8y") and what I get back is '(#\h #\y). The letter "ø" has been stripped away. The

Re: [racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
I think I found the answer: Use (provide . . .). torsdag 13. september 2018 13.16.15 UTC+2 skrev Jon Kleiser følgende: > > Sorry, but I'm not quite happy yet. ;-) > When I get the ">" prompt, the definitions made in my hello.rkt seems to > be gone. I get "ca

Re: [racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
Sorry, but I'm not quite happy yet. ;-) When I get the ">" prompt, the definitions made in my hello.rkt seems to be gone. I get "cannot reference an identifier before its definition". How can I avoid that definitions and data get lost? torsdag 13. september 2018 13.0

Re: [racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
Works like a charm. Thanks! Maybe that "21.1.1 Interactive Mode" chapter should mention that "-it" solution? torsdag 13. september 2018 12.58.57 UTC+2 skrev Matthias Felleisen følgende: > > > $ racket -it foo.bar > > > > On Sep 13, 2018, at 4:19 AM,

[racket-users] Re: Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
september 2018 10.19.22 UTC+2 skrev Jon Kleiser følgende: > > Hi, > > I would like to run some Racket programs in the macOS Terminal (racket > foo.rkt bar1 bar2), and keep staying in the Racket REPL when my code has > completed. Is that possible? > > /Jon > -- You receiv

[racket-users] Running from command line and staying in REPL?

2018-09-13 Thread Jon Kleiser
Hi, I would like to run some Racket programs in the macOS Terminal (racket foo.rkt bar1 bar2), and keep staying in the Racket REPL when my code has completed. Is that possible? /Jon -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscr

[racket] OpenGL libraries, old vs. new

2013-07-29 Thread Jon Kleiser
Hi, On this page I see syntax like this: (require sgl sgl/gl-vectors) (gl-begin 'triangles) (gl-vertex 1 2 3) ... However, in the file collects/sgl/examples/alpha.rkt the syntax is more like this: (glBegin GL_QUADS) (glNormal3d 0 0 1) (glTexCoord

[racket] DrRacket Tools/plugins info wanted

2013-07-29 Thread Jon Kleiser
Hi, On one of my older Macs, DrRacket uses quite some time to launch, and I wondered if disabling some of the 17 Tools in the Preferences could help. Before disabling any of these, however, I'd like some info about what they really do. Looking here didn't make me any wiser: