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

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

[Octave-bug-tracker] [bug #51272] Color in Command line color not enable


From: Marshall
Subject: [Octave-bug-tracker] [bug #51272] Color in Command line color not enabled initially
Date: Thu, 20 Jul 2017 16:55:47 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #6, bug #51272 (project octave):

As a temporary (ugly) work around, since I found that many system(...) calls
are at the root of disabling color at the command  line, and that system('')
re-enables it, I added the following to my path:


function [a,b] = system(varargin)    
  [a,b] = builtin('system',varargin{:});
  builtin('system','');%restore color to command line
endfunction


I also call system('') at startup.
I am guessing there is a less ugly workaround if the octave source itself is
edited, but I haven't had time yet to try and look at, edit and compile octave
source yet (since I've heard compiling can take hours).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51272>

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




reply via email to

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