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.ARPA Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!jon@cit-vax From: jon@cit-vax (Jonathan P. Leech) Newsgroups: fa.info-vax Subject: Re: problem with open() in VAX C ver 2 Message-ID: <8508300126.AA00572@cit-vax.ARPA> Date: Thu, 29-Aug-85 21:26:21 EDT Article-I.D.: cit-vax.8508300126.AA00572 Posted: Thu Aug 29 21:26:21 1985 Date-Received: Sat, 31-Aug-85 06:52:00 EDT Sender: daemon@ucbvax.ARPA Reply-To: info-vax@ucb-vax.berkeley.edu Organization: The ARPA Internet Lines: 13 Actually, ken's original message was inspired due to my need to get standard output NOT to translate \n into \r, for a screen editor being brought up under VMS. I tried several different approaches and finally found that this one works: (void)freopen("SYS$OUTPUT:", "w", stdout, "ctx=bin"); This does nothing to fix the problem with open(), but at least it IS possible to suppress the output translation. -- Jon Leech (jon@cit-vax.arpa) __@/