Path: utzoo!attcan!uunet!snorkelwacker!apple!mips!sgi!arc@thyme.wpd.sgi.com From: arc@thyme.wpd.sgi.com (Andrew Cherenson) Newsgroups: comp.sys.sgi Subject: Re: Wierd Telnet/Telnetd problem with Irix 3.3.1 and/or Unicos 5.1.10 Keywords: telnet, telnetd, Irix 3.3.1, Unicos 5.1.10, stty Message-ID: <70642@sgi.sgi.com> Date: 28 Sep 90 21:22:05 GMT References: <1882@fcs280s.ncifcrf.gov> Sender: guest@sgi.sgi.com Reply-To: arc@sgi.com (Andrew Cherenson) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 48 In article <1882@fcs280s.ncifcrf.gov> adam@ncifcrf.gov (Adam W. Feigin) writes: >I just upgraded our Iris 4d machines to Irix 3.3.1, and I've got this >bizzare bug/interaction with telnet and terminal characteristics, and >I'm wondering where the problem is, and if anyone has seen this >behavior before. > >From an Iris 4D machine, if I telnet into a Cray (X/MP, Unicos >5.1.10), my terminal characteristics get all screwed up: [Stuff deleteted] > AWF >------------------------------------------------------------------------------- >Internet: adam@ncifcrf.gov Adam W. Feigin >UUCP: {backbonz}!ncifcrf!adam Senior Systems Manager >Mail: P.O. Box B, Bldg 430 National Cancer Institute-Superconmputer Center > Frederick, MD 21702 Frederick Cancer Research & Development Facility There's a bug in the UNICOS telnetd. Here's the details: > From: dab@berserkly.cray.com (David Borman) > Date: Fri, 28 Sep 90 11:10:50 -0500 > > The problem that is being seen with telnetd on Unicos 5.1.10 is due to > a bug in the generation compiler, /usr/gen/bin/cc. There are two ways > to solve this problem: > 1) re-build telnetd with either /bin/scc or /bin/cc > (slc.c is the affected module) > 2) get mod e19534tcpa to change telnetd to work around > the compiler bug. This is a critical bugfix mod, that > should be applied to all 5.1.10 sites. The mod is real > simple: > > *f usr/etc/telnetd/slc.c > *d 518849tcpab.3 > register cc_t val; > *d 518849tcpab.8 > register cc_t val; > *d 518849tcpab.10 > register cc_t val; > > This changes the argument declarations in add_slc(), process_slc() > and change_slc() from non-register to register. The bug is that > if you have a function that takes three character arguments, and > the first two are declared as register and the third not as a > register, the value for the third argument will become the same > as the value for the second argument. > > -David Borman, dab@cray.com