Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man8 Switch from .nf/.fi groff macros to .Bd -lite...
details: https://anonhg.NetBSD.org/src/rev/ffd71b6f4045
branches: trunk
changeset: 771458:ffd71b6f4045
user: njoly <njoly%NetBSD.org@localhost>
date: Mon Nov 21 14:27:41 2011 +0000
description:
Switch from .nf/.fi groff macros to .Bd -literal/.Ed blocks.
While here, convert .sp macro to .Pp.
ok wiz@.
diffstat:
share/man/man8/compat_freebsd.8 | 37 ++++++++++++++-----------------------
share/man/man8/compat_ibcs2.8 | 29 ++++++++++++-----------------
share/man/man8/compat_linux.8 | 24 +++++++++---------------
3 files changed, 35 insertions(+), 55 deletions(-)
diffs (238 lines):
diff -r b4287d8334bb -r ffd71b6f4045 share/man/man8/compat_freebsd.8
--- a/share/man/man8/compat_freebsd.8 Mon Nov 21 13:46:37 2011 +0000
+++ b/share/man/man8/compat_freebsd.8 Mon Nov 21 14:27:41 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: compat_freebsd.8,v 1.13 2002/02/13 08:18:21 ross Exp $
+.\" $NetBSD: compat_freebsd.8,v 1.14 2011/11/21 14:27:41 njoly Exp $
.\" from: compat_linux.8,v 1.1 1995/03/05 23:30:36 fvdl Exp
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -128,18 +128,15 @@
system you have access to, and check which shared libraries it
needs by running
.Sq ldd sim :
-.Pp
-.Bl -tag -width 123 -compact -offset indent
-.It me@freebsd% ldd /usr/local/lib/SimCity/res/sim
-.nf
+.Bd -literal -offset indent
+me@freebsd% ldd /usr/local/lib/SimCity/res/sim
/usr/local/lib/SimCity/res/sim:
-lXext.6 =\*[Gt] /usr/X11R6/lib/libXext.so.6.0 (0x100c1000)
-lX11.6 =\*[Gt] /usr/X11R6/lib/libX11.so.6.0 (0x100c9000)
-lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x10144000)
-lm.2 =\*[Gt] /usr/lib/libm.so.2.0 (0x101a7000)
-lgcc.261 =\*[Gt] /usr/lib/libgcc.so.261.0 (0x101bf000)
-.fi
-.El
+.Ed
.Pp
You would need go get all the files from the last column, and
put them under
@@ -179,10 +176,9 @@
.Pp
and you find that the ldd output for a new binary you want to
install is:
-.Pp
-.nf
+.Bd -literal
\-lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x10144000)
-.fi
+.Ed
.Pp
You won't need to worry about copying
.Pa /usr/lib/libc.so.2.1
@@ -259,12 +255,11 @@
runtime linker should look for shared libs.
.Pa /usr/lib
are standard, you could run like the following:
-.Pp
-.Bl -tag -width 123 -compact -offset indent
-.It me@netbsd% mkdir -p /emul/freebsd/var/run
-.It me@netbsd% touch /emul/freebsd/var/run/ld.so.hints
-.It me@netbsd% ldconfig-freebsd /usr/X11R6/lib /usr/local/lib
-.El
+.Bd -literal -offset indent
+me@netbsd% mkdir -p /emul/freebsd/var/run
+me@netbsd% touch /emul/freebsd/var/run/ld.so.hints
+me@netbsd% ldconfig-freebsd /usr/X11R6/lib /usr/local/lib
+.Ed
.Pp
Note that argument directories of ldconfig are
mapped to
@@ -298,14 +293,11 @@
on itself. Suppose that you have it installed as
.Ic ldd-freebsd ,
it should produce something like:
-.Pp
-.Bl -tag -width 123 -compact -offset indent
-.It me@netbsd% ldd-freebsd `which ldd-freebsd`
-.nf
+.Bd -literal -offset indent
+me@netbsd% ldd-freebsd `which ldd-freebsd`
/usr/local/bin/ldd-freebsd:
-lc.2 =\*[Gt] /usr/lib/libc.so.2.1 (0x1001a000)
-.fi
-.El
+.Ed
.Pp
This being done, you are ready to install new
.Fx
@@ -397,7 +389,6 @@
too. The way to look something up is to retrieve all the files in the
distribution, and ``tar ztvf'' through them for the file you need.
Here is an example of a list of files that you might need.
-.Pp
.Bd -literal -offset indent
Needed Files
diff -r b4287d8334bb -r ffd71b6f4045 share/man/man8/compat_ibcs2.8
--- a/share/man/man8/compat_ibcs2.8 Mon Nov 21 13:46:37 2011 +0000
+++ b/share/man/man8/compat_ibcs2.8 Mon Nov 21 14:27:41 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: compat_ibcs2.8,v 1.5 2001/09/05 23:47:15 wiz Exp $
+.\" $NetBSD: compat_ibcs2.8,v 1.6 2011/11/21 14:27:41 njoly Exp $
.\"
.\" Copyright (c) 1998 Scott Bartram
.\" Copyright (c) 1995 Frank van der Linden
@@ -56,7 +56,7 @@
Binaries from SCO OpenServer (version 5.x) are the only ELF binaries
that have been tested.
Most programs should work, but not ones that use or depend on:
-.sp
+.Pp
.Bl -item -compact -offset indent
.It
kernel internal data structures
@@ -67,7 +67,7 @@
.It
virtual 8086 mode
.El
-.sp
+.Pp
The iBCS2 compatibility feature is active for kernels compiled with
the
.Dv COMPAT_IBCS2
@@ -122,28 +122,25 @@
.Nx
system to do the necessary
installation steps).
-.Pp
.Bl -tag -width "COFF binaries"
.It COFF binaries
You can simply copy all of the available shared libraries since they
are fairly small in size. The COFF shared libraries are typically
found in /shlib and can be obtained from the following sources:
-.sp
-.nf
+.Bd -literal
SCO UNIX version 3.x (aka ODT)
SCO UNIX version 5.x (aka OpenServer)
SCO UnixWare
Many versions of SVR4.2/x86
-.fi
-.sp
+.Ed
+.Pp
After copying the shared libraries, you should have at least the
following files on your system:
-.Pp
-.nf
+.Bd -literal
.Pa /emul/ibcs2/shlib/libc_s
.Pa /emul/ibcs2/shlib/libnsl_s
.Pa /emul/ibcs2/shlib/protlib_s
-.fi
+.Ed
.It ELF binaries
You can simply copy all of the available shared libraries from the
source system or distribution or use
@@ -152,13 +149,12 @@
.Pp
After copying the shared libraries, you should have at least the
following files on your system:
-.Pp
-.nf
+.Bd -literal
.Pa /emul/ibcs2/usr/lib/libc.so.1
.Pa /emul/ibcs2/usr/lib/libcrypt.so
.Pa /emul/ibcs2/usr/lib/libndbm.so
.Pa /emul/ibcs2/usr/lib/libsocket.so.1
-.fi
+.Ed
.Pp
.El
If you don't have access to a SCO system, you will need to get the
@@ -170,10 +166,9 @@
.Pp
Run the following script to copy the basic set of files from a SCO
distribution directory mounted somewhere locally:
-.Pp
-.nf
+.Bd -literal
/usr/share/examples/emul/ibcs2/ibcs2-setup [directory]
-.fi
+.Ed
.Pp
You should now be set up for SCO binaries which only need standard
shared libs.
diff -r b4287d8334bb -r ffd71b6f4045 share/man/man8/compat_linux.8
--- a/share/man/man8/compat_linux.8 Mon Nov 21 13:46:37 2011 +0000
+++ b/share/man/man8/compat_linux.8 Mon Nov 21 14:27:41 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: compat_linux.8,v 1.36 2007/12/02 21:45:59 wiz Exp $
+.\" $NetBSD: compat_linux.8,v 1.37 2011/11/21 14:27:41 njoly Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
.\" All rights reserved.
@@ -135,15 +135,12 @@
Put it on the Linux system you have access to, and check which shared libraries it
needs by running
.Sq ldd linuxxdoom :
-.Pp
-.Bl -tag -width 123 -compact -offset indent
-.It (me@linux) ldd linuxxdoom
-.nf
-libXt.so.3 (DLL Jump 3.1) =\*[Gt] /usr/X11/lib/libXt.so.3.1.0
-libX11.so.3 (DLL Jump 3.1) =\*[Gt] /usr/X11/lib/libX11.so.3.1.0
-libc.so.4 (DLL Jump 4.5pl26) =\*[Gt] /lib/libc.so.4.6.29
-.fi
-.El
+.Bd -literal -offset indent
+(me@linux) ldd linuxxdoom
+ libXt.so.3 (DLL Jump 3.1) =\*[Gt] /usr/X11/lib/libXt.so.3.1.0
+ libX11.so.3 (DLL Jump 3.1) =\*[Gt] /usr/X11/lib/libX11.so.3.1.0
+ libc.so.4 (DLL Jump 4.5pl26) =\*[Gt] /lib/libc.so.4.6.29
+.Ed
.Pp
You would need go get all the files from the last column, and
put them under
@@ -194,10 +191,9 @@
and you find that the
.Ic ldd
output for a new binary you want to install is:
-.nf
-.Pp
+.Bd -literal
libc.so.4 (DLL Jump 4.5pl26) =\*[Gt] /lib/libc.so.4.6.29
-.fi
+.Ed
.Pp
you won't need to worry about copying
.Pa /lib/libc.so.4.6.29
@@ -455,7 +451,6 @@
contents subdirectory, and grep through them for the file you need.
Here is an example of a list of files that you might need, and
in which contents-file you will find it by grepping through them:
-.Pp
.Bd -literal -offset indent
Needed Package
@@ -477,7 +472,6 @@
the package is,
in our case it will tell us in which subdirectory we need to look.
For our example, we would find the following locations:
-.Pp
.Bd -literal -offset indent
Package Location
Home |
Main Index |
Thread Index |
Old Index