[Pharo-project] Remove developing with Pharo

Andrei Stebakov lispercat at gmail.com
Mon May 17 11:14:09 EDT 2010


I am using the Pharo-1.0, the one-click-image. Should I use the latest dev
stuff?

On Fri, May 14, 2010 at 11:14 PM, John Toohey <jt at parspro.com> wrote:

> I believe this is a VM issue, not a Pharo issue. What version of the
> Linux VM are you using?
>
> 2010/5/14 Andrei Stebakov <lispercat at gmail.com>:
> > Now when I try to paste some data using Ctl-v only the timestamp gets
> > pasted.
> > If I use the mouse/menu for pasting it causes a segmentation fault:
> > Segmentation fault
> >
> > 2048644700 Clipboard>clipboardText
> > 2048644608 >clipboardText
> > 2048644516 ParagraphEditor>clipboardText
> > 2048644224 ParagraphEditor>paste
> > 2048644120 PluggableTextMorph>paste
> > 2048644028 PluggableTextMorph>handleEdit:
> > 2048637408 TextMorph>handleEdit:
> > 2048622240 PluggableTextMorph>handleEdit:
> > 2048622148 PluggableTextMorph>paste
> > 2048622056 Object>perform:orSendTo:
> > 2048621652 MenuItemMorph>invokeWithEvent:
> > 2048621560 BlockClosure>ensure:
> > 2048620520 Cursor>showWhile:
> > 2048350296 MenuItemMorph>invokeWithEvent:
> > 2048350204 MenuItemMorph>mouseUp:
> > 2048350112 MenuItemMorph>handleMouseUp:
> > 2048349976 MouseButtonEvent>sentTo:
> > 2048349884 Morph>handleEvent:
> > 2048349792 MorphicEventDispatcher>dispatchDefault:with:
> > 2048349700 MorphicEventDispatcher>dispatchEvent:with:
> > 2048349608 Morph>processEvent:using:
> > 2048349516 MorphicEventDispatcher>dispatchDefault:with:
> > 2048349408 MorphicEventDispatcher>dispatchEvent:with:
> > 2048349272 Morph>processEvent:using:
> > 2048349180 Morph>processEvent:
> > 2048349088 MenuMorph>handleFocusEvent:
> > 2048348996 HandMorph>sendFocusEvent:to:clear:
> > 2048348904 PasteUpMorph>becomeActiveDuring:
> > 2048348736 BlockClosure>on:do:
> > 2048348644 PasteUpMorph>becomeActiveDuring:
> > 2048348472 HandMorph>sendFocusEvent:to:clear:
> > 2048348368 HandMorph>sendEvent:focus:clear:
> > 2048348276 HandMorph>sendMouseEvent:
> > 2048348184 HandMorph>handleEvent:
> > 2048347916 HandMorph>processEvents
> > 2048347808 WorldState>doOneCycleNowFor:
> > 2048347716 SequenceableCollection>do:
> > 2048347624 WorldState>handsDo:
> > 2048347532 WorldState>doOneCycleNowFor:
> > 2048347040 WorldState>doOneCycleFor:
> > 2048346948 WorldState>doOneSubCycleFor:
> > 2048346856 PasteUpMorph>doOneSubCycle
> > 2048230916 MenuMorph>invokeModalAt:in:allowKeyboard:
> > 2048230824 MenuMorph>invokeModal:
> > 2048230720 MenuMorph>invokeModal
> > 2048214088 PluggableTextMorph>yellowButtonActivity:
> > 2048213996 ScrollPane>mouseDown:
> > 2048213904 Morph>handleMouseDown:
> > 2048213812 MouseButtonEvent>sentTo:
> > 2048213720 Morph>handleEvent:
> > 2048213540 MorphicEventDispatcher>dispatchMouseDown:with:
> > 2048213448 MorphicEventDispatcher>dispatchEvent:with:
> > 2048213356 Morph>processEvent:using:
> > 2048213220 MorphicEventDispatcher>dispatchMouseDown:with:
> > 2048213128 MorphicEventDispatcher>dispatchEvent:with:
> > 2048213036 Morph>processEvent:using:
> > 2048212944 MorphicEventDispatcher>dispatchMouseDown:with:
> > 2048212852 MorphicEventDispatcher>dispatchEvent:with:
> > 2048212744 Morph>processEvent:using:
> > 2048212652 PasteUpMorph>processEvent:using:
> > 2048212488 Morph>processEvent:
> > 2048212396 HandMorph>sendEvent:focus:clear:
> > 2048212304 HandMorph>sendMouseEvent:
> > 2048212212 HandMorph>handleEvent:
> > 2048212120 HandMorph>processEvents
> > 2048212012 WorldState>doOneCycleNowFor:
> > 2048211920 SequenceableCollection>do:
> > 2048211828 WorldState>handsDo:
> > 2048211736 WorldState>doOneCycleNowFor:
> > 2048211572 WorldState>doOneCycleFor:
> > 2048211480 PasteUpMorph>doOneCycle
> > 2011450676 >?
> > 2011450548 BlockClosure>?
> >
> >
> > On Fri, May 14, 2010 at 5:34 PM, Andrei Stebakov <lispercat at gmail.com>
> > wrote:
> >>
> >> Ok, I figured it out.
> >> On the remote machine just start pharo with RFBServer started
> (connection
> >> passwords must be set!)
> >> On the local Windows machine open ssh or putty tunneling local port 5900
> >> to the remote port 5900 (putty -L 5900:localhost:5900
> username at doman.com).
> >> After that start a VNC client (in my case I installed TightVNC) and
> >> connect to your local machine.
> >> That will automatically establish a tunneled traffic between those two
> >> systems va ssh tunneling.
> >>
> >>
> >> 2010/5/14 Mariano Martinez Peck <marianopeck at gmail.com>
> >>>
> >>> I paste a text I got from an old mail:  "The latest version on
> >>> squeaksource works. You can load it from http://squeaksource.com/RFB(Note
> >>> that this package has been forked at least three times.) We used to
> connect
> >>> to the server with RealVNC with the following settings: ZRLE encoding
> >>> (disable auto select), Full color. IIRC you should also turn off the
> "render
> >>> cursor locally" feature.
> >>> On the server you should allow ZRLE and turn off the conserve memory
> >>> feature.
> >>> "
> >>>
> >>> In addition, ask in seaside mailing list too. You will probably receive
> >>> more help.
> >>>
> >>> Cheers
> >>>
> >>> Mariano
> >>>
> >>>
> >>> 2010/5/14 Andrei Stebakov <lispercat at gmail.com>
> >>>>
> >>>> Exactly what VNC slient I can use on Windows?
> >>>> I tried VNC viewer free
> >>>> (http://www.realvnc.com/products/free/4.1/winvncviewer.html), trying
> to
> >>>> connect to the locally run Pharo and the viewer fails with "uncknown
> rect
> >>>> encoding" after which Pharo image also freezes.
> >>>> Is there any step-by-step tutorial how to setup VNC (remote Linux,
> local
> >>>> Windows)?
> >>>>
> >>>>
> >>>> On Thu, May 13, 2010 at 6:26 PM, Igor Stasenko <siguctua at gmail.com>
> >>>> wrote:
> >>>>>
> >>>>> 2010/5/14 Andrei Stebakov <lispercat at gmail.com>:
> >>>>> > Interesting! Is it done on the X-server side or client?
> >>>>> >
> >>>>> you should have settings in your VNC client.
> >>>>> also, you could set bpp for image.
> >>>>> both could help to run things faster.
> >>>>>
> >>>>> > On Thu, May 13, 2010 at 5:38 PM, Igor Stasenko <siguctua at gmail.com
> >
> >>>>> > wrote:
> >>>>> >>
> >>>>> >> 2010/5/12 Andrei Stebakov <lispercat at gmail.com>:
> >>>>> >> > That's right, looks like it sends full-blown images (not the
> >>>>> >> > delta, not
> >>>>> >> > the
> >>>>> >> > commands to x-server) and re-drawing takes forever. I wonder if
> >>>>> >> > it's a
> >>>>> >> > Pharo
> >>>>> >> > issue or x-server's? My xterm works pretty fast compared to
> Pharo
> >>>>> >> > though...
> >>>>> >> >
> >>>>> >> lowering the pixel depth to 8bpp helps :)
> >>>>> >>
> >>>>> >> > 2010/5/12 Schwab,Wilhelm K <bschwab at anest.ufl.edu>
> >>>>> >> >>
> >>>>> >> >> I have at times done what you are attempting, and painful is
> >>>>> >> >> nicest
> >>>>> >> >> adjective I can think to use.  Please let us know if VNC is a
> >>>>> >> >> better
> >>>>> >> >> option.  Re RDP, I have wondered whether the poor performance
> >>>>> >> >> could be
> >>>>> >> >> telling us something about the amount of drawing that might be
> >>>>> >> >> happening for
> >>>>> >> >> no purpose???  It can be terribly slow, especially the response
> >>>>> >> >> to
> >>>>> >> >> typing.
> >>>>> >> >> Bill
> >>>>> >> >>
> >>>>> >> >> ________________________________
> >>>>> >> >> From: pharo-project-bounces at lists.gforge.inria.fr
> >>>>> >> >> [mailto:pharo-project-bounces at lists.gforge.inria.fr] On Behalf
> Of
> >>>>> >> >> Mariano
> >>>>> >> >> Martinez Peck
> >>>>> >> >> Sent: Wednesday, May 12, 2010 10:25 AM
> >>>>> >> >> To: Pharo-project at lists.gforge.inria.fr
> >>>>> >> >> Subject: Re: [Pharo-project] Remove developing with Pharo
> >>>>> >> >>
> >>>>> >> >>
> >>>>> >> >>
> >>>>> >> >> 2010/5/12 Andrei Stebakov <lispercat at gmail.com>
> >>>>> >> >>>
> >>>>> >> >>> Currently I have my web applications running on a Ubuntu box
> to
> >>>>> >> >>> which
> >>>>> >> >>> I
> >>>>> >> >>> connect from a remote WinXP system via ssh.
> >>>>> >> >>
> >>>>> >> >> I guess the subject should be "remote" instead of "remove"  ?
> ;)
> >>>>> >> >>
> >>>>> >> >> Sorry I ask but why not you cannot just develop in your pc and
> >>>>> >> >> with scp
> >>>>> >> >> or
> >>>>> >> >> similar you copy the .image and .image file trough ssh to the
> >>>>> >> >> server ?
> >>>>> >> >>
> >>>>> >> >>>
> >>>>> >> >>> My current set of tools is Lisp/Slime/Emacs.
> >>>>> >> >>> I tried to launch Pharo with X11 forwarding using X-server on
> >>>>> >> >>> WinXP,
> >>>>> >> >>> but
> >>>>> >> >>> it painfully slow (the Pharo main windows redraws in a few
> >>>>> >> >>> minutes).
> >>>>> >> >>> I am really thinking developing some web app using
> Pharo/Seaside
> >>>>> >> >>> (I am
> >>>>> >> >>> liking the language more and more!) but I need to know to do
> it
> >>>>> >> >>> remotely via
> >>>>> >> >>> a secure connection.
> >>>>> >> >>
> >>>>> >> >>
> >>>>> >> >> Yes, there is an implementation of the VNC protocolol. You can
> >>>>> >> >> take a
> >>>>> >> >> Pharo image and load a VNC server. Then, you can connect to any
> >>>>> >> >> VNC
> >>>>> >> >> client
> >>>>> >> >> and what you see is the image....Then you can do whatever you
> >>>>> >> >> want. I
> >>>>> >> >> don't
> >>>>> >> >> know the performance, thus.
> >>>>> >> >>
> >>>>> >> >> That package is called RFB (remote something buffer)
> >>>>> >> >>
> >>>>> >> >>
> http://book.seaside.st/book/advanced/deployment/maintaining/vnc
> >>>>> >> >>
> >>>>> >> >> To install it:
> >>>>> >> >>
> >>>>> >> >> Gofer it
> >>>>> >> >>  squeaksource: 'MetacelloRepository';
> >>>>> >> >>  package: 'ConfigurationOfRFB';
> >>>>> >> >>  load.
> >>>>> >> >> ((Smalltalk at: #ConfigurationOfRFB) project perform:
> >>>>> >> >> #latestVersion)
> >>>>> >> >> load.
> >>>>> >> >>
> >>>>> >> >>
> >>>>> >> >> Cheers
> >>>>> >> >>
> >>>>> >> >> Mariano
> >>>>> >> >>
> >>>>> >> >>
> >>>>> >> >>>
> >>>>> >> >>> Thank you,
> >>>>> >> >>> Andrei
> >>>>> >> >>>
> >>>>> >> >>> _______________________________________________
> >>>>> >> >>> Pharo-project mailing list
> >>>>> >> >>> Pharo-project at lists.gforge.inria.fr
> >>>>> >> >>>
> >>>>> >> >>>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>>> >> >>
> >>>>> >> >>
> >>>>> >> >> _______________________________________________
> >>>>> >> >> Pharo-project mailing list
> >>>>> >> >> Pharo-project at lists.gforge.inria.fr
> >>>>> >> >>
> >>>>> >> >>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>>> >> >
> >>>>> >> >
> >>>>> >> > _______________________________________________
> >>>>> >> > Pharo-project mailing list
> >>>>> >> > Pharo-project at lists.gforge.inria.fr
> >>>>> >> >
> >>>>> >> >
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>>> >> >
> >>>>> >>
> >>>>> >>
> >>>>> >>
> >>>>> >> --
> >>>>> >> Best regards,
> >>>>> >> Igor Stasenko AKA sig.
> >>>>> >>
> >>>>> >> _______________________________________________
> >>>>> >> Pharo-project mailing list
> >>>>> >> Pharo-project at lists.gforge.inria.fr
> >>>>> >>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>>> >
> >>>>> > _______________________________________________
> >>>>> > Pharo-project mailing list
> >>>>> > Pharo-project at lists.gforge.inria.fr
> >>>>> >
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>>> >
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Best regards,
> >>>>> Igor Stasenko AKA sig.
> >>>>>
> >>>>> _______________________________________________
> >>>>> Pharo-project mailing list
> >>>>> Pharo-project at lists.gforge.inria.fr
> >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>>
> >>>> _______________________________________________
> >>>> Pharo-project mailing list
> >>>> Pharo-project at lists.gforge.inria.fr
> >>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>
> >>>
> >>> _______________________________________________
> >>> Pharo-project mailing list
> >>> Pharo-project at lists.gforge.inria.fr
> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project at lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
>
>
>
> --
> -JT
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20100517/1590404e/attachment-0001.html>


More information about the Pharo-dev mailing list