summaryrefslogtreecommitdiff
path: root/distrib/i386
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1997-05-08 05:56:26 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1997-05-08 05:56:26 +0000
commit7b67aeb1995a523a49127e63dc0ca7c5fc8eff8d (patch)
treeb23063a45f264179385ec4605bc95ac03e3993c6 /distrib/i386
parent4023a14c3930961ef158e5ccf77cee0bed62feaa (diff)
Clean up build of install floppy
Diffstat (limited to 'distrib/i386')
-rw-r--r--distrib/i386/floppies/ramdisk/Makefile41
-rw-r--r--distrib/i386/floppies/ramdisk/Makefile.inc32
-rw-r--r--distrib/i386/floppies/ramdisk/disktab.preinstall31
-rw-r--r--distrib/i386/floppies/ramdisk/dot.instutils156
-rw-r--r--distrib/i386/floppies/ramdisk/instbin.conf4
-rw-r--r--distrib/i386/floppies/ramdisk/list90
-rw-r--r--distrib/i386/floppies/ramdisk/list_floppy3
-rw-r--r--distrib/i386/floppies/ramdisk/resolv.conf7
-rw-r--r--distrib/i386/floppies/ramdisk/termcap.pc345
9 files changed, 162 insertions, 247 deletions
diff --git a/distrib/i386/floppies/ramdisk/Makefile b/distrib/i386/floppies/ramdisk/Makefile
index 123f78bd5a2..0957e23c1c8 100644
--- a/distrib/i386/floppies/ramdisk/Makefile
+++ b/distrib/i386/floppies/ramdisk/Makefile
@@ -1,16 +1,15 @@
-# $OpenBSD: Makefile,v 1.14 1997/05/07 06:03:24 deraadt Exp $
-
-# Revision is 2.1
-REV= 21
+# $OpenBSD: Makefile,v 1.15 1997/05/08 05:56:21 tholo Exp $
TOP= ${.CURDIR}/..
.include "${TOP}/Makefile.inc"
IMAGE= mr.fs
+CBIN?= instbin
CRUNCHCONF?= ${.CURDIR}/${CBIN}.conf
-BASE=mr
+LISTS= ${.CURDIR}/list
MOUNT_POINT= /mnt
+MTREE= ${.CURDIR}/mtree.conf
FS= floppy.fs
VND?= vnd0
@@ -18,11 +17,9 @@ VND_DEV= /dev/${VND}a
VND_RDEV= /dev/r${VND}a
VND_CRDEV= /dev/r${VND}c
PID!= echo $$$$
-REALIMAGE!= echo /tmp/image.${PID}
+REALIMAGE!= echo /var/tmp/image.${PID}
LISTFLOPPY= ${.CURDIR}/list_floppy
-.include "Makefile.inc"
-
all: ${FS}
${FS}: bsd.gz
@@ -33,10 +30,10 @@ ${FS}: bsd.gz
mount ${VND_DEV} ${MOUNT_POINT}
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTFLOPPY}
+ /usr/mdec/installboot -v ${MOUNT_POINT}/boot ${DESTDIR}/usr/mdec/biosboot ${VND_CRDEV}
sync
cat /*bin/* > /dev/null
sync
- /usr/mdec/installboot -v /mnt/boot ${DESTDIR}/usr/mdec/biosboot ${VND_CRDEV}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""
@@ -63,11 +60,13 @@ bsd.rd: ${IMAGE} bsd rdsetroot
${.OBJDIR}/rdsetroot bsd.rd < ${IMAGE}
bsd:
- cd ${.CURDIR}/../../../../sys/arch/i386/conf && config RAMDISK
- cd ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK && \
- make clean && make depend && make
cp ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK/bsd bsd
+# cd ${.CURDIR}/../../../../sys/arch/i386/conf && config RAMDISK
+# cd ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK && \
+# make clean && make depend && make
+# cp ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK/bsd bsd
+
${IMAGE}: ${CBIN} rd_setup do_files rd_teardown
rd_setup: ${CBIN}
@@ -98,6 +97,22 @@ unconfig:
.PRECIOUS: ${IMAGE}
-
install:
cp ${FS} ${DESTDIR}/snapshot/${FS}
+
+${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
+ crunchgen -D ${BSDSRCDIR} -L ${DESTDIR}/usr/lib ${CRUNCHCONF}
+
+${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
+ make -f ${CBIN}.mk all
+
+do_files:
+ mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
+ TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
+ REV=${REV} TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
+
+clean cleandir:
+ /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c \
+ bsd bsd.rd bsd.gz floppy*.fs rdsetroot
+
+.include <bsd.obj.mk>
diff --git a/distrib/i386/floppies/ramdisk/Makefile.inc b/distrib/i386/floppies/ramdisk/Makefile.inc
deleted file mode 100644
index a2eb1ef363c..00000000000
--- a/distrib/i386/floppies/ramdisk/Makefile.inc
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# $OpenBSD: Makefile.inc,v 1.5 1997/05/04 03:05:40 tholo Exp $
-#
-
-# TOP is assumed to be defined by Makefile including this one.
-
-CBIN?= instbin
-COMMONDIR= ${TOP}/ramdisk
-
-MOUNT_POINT?= ${TOP}/${BASE}/fs
-
-LISTS= ${COMMONDIR}/../common/list ${.CURDIR}/list
-CRUNCHCONF?= ${COMMONDIR}/${CBIN}.conf
-MTREE= ${COMMONDIR}/mtree.conf
-
-${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
- crunchgen -D ${BSDSRCDIR} -L ${DESTDIR}/usr/lib ${CRUNCHCONF}
-
-${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
- make -f ${CBIN}.mk all
-
-do_files:
- mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
- TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
- REV=${REV} TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
-
-clean cleandir:
- /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c \
- bsd bsd.rd bsd.gz floppy-*.fs
-
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
diff --git a/distrib/i386/floppies/ramdisk/disktab.preinstall b/distrib/i386/floppies/ramdisk/disktab.preinstall
deleted file mode 100644
index 022bb27d3fd..00000000000
--- a/distrib/i386/floppies/ramdisk/disktab.preinstall
+++ /dev/null
@@ -1,31 +0,0 @@
-# $OpenBSD: disktab.preinstall,v 1.2 1997/04/17 02:10:45 niklas Exp $
-#
-# Disk geometry and partition layout tables.
-# Key:
-# dt controller type
-# ty type of disk (fixed, removeable, simulated)
-# d[0-4] drive-type-dependent parameters
-# ns #sectors/track
-# nt #tracks/cylinder
-# nc #cylinders/disk
-# sc #sectors/cylinder, nc*nt default
-# su #sectors/unit, sc*nc default
-# se sector size, DEV_BSIZE default
-# rm rpm, 3600 default
-# sf supports bad144-style bad sector forwarding
-# sk sector skew per track, default 0
-# cs sector skew per cylinder, default 0
-# hs headswitch time, default 0
-# ts one-cylinder seek time, default 0
-# il sector interleave (n:1), 1 default
-# bs boot block size, default BBSIZE
-# sb superblock size, default SBSIZE
-# o[a-h] partition offsets in sectors
-# p[a-h] partition sizes in sectors
-# b[a-h] partition block sizes in bytes
-# f[a-h] partition fragment sizes in bytes
-# t[a-h] partition types (filesystem, swap, etc)
-#
-# All partition sizes reserve space for bad sector tables.
-# (5 cylinders needed for maintenance + replacement sectors)
-#
diff --git a/distrib/i386/floppies/ramdisk/dot.instutils b/distrib/i386/floppies/ramdisk/dot.instutils
deleted file mode 100644
index 89acf73dcad..00000000000
--- a/distrib/i386/floppies/ramdisk/dot.instutils
+++ /dev/null
@@ -1,156 +0,0 @@
-# $OpenBSD: dot.instutils,v 1.1 1997/04/13 17:17:53 mickey Exp $
-#
-# Copyright (c) 1994 Christopher G. Demetriou
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement:
-# This product includes software developed by Christopher G. Demetriou.
-# 4. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Installation configuration utilites (functions), to get OpenBSD configured
-# reasonably once it is installed on the hard disk. These are meant to be
-# invoked from the shell prompt, by people installing OpenBSD.
-
-Configure()
-{
- DEV=/dev
- ETC=/etc
- if [ ! -f /etc/fstab ]; then
- DEV=/mnt/dev
- ETC=/mnt/etc
- fi
-
- echo "You will now be prompted for information about this"
- echo "machine. If you hit return, the default answer (in"
- echo "brackets) will be used."
-
- echo ""
- echo -n "What is this machine's hostname? [unknown.host.domain] "
- read hname
- if [ "$hname" = "" ]; then
- hname=unknown.host.domain
- fi
- echo $hname > ${ETC}/myname
- proto_domain=`echo $hname | sed -e 's/[^.]*\.//'`
-
- echo ""
- echo "What domain is this machine in (this is NOT its YP"
- echo -n "domain name)? [$proto_domain] "
- read dname
- if [ "$dname" = "" ]; then
- dname=$proto_domain
- fi
-
- echo ""
- if [ -e $ETC/sendmail.cf ]; then
- echo "WARNING: A default sendmail.cf exists, and probably"
- echo "needs to be tuned and/or replaced, to work properly at"
- echo "your site!"
- else
- echo "WARNING: No default sendmail.cf installed. Did you"
- echo "forget to install the 'etc' distribution?"
- fi
-
- echo "127.0.0.1 localhost localhost.$dname" > ${ETC}/hosts
-
- echo ""
- echo -n "Does this machine have an ethernet interface? [y] "
- read resp
- case "$resp" in
- n*)
- ;;
- *)
- intf=
- while [ "$intf" = "" ]; do
- echo -n "What is the primary interface name "
- echo -n "(e.g. ed0, ep0, etc)? "
- read intf
- done
- echo -n "What is the hostname for this interface? [$hname] "
- read ifname
- if [ "$ifname" = "" ]; then
- ifname=$hname
- fi
- ifaddr=
- while [ "$ifaddr" = "" ]; do
- echo -n "What is the IP address associated with "
- echo -n "interface ${intf}? "
- read ifaddr
- done
- echo "$ifaddr $ifname `echo $ifname | sed -e s/\.$dname//`" \
- >> ${ETC}/hosts
-
- echo -n "Does this interface have a special netmask? [n] "
- read resp
- case "$resp" in
- y*)
- echo -n "What is the netmask? [0xffffff00] "
- read ifnetmask
- if [ "$ifnetmask" = "" ]; then
- ifnetmask=0xffffff00
- fi
- ;;
- *)
- ifnetmask=
- ;;
- esac
-
- echo -n "Does this interface need additional flags? [n] "
- read resp
- case "$resp" in
- y*)
- echo -n "What flags? [link0] "
- read ifflags
- if [ "$ifflags" = "" ]; then
- ifflags=link0
- fi
- ;;
- *)
- ifflags=
- ;;
- esac
- echo "inet $ifname $ifnetmask $ifflags" > ${ETC}/hostname.$intf
-
- echo ""
- echo -n "WARNING: if you have any more ethernet interfaces, "
- echo "you will have to configure"
- echo -n "them by hand. Read the comments in /etc/netstart to "
- echo "learn how to do this."
- ;;
- esac
-
- echo ""
- echo -n "Making device nodes (may take a while)..."
- cd ${DEV}
- sh MAKEDEV all
- echo " done."
-
- sync
-
- echo ""
- echo "If you haven't already installed a kernel on the hard drive"
- echo "using your kernel-copy floppy, do so now. Kernel"
- echo "installation instructions can be found in the"
- echo "installation notes."
-}
diff --git a/distrib/i386/floppies/ramdisk/instbin.conf b/distrib/i386/floppies/ramdisk/instbin.conf
index e3eacd30ae0..37becc192e0 100644
--- a/distrib/i386/floppies/ramdisk/instbin.conf
+++ b/distrib/i386/floppies/ramdisk/instbin.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: instbin.conf,v 1.8 1997/05/07 06:03:26 deraadt Exp $
+# $OpenBSD: instbin.conf,v 1.9 1997/05/08 05:56:23 tholo Exp $
#
# instbin.conf - unified binary for the inst/upgr floppies
#
@@ -11,7 +11,7 @@ progs expr fsck_ffs ftp fdisk hostname
progs ifconfig init less ln ls mkdir mknod mount mount_cd9660
progs mount_ffs mount_msdos mount_nfs mount_kernfs mount_ext2fs
progs mv newfs pax pdksh ping pppd pwd reboot rm route build
-progs scsi sed shutdown sleep stty sync test tip umount
+progs scsi sed slattach sleep stty sync test tip umount
progs rsh restore gzip sort grep cut
ln chown chgrp
diff --git a/distrib/i386/floppies/ramdisk/list b/distrib/i386/floppies/ramdisk/list
index 13a1b1f3d19..af8a46c0ffb 100644
--- a/distrib/i386/floppies/ramdisk/list
+++ b/distrib/i386/floppies/ramdisk/list
@@ -1,12 +1,92 @@
-# $OpenBSD: list,v 1.4 1997/05/03 07:50:16 tholo Exp $
+# $OpenBSD: list,v 1.5 1997/05/08 05:56:23 tholo Exp $
-# the disktab explanation file
-COPY disktab.preinstall etc/disktab.preinstall
+# copy the crunched binary, link to it, and kill it
+COPY ${OBJDIR}/instbin instbin
+LINK instbin bin/cat
+LINK instbin bin/chmod
+LINK instbin bin/cp
+LINK instbin bin/cpio bin/pax bin/tar
+LINK instbin bin/dd
+LINK instbin bin/df
+LINK instbin bin/ed
+LINK instbin bin/expr
+LINK instbin bin/hostname
+LINK instbin bin/ln
+LINK instbin bin/ls
+LINK instbin bin/mkdir
+LINK instbin bin/mv
+LINK instbin bin/pwd
+LINK instbin bin/rm
+LINK instbin bin/sh bin/pdksh
+LINK instbin bin/sleep
+LINK instbin bin/stty
+LINK instbin bin/sync
+LINK instbin bin/test bin/[
+LINK instbin sbin/disklabel
+LINK instbin sbin/fdisk
+LINK instbin sbin/fsck sbin/fsck_ffs
+LINK instbin sbin/halt sbin/reboot
+LINK instbin sbin/ifconfig
+LINK instbin sbin/init
+LINK instbin sbin/mknod
+LINK instbin sbin/mount
+LINK instbin sbin/mount_cd9660
+LINK instbin sbin/mount_ffs
+LINK instbin sbin/mount_msdos
+LINK instbin sbin/mount_nfs
+LINK instbin sbin/mount_kernfs
+LINK instbin sbin/mount_ext2fs
+LINK instbin sbin/newfs sbin/mount_mfs
+LINK instbin sbin/ping
+LINK instbin sbin/restore
+LINK instbin sbin/route
+LINK instbin sbin/slattach
+LINK instbin sbin/scsi
+LINK instbin sbin/umount
+SYMLINK /bin/cat usr/bin/cut
+SYMLINK /bin/cat usr/bin/egrep usr/bin/fgrep usr/bin/grep
+SYMLINK /bin/cat usr/bin/ftp
+SYMLINK /bin/cat usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
+SYMLINK /bin/cat usr/bin/less usr/bin/more
+SYMLINK /bin/cat usr/bin/rsh
+SYMLINK /bin/cat usr/bin/sed
+SYMLINK /bin/cat usr/bin/sort
+SYMLINK /bin/cat usr/bin/tip
+SYMLINK /bin/cat usr/bin/vi
+SYMLINK /bin/cat usr/sbin/bad144
+SYMLINK /bin/cat usr/sbin/chat
+SYMLINK /bin/cat usr/sbin/chown usr/sbin/chgrp
+SYMLINK /bin/cat usr/sbin/pppd
+SPECIAL /bin/rm instbin
+
+# `internal' crunchgen links
+ARGVLINK sh -sh
+
+# copy the MAKEDEV script and make some devices
+COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
+SPECIAL cd dev; sh MAKEDEV ramdisk
+SPECIAL /bin/rm dev/MAKEDEV
+
+# we need the contents of /usr/mdec
+COPY ${DESTDIR}/usr/mdec/bootsd usr/mdec/bootsd
+COPY ${DESTDIR}/usr/mdec/sdboot usr/mdec/sdboot
+LINK usr/mdec/bootsd usr/mdec/bootwd
+LINK usr/mdec/sdboot usr/mdec/wdboot
+
+# various files that we need in /etc for the install
+COPY ${DESTDIR}/etc/group etc/group
+COPY ${DESTDIR}/etc/protocols etc/protocols
+COPY ${DESTDIR}/etc/services etc/services
+COPY ${DESTDIR}/etc/spwd.db etc/spwd.db
+
+COPYDIR ${DESTDIR}/etc/ppp etc/ppp
+
+# and the common installation tools
+COPY ${CURDIR}/termcap.pc3 usr/share/misc/termcap
+COPY ${DESTDIR}/usr/share/misc/scsi_modes usr/share/misc/scsi_modes
# and the installation tools
COPY dot.profile .profile
-COPY dot.instutils .instutils
-COPY resolv.conf etc/resolv.conf
COPY install.md install.md
COPY ${CURDIR}/../../../miniroot/install.sh install
COPY ${CURDIR}/../../../miniroot/upgrade.sh upgrade
diff --git a/distrib/i386/floppies/ramdisk/list_floppy b/distrib/i386/floppies/ramdisk/list_floppy
index e990fec54e6..cb425fda541 100644
--- a/distrib/i386/floppies/ramdisk/list_floppy
+++ b/distrib/i386/floppies/ramdisk/list_floppy
@@ -1,4 +1,5 @@
-# $OpenBSD: list_floppy,v 1.2 1997/04/16 21:37:43 deraadt Exp $
+# $OpenBSD: list_floppy,v 1.3 1997/05/08 05:56:24 tholo Exp $
COPY ${DESTDIR}/usr/mdec/boot boot
+SPECIAL strip boot
COPY ${OBJDIR}/bsd.gz bsd
diff --git a/distrib/i386/floppies/ramdisk/resolv.conf b/distrib/i386/floppies/ramdisk/resolv.conf
deleted file mode 100644
index d5d77fdff80..00000000000
--- a/distrib/i386/floppies/ramdisk/resolv.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-domain openbsd.org
-nameserver 146.228.10.16
-nameserver 18.26.0.9
-nameserver 128.138.243.151
-nameserver 193.196.32.1
-nameserver 192.71.220.10
-lookup file bind
diff --git a/distrib/i386/floppies/ramdisk/termcap.pc3 b/distrib/i386/floppies/ramdisk/termcap.pc3
new file mode 100644
index 00000000000..437a1bd4b88
--- /dev/null
+++ b/distrib/i386/floppies/ramdisk/termcap.pc3
@@ -0,0 +1,45 @@
+# $OpenBSD: termcap.pc3,v 1.1 1997/05/08 05:56:25 tholo Exp $
+#
+# Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+# must display the following acknowledgement:
+# This product includes software developed by the University of
+# California, Berkeley and its contributors.
+# 4. Neither the name of the University nor the names of its contributors
+# may be used to endorse or promote products derived from this software
+# without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+# @(#)termcap.src 5.109 (Berkeley) 3/8/93
+#
+pc3|ibmpc3|IBM PC BSD/386 Console:\
+ :am:bs:bw:eo:km:xo:\
+ :Co#8:co#80:it#8:li#25:pa#64:\
+ :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
+ :Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
+ :ce=\E[K:cl=\Ec:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:\
+ :kH=\E[F:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:\
+ :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
+ :mh=\E[=8F:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[x:rc=\E8:sc=\E7:\
+ :se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A: