Opened 14 years ago

Closed 12 years ago

Last modified 10 years ago

#3001 closed task (fixed)

xterm instruction forcing TERMINFO=/usr/lib/terminfo

Reported by: omero Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords: xterm terminfo ncurses
Cc:

Description

In current blfs-svn book, the xterm chapter will force configuration with TERMINFO=/usr/lib/terminfo, whit the following rationale:

TERMINFO=/usr/lib/terminfo: This ensures that the xterm terminfo
file is installed to the system terminfo database
when the installation prefix is not /usr.

However, Ncurses-5.7 (lfs-6.5, chapter 6) gets configured to store terminfo database in /usr/share/terminfo (`tic' command uses that path by default).

Change History (8)

comment:1 by Randy McMurchy, 14 years ago

Owner: changed from blfs-book@… to Randy McMurchy
Status: newassigned

I used a modified instruction and created a symlink /usr/lib/terminfo that points to /usr/share/terminfo. The following files are then overwritten.

rml@rmlinux: ~/build > cat Logs/BLFS/xterm*/overwrite_files.log
/usr/share/terminfo/v/vs100
/usr/share/terminfo/x/xterm
/usr/share/terminfo/x/xterm+app
/usr/share/terminfo/x/xterm+edit
/usr/share/terminfo/x/xterm+noapp
/usr/share/terminfo/x/xterm+pc+edit
/usr/share/terminfo/x/xterm+pcc0
/usr/share/terminfo/x/xterm+pcc1
/usr/share/terminfo/x/xterm+pcc2
/usr/share/terminfo/x/xterm+pcc3
/usr/share/terminfo/x/xterm+pce2
/usr/share/terminfo/x/xterm+pcf0
/usr/share/terminfo/x/xterm+pcf2
/usr/share/terminfo/x/xterm+pcfkeys
/usr/share/terminfo/x/xterm+vt+edit
/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-noapp
/usr/share/terminfo/x/xterm-old
/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-v44
/usr/share/terminfo/x/xterm-xfree86
/usr/share/terminfo/x/xterms

I really don't see any harm in the xterm package overwriting xterm config files from the Ncurses packages.

Thoughts from others are encouraged.

comment:2 by Randy McMurchy, 13 years ago

This should be easy enough to close as soon as I get Xterm installed and tested. Ncurses now creates the compatibility symlink, so the issue is moot.

I'll close this ticket once Xterm get updated to point at /usr/share instead of /usr/lib for the terminfo database.

comment:3 by (none), 13 years ago

Milestone: 6.5

Milestone 6.5 deleted

comment:4 by Randy McMurchy, 13 years ago

Milestone: 6.7

Updated milestone to 6.7

comment:5 by bdubbs@…, 12 years ago

Owner: changed from Randy McMurchy to blfs-book@…
Status: assignednew

comment:6 by bdubbs@…, 12 years ago

Milestone: 6.7current

comment:7 by rt, 12 years ago

Resolution: fixed
Status: newclosed

comment:8 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.