Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!ut-sally!husc6!cmcl2!brl-adm!adm!jfjr@mitre-bedford.arpa
From: jfjr@mitre-bedford.arpa
Newsgroups: comp.lang.c
Subject: Curses quirk (bug?)
Message-ID: <8180@brl-adm.ARPA>
Date: Mon, 6-Jul-87 16:02:58 EDT
Article-I.D.: brl-adm.8180
Posted: Mon Jul  6 16:02:58 1987
Date-Received: Tue, 7-Jul-87 06:40:45 EDT
Sender: news@brl-adm.ARPA
Lines: 11


  I am writing something that uses curses (ultrix on vax 8600).
The code I am writing calls a function that returns a string
and then calls curses to put this on the screen  I am only using
stdscr and curscr, no intricate windows etc. Addstr() gave 
me garbage ( it only printed the first letter of the string
 returned by the function). Printw()
worked fine.  Why??

                                    Jerry Freedman
                                    jfjr@mitre-bedford.arpa