Thanks to the help for all of you. Make lncurses instead of ltermcap really solved the problem ! :-) Meanwhile, I also had to add lcrypt option on makefiles to have pico, pine, imapd, mtest, pilot compiled . Thanks. Best regards, Nuno Carvalho