Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!botter!erikb From: erikb@cs.vu.nl (Erik Baalbergen) Newsgroups: comp.os.minix Subject: test.c and -t Message-ID: <1142@botter.cs.vu.nl> Date: Thu, 16-Apr-87 07:44:17 EST Article-I.D.: botter.1142 Posted: Thu Apr 16 07:44:17 1987 Date-Received: Sun, 19-Apr-87 08:37:32 EST Sender: remote@cs.vu.nl Reply-To: erikb@cs.vu.nl (Erik Baalbergen) Distribution: world Organization: V.U. Informatica, Amsterdam Lines: 20 Keywords: test The following fix is needed in test.c to make 'test' run on minix and to make it accept the "-t fildes" primitive. Note that 'fildes' has to be specified. (The '>' lines refer to the new version of test.c) Erik Baalbergen -- cut here -- 2,3c2,3 < #include < #include --- > #include > #include 175a176 > struct sgttyb t; 188,189c189,190 < case FILTT: /* not implemented */ < syntax(); --- > case FILTT: > return ioctl((int)num(nm), TIOCGETP, &t) == 0;