> On Fri, Feb 22, 2008 at 10:44:45AM +0100, Slaven Rezic wrote:
>>The oneliner below does not work. It surely worked some weeks ago:
>>
>>$ perl -MTerm::Cap -e 'my $terminal = Tgetent Term::Cap { TERM => undef,
>> OSPEED => 9600 };'
>>Can't find a valid termcap file at -e line 1
>>
>>Obviously /etc/termcap or a similar file is missing.
>
> Since Debian doesn't ship /etc/termcap, the Term::Cap module kludges
> one up with 'infocmp -C'.
>
> Have you upgraded/removed ncurses-bin recently?  What does this produce?
>
>     infocmp -C
>

$ infocmp -C
infocmp: symbol lookup error: infocmp: undefined symbol: _nc_disable_period

After upgrading using "aptitude install ncurses-bin":

$ infocmp -C
#       Reconstructed via infocmp from file: /lib/terminfo/x/xterm
xterm|X11 terminal emulator:\
... etc ...

and Term::Cap seems to work again. Thanks!

Regards,
    Slaven






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to