Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!emory!rsiatl!kd4nc!n4hgf!wht From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker) Newsgroups: comp.unix.xenix Subject: Re: CBREAK on SCO XENIX Message-ID: <177@n4hgf.Mt-Park.GA.US> Date: 25 Jul 90 06:26:49 GMT References: <1990Jul06.094023.21756@pemstgt.gtc.de> <269e591d-5c1.1comp.unix.xenix-1@vpnet.chi.il.us> <173@n4hgf.Mt-Park.GA.US> <192@xstor.UUCP> Reply-To: wht@n4hgf.UUCP (Warren Tucker) Organization: Amateur Radio Station N4HGF Lines: 21 In article <192@xstor.UUCP> iverson@xstor.UUCP (Tim Iverson) writes: >In article <173@n4hgf.Mt-Park.GA.US> wht@n4hgf.UUCP (Warren Tucker) writes: >>> [paraphrased] What's CBREAK? What's the UNIX equivilant for it? >> >>CBREAK may be found but it is also unsupported :-). >It's used mostly to unbuffer tty input so that programs can get a key as it >is typed (e.g. rn, emacs, vi, jove, etc. all use cbreak mode or its >equivilent). Under Xenix, support for this is provided via the termio >library calls as follows (see the termio manual entry for details): Or by comm programs :-) CBREAK, however, doesn't work. I must prefer termio to the cluster of structures you need for BSD tty support, but if CBREAK worked, I wouldn't have to 'modernize' progras I port, then keeping ifdefs around to keep the BSD stuff working. -------------------------------------------------------------------- Warren Tucker, TuckerWare emory!n4hgf!wht or wht@n4hgf.Mt-Park.GA.US E = I * R, if you're lucky, and only then on alternate Tuesdays.