comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: change colors of IDL shell on OS X?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: change colors of IDL shell on OS X? [message #53051] Fri, 16 March 2007 14:45
swingnut is currently offline  swingnut
Messages: 30
Registered: September 2005
Member
On Mar 15, 10:32 pm, Christopher Thom <c...@oddjob.uchicago.edu>
wrote:
> Quoth mgal...@gmail.com:
>
>> On Mar 15, 10:29 am, swing...@gmail.com wrote:
>>> Actually, I've already tweaked my terminal quite a bit. But that's
>>> terminal. IDL spawns a different X11 terminal, then spawns its own
>>> terminal window. But perhaps it inherits the X11 terminals properties,
>>> which should be tweakable ... I'll have to investigate!
>
>> No need to use the xterm that X11 will launch by default (you can stop
>> it from launching by editing /etc/X11/xinit/xinitrc). Just use
>> Terminal (or even better, iTerm).
>
> I would second the iTerm recommendation. Or better yet...IDLWAVE under
> emacs. Not only do you get to tweak your colours, but nice syntax
> highlighting (etc etc) too.
>
> cheers
> chris

That would indeed be very tempting. Except, well, ewwww -- Emacs.
Re: change colors of IDL shell on OS X? [message #53067 is a reply to message #53051] Thu, 15 March 2007 20:32 Go to previous message
Christopher Thom is currently offline  Christopher Thom
Messages: 66
Registered: October 2006
Member
Quoth mgalloy@gmail.com:

> On Mar 15, 10:29 am, swing...@gmail.com wrote:
>> Actually, I've already tweaked my terminal quite a bit. But that's
>> terminal. IDL spawns a different X11 terminal, then spawns its own
>> terminal window. But perhaps it inherits the X11 terminals properties,
>> which should be tweakable ... I'll have to investigate!
>
> No need to use the xterm that X11 will launch by default (you can stop
> it from launching by editing /etc/X11/xinit/xinitrc). Just use
> Terminal (or even better, iTerm).

I would second the iTerm recommendation. Or better yet...IDLWAVE under
emacs. Not only do you get to tweak your colours, but nice syntax
highlighting (etc etc) too.

cheers
chris
Re: change colors of IDL shell on OS X? [message #53070 is a reply to message #53067] Thu, 15 March 2007 11:58 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Mar 15, 10:29 am, swing...@gmail.com wrote:
> Actually, I've already tweaked my terminal quite a bit. But that's
> terminal. IDL spawns a different X11 terminal, then spawns its own
> terminal window. But perhaps it inherits the X11 terminals properties,
> which should be tweakable ... I'll have to investigate!

No need to use the xterm that X11 will launch by default (you can stop
it from launching by editing /etc/X11/xinit/xinitrc). Just use
Terminal (or even better, iTerm).

-Mike
Re: change colors of IDL shell on OS X? [message #53071 is a reply to message #53070] Thu, 15 March 2007 11:48 Go to previous message
mmeron is currently offline  mmeron
Messages: 44
Registered: October 2003
Member
In article <1173972679.157755.322250@b75g2000hsg.googlegroups.com>, swingnut@gmail.com writes:
> Does anyone know how to do this? This white on black business, less
> than fun, even with the LCD's brightness turned down...
>
The routine SCREEN in my library will do it (in fact will set
foreground and/or background to anything you wish). You can find it
on the RSI user contribution page, the name of the library is MIDL.

For a quick and dirty fix, though, all you need is

!p.background = !d.table_size^3 - 1 & !p.color = 0

Mati Meron | "When you argue with a fool,
meron@cars.uchicago.edu | chances are he is doing just the same"
Re: change colors of IDL shell on OS X? [message #53073 is a reply to message #53071] Thu, 15 March 2007 11:05 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Mar 15, 10:29 am, swing...@gmail.com wrote:
> Actually, I've already tweaked my terminal quite a bit. But that's
> terminal. IDL spawns a different X11 terminal, then spawns its own
> terminal window. But perhaps it inherits the X11 terminals properties,
> which should be tweakable ... I'll have to investigate!

No need to use the xterm that X11 will launch by default (you can stop
it from launching by editing /etc/X11/xinit/xinitrc). Just use
Terminal (or even better, iTerm).

-Mike
Re: change colors of IDL shell on OS X? [message #53074 is a reply to message #53073] Thu, 15 March 2007 09:29 Go to previous message
swingnut is currently offline  swingnut
Messages: 30
Registered: September 2005
Member
On Mar 15, 11:07 am, "Maarten" <maarten.sn...@knmi.nl> wrote:
> On Mar 15, 3:33 pm, swing...@gmail.com wrote:
>
>> On Mar 15, 10:31 am, swing...@gmail.com wrote:
>
>>> Does anyone know how to do this? This white on black business, less
>>> than fun, even with the LCD's brightness turned down...
>
>>> Thanks.
>
>> By which, of course, I mean, exactly the opposite of what I put. I
>> have black text on a white background, and I want the ability to set
>> light-colored text on dark background, though not necessarily white
>> text on black background if I can avoid it.
>
> Since the shell just runs in a standard xterm, you can just google for
> that. I did, and thishttp://forums.macosxhints.com/archive/index.php/t-739.ht ml
> may be helpful to you.
>
> Maarten

Actually, I've already tweaked my terminal quite a bit. But that's
terminal. IDL spawns a different X11 terminal, then spawns its own
terminal window. But perhaps it inherits the X11 terminals properties,
which should be tweakable ... I'll have to investigate!
Re: change colors of IDL shell on OS X? [message #53075 is a reply to message #53074] Thu, 15 March 2007 09:07 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Mar 15, 3:33 pm, swing...@gmail.com wrote:
> On Mar 15, 10:31 am, swing...@gmail.com wrote:
>
>> Does anyone know how to do this? This white on black business, less
>> than fun, even with the LCD's brightness turned down...
>
>> Thanks.
>
> By which, of course, I mean, exactly the opposite of what I put. I
> have black text on a white background, and I want the ability to set
> light-colored text on dark background, though not necessarily white
> text on black background if I can avoid it.

Since the shell just runs in a standard xterm, you can just google for
that. I did, and this http://forums.macosxhints.com/archive/index.php/t-739.html
may be helpful to you.

Maarten
Re: change colors of IDL shell on OS X? [message #53078 is a reply to message #53075] Thu, 15 March 2007 08:33 Go to previous message
swingnut is currently offline  swingnut
Messages: 30
Registered: September 2005
Member
On Mar 15, 10:31 am, swing...@gmail.com wrote:
> Does anyone know how to do this? This white on black business, less
> than fun, even with the LCD's brightness turned down...
>
> Thanks.

By which, of course, I mean, exactly the opposite of what I put. I
have black text on a white background, and I want the ability to set
light-colored text on dark background, though not necessarily white
text on black background if I can avoid it.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Histogram looks like spiky bars
Next Topic: Re: replicating arrays

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:53:51 PDT 2025

Total time taken to generate the page: 0.00789 seconds