[net.sources.bugs] rn 4.3 patch #6

lwall@sdcrdcf.UUCP (Larry Wall) (05/14/85)

System: rn version 4.3
Patch #: 6
Priority: HIGH
Subject: devtty isn't defined for TERMIO systems
From: jimt@bmcg.UUCP (Jim Tollefson)

Description:
	On TERMIO systems the variable devtty isn't defined.

Fix:	From rn, say "| patch -d DIR", where DIR is your rn source directory.
	Outside of rn, say "cd DIR; patch <thisarticle".  If you don't have
	the patch program, apply the following by hand, or get patch.

	If patch indicates that patchlevel is the wrong version, you may need
	to apply one or more previous patches, or the patch may already
	have been applied.  See the patchlevel file to find out what has or
	has not been applied.  In any event, don't continue with the patch.

Index: patchlevel
Prereq: 5
1c1
< Patch #: 5
---
> Patch #: 6

Index: term.h
Prereq: 4.3
*** term.h.old	Mon May 13 15:53:05 1985
--- term.h	Mon May 13 15:53:09 1985
***************
*** 1,4
! /* $Header: term.h,v 4.3 85/05/01 11:51:36 lwall Exp $
   *
   * $Log:	term.h,v $
   * Revision 4.3  85/05/01  11:51:36  lwall

--- 1,4 -----
! /* $Header: term.h,v 4.3.1.2 85/05/13 15:52:05 lwall Exp $
   *
   * $Log:	term.h,v $
   * Revision 4.3.1.2  85/05/13  15:52:05  lwall
***************
*** 1,6
  /* $Header: term.h,v 4.3 85/05/01 11:51:36 lwall Exp $
   *
   * $Log:	term.h,v $
   * Revision 4.3  85/05/01  11:51:36  lwall
   * Baseline for release with 4.3bsd.
   * 

--- 1,12 -----
  /* $Header: term.h,v 4.3.1.2 85/05/13 15:52:05 lwall Exp $
   *
   * $Log:	term.h,v $
+  * Revision 4.3.1.2  85/05/13  15:52:05  lwall
+  * Declared devtty on TERMIO system.
+  * 
+  * Revision 4.3.1.1  85/05/10  11:41:24  lwall
+  * Branch for patches.
+  * 
   * Revision 4.3  85/05/01  11:51:36  lwall
   * Baseline for release with 4.3bsd.
   * 
***************
*** 20,25
  #endif lint
  #else FIONREAD
  int circfill();
  #ifndef lint
  #define input_pending() (nextin!=nextout || circfill())
  #else

--- 26,32 -----
  #endif lint
  #else FIONREAD
  int circfill();
+ EXT int devtty INIT(0);
  #ifndef lint
  #define input_pending() (nextin!=nextout || circfill())
  #else