Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.os2.programmer.porting > #148 > unrolled thread

ncurses 5.9

Started byJKB <jkb@koenigsberg.invalid>
First post2011-10-11 21:45 +0000
Last post2012-01-26 19:28 +0900
Articles 10 — 4 participants

Back to article view | Back to comp.os.os2.programmer.porting


Contents

  ncurses 5.9 JKB <jkb@koenigsberg.invalid> - 2011-10-11 21:45 +0000
    Re: ncurses 5.9 Dave Yeo <dave.r.yeo@gmail.com> - 2011-10-11 17:17 -0700
      Re: ncurses 5.9 JKB <jkb@koenigsberg.invalid> - 2011-10-12 08:05 +0000
    Re: ncurses 5.9 Marty <net@comcast.martyamodeo> - 2012-01-10 08:38 -0800
      Re: ncurses 5.9 JKB <jkb@koenigsberg.invalid> - 2012-01-10 16:41 +0000
        Re: ncurses 5.9 KO Myung-Hun <komh@chollian.net> - 2012-01-11 14:27 +0900
          Re: ncurses 5.9 JKB <jkb@koenigsberg.invalid> - 2012-01-11 08:51 +0000
            Re: ncurses 5.9 KO Myung-Hun <komh@chollian.net> - 2012-01-11 21:35 +0900
              Re: ncurses 5.9 JKB <jkb@koenigsberg.invalid> - 2012-01-20 12:44 +0000
                Re: ncurses 5.9 KO Myung-Hun <komh@chollian.net> - 2012-01-26 19:28 +0900

#148 — ncurses 5.9

FromJKB <jkb@koenigsberg.invalid>
Date2011-10-11 21:45 +0000
Subjectncurses 5.9
Message-ID<slrnj99e76.n37.jkb@rayleigh.systella.fr>
	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

-- 
Si votre demande me parvient sur carte perforée, je titiouaillerai très
volontiers une réponse...
=> http://grincheux.de-charybde-en-scylla.fr

[toc] | [next] | [standalone]


#150

FromDave Yeo <dave.r.yeo@gmail.com>
Date2011-10-11 17:17 -0700
Message-ID<j72mbg$hqi$1@speranza.aioe.org>
In reply to#148
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 ?
>

IIRC ncurses only works out of the box with EMX and perhaps not even 
that anymore, and I'd guess you're using klibc. Perhaps download 
http://hobbes.nmsu.edu/download/pub/os2/dev/util/ncurses-5.6.zip which I 
believe was compiled with klibc and look at the patches that were applied.
Dave

[toc] | [prev] | [next] | [standalone]


#151

FromJKB <jkb@koenigsberg.invalid>
Date2011-10-12 08:05 +0000
Message-ID<slrnj9aiie.n37.jkb@rayleigh.systella.fr>
In reply to#150
Le Tue, 11 Oct 2011 17:17:44 -0700,
Dave Yeo <dave.r.yeo@gmail.com> écrivait :
> 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 ?
>>
>
> IIRC ncurses only works out of the box with EMX and perhaps not even 
> that anymore, and I'd guess you're using klibc. Perhaps download 
> http://hobbes.nmsu.edu/download/pub/os2/dev/util/ncurses-5.6.zip which I 
> believe was compiled with klibc and look at the patches that were applied.

	I have built ncurses with EMX.

	Regards,

	JKB

-- 
Si votre demande me parvient sur carte perforée, je titiouaillerai très
volontiers une réponse...
=> http://grincheux.de-charybde-en-scylla.fr

[toc] | [prev] | [next] | [standalone]


#169

FromMarty <net@comcast.martyamodeo>
Date2012-01-10 08:38 -0800
Message-ID<jehphe$ahr$2@dont-email.me>
In reply to#148
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?

-- 
Reverse the parts of the e-mail address to reply by mail.

[toc] | [prev] | [next] | [standalone]


#170

FromJKB <jkb@koenigsberg.invalid>
Date2012-01-10 16:41 +0000
Message-ID<slrnjgoqh6.mjg.jkb@rayleigh.systella.fr>
In reply to#169
Le Tue, 10 Jan 2012 08:38:06 -0800,
Marty <net@comcast.martyamodeo> é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...

	JKB

