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

Home » Public Forums » archive » Re: Is there a way to get bold font in the IDL prompt?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Is there a way to get bold font in the IDL prompt? [message #46099 is a reply to message #46098] Wed, 02 November 2005 06:41 Go to previous messageGo to previous message
Oilhead Beemer is currently offline  Oilhead Beemer
Messages: 3
Registered: November 2005
Junior Member
JD Smith wrote:
> One way would be switch to IDLWAVE, which colors your prompts for you:
>
> http://idlwave.org/screenshots/emacs_21_bp.gif
>
> If you'd prefer to stick with the shell, something like:
>
> !PROMPT='\033[1;34mIDL> \033[m'
>
> in your IDL startup file should do it for most terminal programs.
> Just replace the "\033" in the above with a real Escape character (C-q
> ESC in Emacs would do that for you).
>
> JD


Thanks JD,

Does this work on your system? I don't seem to be able to get this to
work. The IDL shell doesn't interpret the escape characters from the
underlaying shell it seems. So if I do:
!PROMPT='\e[1m aaa \e[0m '
in an IDL session that is started from bash I get this prompt
literally. I do get the correct 'aaa' in bold in the shell itself when
I change $PS1. Same behaviour in tcsh.

Best,
oilh
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Keyword_Set function
Next Topic: window

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

Current Time: Sat Nov 29 15:08:03 PST 2025

Total time taken to generate the page: 1.61053 seconds