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

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

[Octave-bug-tracker] [bug #52556] Octave stops writing to console


From: Rik
Subject: [Octave-bug-tracker] [bug #52556] Octave stops writing to console
Date: Wed, 6 Dec 2017 20:45:31 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #3, bug #52556 (project octave):

There is an error in your third line of code.  This may be related to the
problem.  The apostrophe in "doesn't" ends the text string that you begin with
a single quote so that Octave is seeing 


  printf('This text doesn'
  t show up in my console\n');


which is an error.  Try using double quotes so the sequence of commands is
now:


  printf("This text shows up in my console\n");
  help sym
  printf("This text doesn't show up in my console\n");



Second question, how are you executing these commands?  Are you copying and
pasting them into the Command Window or are they in an m-file?

If I put the commands into a file cmds.m and run that it works correctly.  I
do appear to have a problem when pasting in to the GUI.  In that case, the
last command is not recognized.  I can tell that by using "history 10" to look
at the last commands and only "help sym" is in the buffer.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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