octave-maintainers
[Top][All Lists]
Advanced

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

Re: readline problem with gui branch ?


From: John W. Eaton
Subject: Re: readline problem with gui branch ?
Date: Mon, 11 Jun 2012 09:23:53 -0400

On 10-Jun-2012, Jacob Dawid wrote:

| Thank you. I have added it in
| 
| http://hg.savannah.gnu.org/hgweb/octave/rev/50bf75766ac0
| 
| 
| 
|         diff --git a/gui/src/src.pro b/gui/src/src.pro
|         --- a/gui/src/src.pro
|         +++ b/gui/src/src.pro
|         @@ -30,7 +30,7 @@
| 
|          win32-msvc*: include(msvc.pri)
| 
|         -LIBS                += -lqscintilla2  \
|         +LIBS                += -lreadline -lqscintilla2  \
|                                 -L../qterminal/libqterminal/$$LIBDIR_SUFFIX
|         -lqterminal \
|                                  $$system(mkoctfile -p LIBS) \
|                                  $$system(mkoctfile -p OCTAVE_LIBS)

The only place in Octave that should be calling readline functions
directly is the command_editor class in liboctave.  If it does not
have the needed functionality for what you want to do, then we should
fix the command_editor class, not bypass it.  Maybe we should add a
command_editor::finish_event function?

jwe


reply via email to

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