Article 10614 of comp.lang.perl: Path: feenix.metronet.com!news.ecn.bgu.edu!usenet.ins.cwru.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!daffy!uwvax!sinetnews!news.u-tokyo.ac.jp!wnoc-tyo-news!scslwide!wsgw!headgw!cvgw3!tshiono From: tshiono@cv.sony.co.jp (Toru SHIONO) Newsgroups: comp.lang.perl Subject: Re: addch (curses) Message-ID: Date: 14 Feb 94 09:17:30 GMT References: <2jht3s$1if@lastactionhero.rs.itd.umich.edu> Sender: news@cv.sony.co.jp (Usenet News System) Organization: Sony Corporation, Tokyo, Japan Lines: 23 Nntp-Posting-Host: aquarius X-Newsreader: prn Ver 1.10 In-reply-to: altitude@snre.umich.edu's message of 12 Feb 94 06:31:23 GMT In article <2jht3s$1if@lastactionhero.rs.itd.umich.edu> altitude@snre.umich.edu (Alex Tang) writes: :#!/usr/local/bin/curseperl :&initscr(); :&move(0,0); :&addstr ("Hello"); :&addch (' '); :&addstr ("there"); : :and all i get is: :Hellothere : :did i do something wrong??? The argument of addch is a char, which is a numeric value rather than a string in Perl's expression. So try: &addch(ord ' '); If you don't like it, use &addstr(" ") instead. -- Toru "devil-may-care" Shiono Sony Corporation, JAPAN .