Brendan Simon wrote:
>
> I am trying to get a powerpc embedded system up and running. I have
> compiled the kernel and can mount a root filesystem using initrd or
> nfs. I now need to get a shell running so I can call shell scripts to
> setup the IP addresses etc via ifconfig (is there any other way ?).
>
> I got the latest version of bash(2.0.3) and ncurses(5.0). Bash requires
> termcap but apparently termcap is obsolete and is replaced by ncurses.
>
> I had some trouble getting ncurses to cross-compile but I manged to hack
> around with configure, make and the source code and eventually get it to
> compile and install. Bash is proving more difficult.
>
<DISCLAIMER>
I am far from an expert but I think you got something wrong here.
</DISCLAIMER>
Terminfo, and not ncurses, replaces termcap. Terminfo and termcap
are used to describe and store information on how to handle different
terminal types.
Curses, or ncurses, use terminfo data and provides a low
level device independent API for character based screen I/O.
There is also a panel package that adds "depth" to ncurses.
(read the man pages)
/Fredric
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.