[uClibc]uClibc and termcap

Mark Wormgoor mark at wormgoor.com
Fri Oct 26 06:43:52 UTC 2001


Hi,

> > I've created a bootdisk using busybox and uClibc.  On this disk, I have an
> > install-program, that is statically linked (against libc, libslang and
> > libnewt).  It is statically linked, because I had problems compiling
> > libnewt agains uClibc.  And the size of stripped install+libnewt+libslang
> > is about the same size as the stripped static binary.
>
> I have a system I am working on that uses uClibc + slang + newt
> and it all works just fine (I use dynamic libs for all of them,
> but static linking works too).
>
> > When I run this program on my regular machine, the colors look great.
> > When I run it from the bootdisks, I only get certain colors and the
> > terminal emulation doesn't appear as it should.
> >
> Works fine for me...
>
> > However, I haven't got a clue where to look.  I have a /etc/termcap that
> > contains an entry for a linux-terminal (that I want to use).  When I run a
> > shell on the bootdisk, the terminaltype is (correctly) set to linux.
> > -) Is the problem in uClibc or busybox ?
>
> Neither.  Add in terminfo files, not termcap stuff.  Add in a
> /usr/share/terminfo/l directory with the "linux" termcap entry
> in it and things should work better...

Well, I have managed to solve my problem.  I already had
/usr/share/terminfo/l/linux in the right place.  Turns out my terminal
emulation was just fine.

However, when I linked the application against the Mandrake newt, it
looks a whole lot worse, then when I ran it against Redhat newt.
So, I now link it statically against Redhat libnewt and libslang, and my
problems are solved :-)

Now, if someone could help me compile uClibc with LFS support, I'll be
VERY happy (and grateful!)...

Kind regards,


	Mark Wormgoor
-- 
***************************************************************
* |\    /|      |  /|  /       Mark Wormgoor                  *
* | \  / |      | / | /        mailto:mark at wormgoor.com       *
* |  \/  |ark   |/  |/ormgoor  http://www.wormgoor.com/mark/  *
***************************************************************






More information about the uClibc mailing list