Opened 18 years ago

Closed 18 years ago

#1816 closed defect (fixed)

xterm instructions

Reported by: Randy McMurchy Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version:
Severity: normal Keywords:
Cc:

Description

Noted in the new xterm instructions the following stuff. Not sure if we need/want to implement any of it, but it is what came to mind after looking over the instructions.

1) pkgconfig should be listed as an optional dependency

2) The localstatedir and sysconfdir paramaters should be explained what they do. I don't think they do *anything* really, so an explanation of why they are there is in order.

3) Do we really want to have an open-ended [prefix] in the configure command? Nowhere else in the book, do we not at least specifically put *something* there. And then in the command explanation section it can be explained what you do or do not have to do. Shouldn't we have prefix=/usr/X11R6 and then instructions to modify from there?

4) Should we run the 'make install-ti' command to install the updated terminfo stuff. The INSTALL file mentions that it probably should be done.

Change History (5)

comment:1 by DJ Lucas, 18 years ago

  1. Yes, in my local copy I simply forgot about it working in the context of Xorg-7 which requires pkg-config.
  1. localstatedir no as best I can tell. sysconfdir is required (in case a prefix other than /usr is used). See the manpage /\/etc.
  1. I'm undecided. I don't like it much either but was thinking that xterm should be installed with X. On second thought, there is absolutely no other reason than for historical's sake, (which is pretty much down the drain with X7) to install it with X.
  1. Yes.

Will be fixed shortly.

comment:2 by alexander@…, 18 years ago

I cannot comment if (4) is good. My concern was that the luit-compatible terminfo settings for line drawing characters are in ncurses, but not in xterm.

Result:

terminfo settings in both xterm and ncurses are compatible with OLD xterm and luit from X11R6.8.2, so I don't see immediate problems with "make install-ti"

But something is very broken in the new luit. E.g.,

  • the pty race is fixed in 6.9.0 but not 7.0.0
  • the standard smacs and rmacs sequences are not recognized in luit mode. Testcase: in "xterm -lc", echo -e '\x1b(0qqq\x1b(B'. "qqq" is the wrong result. A horizontal line is the correct result.

comment:3 by alexander@…, 18 years ago

Please also configure xterm so that Backspace sends \177 instead of H, and so that stty settings indicate the same. Emacs uses Ctrl+H for help.

comment:4 by alexander@…, 18 years ago

Known working luit-aware xterm setup with xorg-7.0.0:

1) install the "encodings" package 2) install luit patched against the race, with the --with-localealiasfile=/usr/lib/X11/locale/locale.alias switch 3) install xterm with --enable-luit --enable-wide-chars (and any other optional --enable-xxx switches)

The line drawing characters show up properly, and Japanese characters can be displayed too if the font supports them.

comment:5 by DJ Lucas, 18 years ago

Resolution: fixed
Status: newclosed

All issues are corrected completely. #2 is only partial from the original suggestion. localstatedir is not used so it was removed, /etc is detailed in the manpage. Closing bug.

Note: See TracTickets for help on using tickets.