Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2013 03:46:58 GMT
From:      Jan Beich <jbeich@tormail.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184404: [patch] emulators/linux_base-f10: no terminal database installed
Message-ID:  <201312010346.rB13kwOU066942@oldred.freebsd.org>
Resent-Message-ID: <201312010350.rB13o0OU086710@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184404
>Category:       ports
>Synopsis:       [patch] emulators/linux_base-f10: no terminal database installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 01 03:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        
>Organization:
>Environment:
>Description:
ncurses apps like editors, browsers, graphical mixers require terminal
database to control the output. Without it they just don't know how to
move cursor position, change text/background color, delete lines,
scroll, etc.

Fedora 10 uses only terminfo(5) database format so /etc/termcap is
left unused.

>How-To-Repeat:
$ /compat/linux/usr/bin/info
info: Terminal type `xterm' is not smart enough to run Info.

>Fix:
new rpms can be obtained in the official fedora archive e.g.,
https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/i386/os/Packages/ncurses-base-5.6-20.20080927.fc10.i386.rpm

--- terminfo_base.diff begins here ---
Index: emulators/linux_base-f10/Makefile
===================================================================
--- emulators/linux_base-f10/Makefile	(revision 335360)
+++ emulators/linux_base-f10/Makefile	(working copy)
@@ -48,6 +49,7 @@ BIN_DISTFILES=	basesystem-10.0-1.noarch.rpm \
 		libsepol-2.0.33-1.fc10.${LINUX_RPM_ARCH}.rpm \
 		libstdc++-4.3.2-7.${LINUX_RPM_ARCH}.rpm \
 		ncurses-5.6-20.20080927.fc10.${LINUX_RPM_ARCH}.rpm \
+		ncurses-base-5.6-20.20080927.fc10.${LINUX_RPM_ARCH}.rpm \
 		ncurses-libs-5.6-20.20080927.fc10.${LINUX_RPM_ARCH}.rpm \
 		pcre-7.8-1.fc10.${LINUX_RPM_ARCH}.rpm \
 		popt-1.13-4.fc10.${LINUX_RPM_ARCH}.rpm \
Index: emulators/linux_base-f10/distinfo.i386
===================================================================
--- emulators/linux_base-f10/distinfo.i386	(revision 335360)
+++ emulators/linux_base-f10/distinfo.i386	(working copy)
@@ -66,6 +66,8 @@ SHA256 (rpm/i386/fedora/10/libstdc++-4.3.2-7.i386.
 SIZE (rpm/i386/fedora/10/libstdc++-4.3.2-7.i386.rpm) = 332230
 SHA256 (rpm/i386/fedora/10/ncurses-5.6-20.20080927.fc10.i386.rpm) = 14de6a90362b8613a212aa023a30364b7391b403de6c7783f8c6f19b29dc40b7
 SIZE (rpm/i386/fedora/10/ncurses-5.6-20.20080927.fc10.i386.rpm) = 173195
+SHA256 (rpm/i386/fedora/10/ncurses-base-5.6-20.20080927.fc10.i386.rpm) = 9177e296cf572c74f3037356c010a899ae73d0944b9cc94cd6541a2e038399f1
+SIZE (rpm/i386/fedora/10/ncurses-base-5.6-20.20080927.fc10.i386.rpm) = 64159
 SHA256 (rpm/i386/fedora/10/ncurses-libs-5.6-20.20080927.fc10.i386.rpm) = 1a4dd12a7272a207270cd5d59bb6ddbbce62c7a65f97241dcd08b4cfabb53c7c
 SIZE (rpm/i386/fedora/10/ncurses-libs-5.6-20.20080927.fc10.i386.rpm) = 334108
 SHA256 (rpm/i386/fedora/10/pcre-7.8-1.fc10.i386.rpm) = 4117601665baf3406f8884b01bfeca5c7bbf73994f30d296cc4d96a496f986cb
Index: emulators/linux_base-f10/pkg-plist
===================================================================
--- emulators/linux_base-f10/pkg-plist	(revision 335360)
+++ emulators/linux_base-f10/pkg-plist	(working copy)
@@ -204,6 +204,16 @@ lib/libz.so.1.2.3
 lib/rtkaio/librt.so.1
 lib/rtkaio/librtkaio-2.9.so
 lib/security/pam_cap.so
+lib/terminfo/a/ansi
+lib/terminfo/d/dumb
+lib/terminfo/l/linux
+lib/terminfo/v/vt100
+lib/terminfo/v/vt100-am
+lib/terminfo/v/vt100-nav
+lib/terminfo/v/vt102
+lib/terminfo/v/vt200
+lib/terminfo/v/vt220
+lib/terminfo/v/vt52
 sbin/badblocks
 sbin/blkid
 sbin/debugfs
@@ -1993,6 +2003,121 @@ usr/share/man/man8/resize2fs.8.gz
 usr/share/man/man8/setcap.8.gz
 usr/share/man/man8/setserial.8.gz
 usr/share/man/man8/tune2fs.8.gz
+usr/share/tabset/std
+usr/share/tabset/stdcrt
+usr/share/tabset/vt100
+usr/share/tabset/vt300
+usr/share/terminfo/A/Apple_Terminal
+usr/share/terminfo/E/Eterm
+usr/share/terminfo/E/Eterm-256color
+usr/share/terminfo/E/Eterm-88color
+usr/share/terminfo/E/Eterm-color
+usr/share/terminfo/a/ansi
+usr/share/terminfo/a/ansi80x25
+usr/share/terminfo/a/ansis
+usr/share/terminfo/c/cons25
+usr/share/terminfo/c/cygwin
+usr/share/terminfo/d/dumb
+usr/share/terminfo/g/gnome
+usr/share/terminfo/g/gnome-2007
+usr/share/terminfo/g/gnome-256color
+usr/share/terminfo/g/gnome-fc5
+usr/share/terminfo/g/gnome-rh62
+usr/share/terminfo/g/gnome-rh72
+usr/share/terminfo/g/gnome-rh80
+usr/share/terminfo/g/gnome-rh90
+usr/share/terminfo/h/hurd
+usr/share/terminfo/j/jfbterm
+usr/share/terminfo/k/kon
+usr/share/terminfo/k/kon2
+usr/share/terminfo/l/linux
+usr/share/terminfo/m/mach
+usr/share/terminfo/m/mach-bold
+usr/share/terminfo/m/mach-color
+usr/share/terminfo/m/mlterm
+usr/share/terminfo/m/mrxvt
+usr/share/terminfo/n/nsterm
+usr/share/terminfo/n/nxterm
+usr/share/terminfo/p/pcansi
+usr/share/terminfo/p/putty
+usr/share/terminfo/p/putty-256color
+usr/share/terminfo/p/putty-vt100
+usr/share/terminfo/r/rxvt
+usr/share/terminfo/r/rxvt-16color
+usr/share/terminfo/r/rxvt-256color
+usr/share/terminfo/r/rxvt-88color
+usr/share/terminfo/r/rxvt-basic
+usr/share/terminfo/r/rxvt-color
+usr/share/terminfo/r/rxvt-cygwin
+usr/share/terminfo/r/rxvt-cygwin-native
+usr/share/terminfo/r/rxvt-unicode
+usr/share/terminfo/r/rxvt-xpm
+usr/share/terminfo/s/screen
+usr/share/terminfo/s/screen-16color
+usr/share/terminfo/s/screen-16color-bce
+usr/share/terminfo/s/screen-16color-bce-s
+usr/share/terminfo/s/screen-16color-s
+usr/share/terminfo/s/screen-256color
+usr/share/terminfo/s/screen-256color-bce
+usr/share/terminfo/s/screen-256color-bce-s
+usr/share/terminfo/s/screen-256color-s
+usr/share/terminfo/s/screen-bce
+usr/share/terminfo/s/screen-s
+usr/share/terminfo/s/screen-w
+usr/share/terminfo/s/screen.linux
+usr/share/terminfo/s/screen.mlterm
+usr/share/terminfo/s/screen.rxvt
+usr/share/terminfo/s/screen.teraterm
+usr/share/terminfo/s/screen.xterm-new
+usr/share/terminfo/s/screen.xterm-r6
+usr/share/terminfo/s/screen.xterm-xfree86
+usr/share/terminfo/s/sun
+usr/share/terminfo/s/sun1
+usr/share/terminfo/s/sun2
+usr/share/terminfo/t/teraterm
+usr/share/terminfo/v/vs100
+usr/share/terminfo/v/vt100
+usr/share/terminfo/v/vt100-am
+usr/share/terminfo/v/vt100-nav
+usr/share/terminfo/v/vt102
+usr/share/terminfo/v/vt200
+usr/share/terminfo/v/vt220
+usr/share/terminfo/v/vt52
+usr/share/terminfo/w/wsvt25
+usr/share/terminfo/w/wsvt25m
+usr/share/terminfo/x/xfce
+usr/share/terminfo/x/xterm
+usr/share/terminfo/x/xterm-1002
+usr/share/terminfo/x/xterm-1003
+usr/share/terminfo/x/xterm-16color
+usr/share/terminfo/x/xterm-24
+usr/share/terminfo/x/xterm-256color
+usr/share/terminfo/x/xterm-88color
+usr/share/terminfo/x/xterm-8bit
+usr/share/terminfo/x/xterm-basic
+usr/share/terminfo/x/xterm-bold
+usr/share/terminfo/x/xterm-color
+usr/share/terminfo/x/xterm-hp
+usr/share/terminfo/x/xterm-new
+usr/share/terminfo/x/xterm-nic
+usr/share/terminfo/x/xterm-noapp
+usr/share/terminfo/x/xterm-old
+usr/share/terminfo/x/xterm-pcolor
+usr/share/terminfo/x/xterm-r5
+usr/share/terminfo/x/xterm-r6
+usr/share/terminfo/x/xterm-sco
+usr/share/terminfo/x/xterm-sun
+usr/share/terminfo/x/xterm-vt220
+usr/share/terminfo/x/xterm-vt52
+usr/share/terminfo/x/xterm-xf86-v32
+usr/share/terminfo/x/xterm-xf86-v33
+usr/share/terminfo/x/xterm-xf86-v333
+usr/share/terminfo/x/xterm-xf86-v40
+usr/share/terminfo/x/xterm-xf86-v43
+usr/share/terminfo/x/xterm-xf86-v44
+usr/share/terminfo/x/xterm-xfree86
+usr/share/terminfo/x/xterm-xi
+usr/share/terminfo/x/xterms
 usr/tmp
 var/mail
 @unexec rm -f %D/var/cache/ldconfig/aux-cache
@@ -2558,6 +2683,27 @@ var/mail
 @dirrm usr/src/kernels
 @dirrm usr/share/xsessions
 @dirrm usr/share/themes
+@dirrm usr/share/terminfo/x
+@dirrm usr/share/terminfo/w
+@dirrm usr/share/terminfo/v
+@dirrm usr/share/terminfo/t
+@dirrm usr/share/terminfo/s
+@dirrm usr/share/terminfo/r
+@dirrm usr/share/terminfo/p
+@dirrm usr/share/terminfo/n
+@dirrm usr/share/terminfo/m
+@dirrm usr/share/terminfo/l
+@dirrm usr/share/terminfo/k
+@dirrm usr/share/terminfo/j
+@dirrm usr/share/terminfo/h
+@dirrm usr/share/terminfo/g
+@dirrm usr/share/terminfo/d
+@dirrm usr/share/terminfo/c
+@dirrm usr/share/terminfo/a
+@dirrm usr/share/terminfo/E
+@dirrm usr/share/terminfo/A
+@dirrm usr/share/terminfo
+@dirrm usr/share/tabset
 @dirrm usr/share/pixmaps
 @dirrm usr/share/omf
 @dirrm usr/share/misc
@@ -3853,6 +3999,11 @@ var/mail
 @dirrm usr/X11R6
 @dirrm usr
 @dirrm sbin
+@dirrm lib/terminfo/v
+@dirrm lib/terminfo/l
+@dirrm lib/terminfo/d
+@dirrm lib/terminfo/a
+@dirrm lib/terminfo
 @dirrm lib/security
 @dirrm lib/rtkaio
 @dirrm lib
--- terminfo_base.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312010346.rB13kwOU066942>