octave-maintainers
[Top][All Lists]
Advanced

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

Re: R: M4 Macro OCTAVE_EVAL


From: Erik de Castro Lopo
Subject: Re: R: M4 Macro OCTAVE_EVAL
Date: Sun, 15 Feb 2009 09:21:31 +1100

Marco Atzeri wrote:

> the additional escape characters can be caused by a wrong 
> TERM setting
> 
> for example if you are using rxvt and TERM=xterm

Actually, with the help of one of the two people who reported the
problem we've come up with this:

    AC_DEFUN([OCTAVE_EVAL],
    [
    AC_MSG_CHECKING([for $1 in $OCTAVE])
    $2=`TERM=;$OCTAVE -qfH --eval "disp($1)"`
    AC_MSG_RESULT($$2)
    AC_SUBST($2)
    ]) # OCTAVE_EVAL

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
Q. What is the difference between Jurassic Park and Microsoft?
A. One is an over-rated high tech theme park based on prehistoric
   information and populated mostly by dinosaurs, the other is a
   Steven Spielberg movie.


reply via email to

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