diff scripts/io/beep.m @ 21634:96518f623c91

Backed out changeset dcf8922b724b
author Mike Miller <mtmiller@octave.org>
date Wed, 20 Apr 2016 11:06:03 -0700
parents dcf8922b724b
children bac0d6f07a3e
line wrap: on
line diff
--- a/scripts/io/beep.m	Wed Apr 20 17:53:10 2016 +0200
+++ b/scripts/io/beep.m	Wed Apr 20 11:06:03 2016 -0700
@@ -23,7 +23,7 @@
 ## This function sends the alarm character @qcode{"@xbackslashchar{}a"} to
 ## the terminal.  Depending on the user's configuration this may produce an
 ## audible beep, a visual bell, or nothing at all.
-## @seealso{fputs, fprintf}
+## @seealso{puts, fputs, printf, fprintf}
 ## @end deftypefn
 
 ## Author: jwe
@@ -34,9 +34,10 @@
     print_usage ();
   endif
 
-  fputs ("\a");
+  puts ("\a");
 
 endfunction
 
 
 %!error (beep (1))
+