Re: zvt questions
- From: Hassan Aurag <aurag crm umontreal ca>
- To: gnome-devel-list gnome org
- Subject: Re: zvt questions
- Date: Fri, 12 Nov 1999 04:22:03 GMT
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 11/11/99, 11:05:24 PM, Lyndon Drake <lyndon@stat.auckland.ac.nz>
wrote regarding zvt questions:
> Hi,
> 1. Does anyone have a handy reference to terminal escape codes,
especially
> the ones for colours?
Ok, try 'echo -en "\\033[1;31mText\\033[0;39m"'
Now toy with the left part that \\033[1;31m, that is change 1;31 to
other numbers. 1 is for bold I think, 39 for red. 0;39 will give you
unbold red.
I got that from /etc/rc.d/rc.sysinit from RH6.1. I wanted to add
colours to my app, but had no answer regarding colors. I then
remembered seeing RedHat in red at startup and searched through
/etc/rc.d
> 2. Is there any chance that the matching code in zvt will ever add
colour
> highlighting as well as underline/bold? This would be really cool
for
> R, as it would let us add nice highlighting of keywords etc.
I kept asking about this in case one forks the term. I do this with my
little app. No answer yet, but I'd love to hear one! I keep digging!
> 3. Having looked at gnome-genius, the appropriate communication method
> between R and zvt would appear to be a pipe (given that I really
don't
> want to fork). Does this seem reasonable?
If it helps I use fork, then created a fifo just today and made both
communicate (not for display but for other things) using threads (I
also learned that today, and God, it works!). Of course I am using
Python a readable and understandable language as opposed to C, C++
.....
Hope this helps a bit!
> --
> Lyndon Drake | Desktop:
http://www.gnome.org
> isenguard | Mail client: http://www.mutt.org
> ICQ#: 12558803 | Editor: http://www.vim.org
> http://stat.auckland.ac.nz/~lyndon | OS:
http://www.linux.com
> --
> To unsubscribe: mail gnome-devel-list-request@gnome.org with
"unsubscribe"
> as the Subject.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]