[gambit-list] open-tcp-client won't connect to Emacs server?

Adrien Piérard pierarda at iro.umontreal.ca
Fri Oct 2 02:17:50 EDT 2009


Hi James.


I run Gambit-C v4.5.1

Knowing nothing about grime, I added in a .emacs

(defun dummy-f (&rest x) (print x))
(make-network-process :name "grime3d"
                      :buffer "*grime3d*"
                      :host "localhost"
                      :server t
                      :service 12000
                      :filter 'dummy-f
                      :log 'dummy-f))


And fired gsi

>> (define p (open-tcp-client "localhost:12000"))
>> (read p)

"Nothing happens", it blocks

>> (define p (open-tcp-client "localhost:12000"))
>> (with-output-to-port p (lambda () (pretty-print "lol" p)))
>> (force-output p)

It expectedly prints lol in emacs


I can't help you more with that.

P!

-- 
Français, English, 日本語, 한국어


More information about the Gambit-list mailing list