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!bellcore!ulysses!ucbvax!info-vax From: rick@SIEMENS.UUCP Newsgroups: mod.computers.vax Subject: VMS output Message-ID: <510520825.rick@siemens> Date: Thu, 6-Mar-86 14:20:00 EST Article-I.D.: siemens.510520825.rick Posted: Thu Mar 6 14:20:00 1986 Date-Received: Sat, 8-Mar-86 13:09:34 EST Sender: uucp@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 39 Approved: info-vax@sri-kl.arpa I've been having a problem with output on VMS C. I am in the process of porting a graphics program from UNIX to VMS. My problem concerns the driver for a Raster Technologies' Model One/10 terminal. On UNIX, everything works fine. I send lots and lots of ASCII characters to the terminal and it interprets them as hex digits and I get pretty pictures on the screen. On VMS, I send lots and lots of ASCII characters to the terminal but the computer decides that no one would really want to output so many characters without a newline now and again so every 256th character is a newline. The Model One indiscriminately tries to interpret this as a command and then tries to interpret the following characters as arguments to the command. I get nasty error messages from the terminal and messed up pictures on the screen. I tried to setbuf(stdout,NULL) but it doesn't work. I also tried a lot of ugly kluges including sprintf(...)ing the commands and write(...)ing the string to stdout. No luck. I would be grateful for any ideas or solutions. Rick Taft Siemens Research and Technology Laboratories 105 College Road East Princeton, NJ 08540 (609) 734-3324 FAX: (609) 734-6565 UUCP: {vrdxhq,cwruecmp,princeton,astrovax, inhp4,drexel,jandj,columbia }!siemens!rick =================================== = Ad Hoc, Ad Loc and Quid Pro Quo,= = So much to do, so much to know! = ===================================