Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ll-xn!mit-eddie!husc6!cmcl2!brl-adm!adm!rbj@icst-cmr.arpa From: rbj@icst-cmr.arpa (Root Boy Jim) Newsgroups: comp.sources.bugs Subject: vcal on SCO Xenix Message-ID: <9971@brl-adm.ARPA> Date: Mon, 26-Oct-87 14:58:36 EST Article-I.D.: brl-adm.9971 Posted: Mon Oct 26 14:58:36 1987 Date-Received: Wed, 28-Oct-87 20:30:31 EST Sender: news@brl-adm.ARPA Lines: 35 From: Jay Mathew Libove Newsgroups: comp.sources.bugs Date: 20 Oct 87 01:38:55 GMT I FTP'd "vcal" from eddie.mit.edu (src/local/vcal/) and attempted to port it to SCO Xenix. I am having trouble in two areas: 1) the terminal modes are set by a system() call - the BSD version does a system("stty -cbreak -echo"). Xenix doesn't have cbreak. The closest I have so far got it to working was to do a "stty -icanon -echo" but this only updates the screen every fourth character ... I don't know much about the System V tty driver, but they overloaded the EOF char field with something called VMIN & VTIME (or similar, I forget the exact name), that tell the driver to return after VMIN chars and/or VTIME time units. Your EOF char is probably ^D which has a value of four. You can probably get away with setting your EOF char to ^A, which has a value of one, to get every character. Better solutions probably exist. Have fun! Thanks for all help! Jay Libove Arpa: jl42@andrew.cmu.edu Bitnet: jl42@drycas.bitnet UUCP: ...!{uunet, ucbvax, harvard}!andrew.cmu.edu!jl42 UUCP: ...!{pitt | bellcore} !darth!libove!libove Disclaimer: I don't tell my employers what I think... Turnabout is fair play. (Root Boy) Jim Cottrell National Bureau of Standards Flamer's Hotline: (301) 975-5688 I love ROCK 'N ROLL! I memorized the all WORDS to ``WIPE-OUT'' in 1965!!