home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13373 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  3.2 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!yale.edu!news.yale.edu!neutron!dcs
  2. From: dcs@neutron (Dave Schweisguth)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Has anyone got working tn3270 sources?
  5. Message-ID: <1992Sep8.131421.28758@news.yale.edu>
  6. Date: 8 Sep 92 13:14:21 GMT
  7. Sender: news@news.yale.edu (USENET News System)
  8. Organization: Yale University
  9. Lines: 59
  10. Nntp-Posting-Host: neutron.chem.yale.edu
  11. X-Newsreader: Tin 1.1 PL5
  12.  
  13. Hi all,
  14.  
  15. We've been using John Merritt's IRIX port of tn3270 since 3.3.something. The
  16. binary works fine under 4.0.x, but the same sources that compiled under 3.3.x
  17. no longer do so. The author has either changed address or found better things
  18. to do, and I've been unable to fix it myself. Has anyone? Just for fun, here
  19. are the errors:
  20.  
  21. [root /usr/local/src/tn3270/tn3270] make
  22.         cc -cckr -O -I/usr/include/bsd -I/usr/include/rpcsvc -DTN3270 -Dunix
  23. -DTN3270 -c telnet.c
  24. cpp: warning ./ttold.h:41: TIOCFLUSH redefined
  25. cpp: warning ./ttold.h:151: NTTYDISC redefined
  26. cpp: warning ./ttycom.h:7: TIOCGWINSZ redefined
  27. cpp: warning ./ttycom.h:8: TIOCSWINSZ redefined
  28. cpp: warning ./ttycom.h:26: TIOCGPGRP redefined
  29. cpp: warning ./ttycom.h:27: TIOCSPGRP redefined
  30. cpp: warning ./ttycom.h:29: TIOCSTI redefined
  31. cpp: warning ./ttycom.h:30: TIOCNOTTY redefined
  32. cpp: warning ./ttycom.h:31: TIOCPKT redefined
  33. cpp: warning ./ttycom.h:69: TIOCCONS redefined
  34. ccom: Error: telnet.c, line 800: t undefined
  35.             ioctl(      (       (&_iob[1]))->_file,     (       0x80000000|
  36. ((sizeof( int)&0x7f             )<<16)|((t)<<8)| 16)    , (char *) 0);
  37.       --------------------------------------------------------------------------------------------------------------------^
  38. ccom: Error: telnet.c, line 1011: t undefined
  39.           ioctl(tin,    (       0x80000000      |((sizeof(struct ltchars)&0x7f)
  40. <<16)|((t)<<8)|117), (char *)ltc);
  41.       --------------------------------------------------------------------------------------------^
  42. ccom: Warning: telnet.c, line 1227: illegal combination of pointer and integer,
  43. op !=
  44.             if ((       initscr32() != (-1)) &&
  45.       -------------------------------------^
  46. ccom: Warning: telnet.c, line 1227:  types :  pointer to struct  versus  int
  47.             if ((       initscr32() != (-1)) &&
  48.       -------------------------------------^
  49. ccom: Error: telnet.c, line 2803: t undefined
  50.         ioctl(0,        (       0x40000000      |((sizeof(struct sgttyb)&0x7f)
  51. <<16)|((t)<<8)| 8), (char *)&ottyb);
  52.       --------------------------------------------------------------------------------------------^
  53. ccom: Error: telnet.c, line 3230: t undefined
  54.           ioctl(0,      (       0x40000000      |((sizeof(struct sgttyb)&0x7f)
  55. <<16)|((t)<<8)| 8), (char *)&ottyb);
  56.       --------------------------------------------------------------------------------------------^
  57. *** Error code 1
  58.  
  59. Stop.
  60.  
  61. Hmmm ... that paste didn't work as well as I'd hoped, but the "t undefined"
  62. bit seems to be important. Can anyone explain?
  63.  
  64. BTW, 'x3270' is not an option, as we'd like to work from ordinary terminals as
  65. well as the console.
  66.  
  67. Thanks in advance,
  68.  
  69. --
  70. | Dave Schweisguth   Yale MB&B & Chemistry   Email: dcs@neutron.chem.yale.edu |
  71. | Lab phone: 203-432-5208      Fax: 203-432-6144     Home phone: 203-624-3866 |
  72.