Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83 based; site homxb.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!homxb!5432dh From: 5432dh@homxb.UUCP (David Himber) Newsgroups: net.unix-wizards Subject: Results: finer grain sleep (correction) Message-ID: <694@homxb.UUCP> Date: Fri, 2-Aug-85 08:40:41 EDT Article-I.D.: homxb.694 Posted: Fri Aug 2 08:40:41 1985 Date-Received: Sat, 3-Aug-85 05:31:15 EDT Organization: AT&T Bell Labs, Holmdel NJ Lines: 9 In my results on how to go about getting a finer grain sleep one of the suggestions involved opening a tty port and setting ~ICANON and setting VMIN=1 and VTIME=n where n is the number of 1/10th seconds you wanted. I was told that it would wait for one character, so here is the correct way: termio.c_lflag &= ~ICANON; termio.c_cc[VMIN]= 0; termio.c_cc[VTIME] = n; where n is the number of 1/10th seconds. David Himber AT&T-BL hotlb!dxh (201)-949-6323