xterm/xterm-222-man-page_paths.patch
Miroslav Lichvar 69b28acbdf - update to 222
- link with libncurses instead of libtermcap
- spec cleanup
2006-11-23 13:21:45 +00:00

68 lines
2.1 KiB
Diff

--- xterm-222/xterm.man.man-page_paths 2006-08-11 03:01:11.000000000 +0200
+++ xterm-222/xterm.man 2006-11-23 10:22:28.000000000 +0100
@@ -677,7 +677,7 @@
.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
@@ -1458,17 +1458,17 @@
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
@@ -4368,10 +4368,10 @@
.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
--- xterm-222/minstall.sh.man-page_paths 2006-04-10 02:34:37.000000000 +0200
+++ xterm-222/minstall.sh 2006-11-23 10:23:39.000000000 +0100
@@ -16,6 +16,9 @@
END_FILE="$3"
APPS_DIR="$4"
+fontpath=/usr/share/X11/fonts
+xorgcfgdir=/etc/X11
+xorgcfgfil=xorg.conf
suffix=`echo "$END_FILE" | sed -e 's%^[^.]*.%%'`
NEW_FILE=temp$$
@@ -23,6 +26,9 @@
-e s%__apploaddir__%$APPS_DIR% \
-e s%__mansuffix__%$suffix%g \
-e s%__miscmansuffix__%$suffix%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"