TTY Morph

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Sat Sep 28 17:32:15 UTC 2002


On Fri, 27 Sep 2002, Ian Piumarta wrote:

> On Fri, 27 Sep 2002, Bert Freudenberg wrote:
> 
> > And Ian: Your TTYMorph is great!
> 
> Thankyou.  :)
> 
> > How could it pass the terminal type to the shell?
> 
> It recognises (and answers) the terminal type query sequence.  Bash gets
> the terminal type right (as should telnet if the server supports the
> option), 

No it does not (when I use your default cmd line "/bin/bash -i"). 

> but if you're using csh (which your setenv would suggest) then
> try something like
> 
> 	setenv TERM=`tset -q`
> 
> in your .login (or whatever).

Yes, I usually use tcsh. I'll try that. Though, when I use xterm or ssh 
into the box the terminal type is correct. But I must admit I have no idea 
how the terminal type is communicated to the shell.

-- Bert




More information about the Squeak-dev mailing list