xterm/xterm-271-man-page_paths.patch

50 lines
2.0 KiB
Diff
Raw Normal View History

2011-07-15 11:41:31 +00:00
diff -up xterm-271/minstall.sh.man-page_paths xterm-271/minstall.sh
--- xterm-271/minstall.sh.man-page_paths 2010-03-04 00:44:49.000000000 +0100
+++ xterm-271/minstall.sh 2011-07-15 13:23:02.758313247 +0200
2010-02-02 17:29:15 +00:00
@@ -109,6 +109,10 @@ WTMP_PATH=$WTMP_PATH/$WTMP_NAME
X_MANSECT=`man X 2>&1 | tr '\012' '\020' | sed -e 's/^[^0123456789]*\([^) ][^) ]*\).*/\1/'`
test -z "$X_MANSECT" && X_MANSECT=$suffix
+fontpath=/usr/share/X11/fonts
+xorgcfgdir=/etc/X11
+xorgcfgfil=xorg.conf
+X_MANSECT=7
sed -e 's%__vendorversion__%"X Window System"%' \
-e s%__apploaddir__%$APPS_DIR% \
-e s%__mansuffix__%$MY_MANSECT%g \
@@ -117,6 +121,9 @@ sed -e 's%__vendorversion__%"X Window Sy
-e s%/etc/utmp%$UTMP_PATH%g \
-e s%fIwtmp'\\%fI'$WTMP_NAME'\\%g' \
-e s%/etc/wtmp%$WTMP_PATH%g \
+ -e s%__fontpath__%$fontpath%g \
+ -e s%__xorgcfgdir__%$xorgcfgdir%g \
+ -e s%__xorgcfgfil__%$xorgcfgfil%g \
$OLD_FILE >$NEW_FILE
echo "$MINSTALL $OLD_FILE $END_FILE"
2011-07-15 11:41:31 +00:00
diff -up xterm-271/xterm.man.man-page_paths xterm-271/xterm.man
--- xterm-271/xterm.man.man-page_paths 2011-07-13 10:59:37.000000000 +0200
+++ xterm-271/xterm.man 2011-07-15 13:27:51.653634499 +0200
@@ -1825,18 +1825,18 @@ Since X11R6, bitmap fonts have been scal
The font server claims to provide the bold font that \fIxterm\fP requests,
but the result is not always readable.
XFree86 provides a feature which can be used to suppress the scaling.
2011-07-15 11:41:31 +00:00
-In the X server's configuration file (e.g., \*(``/etc/X11/XFree86\*(''), you
+In the X server's configuration file (e.g., \*(``__xorgcfgdir__/__xorgcfgfil__\*(''), you
can add \*(``:unscaled\*('' to the end of the directory specification for the
\*(``misc\*('' fonts,
which comprise the fixed-pitch fonts that are used by \fIxterm\fP.
For example
.RS
- FontPath "/usr/lib/X11/fonts/misc/"
+ FontPath "__fontpath__"
.RE
.IP
would become
.RS
- FontPath "/usr/lib/X11/fonts/misc/:unscaled"
+ FontPath "__fontpath__/misc/:unscaled"
.RE
.IP
Depending on your configuration, the font server may have its own configuration