From owner-freebsd-stable Thu May 18 1: 2:42 2000 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 5C04B37BC74 for ; Thu, 18 May 2000 01:02:36 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id BAA00890; Thu, 18 May 2000 01:01:01 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda00886; Thu May 18 01:00:45 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id BAA08622; Thu, 18 May 2000 01:00:45 -0700 (PDT) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdTz8487; Thu May 18 01:00:00 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.10.1/8.9.1) id e4I7xxW30810; Thu, 18 May 2000 00:59:59 -0700 (PDT) Message-Id: <200005180759.e4I7xxW30810@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpds30650; Thu May 18 00:59:27 2000 X-Mailer: exmh version 2.1.1 10/15/1999 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.0-STABLE X-Sender: cy To: Kent Stewart Cc: Cy Schubert - ITSD Open Systems Group , FreeBSD Stable Subject: Re: Strange Termcap behavior on 4.0-Stable In-reply-to: Your message of "Wed, 17 May 2000 23:57:56 PDT." <39239474.F3BC619B@3-cities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 May 2000 00:59:27 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <39239474.F3BC619B@3-cities.com>, Kent Stewart writes: > > > Cy Schubert - ITSD Open Systems Group wrote: > > > > In message <3923113A.8D37A144@3-cities.com>, Kent Stewart writes: > > > When I telnet to two of my systems and su to root. The terminal setup > > > for ansi or cons25 goes away. For example, if I do a > > > "/usr/src/release/sysinstall/rtermcap ansi" as root, nothing appears. > > > If I exit and do it on my original login, I see > > > > > > ansi|any ansi terminal with pessimistic > > > assumptions:co#80:li#24:cl=50\E[;H\E[2J: > > > bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E[K:ho=\E[H:pt: > > > > > > This doesn't happen on my system with a buildworld of 10 May 2000. > > > > For the systems that you have the problem on, what date were they > > CVSuped or built? > > This one doesn't work. It was cvsup'ed just before the build world. > The world and kernel are from the same cvsup. Ruby was broken before > this cvsup. I also cleaned /usr/obj (it had been linked before and I > unlinked it) before I did the last set of builds. > > $ uname -a > FreeBSD ruby.kbs.com 4.0-STABLE FreeBSD 4.0-STABLE #2: Tue May 16 > 17:38:23 PDT 2 > 000 root@ruby.kbs.com:/usr/src/sys/compile/RUBY i386 > > These work but have been left alone because of the problem. > > $ uname -a > FreeBSD jade.kbs.com 4.0-STABLE FreeBSD 4.0-STABLE #11: Wed May 10 > 13:06:20 PDT > 2000 root@jade.kbs.com:/usr/src/sys/compile/JADE i386 > > opal# uname -a > FreeBSD opal.kbs.com 4.0-STABLE FreeBSD 4.0-STABLE #2: Sat May 13 > 02:47:42 PDT 2 > 000 root@opal.kbs.com:/usr/src/sys/compile/OPAL i386 > > > > > > > Something has happened and it really messes up trying to edit from a > > > telnet session as root. The setup for xterm's still works but I can't > > > telnet in from a Window's system. > > > > > > This also messes up building sysinstall. The generated code for the > > > ansi and 5 or 6 cons.... is totally bogus and kills the compile. > > > > What does tset - -S display? > > On Ruby as root > > ruby# tset - -S > ansi > ansi ruby# > > On ruby as user > $ tset - -S > ansi > ansi > ansi:co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E > [K:ho=\E[H:pt:$ > > on jade as root > jade# tset - -S > ansi > ansi > ansi:co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E > [K:ho=\E[H:pt:jade# > > On Jade as user > $ tset - -S > ansi > ansi > ansi:co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E > [K:ho=\E[H:pt:$ > > I thought Opal was broken but it looks like I could have been double > telneted to ruby when I was having problems. When I first saw this, I > thought I had a corrupted termcap.db but then I found I could edit as > a user, just not as root. They are running different shells. My user > shell is pdksh and I have left root as csh. It is almost like I have a > permission problem somewhere. All three of these machines are > conversions to 4.0 with clean installs. Ruby, which has the termcap > problem, only runs FreeBSD 4.0-Stable. > > I can make sysinstall on the two systems but not on ruby. After a cursory look at the commit logs and looking at the stock .cshrc and .login, the only conclusion I can come to is that it must be somewhere in your dot files or in your login.conf. You may want to verify that you didn't corrupt your login.conf file during the upgrade. I'm currently building world as of May 17 @ 04:15 PDT (planned) on a chrooted filesystem (if I, buildworld, or installworld screws up I still have my original system). When it completes I'll boot it and see if I have the same problem. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message