-- 
Si votre demande me parvient sur carte perforée, je titiouaillerai très
volontiers une réponse...
=> http://grincheux.de-charybde-en-scylla.fr

[toc] | [prev] | [next] | [standalone]


#171

FromKO Myung-Hun <komh@chollian.net>
Date2012-01-11 14:27 +0900
Message-ID<4F0D1DA7.4030202@chollian.net>
In reply to#170
Hi/2.

JKB wrote:
> Le Tue, 10 Jan 2012 08:38:06 -0800,
> Marty <net@comcast.martyamodeo> é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

It's compiled with kLIBC.

-- 
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

[toc] | [prev] | [next] | [standalone]


#172

FromJKB <jkb@koenigsberg.invalid>
Date2012-01-11 08:51 +0000
Message-ID<slrnjgqjbt.vj0.jkb@rayleigh.systella.fr>
In reply to#171
Le Wed, 11 Jan 2012 14:27:03 +0900,
KO Myung-Hun <komh@chollian.net> écrivait :
> Hi/2.
>
> JKB wrote:
>> Le Tue, 10 Jan 2012 08:38:06 -0800,
>> Marty <net@comcast.martyamodeo> é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.

	Regards,

	JKB

-- 
Si votre demande me parvient sur carte perforée, je titiouaillerai très
volontiers une réponse...
=> http://grincheux.de-charybde-en-scylla.fr

[toc] | [prev] | [next] | [standalone]


#173

FromKO Myung-Hun <komh@chollian.net>
Date2012-01-11 21:35 +0900
Message-ID<4F0D820F.4010308@chollian.net>
In reply to#172
Hi/2.

JKB wrote:
> Le Wed, 11 Jan 2012 14:27:03 +0900,
> KO Myung-Hun <komh@chollian.net> écrivait :
>> Hi/2.
>>
>> JKB wrote:
>>> Le Tue, 10 Jan 2012 08:38:06 -0800,
>>> Marty <net@comcast.martyamodeo> é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

[toc] | [prev] | [next] | [standalone]


#174

FromJKB <jkb@koenigsberg.invalid>
Date2012-01-20 12:44 +0000
Message-ID<slrnjhioeb.tr1.jkb@rayleigh.systella.fr>
In reply to#173
Le Wed, 11 Jan 2012 21:35:27 +0900,
KO Myung-Hun <komh@chollian.net> écrivait :
> Hi/2.
>
> JKB wrote:
>> Le Wed, 11 Jan 2012 14:27:03 +0900,
>> KO Myung-Hun <komh@chollian.net> écrivait :
>>> Hi/2.
>>>
>>> JKB wrote:
>>>> Le Tue, 10 Jan 2012 08:38:06 -0800,
>>>> Marty <net@comcast.martyamodeo> é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 ?

	EMX

> And what did you set TERMINFO, TERMCAP and TERM env var to ?

	Of course.

> 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

	Regards,

	JKB

-- 
Si votre demande me parvient sur carte perforée, je titiouaillerai très
volontiers une réponse...
=> http://grincheux.de-charybde-en-scylla.fr

[toc] | [prev] | [next] | [standalone]


#175

FromKO Myung-Hun <komh@chollian.net>
Date2012-01-26 19:28 +0900
Message-ID<4F212ADF.7070208@chollian.net>
In reply to#174

JKB wrote:
> Le Wed, 11 Jan 2012 21:35:27 +0900,
> KO Myung-Hun <komh@chollian.net> écrivait :
>> Hi/2.
>>
>> JKB wrote:
>>> Le Wed, 11 Jan 2012 14:27:03 +0900,
>>> KO Myung-Hun <komh@chollian.net> écrivait :
>>>> Hi/2.
>>>>
>>>> JKB wrote:
>>>>> Le Tue, 10 Jan 2012 08:38:06 -0800,
>>>>> Marty <net@comcast.martyamodeo> é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 ?
> 
> 	EMX
> 
>> And what did you set TERMINFO, TERMCAP and TERM env var to ?
> 
> 	Of course.
> 

Would you mind providing code snippets to test ?

-- 
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.os2.programmer.porting


csiph-web