Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!decvax!ittatc!dcdwest!sdcsvax!ucbvax!UDCVM.BITNET!MHICKEY From: MHICKEY@UDCVM.BITNET (Mike Hickey) Newsgroups: mod.computers.vax Subject: VAX C problem (?) Message-ID: <8607031156.AA07330@ucbvax.Berkeley.EDU> Date: Wed, 2-Jul-86 15:32:00 EDT Article-I.D.: ucbvax.8607031156.AA07330 Posted: Wed Jul 2 15:32:00 1986 Date-Received: Thu, 3-Jul-86 23:34:25 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 21 Approved: info-vax@sri-kl.arpa We recently got VAX-C ver 2.2 and I've been busy porting programs from UNIX/DOS. When I was working with the CURSES package, I found that getch() wasn't breaking on a character. Instead, it would block until a RETURN was hit. I then tried the getchar() function in the standard library and, lo and behold, it reacted the same way. On every other system I've worked with, these functions "woke up" on any character input whereas these act more like incremental gets(). Have I missed something somewhere? I borrowed the ttxxxx() functions from Micro Emacs which perform character-breaking I/O but they won't work with CURSES. Thanks in advance, Mike Hickey Systems programmer University of DC "Structured programmers DO it OD"