octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9024] Colour-coded output text


From: Lachlan Andrew
Subject: [Octave-patch-tracker] [patch #9024] Colour-coded output text
Date: Sat, 25 Jun 2016 12:11:58 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #13, patch #9024 (project octave):

For Windows, can you see what happens (with or without the patch) with the
code


a = '.[38;5;160m';
a(1) = 27;
a


It should turn the text red.  If it doesn't, then the Windows terminal doesn't
accept ANSI escape sequences, and I have no idea how to change the colours.


The Linux case is puzzling.  If you put


output_highlight ('user', 'U', 'cmd_line', 'C', 'err', 'E', 'warn', 'W',
'sys', 'S');


in your .octaverc?  It should output the appropriate character whenever the
system would normally try to change colour.

Although none of the patches you have should affect the compile error, it is
possible that one is affecting the behaviour.  Could you try it on a the
default head?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9024>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]