Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hippo.ru.ac.za!ee.und.ac.za!ticsa.com!ucthpx!oryx!gavan From: gavan@oryx.mth.uct.ac.za (Gavan Tredoux) Newsgroups: comp.os.386bsd.questions Subject: termios VMIN/VTIME ignored? Date: 16 Jun 1994 11:46:47 GMT Organization: University of Cape Town Lines: 22 Message-ID: <2tpe37$7k3@ucthpx.uct.ac.za> NNTP-Posting-Host: oryx.mth.uct.ac.za X-Newsreader: TIN [version 1.2 PL0] It would appear that setting the c_cc[VMIN] and c_cc[VTIME] params. in the termios structure has no effect on FreeBSD1.0 (I haven't tried other *BSDs). I'm trying to establish a timeout on reading from /dev/tty01 with -clocal and -icanon set (ie raw mode). Naturally this timeout can be done higher up at program level, but the kernel is really the place to put this (it's faster). Does anyone know how to get this working or whether it works at all under freebsd? Looking at the man entry for stty, supposedly min and time can be set, but the real stty utility doesn't recognize that command (manual and utility are clearly out of synch). Puzzled Gavan Tredoux Mosaic Software Cape Town