[haiku-commits] Re: r39456 - haiku/trunk/src/apps/terminal

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 22 Nov 2010 13:57:16 +0100

Le 22 nov. 2010 à 12:14, Ingo Weinhold a écrit :

>>> Removed impossible TODO: We can't set a environment variable of another
>>> program (after it has been started). What is TTYPE anyway? Google didn't 
>>> turn
>>> anything up and there are the POSIX locale environment variables anyway.
>> 
>> I guess it's "Terminal Type".
> 
> That would have been my guess, too. Though it is a bit of a misnomer, if it 
> is meant to contain the encoding.

I'm quite sure I saw this used somewhere, but I can't find it back.
Thought it might have to do with the encoding, not sure.

Though I can't find many mention of this on google...
http://www.stanford.edu/dept/its/support/uspires/SecureCRT/

>> I have no idea if beos set it back then, or if there are apps who rely on 
>> it.
> 
> BeOS R5's Terminal doesn't set it.

No, bash used to set $TTY to /dev/tt/* due to lack of some fonctions in 
libroot, but that's it.

OSX sets $TERM_PROGRAM to Apple_Terminal and $TERM_PROGRAM_VERSION to 273.
But that's non standard AFAIK.

François.

Other related posts: