torsdag den 8 december 2011 klockan 09:42 skrev Simon Josefsson detta:
> Mats Erik Andersson <[email protected]> writes:
>
> > TELNET server and client. Unless you object I will have
> > a go at that in a coordinated effort together with the
> > libtermcap support needed for NetBSD.
>
> Please do! I think you will be able to test this better than we could,
> since you seems to have the environment up and running on several
> hosts. I'll try to do code review, but don't let that stop you from
> pushing things into the repository...
I am fortunate to have a small separate project where I only
need setupterm/tgetent and tigetstr/tgetstr. Using that as
playground, the following successful use-cases have surfaced:
-ltinfo, <ncurses.h>, <term.h>
applies to Debian testing including GNU/kFreeBSD,
and to FreeBSD 8.0, where the latter links libtinfo
to libncurses. It is probable that other recent
GNU/Linux systems are providing libtinfo.
-lncurses, <ncurses/ncurses.h>, <ncurses/term.h>
applies to GNU/OpenSolaris. The use of <term.h>
gives rise to workaround issues.
-lncurses, <ncurses.h>, <term.h>
applies to Debian stable, OpenBSD, OpenIndiana.
-lcurses, <term.h>
systems falling back to this are unknown to me.
-ltermcap, <termcap.h>
applies to NetBSD.
No I begin porting this to Inetutils. Any comment on these
cases is welcome. Additional cases? Some will possibly surface
once I compare with the code in "am/libcurses.m4".
Regards,
Mats