[comp.bugs.4bsd] Tn3270 doesn't compile

stevea@i88.isc.com (Steve Alexander) (10/31/90)

Subject: Can't compile tn3270 from source.
Index: usr.bin 4.3BSD-reno

Description:
	Compile errors in the telnet source prevent building of tn3270.
Repeat-By:
	cd /usr/src/usr.bin/tn3270 ; make
	Wait for compile errors from the telnet source tree.
Fix:
	Apply the following diffs to telnet/commands.c and telnet/main.c.

*** commands.c-	Tue Oct 30 12:58:14 1990
--- commands.c	Tue Oct 30 13:02:00 1990
***************
*** 1745,1751 ****
  }
  
  #if	defined(unix)
! #ifdef notdef
  /*
   * Some information about our file descriptors.
   */
--- 1745,1751 ----
  }
  
  #if	defined(unix)
! #ifdef TN3270
  /*
   * Some information about our file descriptors.
   */
*** main.c-	Tue Oct 30 12:06:36 1990
--- main.c	Tue Oct 30 12:06:51 1990
***************
*** 97,105 ****
  				if (!strcmp(optarg, "oasynch")) {
  					noasynchtty = 1;
  					noasynchnet = 1;
! 				} else if (!strcmp(optarg, "oasynchtty"))
  					noasynchtty = 1;
! 				} else if (!strcmp(optarg, "oasynchnet"))
  					noasynchnet = 1;
  				}
  			} else
--- 97,105 ----
  				if (!strcmp(optarg, "oasynch")) {
  					noasynchtty = 1;
  					noasynchnet = 1;
! 				} else if (!strcmp(optarg, "oasynchtty")) {
  					noasynchtty = 1;
! 				} else if (!strcmp(optarg, "oasynchnet")) {
  					noasynchnet = 1;
  				}
  			} else
--
Steve Alexander, Software Technologies Group    | stevea@i88.isc.com
INTERACTIVE Systems Corporation, Naperville, IL | ...!{sun,ico}!laidbak!stevea