And what about paging the STDOUT produced by program from the repl?

I often would like to do something like

julia> myprog() |> less

and piping the STDOUT of myprog() on the pager. Would it be possible?

Andrea  

On Friday, May 23, 2014 6:04:58 PM UTC+2, Stefan Karpinski wrote:
>
> Yes, that might be a good way to do it. Basically the display methods of 
> the Scrollable object (the thing returned by less) could do whatever it 
> needed to do, including show the object in a pager or start a Task that 
> answers questions from a widget about the object to be displayed and return.
>
>
> On Fri, May 23, 2014 at 11:45 AM, Mike Innes <[email protected]<javascript:>
> > wrote:
>
>> Cool, I'll add this to my ever-growing list :)
>>
>> Perhaps less could emit some kind of Scrollable wrapper type, which would 
>> display itself in the REPL as a pager, or in IJulia as an HTML scroll pane? 
>> I've been meaning to try out <table> display of arrays anyway, so this 
>> would tie in neatly with that.
>>  
>
>

Reply via email to