octave-maintainers
[Top][All Lists]
Advanced

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

Strange output of version


From: John W. Eaton
Subject: Strange output of version
Date: Fri, 21 Sep 2007 17:24:48 -0400

On 19-Sep-2007, Orion Poplawski wrote:

| On recent fedora versions:
| 
| $ echo "disp(OCTAVE_VERSION)" | octave -qf > version
| $ od -a version
| 0000000 esc   [   ?   1   0   3   4   h   2   .   9   .   1   3  nl
| 0000017
| 
| Note the escape sequence output before the version string.
| 
| 
| Setting TERM="" fixes it.
| 
| Looks like it is:
| 
| smm=\E[?1034h
| 
| which seems to have been added to the xterm terminfo information, which 
| is "turn on meta mode (8th-bit on)"
| 
| Anyone have any ideas on why this is being output?

I don't know where that would be coming from.  Octave is not doing it
intentionally.  If you want to debug where it is coming from, I
suppose you would need to set a breakpoint in the disp function (named
Fdisp in the C++ code) and step from there to see what is being called
to write the escape sequence.

jwe


reply via email to

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