[Midnightbsd-cvs] src [11323] trunk/usr.bin/tip/tip: sync with freebsd
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jul 4 17:02:20 EDT 2018
Revision: 11323
http://svnweb.midnightbsd.org/src/?rev=11323
Author: laffer1
Date: 2018-07-04 17:02:20 -0400 (Wed, 04 Jul 2018)
Log Message:
-----------
sync with freebsd
Modified Paths:
--------------
trunk/usr.bin/tip/Makefile
trunk/usr.bin/tip/libacu/biz22.c
trunk/usr.bin/tip/libacu/biz31.c
trunk/usr.bin/tip/libacu/courier.c
trunk/usr.bin/tip/libacu/df.c
trunk/usr.bin/tip/libacu/dn11.c
trunk/usr.bin/tip/libacu/hayes.c
trunk/usr.bin/tip/libacu/t3000.c
trunk/usr.bin/tip/libacu/v3451.c
trunk/usr.bin/tip/libacu/v831.c
trunk/usr.bin/tip/libacu/ventel.c
trunk/usr.bin/tip/tip/Makefile
trunk/usr.bin/tip/tip/acu.c
trunk/usr.bin/tip/tip/acutab.c
trunk/usr.bin/tip/tip/cmds.c
trunk/usr.bin/tip/tip/cmdtab.c
trunk/usr.bin/tip/tip/cu.1
trunk/usr.bin/tip/tip/cu.c
trunk/usr.bin/tip/tip/hunt.c
trunk/usr.bin/tip/tip/log.c
trunk/usr.bin/tip/tip/partab.c
trunk/usr.bin/tip/tip/pathnames.h
trunk/usr.bin/tip/tip/remote.c
trunk/usr.bin/tip/tip/tip.1
trunk/usr.bin/tip/tip/tip.c
trunk/usr.bin/tip/tip/tip.h
trunk/usr.bin/tip/tip/tipout.c
trunk/usr.bin/tip/tip/uucplock.c
trunk/usr.bin/tip/tip/value.c
trunk/usr.bin/tip/tip/vars.c
Property Changed:
----------------
trunk/usr.bin/tip/tip/cu.1
trunk/usr.bin/tip/tip/tip.1
Modified: trunk/usr.bin/tip/Makefile
===================================================================
--- trunk/usr.bin/tip/Makefile 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/Makefile 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,4 +1,5 @@
# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/tip/Makefile 88276 2001-12-20 14:25:46Z markm $
SUBDIR=tip
Modified: trunk/usr.bin/tip/libacu/biz22.c
===================================================================
--- trunk/usr.bin/tip/libacu/biz22.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/biz22.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: biz22.c,v 1.13 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: biz22.c,v 1.6 1997/02/11 09:24:11 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/biz22.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/biz31.c
===================================================================
--- trunk/usr.bin/tip/libacu/biz31.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/biz31.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: biz31.c,v 1.10 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: biz31.c,v 1.5 1997/02/11 09:24:14 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/biz31.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/courier.c
===================================================================
--- trunk/usr.bin/tip/libacu/courier.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/courier.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: courier.c,v 1.15 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: courier.c,v 1.7 1997/02/11 09:24:16 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/courier.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/df.c
===================================================================
--- trunk/usr.bin/tip/libacu/df.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/df.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: df.c,v 1.9 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: df.c,v 1.4 1995/10/29 00:49:51 pk Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/df.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/dn11.c
===================================================================
--- trunk/usr.bin/tip/libacu/dn11.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/dn11.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: dn11.c,v 1.9 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: dn11.c,v 1.4 1995/10/29 00:49:53 pk Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/dn11.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/hayes.c
===================================================================
--- trunk/usr.bin/tip/libacu/hayes.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/hayes.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: hayes.c,v 1.13 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: hayes.c,v 1.6 1997/02/11 09:24:17 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/hayes.c 161781 2006-08-31 19:19:44Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/t3000.c
===================================================================
--- trunk/usr.bin/tip/libacu/t3000.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/t3000.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: t3000.c,v 1.14 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: t3000.c,v 1.5 1997/02/11 09:24:18 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/t3000.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/v3451.c
===================================================================
--- trunk/usr.bin/tip/libacu/v3451.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/v3451.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: v3451.c,v 1.9 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: v3451.c,v 1.6 1997/02/11 09:24:20 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/v3451.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/v831.c
===================================================================
--- trunk/usr.bin/tip/libacu/v831.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/v831.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: v831.c,v 1.11 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: v831.c,v 1.5 1996/12/29 10:42:01 cgd Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/v831.c 161781 2006-08-31 19:19:44Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/libacu/ventel.c
===================================================================
--- trunk/usr.bin/tip/libacu/ventel.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/libacu/ventel.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: ventel.c,v 1.12 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: ventel.c,v 1.6 1997/02/11 09:24:21 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/libacu/ventel.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/Makefile
===================================================================
--- trunk/usr.bin/tip/tip/Makefile 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/Makefile 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,5 +1,6 @@
+# $MidnightBSD$
# $OpenBSD: Makefile,v 1.11 2006/05/25 08:41:52 jmc Exp $
-# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/tip/tip/Makefile 173716 2007-11-18 00:29:36Z jb $
#
# Files are:
# /etc/remote remote host description file
Modified: trunk/usr.bin/tip/tip/acu.c
===================================================================
--- trunk/usr.bin/tip/tip/acu.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/acu.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: acu.c,v 1.12 2006/03/17 14:43:06 moritz Exp $ */
/* $NetBSD: acu.c,v 1.4 1996/12/29 10:34:03 cgd Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/acu.c 169514 2007-05-12 23:29:33Z pav $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/acutab.c
===================================================================
--- trunk/usr.bin/tip/tip/acutab.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/acutab.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: acutab.c,v 1.5 2006/03/17 19:17:13 moritz Exp $ */
/* $NetBSD: acutab.c,v 1.3 1994/12/08 09:30:41 jtc Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/acutab.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/cmds.c
===================================================================
--- trunk/usr.bin/tip/tip/cmds.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/cmds.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: cmds.c,v 1.26 2006/06/06 23:24:52 deraadt Exp $ */
/* $NetBSD: cmds.c,v 1.7 1997/02/11 09:24:03 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/cmds.c 178736 2008-05-03 02:29:02Z bms $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/cmdtab.c
===================================================================
--- trunk/usr.bin/tip/tip/cmdtab.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/cmdtab.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: cmdtab.c,v 1.7 2006/03/17 14:43:06 moritz Exp $ */
/* $NetBSD: cmdtab.c,v 1.3 1994/12/08 09:30:46 jtc Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/cmdtab.c 161781 2006-08-31 19:19:44Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/cu.1
===================================================================
--- trunk/usr.bin/tip/tip/cu.1 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/cu.1 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" $OpenBSD: cu.1,v 1.3 2006/06/07 06:35:59 mbalmer Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -28,7 +29,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)tip.1 8.4 (Berkeley) 4/18/94
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/tip/tip/cu.1 244040 2012-12-08 22:16:36Z eadler $
.\"
.Dd September 1, 2006
.Dt CU 1
@@ -69,9 +70,9 @@
.It Fl l Ar line
Specify the line to use.
Either of the forms like
-.Pa cuad0
+.Pa cuau0
or
-.Pa /dev/cuad0
+.Pa /dev/cuau0
are permitted.
.It Fl o
Use odd parity.
Property changes on: trunk/usr.bin/tip/tip/cu.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/tip/tip/cu.c
===================================================================
--- trunk/usr.bin/tip/tip/cu.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/cu.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: cu.c,v 1.19 2006/05/25 08:41:52 jmc Exp $ */
/* $NetBSD: cu.c,v 1.5 1997/02/11 09:24:05 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/cu.c 162124 2006-09-07 19:48:52Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/hunt.c
===================================================================
--- trunk/usr.bin/tip/tip/hunt.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/hunt.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: hunt.c,v 1.13 2006/03/17 19:39:46 deraadt Exp $ */
/* $NetBSD: hunt.c,v 1.6 1997/04/20 00:02:10 mellon Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/hunt.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/log.c
===================================================================
--- trunk/usr.bin/tip/tip/log.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/log.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: log.c,v 1.8 2006/03/16 19:32:46 deraadt Exp $ */
/* $NetBSD: log.c,v 1.4 1994/12/24 17:56:28 cgd Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/log.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/partab.c
===================================================================
--- trunk/usr.bin/tip/tip/partab.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/partab.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: partab.c,v 1.5 2003/06/03 02:56:18 millert Exp $ */
/* $NetBSD: partab.c,v 1.4 1996/12/29 10:38:21 cgd Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/partab.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/pathnames.h
===================================================================
--- trunk/usr.bin/tip/tip/pathnames.h 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/pathnames.h 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,6 +1,7 @@
+/* $MidnightBSD$ */
/* $OpenBSD: pathnames.h,v 1.3 2003/06/03 02:56:18 millert Exp $ */
/* $NetBSD: pathnames.h,v 1.3 1994/12/08 09:30:59 jtc Exp $ */
-/* $MidnightBSD$ */
+/* $FreeBSD: stable/10/usr.bin/tip/tip/pathnames.h 161754 2006-08-31 14:14:30Z ru $ */
/*
* Copyright (c) 1989, 1993
Modified: trunk/usr.bin/tip/tip/remote.c
===================================================================
--- trunk/usr.bin/tip/tip/remote.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/remote.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: remote.c,v 1.16 2006/06/06 23:24:52 deraadt Exp $ */
/* $NetBSD: remote.c,v 1.5 1997/04/20 00:02:45 mellon Exp $ */
@@ -32,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/remote.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
static const char copyright[] =
Modified: trunk/usr.bin/tip/tip/tip.1
===================================================================
--- trunk/usr.bin/tip/tip/tip.1 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/tip.1 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" $OpenBSD: tip.1,v 1.37 2006/06/07 06:35:59 mbalmer Exp $
.\" $NetBSD: tip.1,v 1.7 1994/12/08 09:31:05 jtc Exp $
.\"
@@ -29,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)tip.1 8.4 (Berkeley) 4/18/94
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/tip/tip/tip.1 161763 2006-08-31 16:40:30Z ru $
.\"
.Dd August 31, 2006
.Dt TIP 1
Property changes on: trunk/usr.bin/tip/tip/tip.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/tip/tip/tip.c
===================================================================
--- trunk/usr.bin/tip/tip/tip.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/tip.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: tip.c,v 1.30 2006/08/18 03:06:18 jason Exp $ */
/* $NetBSD: tip.c,v 1.13 1997/04/20 00:03:05 mellon Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/tip.c 230654 2012-01-28 20:45:47Z phk $");
#ifndef lint
static const char copyright[] =
@@ -584,7 +585,7 @@
bp++;
}
if (write(fd, buf, n) < 0) {
- if (errno == EIO)
+ if (errno == EIO || errno == ENXIO)
tipabort("Lost carrier.");
/* this is questionable */
perror("write");
Modified: trunk/usr.bin/tip/tip/tip.h
===================================================================
--- trunk/usr.bin/tip/tip/tip.h 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/tip.h 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,6 +1,7 @@
+/* $MidnightBSD$ */
/* $OpenBSD: tip.h,v 1.27 2006/08/18 03:06:18 jason Exp $ */
/* $NetBSD: tip.h,v 1.7 1997/04/20 00:02:46 mellon Exp $ */
-/* $MidnightBSD$ */
+/* $FreeBSD: stable/10/usr.bin/tip/tip/tip.h 228992 2011-12-30 11:02:40Z uqs $ */
/*
* Copyright (c) 1989, 1993
@@ -99,7 +100,7 @@
char *v_name; /* whose name is it */
char v_type; /* for interpreting set's */
char v_access; /* protection of touchy ones */
- char *v_abrev; /* possible abreviation */
+ char *v_abrev; /* possible abbreviation */
char *v_value; /* casted to a union later */
}
value_t;
@@ -162,7 +163,7 @@
/*
* Escape command table definitions --
* lookup in this table is performed when ``escapec'' is recognized
- * at the begining of a line (as defined by the eolmarks variable).
+ * at the beginning of a line (as defined by the eolmarks variable).
*/
typedef
Modified: trunk/usr.bin/tip/tip/tipout.c
===================================================================
--- trunk/usr.bin/tip/tip/tipout.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/tipout.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: tipout.c,v 1.18 2006/05/31 07:03:08 jason Exp $ */
/* $NetBSD: tipout.c,v 1.5 1996/12/29 10:34:12 cgd Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/tipout.c 230654 2012-01-28 20:45:47Z phk $");
#ifndef lint
#if 0
@@ -148,11 +149,12 @@
scnt = read(FD, buf, BUFSIZ);
if (scnt <= 0) {
/* lost carrier */
- if (scnt == 0 || (scnt < 0 && errno == EIO)) {
+ if (scnt == 0 ||
+ (scnt < 0 && (errno == EIO || errno == ENXIO))) {
sigemptyset(&mask);
sigaddset(&mask, SIGTERM);
sigprocmask(SIG_BLOCK, &mask, NULL);
- intTERM(0);
+ intTERM(SIGHUP);
/*NOTREACHED*/
}
continue;
Modified: trunk/usr.bin/tip/tip/uucplock.c
===================================================================
--- trunk/usr.bin/tip/tip/uucplock.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/uucplock.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: uucplock.c,v 1.11 2006/03/16 19:32:46 deraadt Exp $ */
/* $NetBSD: uucplock.c,v 1.7 1997/02/11 09:24:08 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/uucplock.c 178736 2008-05-03 02:29:02Z bms $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/value.c
===================================================================
--- trunk/usr.bin/tip/tip/value.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/value.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: value.c,v 1.14 2006/03/17 22:02:58 moritz Exp $ */
/* $NetBSD: value.c,v 1.6 1997/02/11 09:24:09 mrg Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/value.c 166911 2007-02-23 18:41:12Z jls $");
#ifndef lint
#if 0
Modified: trunk/usr.bin/tip/tip/vars.c
===================================================================
--- trunk/usr.bin/tip/tip/vars.c 2018-07-04 21:00:40 UTC (rev 11322)
+++ trunk/usr.bin/tip/tip/vars.c 2018-07-04 21:02:20 UTC (rev 11323)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: vars.c,v 1.8 2006/08/18 03:06:18 jason Exp $ */
/* $NetBSD: vars.c,v 1.3 1994/12/08 09:31:19 jtc Exp $ */
@@ -31,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/tip/tip/vars.c 161754 2006-08-31 14:14:30Z ru $");
#ifndef lint
#if 0
More information about the Midnightbsd-cvs
mailing list