VTE Failed to load terminal capabilities from /etc/termcap

Victor Rodriguez vm.rod25 at gmail.com
Thu Oct 16 18:02:37 CEST 2014


On Mon, Oct 13, 2014 at 6:26 AM, Gour <gour at atmarama.net> wrote:
>
> On Sun, 12 Oct 2014 22:08:15 -0500
> Victor Rodriguez <vm.rod25 at gmail.com> wrote:
>
> > Could you please post the warnings?
>
> I did it in my local directory:
>
> $ tic -C termcap.src > termcap
> "termcap.src", line 3508, col 48, terminal 'screen': unknown capability 'G0'
> "termcap.src", line 3528, col 51, terminal 'screen': unknown capability 'E0'
> "termcap.src", line 3528, col 64, terminal 'screen': unknown capability 'S0'
>
> > Does the file /etc/termcap exist ?
>
> Yes, after compiling I put it there.
>
>
> Sincerely,
> Gour


That is really weird , If you download the SRC RPM from :

ftp://rpmfind.net/linux/redhat/linux/enterprise/3/en/os/s390x/SRPMS/termcap-11.0.1-17.1.src.rpm

And then check the source code of the spec:

rpm2cpio termcap-11.0.1-17.1.src.rpm | cpio -idmv

termcap.spec:

%prep
mkdir -p $RPM_BUILD_ROOT/etc
bzcat %{SOURCE0} > $RPM_BUILD_ROOT/etc/termcap.src
tic -C $RPM_BUILD_ROOT/etc/termcap.src > $RPM_BUILD_ROOT/etc/termcap
pushd $RPM_BUILD_ROOT/etc
%patch4 -p0
popd
rm -f $RPM_BUILD_ROOT/etc/termcap.*
chmod 644 $RPM_BUILD_ROOT/etc/termcap
perl -pi -e "s,\\E\[\^,\\E[\^,g" $RPM_BUILD_ROOT/etc/termcap

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%config /etc/termcap



And that work like a charm, why don't you try to build form the spec
file and then install the rpm

Or download a pre compiled one if you prefer


Hope if helps

BTW you have VTE right ?

Regards

Victor Rodriguez

> --
> One must deliver himself with the help of his mind, and not
> degrade himself. The mind is the friend of the conditioned soul,
> and his enemy as well.
>
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org


More information about the Xfce mailing list