Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Problem with tset in csh
@ 1996-09-19  4:00 John Reinitz
  1996-09-21  4:00 ` Hendrik Roepcke
  1996-09-21  4:00 ` Hendrik Roepcke
  0 siblings, 2 replies; 3+ messages in thread
From: John Reinitz @ 1996-09-19  4:00 UTC (permalink / 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. 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with tset in csh
  1996-09-19  4:00 Problem with tset in csh John Reinitz
@ 1996-09-21  4:00 ` Hendrik Roepcke
  1996-09-21  4:00 ` Hendrik Roepcke
  1 sibling, 0 replies; 3+ messages in thread
From: Hendrik Roepcke @ 1996-09-21  4:00 UTC (permalink / raw)



reinitz@panix.com (John Reinitz) writes:

>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) 
>
i noticed this too. The digital hotline was surprised too but said: yes, so is it,
but you can work arround with....

this command in front:
>set noglob;

ok, the tset will produce a second one, but it works with double setting...

at least on my station 2100 5/250



Hendrik

-- 
Panther in the Jungle           __..--''``\--....___   _..,_  
-BELIEVE AND DECEIVE-      _.-'    .-/";  `        ``<._  ``-+'~=.
http://www.ang-physik  _.-' _..--.'_    \                    `(^) )
.uni-kiel.de/~hendrik ((..-'    (< _     ;_..__               ; `'



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with tset in csh
  1996-09-19  4:00 Problem with tset in csh John Reinitz
  1996-09-21  4:00 ` Hendrik Roepcke
@ 1996-09-21  4:00 ` Hendrik Roepcke
  1 sibling, 0 replies; 3+ messages in thread
From: Hendrik Roepcke @ 1996-09-21  4:00 UTC (permalink / raw)



Reposting article removed by rogue canceller.

reinitz@panix.com (John Reinitz) writes:

>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) 
>
i noticed this too. The digital hotline was surprised too but said: yes, so is it,
but you can work arround with....

this command in front:
>set noglob;

ok, the tset will produce a second one, but it works with double setting...

at least on my station 2100 5/250



Hendrik

-- 
Panther in the Jungle           __..--''``\--....___   _..,_  
-BELIEVE AND DECEIVE-      _.-'    .-/";  `        ``<._  ``-+'~=.
http://www.ang-physik  _.-' _..--.'_    \                    `(^) )
.uni-kiel.de/~hendrik ((..-'    (< _     ;_..__               ; `'



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-09-21  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-19  4:00 Problem with tset in csh John Reinitz
1996-09-21  4:00 ` Hendrik Roepcke
1996-09-21  4:00 ` Hendrik Roepcke

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