xterm/xterm-226-man-page_paths.patch

66 lines
2.3 KiB
Diff
Raw Normal View History

2007-06-22 10:58:53 +00:00
--- xterm-226/xterm.man.man-page_paths 2007-06-13 23:19:59.000000000 +0200
+++ xterm-226/xterm.man 2007-06-21 16:06:15.000000000 +0200
@@ -679,7 +679,7 @@ xterm -e /bin/bash -l -c "my command her
.RE
.IP
Finally, \fB-ls\fP is not completely ignored,
-because \fIxterm\ -ls\ -e\fP does write a \fI/etc/wtmp\fP entry
+because \fIxterm\ -ls\ -e\fP does write a \fI/var/log/wtmp\fP entry
(if configured to do so),
whereas \fIxterm\ -e\fP does not.
.TP 8
2007-06-22 10:58:53 +00:00
@@ -1575,17 +1575,17 @@ 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.
-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
2007-06-22 10:58:53 +00:00
@@ -4596,10 +4596,10 @@ may be defined to a nonstandard location
.SH FILES
The actual pathnames given may differ on your system.
.TP 5
-\fI/etc/utmp\fP
+\fI/var/run/utmp\fP
the system logfile, which records user logins.
.TP 5
-\fI/etc/wtmp\fP
+\fI/var/log/wtmp\fP
the system logfile, which records user logins and logouts.
.TP 5
.I __apploaddir__/XTerm
2007-06-22 10:58:53 +00:00
--- xterm-226/minstall.sh.man-page_paths 2007-05-25 00:10:42.000000000 +0200
+++ xterm-226/minstall.sh 2007-06-21 16:29:57.000000000 +0200
@@ -26,10 +26,17 @@ MY_MANSECT=$suffix
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
2007-06-22 10:58:53 +00:00
+X_MANSECT=7
2007-04-12 11:11:19 +00:00
sed -e 's%__vendorversion__%"X Window System"%' \
-e s%__apploaddir__%$APPS_DIR% \
2007-06-22 10:58:53 +00:00
-e s%__mansuffix__%$MY_MANSECT%g \
-e s%__miscmansuffix__%$X_MANSECT%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"