Hi,

"HarryO" <harryo / zipworld.com.au> writes:

:   $defout.print "Hello, world!"
:   $defout.flush
:
:produces nothing
:
:   $defout.print Hello, world!\n"
:
:produces "Hello, world!".
:
:Can someone explain this to me?  Have I just misread the documentation?

Do you use zsh?

% setopt PROMPT_CR
% ruby -e '$defout.print "foo"'
% ruby -e '$defout.print "foo";$defout.flush'
% setopt NO_PROMPT_CR
% ruby -e '$defout.print "foo"'
foo% ruby -e '$defout.print "foo";$defout.flush'
foo% 

-- 
eban