Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes/common simplify some sections, and improve .ie...



details:   https://anonhg.NetBSD.org/src/rev/4bb76b76f998
branches:  trunk
changeset: 534310:4bb76b76f998
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Jul 21 13:00:45 2002 +0000

description:
simplify some sections, and improve .ie ... .el .ie stuff

diffstat:

 distrib/notes/common/postinstall |  56 ++++++++++++++++++++--------------------
 1 files changed, 28 insertions(+), 28 deletions(-)

diffs (112 lines):

diff -r b318aa8b5ce6 -r 4bb76b76f998 distrib/notes/common/postinstall
--- a/distrib/notes/common/postinstall  Sun Jul 21 12:58:02 2002 +0000
+++ b/distrib/notes/common/postinstall  Sun Jul 21 13:00:45 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: postinstall,v 1.40 2002/07/19 15:47:10 lukem Exp $
+.\"    $NetBSD: postinstall,v 1.41 2002/07/21 13:00:45 lukem Exp $
 .\"
 .\" Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -60,16 +60,19 @@
 .Ic hp300h
 for a local console, or whatever is appropriate for your serial console.
 .\}
-.el .ie r_macppc \{\
+.el \{\
+.ie r_macppc \{\
 .Ic vt100
 (or whatever is appropriate for your terminal type)
 .\}
-.el .ie r_pmax \{\
+.el \{\
+.ie r_pmax \{\
 the correct terminal type as discussed in the
 .Sx Once you've booted the diskimage
 section.
 .\}
-.el .ie r_sparc \{\
+.el \{\
+.ie r_sparc \{\
 .Ic sun
 for a local console, or whatever is appropriate for your serial
 console (some systems display garbage with a
@@ -81,6 +84,9 @@
 .Ic vt220
 (or whatever is appropriate for your terminal type)
 .\}
+.\}
+.\}
+.\}
 and press
 .Key RETURN .
 You may need to type one of the following commands to get your delete key
@@ -121,11 +127,12 @@
 Do the following:
 .Pp
 .Dl # Ic "mount /usr"
-.ie     r_hp300 .Dl # Ic "export TERM=hp300h"
-.el .ie r_macppc .Dl # Ic "export TERM=vt100"
-.el .ie r_pmax  .Dl # Ic "export TERM=termtype"
-.el .ie r_sparc .Dl # Ic "export TERM=sun"
-.el             .Dl # Ic "export TERM=vt220"
+.       ie r_hp300   .Dl # Ic "export TERM=hp300h"
+.el \{ .ie r_macppc  .Dl # Ic "export TERM=vt100"
+.el \{ .ie r_pmax    .Dl # Ic "export TERM=termtype"
+.el \{ .ie r_sparc   .Dl # Ic "export TERM=sun"
+.el \{               .Dl # Ic "export TERM=vt220"
+\}\}\}\}
 .Pp
 If you have
 .Pa /var
@@ -158,7 +165,8 @@
 .Li sn0 .
 For example:
 .\}
-.el .ie r_macppc \{\
+.el \{\
+.ie r_macppc \{\
 where your on-board interfaces may be one of
 .Li mc0 ,
 .Li bm0 ,
@@ -168,31 +176,23 @@
 For example:
 .\}
 .el along the lines of
+.\}
 .Pp
-.ie \n[hp300]:\n[pmax]:\n[sparc] \{\
-.Dl                  ifconfig_le0="inet 123.45.67.89 netmask 255.255.255.0"
-.\}
-.el .ie \n[next68k] \{\
-.Dl                  ifconfig_xe0="inet 123.45.67.89 netmask 255.255.255.0"
-.\}
-.el .ie r_mac68k .Dl ifconfig_sn0="inet 123.45.67.89 netmask 255.255.255.0"
-.el .ie r_macppc .Dl ifconfig_mc0="inet 123.45.67.89 netmask 255.255.255.0"
-.el              .Dl ifconfig_de0="inet 123.45.67.89 netmask 255.255.255.0"
+.
+.ds IFname de0
+.if \n[hp300]:\n[mvme68k]:\n[pmax]:\n[sparc] .ds IFname le0
+.if r_next68k .ds IFname xe0
+.if r_mac68k  .ds IFname sn0
+.if r_macppc  .ds IFname mc0
+.
+.Dl ifconfig_\*[IFname]="inet 123.45.67.89 netmask 255.255.255.0"
 .Pp
 or, if you have
 .Ar myname.my.dom
 in
 .Pa /etc/hosts :
 .Pp
-.ie \n[hp300]:\n[pmax]:\n[sparc] \{\
-.Dl                  ifconfig_le0="inet myname.my.dom netmask 255.255.255.0"
-.\}
-.el .ie \n[next68k] \{\
-.Dl                  ifconfig_xe0="inet myname.my.dom netmask 255.255.255.0"
-.\}
-.el .ie r_mac68k .Dl ifconfig_sn0="inet myname.my.dom netmask 255.255.255.0"
-.el .ie r_macppc .Dl ifconfig_mc0="inet myname.my.dom netmask 255.255.255.0"
-.el              .Dl ifconfig_de0="inet myname.my.dom netmask 255.255.255.0"
+.Dl ifconfig_\*[IFname]="inet myname.my.dom netmask 255.255.255.0"
 .Pp
 To enable proper hostname resolution, you will also want to add an
 .Pa /etc/resolv.conf



Home | Main Index | Thread Index | Old Index