[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: connection to tcl/tk
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: Re: connection to tcl/tk
- From: brent@amber.ssd.csd.harris.com (Brent Benson)
- Date: Fri, 10 Sep 93 08:01:51 -0400
- In-reply-to: <9309101052.AA06445@ma2s2.mathematik.uni-karlsruhe.de> (haible@ma2s2.mathematik.uni-karlsruhe.de)
# From: haible@ma2s2.mathematik.uni-karlsruhe.de (Bruno Haible)
#
# CLISP supports unidirectional streams to other programs through the
# functions MAKE-PIPE-INPUT-STREAM and MAKE-PIPE-OUTPUT-STREAM. I haven't
# implemented bidirectional streams because that could lead to deadlocks.
# See impnotes.txt for details.
...
# You may simplify this by using FIFOs (named pipes) instead of ordinary files.
# Try something like that:
#
# (shell "mkfifo /tmp/wish-in")
# (shell "mkfifo /tmp/wish-out")
# (setq *lisp-to-wish-stream*
# (make-two-way-stream (open "/tmp/wish-out" :direction :input)
# (open "/tmp/wish-in" :direction :output)
# ) )
# (shell "wish < /tmp/wish-in > /tmp/wish-out")
# (delete-file "/tmp/wish-in")
# (delete-file "/tmp/wish-out")
#
Why not implement MAKE-PIPE-IO-STREAM in terms of this solution and
make it part of CLISP?