perfect ...
this is expected to aid the implementation
of Julia magics from Sage Notebooks over
on SMC {cloud.sagemath.com}.
many thanks !
cdm
On Monday, September 22, 2014 8:40:55 PM UTC-7, Keno Fischer wrote:
>
> No, that's not the right REPL. The one in the terminal is the
> LineEditREPL. We need better repl configuration, but you can change
> the prompt like this:
>
> Base.active_repl.interface.modes[1].prompt="abc> "
>
> On Mon, Sep 22, 2014 at 11:34 PM, Steve Kelly <[email protected]
> <javascript:>> wrote:
> > The prompt is defined here:
> >
> https://github.com/JuliaLang/julia/blob/2eee58701052caf6b6927604732e197b1054ac7b/base/REPL.jl#L191
>
> >
> > I was looking into it so I could number lines for my SaveREPL.jl
> package,
> > but it looked like a lot of refactoring.
> >
> > On Mon, Sep 22, 2014 at 10:10 PM, cdm <[email protected] <javascript:>>
> wrote:
> >>
> >>
> >> i suspect that there is a way to do this ...
> >>
> >> suppose that one needed to change the
> >> Julia prompt from
> >>
> >> julia>
> >>
> >>
> >> to say, something like
> >>
> >> j~
> >>
> >>
> >> is this defined in Base, or somewhere else?
> >>
> >> many thanks,
> >>
> >> cdm
> >
> >
>