brnstnd@kramden.acf.nyu.edu (Dan Bernstein) (10/20/90)
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