-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

well, by trial and error, I found something that works, at least on mac 
systems. Make sure you have ncurses installed, and put this in your 
.bashrc:

# Fix the term variable in OS X

if [ "$TERM" == "network" ]; then
         export TERM=mach-color
fi

(you need to adapt this for (t)csh. it checks and sees if your terminal 
is network, the default, and then will set it to mach-color if it is. 
that way if u ssh in from linux or something, it wont mess it up.

it works. giFTcurs is now in color, and the function keys still work (up 
to f4 anyway)

On Wednesday, April 10, 2002, at 09:27  PM, Andreas Gschwendtner wrote:

> I'm struggling to get a colorized terminal, too... I also have the 
> problem
> of the fn-keys beyond f4 not working in Terminal.app. I tried the 
> mentioned
> hint on macosxhints.com, it seemed to work correctly (no apparent 
> errors)
> but it had no effect at all on what I see in my terminal windows.
>
> If I understand your post correctly (I'm not sure -- this seems to be a
> little bit beyond my knowledge level -- sorry...), wrapping a command 
> in a
> screen process is enough to get color and the function keys working. 
> E.g. if
> I type "screen mc" I should have a colorized Midnight Commander with
> function keys. Is that correct?
>
> Well, neither the "macosxhints"- nor the "screen"-method worked for 
> me -- my
> Terminal is as grey as ever. mc has color in the Gnome-Terminal, though 
> (but
> it stays b/w in Terminal.app and regular xterm).
>
> I would appreciate any clarification and explanation of these things 
> very
> much. Of course I would also be happy to do my "homework" and read 
> something
> about all that stuff, if somebody could post links or keywords (I know
> google is my friend...).
>
> Thank you very much,
>
> Andreas
>
>
> On 10.04.2002 19:10 Uhr, "Chris Devers" <[EMAIL PROTECTED]> wrote:
>
>> On Wed, 10 Apr 2002, Chris Zubrzycki wrote:
>>
>>> I have a package that uses f-keys, but the termnial does not seem to 
>>> use
>>> keys past F4. anyone know any different? what termnial does it 
>>> emulate,
>>> really?
>>
>> Theoretically it's a VT100 terminal:
>> http://www.macosxhints.com/article.php?story=20020408225741777
>>
>>> I cant dind any docs, and I have a color program that does not use 
>>> color
>>> if the termcap file is not right.
>>
>> One of the posts at the above url notes that wrapping commands in 
>> 'screen'
>> does get the shell to start using colors properly. I am typing this 
>> from a
>> very colorful piped-through-`screen` Pine session right now...
>>
>>> "Of course, you realize this means war."
>>> - -B. Bunny
>>
>> You know how it is. :)
>>
>>
>>
>> --
>> Chris Devers                                [EMAIL PROTECTED]
>> Apache / mod_perl / http://homepage.mac.com/chdevers/resume/
>>
>> "More war soon. You know how it is."    -- mnftiu.cc
>>
>>
>> _______________________________________________
>> Fink-users mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/fink-users
>
>
> _______________________________________________
> Fink-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-users
>
>
- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
========================================================

"Sadly, text alone cannot convey the depths of my sarcasm."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8tOxd+/mCMqKrwHARAsGvAJ45Zx2VVO4xxsbE82LELrY1QQXsMACfeve0
DGv7OdVe3X6ejS2h+ANA2pE=
=bGwQ
-----END PGP SIGNATURE-----


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to