Fix for Solaris: make master pty in FORK-PTY-SESSION a TTY as well.

This commit is contained in:
mainzelm 2006-04-26 11:57:04 +00:00
parent 8f234fc733
commit da739b9032
1 changed files with 2 additions and 3 deletions

View File

@ -33,8 +33,8 @@
(pty-out (dup->outport pty-in)))
(close-input-port tty-in)
; (set-port-buffering pty-out bufpol/none)
(values process pty-in pty-out ttyname))))
)
(make-pty-a-tty! pty-in)
(values process pty-in pty-out ttyname)))))
;;; (open-pty)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ -48,7 +48,6 @@
;;; corresponding output ports.
(define (open-pty-from-devname)
(warn "calling open-pty-from-devname")
(let ((next-pty (make-pty-generator)))
(let loop ()
(cond ((next-pty) =>