Bug#466983: perl-modules: Term::Cap does not work due to missing termcap

2008-02-22 Thread Slaven Rezic
Package: perl-modules
Version: 5.8.8-12
Severity: normal

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.

Regards,
Slaven

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-486
Locale: LANG=hr_HR.UTF-8, LC_CTYPE=hr_HR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages perl-modules depends on:
ii  perl  5.8.8-12   Larry Wall's Practical Extraction 

perl-modules recommends no packages.

-- no debconf information



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



Bug#466983: perl-modules: Term::Cap does not work due to missing termcap

2008-02-22 Thread Brendan O'Dea
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

--bod



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



Bug#466983: perl-modules: Term::Cap does not work due to missing termcap

2008-02-22 Thread slaven
 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]



Bug#466983: perl-modules: Term::Cap does not work due to missing termcap

2008-02-22 Thread Brendan O'Dea
reassign 466983 ncurses-bin
close 466983
thanks

On Fri, Feb 22, 2008 at 02:44:23PM +0100, [EMAIL PROTECTED] wrote:
 Since Debian doesn't ship /etc/termcap, the Term::Cap module kludges
 one up with '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!

Excellent, thanks for the update.

--bod



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