-- Copyright (C) 1985, 1986 by Xerox Corporation. All rights reserved. -- CWindowLib.mesa -- NFS 30-Sep-85 10:12:13 -- MEW 13-Apr-86 9:55:13 DIRECTORY CIOLib USING [FilePtr], CString USING [CString]; CWindowLib:DEFINITIONS = { sgttyb:TYPE = INTEGER; ioctl:PROCEDURE[ stream:CIOLib.FilePtr, request:INTEGER, argp:LONG POINTER TO sgttyb] RETURNS[INTEGER]; -- Allowable values for the request parameter (defined in sgtty.h): TIOCGETP:INTEGER = 0; -- get mode TIOCSETP:INTEGER = 1; -- set mode -- Values for sgttyb: normalMode:sgttyb = echoMode; -- echo on, raw mode off echoMode:INTEGER = 10B; crMode:INTEGER = 20B; rawMode:INTEGER = 40B; cBreakMode:INTEGER = 02; system:PROCEDURE[string:CString.CString] RETURNS [INTEGER]; }.