Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2000 23:57:56 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Strange Termcap behavior on 4.0-Stable
Message-ID:  <39239474.F3BC619B@3-cities.com>
References:  <200005180513.e4I5DuP62924@cwsys.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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.

Kent

-- 
Kent Stewart
Richland, WA

mailto:kstewart@3-cities.com
http://www.3-cities.com/~kstewart/index.html
http://daily.daemonnews.org/

SETI (Search for Extraterrestrial Intelligence) @ Home
http://setiathome.ssl.berkeley.edu/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39239474.F3BC619B>