Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: reinitz@panix.com (John Reinitz)
Subject: Problem with tset in csh
Date: 1996/09/19	[thread overview]
Message-ID: <51s3l9$7jb@panix2.panix.com> (raw)


The following tset command, which works in HP-UX 9.x, is giving
me trouble in DU 3.2C:

eval `tset -s -Q -m ':?xterm' `

It evidentally cycles between two states, one of which
(in my .login, natch) dies in setenv TERMCAP and the other
works fine. The output of tset is the same in each case, though.

At the risk of a little tedium, all of my  understanding of the problem
is summarized by the cmds. below:

eve {15}  eval `tset -s -Q -m ':?xterm' `
TERM = (xterm) 
eve {16}  eval `tset -s -Q -m ':?xterm' `
TERM = (xterm) 
setenv: Too many arguments.
eve {17}  eval `tset -s -Q -m ':?xterm' `
TERM = (xterm) 
eve {18}  eval `tset -s -Q -m ':?xterm' `
TERM = (xterm) 
setenv: Too many arguments.
eve {19} tset -s -Q -m ':?xterm'
TERM = (xterm) 
set noglob;
setenv TERM xterm ;
setenv TERMCAP 'vs|xterm|vs100:do=^J:le=^H:ho=\E[H:co#80:li#65:cl=\E[H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:md=\E[1m:mr=\E[7m:me=\E[m:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sf=\n:sr=\EM:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:MT:ks=\E[?1h\E=:ke=\E[?1l\E>:xn:AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:hs:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:is=\E\E[m\E[?7h\E[?1;4l:cs=\E[%i%d;%dr:rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:';
unset noglob;
eve {20} tset -s -Q -m ':?xterm'
TERM = (xterm) 
set noglob;
setenv TERM xterm ;
setenv TERMCAP 'vs|xterm|vs100:do=^J:le=^H:ho=\E[H:co#80:li#65:cl=\E[H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:md=\E[1m:mr=\E[7m:me=\E[m:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sf=\n:sr=\EM:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:MT:ks=\E[?1h\E=:ke=\E[?1l\E>:xn:AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:hs:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:is=\E\E[m\E[?7h\E[?1;4l:cs=\E[%i%d;%dr:rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:';
unset noglob;
eve {21} tset -s -Q -m ':?xterm' > tmp1    
TERM = (xterm) 
eve {22} tset -s -Q -m ':?xterm' | diff tmp1 -
TERM = (xterm) 

!??!???!

 ---John

PS I have looked at shell & env varibles during this state flipping
and can't find any differences. 



             reply	other threads:[~1996-09-19  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-19  4:00 John Reinitz [this message]
1996-09-21  4:00 ` Problem with tset in csh Hendrik Roepcke
1996-09-21  4:00 ` Hendrik Roepcke
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox