A followup... I skipped using Brew, and just used the scons console=readline d8 in a /tmp directory and it build d8 nicely, and had history!! Super...
So now, I just need to figure out how to get brew to do this... without bombing... or I just copy the d8 from /tmp and put it in a nice place. Thanks On May 5, 4:49 pm, Dave <[email protected]> wrote: > Hi, > > I tried compiling with the d8 option, but that just bombed out with an > error about not finding a shell... :( > > Thought it might be that simple... tack on a d8 and go.. no luck... > > Thanks for the tips though... shows there is some hope.. > > On May 5, 4:39 pm, Stephan Beal <[email protected]> wrote: > > > > > > > > > On Thu, May 5, 2011 at 10:29 PM, Dave <[email protected]> wrote: > > > I compiled v8 with the latest brew recipe on OSX. When I entered the > > > shell, and typed a command, var f = "test"; I had my f variable fine. > > > But I quickly realized this shell has no command history? > > > > Is there a way to compile v8 to offer a shell with a history? > > > If you've got any experience with libreadline (or edltline, or something > > similar), it would be easy to hack it in. > > > Somewhere around here i've got a readline/editline plugin for v8... > > >http://code.google.com/p/v8-juice/wiki/PluginReadline > > > It wouldn't be difficult to strip that code for re-use in a non-v8-juice > > envrionment. The relevant code is here: > > >http://code.google.com/p/v8-juice/source/browse/extra-plugins/src/rea... > > <http://code.google.com/p/v8-juice/source/browse/extra-plugins/src/rea...> > > -- > > ----- stephan bealhttp://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
