From 1f55ebbcd99105faabcea148be4173bc680b74fa Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Sun, 9 Apr 1995 09:54:51 +0000 Subject: [PATCH] This is a purely cosmetic clean up. Fix many cut and paste problems that had turned tabs into spaces. --- etc/disktab | 8 ++++---- etc/etc.amd64/rc.amd64 | 10 +++++----- etc/etc.i386/disktab | 8 ++++---- etc/etc.i386/rc.i386 | 10 +++++----- etc/hosts | 8 ++++---- etc/modems | 24 ++++++++++++------------ etc/netstart | 26 +++++++++++++------------- etc/rc | 14 +++++++------- etc/rc.d/serial | 5 +++-- etc/rc.serial | 5 +++-- etc/termcap.small | 16 ++++++++-------- etc/weekly | 12 ++++++------ 12 files changed, 74 insertions(+), 72 deletions(-) diff --git a/etc/disktab b/etc/disktab index eab06be1d839..f408340090f7 100644 --- a/etc/disktab +++ b/etc/disktab @@ -32,9 +32,9 @@ # Floppy formats: # # To make a filesystem on a floppy: -# fdformat [-f ] fd[.] -# disklabel -r -w fd[.] fd -# newfs fd[.] +# fdformat [-f ] fd[.] +# disklabel -r -w fd[.] fd +# newfs fd[.] # fd360:\ @@ -110,7 +110,7 @@ mk156|toshiba156|Toshiba MK156 156Mb:\ :dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\ :pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\ :pb#15748:ob#15748:tb=swap:\ - :pc#288750:oc#0:\ + :pc#288750:oc#0:\ :ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD: cp3100|Connor Peripherals 100MB IDE:\ diff --git a/etc/etc.amd64/rc.amd64 b/etc/etc.amd64/rc.amd64 index 1cd4cb677b93..68ba6a3d8406 100644 --- a/etc/etc.amd64/rc.amd64 +++ b/etc/etc.amd64/rc.amd64 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.i386,v 1.4 1995/04/04 17:34:55 ache Exp $ +# $Id: rc.i386,v 1.5 1995/04/06 02:38:37 jkh Exp $ # Do i386 specific processing # @@ -9,12 +9,12 @@ echo -n 'enabling FreeBSD/386 options:' # Start the SCO binary emulation if requested. if [ "X${ibcs2}" = X"YES" ]; then # Re-enable this if ibcs2 ever shuts up. -# echo -n ' ibcs2'; ibcs2 +# echo -n ' ibcs2'; ibcs2 ibcs2 fi if [ "X${xtend}" != X"NO" -a -x /usr/libexec/xtend ]; then - echo -n ' xtend'; /usr/libexec/xtend + echo -n ' xtend'; /usr/libexec/xtend fi ########################################################################## @@ -43,7 +43,7 @@ fi # keyrate if [ "X${keyrate}" != X"NO" ]; then - echo -n ' keyrate'; kbdcontrol -r ${keyrate} + echo -n ' keyrate'; kbdcontrol -r ${keyrate} fi # change function keys @@ -64,7 +64,7 @@ fi # cursor type if [ "X${cursor}" != X"NO" ]; then - echo -n ' cursor'; vidcontrol -c ${cursor} + echo -n ' cursor'; vidcontrol -c ${cursor} fi # screen mapping diff --git a/etc/etc.i386/disktab b/etc/etc.i386/disktab index eab06be1d839..f408340090f7 100644 --- a/etc/etc.i386/disktab +++ b/etc/etc.i386/disktab @@ -32,9 +32,9 @@ # Floppy formats: # # To make a filesystem on a floppy: -# fdformat [-f ] fd[.] -# disklabel -r -w fd[.] fd -# newfs fd[.] +# fdformat [-f ] fd[.] +# disklabel -r -w fd[.] fd +# newfs fd[.] # fd360:\ @@ -110,7 +110,7 @@ mk156|toshiba156|Toshiba MK156 156Mb:\ :dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\ :pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\ :pb#15748:ob#15748:tb=swap:\ - :pc#288750:oc#0:\ + :pc#288750:oc#0:\ :ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD: cp3100|Connor Peripherals 100MB IDE:\ diff --git a/etc/etc.i386/rc.i386 b/etc/etc.i386/rc.i386 index 1cd4cb677b93..68ba6a3d8406 100644 --- a/etc/etc.i386/rc.i386 +++ b/etc/etc.i386/rc.i386 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.i386,v 1.4 1995/04/04 17:34:55 ache Exp $ +# $Id: rc.i386,v 1.5 1995/04/06 02:38:37 jkh Exp $ # Do i386 specific processing # @@ -9,12 +9,12 @@ echo -n 'enabling FreeBSD/386 options:' # Start the SCO binary emulation if requested. if [ "X${ibcs2}" = X"YES" ]; then # Re-enable this if ibcs2 ever shuts up. -# echo -n ' ibcs2'; ibcs2 +# echo -n ' ibcs2'; ibcs2 ibcs2 fi if [ "X${xtend}" != X"NO" -a -x /usr/libexec/xtend ]; then - echo -n ' xtend'; /usr/libexec/xtend + echo -n ' xtend'; /usr/libexec/xtend fi ########################################################################## @@ -43,7 +43,7 @@ fi # keyrate if [ "X${keyrate}" != X"NO" ]; then - echo -n ' keyrate'; kbdcontrol -r ${keyrate} + echo -n ' keyrate'; kbdcontrol -r ${keyrate} fi # change function keys @@ -64,7 +64,7 @@ fi # cursor type if [ "X${cursor}" != X"NO" ]; then - echo -n ' cursor'; vidcontrol -c ${cursor} + echo -n ' cursor'; vidcontrol -c ${cursor} fi # screen mapping diff --git a/etc/hosts b/etc/hosts index 013286217ce8..ba7577c2f18b 100644 --- a/etc/hosts +++ b/etc/hosts @@ -1,4 +1,4 @@ -# $Id: hosts,v 1.3 1994/06/04 02:03:45 phk Exp $ +# $Id: hosts,v 1.4 1994/06/24 23:50:16 wollman Exp $ # # Host Database # This file should contain the addresses and aliases @@ -16,9 +16,9 @@ # According to RFC 1597, you can use the following IP networks for # private nets which will never be connected to the Internet: # -# 10.0.0.0 - 10.255.255.255 -# 172.16.0.0 - 172.31.255.255 -# 192.168.0.0 - 192.168.255.255 +# 10.0.0.0 - 10.255.255.255 +# 172.16.0.0 - 172.31.255.255 +# 192.168.0.0 - 192.168.255.255 # # In case you want to be able to connect to the Internet, you need # real official assigned numbers. PLEASE PLEASE PLEASE do not try diff --git a/etc/modems b/etc/modems index f8b605d90d87..f835fc70bd80 100644 --- a/etc/modems +++ b/etc/modems @@ -4,18 +4,18 @@ # modems -- modem configuration data base file # see tip(1), modems(5) # -# dial_command AT command to dial up remote -# echo_off_command AT command to turn off command echo -# escape_guard_time Shroud escape sequence with specified delay (ms) -# escape_sequence Return to command escape sequence -# hangup_command AT command to hangup modem -# hw_flow_control Enable RTS/CTS flow control between DTE/DCE -# intercharacter_delay Delay between characters sent to modem when issuing -# commands -# intercommand_delay Minimum delay between commands to modem -# init_string AT command to initialize modem before dialing out -# lock_baud Use fixed DTE / DCE bit rate -# reset_delay Delay required by modem for reset +# dial_command AT command to dial up remote +# echo_off_command AT command to turn off command echo +# escape_guard_time Shroud escape sequence with specified delay (ms) +# escape_sequence Return to command escape sequence +# hangup_command AT command to hangup modem +# hw_flow_control Enable RTS/CTS flow control between DTE/DCE +# intercharacter_delay Delay between characters sent to modem when issuing +# commands +# intercommand_delay Minimum delay between commands to modem +# init_string AT command to initialize modem before dialing out +# lock_baud Use fixed DTE / DCE bit rate +# reset_delay Delay required by modem for reset # sportster|st|US Robotics Sportster 14.4K:dial_command=ATDT%s\r:hangup_command=ATH\r:\ diff --git a/etc/netstart b/etc/netstart index af2e52a8fd1c..552ad58010f4 100755 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.24 1995/03/29 03:33:55 rgrimes Exp $ +# $Id: netstart,v 1.25 1995/03/30 06:26:08 rgrimes Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # my-name is my symbolic name @@ -12,8 +12,8 @@ fi # Set the domainname if we're using NIS if [ -z "`domainname`" -a -e "/etc/defaultdomain" ] ; then - domainname=`cat /etc/defaultdomain` - domainname $domainname + domainname=`cat /etc/defaultdomain` + domainname $domainname fi for i in /etc/hostname.* @@ -45,17 +45,17 @@ fi # route add $hostname localhost if [ "x$gated" != "xNO" -o "x$routedflags" != "xNO" ] ; then - echo -n starting routing daemons: + echo -n starting routing daemons: - # $gated and $routedflags are imported from /etc/sysconfig. - # If $gated == YES, gated is used; otherwise routed. - # If $routedflags == NO, routed isn't run. + # $gated and $routedflags are imported from /etc/sysconfig. + # If $gated == YES, gated is used; otherwise routed. + # If $routedflags == NO, routed isn't run. - if [ "X${gated}" = X"YES" -a -r /etc/gated.conf ]; then - echo -n ' gated'; gated $gatedflags - elif [ "X${routedflags}" != X"NO" ]; then - echo -n ' routed'; routed $routedflags - fi + if [ "X${gated}" = X"YES" -a -r /etc/gated.conf ]; then + echo -n ' gated'; gated $gatedflags + elif [ "X${routedflags}" != X"NO" ]; then + echo -n ' routed'; routed $routedflags + fi - echo '.' + echo '.' fi diff --git a/etc/rc b/etc/rc index 3256f8573b5e..5bf24d189eca 100644 --- a/etc/rc +++ b/etc/rc @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.59 1995/03/30 00:01:08 ache Exp $ +# $Id: rc,v 1.60 1995/03/30 06:26:09 rgrimes Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -129,13 +129,13 @@ fi # echo -n starting system daemons: -echo ' syslogd.'; syslogd +echo ' syslogd.'; syslogd echo -n starting network daemons: # $namedflags is imported from /etc/sysconfig if [ "X${namedflags}" != "XNO" ]; then - echo -n ' named'; named $namedflags + echo -n ' named'; named $namedflags fi # $ntpdate and $xntpdflags are imported from /etc/sysconfig. @@ -169,16 +169,16 @@ fi # Start ypserv if we're an NIS server. # Run yppasswdd only on the NIS master server if [ "X${nis_serverflags}" != X"NO" ]; then - echo -n ' ypserv'; ypserv ${nis_serverflags} + echo -n ' ypserv'; ypserv ${nis_serverflags} if [ "X${yppasswddflags}" != X"NO" ]; then - echo -n ' yppasswdd'; yppasswdd ${yppasswddflags} + echo -n ' yppasswdd'; yppasswdd ${yppasswddflags} fi fi # Start ypbind if we're an NIS client if [ "X${nis_clientflags}" != X"NO" ]; then - echo -n ' ypbind'; ypbind ${nis_clientflags} + echo -n ' ypbind'; ypbind ${nis_clientflags} fi # $rwhod is imported from /etc/sysconfig; @@ -238,7 +238,7 @@ fi # echo -n standard daemons: echo -n ' cron'; cron -echo -n ' printer'; lpd +echo -n ' printer'; lpd # $sendmail_flags is imported from /etc/sysconfig; # if $sendmail_flags is something other than NO, sendmail is run. diff --git a/etc/rc.d/serial b/etc/rc.d/serial index 12bb5145ab09..f9671e2e9cbe 100644 --- a/etc/rc.d/serial +++ b/etc/rc.d/serial @@ -1,6 +1,6 @@ # Change some defauls for serial devices. # Standard defaults are: -# dtrwait 300 drainwait 0 +# dtrwait 300 drainwait 0 # initial cflag from = cread cs8 hupcl # initial iflag, lflag and oflag all 0 # speed 9600 @@ -41,7 +41,8 @@ modem() { # Modem that supports CTS and perhaps RTS handshaking. for i in $* do - comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 # may depend on modem + # may depend on modem + comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 # Lock crtscts on. # Speed reasonable for V42bis. stty = cread cs8 hupcl # initial iflag, lflag and oflag all 0 # speed 9600 @@ -41,7 +41,8 @@ modem() { # Modem that supports CTS and perhaps RTS handshaking. for i in $* do - comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 # may depend on modem + # may depend on modem + comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 # Lock crtscts on. # Speed reasonable for V42bis. stty :k5=\E?:\ - :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED: + :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\ + :do=\E[B:li#25:mi:nd=\E[C:\ + :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\ + :md=\E[1m:mh=\E[m:mb=\E[5m:me=\E[m:\ + :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\ + :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\ + :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED: # The following is a version of the ibm-pc entry distributed with PC/IX, # (Interactive Systems' System 3 for the Big Blue), modified by Richard diff --git a/etc/weekly b/etc/weekly index b2ddfe71373f..dbe3d0e3c5f3 100644 --- a/etc/weekly +++ b/etc/weekly @@ -48,8 +48,8 @@ cd /var/log if [ -f messages.2 ]; then mv -f messages.2 messages.3; fi if [ -f messages.1 ]; then mv -f messages.1 messages.2; fi if [ -f messages.0 ]; then mv -f messages.0 messages.1; fi -mv -f messages messages.0 -cp /dev/null messages +mv -f messages messages.0 +cp /dev/null messages chmod 644 messages kill -1 `cat /var/run/syslog.pid` cd / @@ -59,8 +59,8 @@ cd /var/cron if [ -f log.2 ]; then mv -f log.2 log.3; fi if [ -f log.1 ]; then mv -f log.1 log.2; fi if [ -f log.0 ]; then mv -f log.0 log.1; fi -mv -f log log.0 -cp /dev/null log +mv -f log log.0 +cp /dev/null log chmod 600 log cd / @@ -69,7 +69,7 @@ echo "Rebuilding locate database:" locdb=/var/db/locate.database touch ${locdb}; chown nobody ${locdb}; chmod 644 ${locdb} echo /usr/libexec/locate.updatedb | nice -5 su -m nobody 2>&1 |\ - fgrep -v 'Permission denied' + fgrep -v 'Permission denied' chmod 444 ${locdb} echo "" @@ -80,4 +80,4 @@ makewhatis "${MANPATH}" #echo "" #echo "Reformatting manual pages:" -#echo catman "${MANPATH}" | su man +#echo catman "${MANPATH}" | su man