From brnstnd@KRAMDEN.ACF.NYU.EDU Sat Oct 20 00:38:18 1990
Received: by wugate.wustl.edu (5.61++/WUSTL-0.3) with SMTP 
	id AA18793; Sat, 20 Oct 90 00:38:04 -0500
Received: from KRAMDEN.ACF.NYU.EDU by uunet.uu.net (5.61/1.14) with SMTP 
	id AA17289; Sat, 20 Oct 90 01:04:42 -0400
Received: by KRAMDEN.ACF.NYU.EDU (5.61/1.34)
	id AA10393; Sat, 20 Oct 90 05:05:25 GMT
Date: Sat, 20 Oct 90 05:05:25 GMT
From: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
Message-Id: <9010200505.AA10393@KRAMDEN.ACF.NYU.EDU>
To: brnstnd@nyu.edu, source-patches@uunet.uu.net
Status: OR

Path: cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.sources.bugs
Subject: OFFICIAL pty patch 2
Summary: This is an official patch. Please apply it.
Message-ID: <9987:Oct2004:25:1690@kramden.acf.nyu.edu>
Date: 20 Oct 90 04:25:16 GMT
Sender: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Followup-To: comp.sources.d
Organization: IR
Lines: 137
X-Dont-Panic: Patch 1 was integrated into the c.s.unix release.

Submitted-by: Dan Bernstein <brnstnd@kramden.acf.nyu.edu>
Archive-name: pty/patch02
Archive-date: Fri Oct 19 19:50:00 GMT 1990
Priority: HIGH

You MUST apply this patch with -p0.

Apparently the backspaces and beeps in several files were damaged during
transit. My next message is a uuencoded shell archive to create correct
util/write.c, util/wall.c, util/lock.c, util/script.tidy, and INSTALL.
If you run an archive site, please uudecode the message and add it as a
seventh part to the distribution, pty/part07.

The next patch will be a stopgap POSIX patch to get pty working under
SunOS 4.1 and Ultrix 4.0.

This is patch 2 because patch 1 was integrated into the original
release. Don't panic.


This patch includes the following:

Patches to patch/* to get telnet.90.06.28 from stealth.acf.nyu.edu,
since Berkeley removed it from ucbarpa.

Updates to CHANGES and README.


*** CHANGES.old	Fri Oct 19 16:20:36 1990
--- CHANGES	Fri Oct 19 16:27:02 1990
***************
*** 1,3 ****
--- 1,8 ----
+ 10/19/90: Patch 2. Next patch will be a stopgap POSIX patch.
+ 10/19/90: Mentioned part07 in README.
+ 10/19/90: Made a separate part07 with correct control characters in the files.
+ 10/19/90: Changed home of June telnet source to 128.122.128.22.
+ 
  9/9/90: Patch 1.
  9/9/90: Put list of all known problems into README. Also some todos.
  9/9/90: Fixed pty -xc bug.
*** README.old	Wed Oct 10 18:04:10 1990
--- README	Fri Oct 19 16:24:44 1990
***************
*** 23,28 ****
--- 23,32 ----
  other incompatibilities, mostly minor but some (like accounting and
  setuid problems) important. The author is working on a POSIX port.
  
+ If files {INSTALL,util/{write,wall,lock,script.tidy}}.bad do not exist,
+ some beeps and backspaces may be missing. A new part07 to the pty
+ distribution sets up correct versions of the files.
+ 
  
  pty version 3.001, August 21, 1990.
  Copyright (c) 1990, Daniel J. Bernstein.
*** patch/README.old	Wed Oct 10 18:04:28 1990
--- patch/README	Fri Oct 19 16:15:42 1990
***************
*** 6,11 ****
--- 6,22 ----
  that every file compiles exactly the same if USEPTY is not defined;
  you can apply the patch without any worry of messing up your source.
  
+   NOTICE, 10/19/90: Berkeley has removed the old telnet version and
+   replaced it with a new version, which fixes some of the bugs in the
+   client. The June version is now available in the anonymous ftp area on
+   stealth.acf.nyu.edu (128.122.128.22), and these instructions have been
+   changed accordingly. There are no security holes or major bugs in the
+   server, so you don't have to keep up with the latest version. The
+   author of pty will periodically distribute upgraded patches. If you
+   would like to see the patches integrated into telnetd, please send a
+   note to dab@cray.com, with a copy to brnstnd@nyu.edu.
+ 
+ 
  What follows is an outline of how to apply the patch and enable it. A
  patched telnetd uses pty to manage sessions, so that users can easily
  disconnect and reconnect login sessions. You *must* have compiled file
***************
*** 23,29 ****
  
  1. Get the new telnetd:
  
!   % ftp -n 128.32.130.11 < TELNET.FTP
  
  2. Unpack it:
  
--- 34,40 ----
  
  1. Get the new telnetd:
  
!   % ftp -n 128.122.128.22 < TELNET.FTP
  
  2. Unpack it:
  
*** patch/Makefile.old	Wed Oct 10 18:04:27 1990
--- patch/Makefile	Fri Oct 19 15:59:05 1990
***************
*** 1,11 ****
  tpat: tpat1
  
  tpat1: igntt
! 	echo '1. Get the new telnetd from ucbarpa.berkeley.edu:' 1>&2
  	echo 'This command will retrieve telnet.90.06.28.tar.Z.' 1>&2
  	echo 'To execute it, just press return.' 1>&2
  	echo 'To continue, just make tpat2 > /dev/null.' 1>&2
! 	./igntt tiocsti 'ftp -n 128.32.130.11 < TELNET.FTP'
  
  tpat2: igntt
  	echo '2. Unpack telnetd:' 1>&2
--- 1,11 ----
  tpat: tpat1
  
  tpat1: igntt
! 	echo '1. Get the June telnetd from stealth.acf.nyu.edu:' 1>&2
  	echo 'This command will retrieve telnet.90.06.28.tar.Z.' 1>&2
  	echo 'To execute it, just press return.' 1>&2
  	echo 'To continue, just make tpat2 > /dev/null.' 1>&2
! 	./igntt tiocsti 'ftp -n 128.122.128.22 < TELNET.FTP'
  
  tpat2: igntt
  	echo '2. Unpack telnetd:' 1>&2
*** patch/TELNET.FTP.old	Wed Oct 10 18:05:04 1990
--- patch/TELNET.FTP	Fri Oct 19 16:16:28 1990
***************
*** 1,5 ****
  user anonymous pty
! cd pub
  type binary
! get telnet.90.06.28.tar.Z
  quit
--- 1,5 ----
  user anonymous pty
! cd pub/flat
  type binary
! get inet-telnet.90.06.28.tar.Z telnet.90.06.28.tar.Z
  quit



