/dev/tty not available in inferior lisp

Andreas Fuchs <[email protected]> Sun, 13 Apr 2003 09:44:47 +0000 (UTC)
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
Hi,
I noticed that /dev/tty is not available from any inferior lisp when
running in emacs21.3.50.3 (recent, from cvs). This produces problems
when using the LDB on sbcl, which insists on opening /dev/tty for I/O.

from cmucl:

* (ext:run-program "/bin/sh" '("-c" "echo >/dev/tty") :output t)
/bin/sh: line 1: /dev/tty: No such device or address

from sbcl:

*  (sb-ext:run-program "/bin/sh" '("-c" "echo >/dev/tty") :output t)
/bin/sh: line 1: /dev/tty: No such device or address

This only happens in ilisp. I can comint-run sbcl and cmucl, without
anything like that happening.

,----[ M-x comint-run RET ~/bin/sbcl RET ]
| * (sb-ext:run-program "/bin/sh" '("-c" "echo >/dev/tty") :output t)
| 
| 
| #<SB-IMPL::PROCESS 9496 :EXITED>
`----

What's happening there?

-- 
Andreas Fuchs, <[email protected]>, [email protected], antifuchs



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com