Commit bc260176 authored by wlott's avatar wlott
Browse files

Changed ``mach:'' to ``unix:''. Added ``alien:'' in front of ``alien-sap''.

parent 26aa2140
......@@ -7,7 +7,7 @@
;;; Scott Fahlman or
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/tty-disp-rt.lisp,v 1992/02/14 23:51:16 wlott Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/tty-disp-rt.lisp,v 1992/02/15 01:06:24 wlott Exp $")
;;; **********************************************************************
......@@ -64,8 +64,10 @@
(defun get-terminal-attributes (&optional (fd 1))
(alien:with-alien ((winsize (alien:struct unix:winsize))
(sgtty (alien:struct unix:sgttyb)))
(let ((size-win (unix:unix-ioctl fd mach:TIOCGWINSZ (alien-sap winsize)))
(speed-win (unix:unix-ioctl fd mach:TIOCGETP (alien-sap sgtty))))
(let ((size-win (unix:unix-ioctl fd unix:TIOCGWINSZ
(alien:alien-sap winsize)))
(speed-win (unix:unix-ioctl fd unix:TIOCGETP
(alien:alien-sap sgtty))))
(flet ((frob (val)
(if (and size-win (not (zerop val)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment