2012-10-09 16:32:56 +00:00
|
|
|
diff -up xterm-283/minstall.in.man-paths xterm-283/minstall.in
|
|
|
|
--- xterm-283/minstall.in.man-paths 2012-10-09 01:02:57.000000000 +0200
|
|
|
|
+++ xterm-283/minstall.in 2012-10-10 16:38:31.140469445 +0200
|
|
|
|
@@ -116,11 +116,16 @@ WTMP_PATH=$WTMP_PATH/$WTMP_NAME
|
2010-02-02 17:29:15 +00:00
|
|
|
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
|
2012-10-09 16:32:56 +00:00
|
|
|
+
|
|
|
|
# Provide for renaming in test-builds:
|
|
|
|
APP_Name=`echo "$APP_name" | sed -e s/xterm/Xterm/`
|
|
|
|
|
2010-02-02 17:29:15 +00:00
|
|
|
sed -e 's%__vendorversion__%"X Window System"%' \
|
2012-10-09 16:32:56 +00:00
|
|
|
- -e "s%^\.ds N Xterm%.ds n $APP_Name%" \
|
|
|
|
+ -e "s%^\.ds N Xterm%.ds N $APP_Name%" \
|
|
|
|
-e "s%^\.ds n xterm%.ds n $APP_name%" \
|
2011-08-30 13:56:40 +00:00
|
|
|
-e s%__default_termname__%@default_TERM@% \
|
|
|
|
-e s%__default_termid__%@default_termid@% \
|
2012-10-09 16:32:56 +00:00
|
|
|
@@ -137,6 +142,9 @@ sed -e 's%__vendorversion__%"X Window Sy
|
2010-02-02 17:29:15 +00:00
|
|
|
-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"
|
2012-10-09 16:32:56 +00:00
|
|
|
diff -up xterm-283/xterm.man.man-paths xterm-283/xterm.man
|
|
|
|
--- xterm-283/xterm.man.man-paths 2012-10-09 00:58:12.000000000 +0200
|
|
|
|
+++ xterm-283/xterm.man 2012-10-10 16:26:11.325842926 +0200
|
|
|
|
@@ -1949,17 +1949,17 @@ Since X11R6, bitmap fonts have been scal
|
|
|
|
The font server claims to provide the bold font that \fI\*n\fP requests,
|
2006-11-23 13:21:45 +00:00
|
|
|
but the result is not always readable.
|
2011-08-30 13:56:40 +00:00
|
|
|
XFree86 introduced 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,
|
2012-10-09 16:32:56 +00:00
|
|
|
which comprise the fixed-pitch fonts that are used by \fI\*n\fP.
|
2006-11-23 13:21:45 +00:00
|
|
|
For example
|
2011-08-30 13:56:40 +00:00
|
|
|
.NS
|
|
|
|
-FontPath "/usr/lib/X11/fonts/misc/"
|
2012-10-09 16:32:56 +00:00
|
|
|
+FontPath "__fontpath__/misc/"
|
2011-08-30 13:56:40 +00:00
|
|
|
.NE
|
2006-11-23 13:21:45 +00:00
|
|
|
would become
|
2011-08-30 13:56:40 +00:00
|
|
|
.NS
|
|
|
|
-FontPath "/usr/lib/X11/fonts/misc/:unscaled"
|
|
|
|
+FontPath "__fontpath__/misc/:unscaled"
|
|
|
|
.NE
|
2006-11-23 13:21:45 +00:00
|
|
|
Depending on your configuration, the font server may have its own configuration
|
2011-08-30 13:56:40 +00:00
|
|
|
file.
|