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

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

[Octave-bug-tracker] [bug #35187] the "help" command displays truncated


From: a.dawid
Subject: [Octave-bug-tracker] [bug #35187] the "help" command displays truncated help (words missing, etc)
Date: Mon, 09 Jan 2012 00:19:37 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17

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

Maybe Andy's remark is related, but I am not sure.

I tried to track down the source of the issue but got lost at the following:

At some point, the 'help' function calls for the '__makeinfo__' function (cf.
'help.m' line 79), which in turn calls for 'makeinfo' via the command:
[status retval] = system (cmd); (cf. '__makeinfo__' line 174)
where cmd = 'makeinfo --no-headers --no-warn --force --no-validate
C:Users...Tempoctave-help-zcUYaI'
(I checked all this by printing comments on the way there...)

The strange thing is the following:
If I print the value 'retval' directly from the '__makeinfo__' function
(either by using printf() or just retval) then I have the problem.
However, if I use the command prompt of Octave and type:
cmd = 'makeinfo --no-headers --no-warn --force --no-validate
C:Users...Tempoctave-help-zcUYaI'
[status retval] = system (cmd);
and thus print retval, I have the full text, but surrounded by some sort of
html markup and header (which appear neither in the output from the
'__makeinfo__' function, nor in the 'octave-help-zcUYaI' file which contains
only a 'input texinfo' at the beginning an a '@bye' at the end.

So basically there is no consistency in the behavior of makeinfo, and at this
point it seems to root deeply in Octave or Windows - at least deeper than I
can explore.

Does someone have more insight...?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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