Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!newsfeed101.telia.com!starscream.dk.telia.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.dacom.co.kr!newsfeed.hananet.net!tnews.hananet.net!not-for-mail From: KO Myung-Hun Newsgroups: comp.os.os2.programmer.porting Subject: Re: ncurses 5.9 Date: Wed, 11 Jan 2012 21:35:27 +0900 Organization: hanarotelecom Lines: 60 Message-ID: <4F0D820F.4010308@chollian.net> References: <4F0D1DA7.4030202@chollian.net> NNTP-Posting-Host: 211.211.79.186 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: tnews.hananet.net 1326285327 27270 211.211.79.186 (11 Jan 2012 12:35:27 GMT) X-Complaints-To: newsadmin@hanaro.com NNTP-Posting-Date: Wed, 11 Jan 2012 12:35:27 +0000 (UTC) To: JKB User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9.1.19) Gecko/20110421 SeaMonkey/2.0.14 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.os.os2.programmer.porting:173 Hi/2. JKB wrote: > Le Wed, 11 Jan 2012 14:27:03 +0900, > KO Myung-Hun écrivait : >> Hi/2. >> >> JKB wrote: >>> Le Tue, 10 Jan 2012 08:38:06 -0800, >>> Marty écrivait : >>>> On 10/11/2011 02:45 PM, JKB wrote: >>>>> Hello, >>>>> >>>>> I'm trying to build ncurses 5.9. With configure script or >>>>> Makefile.os2, I can build a ncurse.a, but this library is not >>>>> usable. For example, tgetent() returns an error as terminal is not >>>>> known. What is my mistake ? On Unix, ncurses tries to open /dev/tty* >>>>> and I don't know how ncurses works on eCS. >>>>> >>>>> Any idea ? >>>>> >>>>> Regards, >>>>> >>>>> JKB >>>>> >>>> >>>> Have you tried simply setting the "TERM" environment variable to "ANSI" >>>> in your shell before running? >>> >>> Yes, I have. Without any succes... >>> >> >> Did you try to use ncurses-5.9 on hobbes ? >> >> http://hobbes.nmsu.edu/download/pub/os2/dev/util/ncurses-5.9.zip > > No, I have built ncurses 5.9 from scratch. > EMX or kLIBC ? And what did you set TERMINFO, TERMCAP and TERM env var to ? In my case, TERMINFO=f:/usr/share/terminfo TERMCAP=f:/lang/emx/etc/termcap.dat TERM=ansi I installed ncurses-5.9 into f:/usr and emx into f:/lang/emx -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.14 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66GHz with 2GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr