On Dec 31, 2010, at 1:00 PM, Chad M Stewart wrote:

> 
> Off list someone suggested using 'env -i make package' and that worked.  That 
> solves my immediate problem.   I'm using ESXi so I can easily create new 
> systems for testing, etc..   I did a fresh install from install48.iso and a 
> downloaded ports.tar.gz file.  I then 'ssh r...@host' to connect and the 
> problem shows up.  I'm saying that something in the default environment for 
> the root user is causing the problem.  I'll see if I can figure out what 
> exactly.


Once I was looking in the right direction, it didn't take too long.


TERMCAP=vt100|vt100-am:5i:am:bs:ms:xn:xo:co#80:it#8:li#24:vt#3:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:eA=\E(B\E)0:ho=\E[H:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:k0=\EOy:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:


From root's .profile

if [ -x /usr/bin/tset ]; then
       if [ X"$XTERM_VERSION" = X"" ]; then
               eval `/usr/bin/tset -sQ '-munknown:?vt220' $TERM`
       else
               eval `/usr/bin/tset -IsQ '-munknown:?vt220' $TERM`
       fi
fi

When I connect via ssh from my Mac (using Terminal.app) the problem happens.  
When I login on the console, problem does not show up.  Personally I'm fine 
with commenting out the above and replacing with export TERM=vt100 and in the 
past that is something I've done.  Guess I'll be continuing to do that.  :)


A big thank you to: Ed, Patrick, Marc, Ian, Dan, Mark, and Jacob.  Without your 
thoughts and questions I'd still be wondering.


Thank you,
Chad

Reply via email to