Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.sources.bugs Subject: Re: vcal on SCO Xenix Message-ID: <11490002@hpisod2.HP.COM> Date: Tue, 20-Oct-87 16:14:55 EDT Article-I.D.: hpisod2.11490002 Posted: Tue Oct 20 16:14:55 1987 Date-Received: Fri, 23-Oct-87 02:18:20 EDT References: Organization: Hewlett Packard, Cupertino Lines: 21 > 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, though it does retain > all the characters typed. However, upon exit, doing "stty sane echoe" > leaves the terminal in screwey mode (no echo, ignore 3 of 4 whitespaces...) > Any thoughts on this one world? Is there maybe a Sys5 version of vcal > around? Is the one from eddie.mit.edu really old or something? Thanks! For SystemV-based machines, change this to "stty -icanon -echo eof=\01 eol=\01". To return to normal, do "stty icanon echo eof='^D' eol='^@'". To see the reason behind these shenanigans: look for "MIN and TIME" on the man page that describes the terminal driver's non-canonical mode. Sorry, I don't know what is causing the other problem. Dave Decot Hewlett-Packard Company hpda!decot