octave-maintainers
[Top][All Lists]
Advanced

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

Re: Strange output of version


From: Orion Poplawski
Subject: Re: Strange output of version
Date: Mon, 24 Sep 2007 15:48:14 -0600
User-agent: Thunderbird 2.0.0.6 (X11/20070911)

John W. Eaton wrote:
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.


It's coming from the readline library initialization. I'll bug fedora about it...


--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  address@hidden
Boulder, CO 80301              http://www.cora.nwra.com


reply via email to

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