Hi,

for a non-programmatic way to do that (i.e. to record a single session) you 
can use the "screen" utility for that.
In our shell, run screen, then press ctrl-a H, and then run Julia.  The 
file is created in the directory you started screen in, and named 
screenlog.0

Sebastian


On Saturday, 23 January 2016 17:29:09 UTC, Josef Sachs wrote:
>
> Are there any recommendations for capturing the output 
> of an interactive julia session?  I was hoping that the 
> following would work. 
>
> $ julia | tee temp.txt 
> ERROR: MethodError: `convert` has no method matching 
> convert(::Type{Base.TTY}, ::Base.PipeEndpoint) 
> This may have arisen from a call to the constructor Base.TTY(...), 
> since type constructors fall back to convert methods. 
> Closest candidates are: 
>   Base.TTY(::Any) 
>   call{T}(::Type{T}, ::Any) 
>   convert{T}(::Type{T}, !Matched::T) 
>   ... 
>  in call at Terminals.jl:116 
>  in _start at ./client.jl:388 
>
> I might fall back to running julia within an Emacs shell-buffer, 
> but I would prefer to keep the REPL functionality. 
>

Reply via email to