Re: [eclipse-clp-users] Newbie TKEclipse question

From: Kish Shen <kisshen_at_...5...>
Date: Thu, 30 Jul 2009 00:21:53 +0100
Gregory Harman wrote:
> What's the best way to view a stream (say, stdout) from within  
> TKEclipse?

Hi Greg,

stdout is not the standard output stream in ECLiPSe -- the stream named 
output is -- this is the stream that is written to when you call output 
predicates such as write/1. In this case, the output will normally 
appear in the "Output and Error Messages" Window of TkECLiPSe, unless 
you redirect it with set_stream/2.

There is a stream called stdout, which is not connected to any 
pre-existing window in TkECLiPSe. When you first write to such a 
unconnected output stream, a new window will appear with the output. 
This window may be hidden, because it is not autoraised, so your 
existing windows can be on top of it, so moving your existing windows 
out of the way should show it. However, there is probably no reason to 
write to this stream instead of output.

Cheers,

Kish
-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Wed Jul 29 2009 - 23:22:07 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST