cog vm and copy/paste

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

cog vm and copy/paste

NorbertHartl
I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.

Any hints on this?

Thanks,

Norbert


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Stéphane Ducasse
I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.
>
> Any hints on this?

may be there something that changed again with the mac hst menu
have a look to see if you can reinitialize them.

Stef
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Andreas Wacknitz
In reply to this post by NorbertHartl
Hi Norbert,

Am 19.09.2010 um 14:23 schrieb Norbert Hartl:

I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.

Any hints on this?

you can alternatively use the newer VM's of John McIntosh (the latest is 5.8b10) or build newer Cog VM's from source (straightforward).
The newest revision is 2310. I don't have any copy & paste problems with neither of them.

Regards,
Andreas


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Andreas Wacknitz
In reply to this post by NorbertHartl

Am 19.09.2010 um 14:23 schrieb Norbert Hartl:

I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.

Any hints on this?

But dropping a text file into an 12142 image will give an error (see attached log file)...



Andreas

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

PharoDebug.log (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Stéphane Ducasse
thanks andreas.
Could you create a bug entry with all the relevant information.

Stef

On Sep 19, 2010, at 2:51 PM, Andreas Wacknitz wrote:

>
> Am 19.09.2010 um 14:23 schrieb Norbert Hartl:
>
>> I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.
>>
>> Any hints on this?
>
> But dropping a text file into an 12142 image will give an error (see attached log file)...
> <PharoDebug.log>
>
>
> Andreas
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

NorbertHartl
In reply to this post by Stéphane Ducasse

On 19.09.2010, at 14:25, Stéphane Ducasse wrote:

> I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.
>>
>> Any hints on this?
>
> may be there something that changed again with the mac hst menu
> have a look to see if you can reinitialize them.

Don't know exactly how. I checked the vm from John. It is working with keyboard shortcuts but the menus aren't active. Doing

HostSystemMenus default hostSystemProxy

gives me a debugger with

primGetMenuHandle: failed

I don't know enough to see what is going wrong here.

Norbert
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Schwab,Wilhelm K
In reply to this post by Andreas Wacknitz
Is your "straightforward" assessment based on John's work, or is it a general observation about Eliot's source?  I ask because there has been a lot of chatter about, so it seemed reasonable to assume it could be a lot of work; if not, that would be great news.


________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Andreas Wacknitz [[hidden email]]
Sent: Sunday, September 19, 2010 8:43 AM
To: [hidden email]
Subject: Re: [Pharo-project] cog vm and copy/paste

Hi Norbert,

Am 19.09.2010 um 14:23 schrieb Norbert Hartl:

I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz<http://www.mirandabanda.org/files/Cog/VM/VM.r2310/Cog.app.tgz>. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.

Any hints on this?

you can alternatively use the newer VM's of John McIntosh (the latest is 5.8b10) or build newer Cog VM's from source (straightforward).
The newest revision is 2310. I don't have any copy & paste problems with neither of them.

Regards,
Andreas


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Andreas Wacknitz

Am 19.09.2010 um 16:18 schrieb Schwab,Wilhelm K:

> Is your "straightforward" assessment based on John's work, or is it a general observation about Eliot's source?  I ask because there has been a lot of chatter about, so it seemed reasonable to assume it could be a lot of work; if not, that would be great news.
>
My comment was about building Cog on Mac. The biggest hurdle is to get the sources by means of subversion. Build instructions are included.
In the end you can build a VM by entering "mvm -A" in the macbuild folder. The only prerequisite is an Xcode installation.

Andreas
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Andreas Wacknitz
In reply to this post by Stéphane Ducasse

Am 19.09.2010 um 14:57 schrieb Stéphane Ducasse:

> thanks andreas.
> Could you create a bug entry with all the relevant information.
>
Done (issue #2980). I missed to remove a part of the default instructions. Maybe some kind soul could remove it.

Following the instructions of the issue tracker revealed another bug: MNU in SmalltalkEditor>>handleDisabledKey:
I will create another issue.

Andreas



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Andreas Wacknitz

Am 19.09.2010 um 18:40 schrieb Andreas Wacknitz:

>
> Am 19.09.2010 um 14:57 schrieb Stéphane Ducasse:
>
>> thanks andreas.
>> Could you create a bug entry with all the relevant information.
>>
> Done (issue #2980). I missed to remove a part of the default instructions. Maybe some kind soul could remove it.
>
> Following the instructions of the issue tracker revealed another bug: MNU in SmalltalkEditor>>handleDisabledKey:
> I will create another issue.
>
> Andreas
Done with issue #2981.


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Stéphane Ducasse
tx

On Sep 19, 2010, at 6:46 PM, Andreas Wacknitz wrote:

>
> Am 19.09.2010 um 18:40 schrieb Andreas Wacknitz:
>
>>
>> Am 19.09.2010 um 14:57 schrieb Stéphane Ducasse:
>>
>>> thanks andreas.
>>> Could you create a bug entry with all the relevant information.
>>>
>> Done (issue #2980). I missed to remove a part of the default instructions. Maybe some kind soul could remove it.
>>
>> Following the instructions of the issue tracker revealed another bug: MNU in SmalltalkEditor>>handleDisabledKey:
>> I will create another issue.
>>
>> Andreas
> Done with issue #2981.
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

johnmci
In reply to this post by NorbertHartl
There is no mac menu plugin, therefore no interface to the mac menu system. So instead of a AppleCmd-C being recognized as a menu event and turned into a synthetic character event for use by the event queue in the smalltalk as a AppleCmd-C,  we see the AppleCmd-C in the Objective-C keyboard handler and push that up as a character event.    

On 2010-09-19, at 6:37 AM, Norbert Hartl wrote:

>
> On 19.09.2010, at 14:25, Stéphane Ducasse wrote:
>
>> I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.
>>>
>>> Any hints on this?
>>
>> may be there something that changed again with the mac hst menu
>> have a look to see if you can reinitialize them.
>
> Don't know exactly how. I checked the vm from John. It is working with keyboard shortcuts but the menus aren't active. Doing
>
> HostSystemMenus default hostSystemProxy
>
> gives me a debugger with
>
> primGetMenuHandle: failed
>
> I don't know enough to see what is going wrong here.
>
> Norbert
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

NorbertHartl
Thanks John,

good to know. Would it be easy to remove the menu if there is no  
native handling available?

Norbert



Am 20.09.2010 um 06:32 schrieb John M McIntosh <[hidden email]
 >:

> There is no mac menu plugin, therefore no interface to the mac menu  
> system. So instead of a AppleCmd-C being recognized as a menu event  
> and turned into a synthetic character event for use by the event  
> queue in the smalltalk as a AppleCmd-C,  we see the AppleCmd-C in  
> the Objective-C keyboard handler and push that up as a character  
> event.
>
> On 2010-09-19, at 6:37 AM, Norbert Hartl wrote:
>
>>
>> On 19.09.2010, at 14:25, Stéphane Ducasse wrote:
>>
>>> I started today using cog vm. I just downloaded the ones from  
>>> Eliots site: Cog.app.tgz. I'm using it along with a 12142 core  
>>> image. With this combination I don't have copy&paste. The menu is  
>>> there but items are greyed out. Keyboard shortcuts don't work as  
>>> well.
>>>>
>>>> Any hints on this?
>>>
>>> may be there something that changed again with the mac hst menu
>>> have a look to see if you can reinitialize them.
>>
>> Don't know exactly how. I checked the vm from John. It is working  
>> with keyboard shortcuts but the menus aren't active. Doing
>>
>> HostSystemMenus default hostSystemProxy
>>
>> gives me a debugger with
>>
>> primGetMenuHandle: failed
>>
>> I don't know enough to see what is going wrong here.
>>
>> Norbert
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> --
> ===
> ===
> =====================================================================
> John M. McIntosh <[hidden email]>   Twitter:  
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> ===
> ===
> =====================================================================
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

johnmci
No, since maybe the menu handling goes back in some day.

On 2010-09-20, at 1:13 AM, Norbert Hartl wrote:

> Thanks John,
>
> good to know. Would it be easy to remove the menu if there is no native handling available?
>
> Norbert
>
>
>
> Am 20.09.2010 um 06:32 schrieb John M McIntosh <[hidden email]>:
>
>> There is no mac menu plugin, therefore no interface to the mac menu system. So instead of a AppleCmd-C being recognized as a menu event and turned into a synthetic character event for use by the event queue in the smalltalk as a AppleCmd-C,  we see the AppleCmd-C in the Objective-C keyboard handler and push that up as a character event.
>>
>> On 2010-09-19, at 6:37 AM, Norbert Hartl wrote:
>>
>>>
>>> On 19.09.2010, at 14:25, Stéphane Ducasse wrote:
>>>
>>>> I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.
>>>>>
>>>>> Any hints on this?
>>>>
>>>> may be there something that changed again with the mac hst menu
>>>> have a look to see if you can reinitialize them.
>>>
>>> Don't know exactly how. I checked the vm from John. It is working with keyboard shortcuts but the menus aren't active. Doing
>>>
>>> HostSystemMenus default hostSystemProxy
>>>
>>> gives me a debugger with
>>>
>>> primGetMenuHandle: failed
>>>
>>> I don't know enough to see what is going wrong here.
>>>
>>> Norbert
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> --
>> ===========================================================================
>> John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> ===========================================================================
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

Mariano Martinez Peck


2010/9/20 John M McIntosh <[hidden email]>
No, since maybe the menu handling goes back in some day.


But the problem is because of CogVM or this has nothing to do?  Sorry for my ignorance.
 
On 2010-09-20, at 1:13 AM, Norbert Hartl wrote:

> Thanks John,
>
> good to know. Would it be easy to remove the menu if there is no native handling available?
>
> Norbert
>
>
>
> Am 20.09.2010 um 06:32 schrieb John M McIntosh <[hidden email]>:
>
>> There is no mac menu plugin, therefore no interface to the mac menu system. So instead of a AppleCmd-C being recognized as a menu event and turned into a synthetic character event for use by the event queue in the smalltalk as a AppleCmd-C,  we see the AppleCmd-C in the Objective-C keyboard handler and push that up as a character event.
>>
>> On 2010-09-19, at 6:37 AM, Norbert Hartl wrote:
>>
>>>
>>> On 19.09.2010, at 14:25, Stéphane Ducasse wrote:
>>>
>>>> I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.
>>>>>
>>>>> Any hints on this?
>>>>
>>>> may be there something that changed again with the mac hst menu
>>>> have a look to see if you can reinitialize them.
>>>
>>> Don't know exactly how. I checked the vm from John. It is working with keyboard shortcuts but the menus aren't active. Doing
>>>
>>> HostSystemMenus default hostSystemProxy
>>>
>>> gives me a debugger with
>>>
>>> primGetMenuHandle: failed
>>>
>>> I don't know enough to see what is going wrong here.
>>>
>>> Norbert
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> --
>> ===========================================================================
>> John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> ===========================================================================
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: cog vm and copy/paste

johnmci
The mac menu plugin was developed for os-9 and ported to os-x and uses the Carbon 1984 era api. 
For the V5.x series VM it was completely rewritten in Cocoa so it requires a new plugin that understands the Cocoa Menu API. 
That or use the Objective-C bridge...

On 2010-09-20, at 7:30 AM, Mariano Martinez Peck wrote:



2010/9/20 John M McIntosh <[hidden email]>
No, since maybe the menu handling goes back in some day.


But the problem is because of CogVM or this has nothing to do?  Sorry for my ignorance.
 
On 2010-09-20, at 1:13 AM, Norbert Hartl wrote:

> Thanks John,
>
> good to know. Would it be easy to remove the menu if there is no native handling available?
>
> Norbert
>
>
>
> Am 20.09.2010 um 06:32 schrieb John M McIntosh <[hidden email]>:
>
>> There is no mac menu plugin, therefore no interface to the mac menu system. So instead of a AppleCmd-C being recognized as a menu event and turned into a synthetic character event for use by the event queue in the smalltalk as a AppleCmd-C,  we see the AppleCmd-C in the Objective-C keyboard handler and push that up as a character event.
>>
>> On 2010-09-19, at 6:37 AM, Norbert Hartl wrote:
>>
>>>
>>> On 19.09.2010, at 14:25, Stéphane Ducasse wrote:
>>>
>>>> I started today using cog vm. I just downloaded the ones from Eliots site: Cog.app.tgz. I'm using it along with a 12142 core image. With this combination I don't have copy&paste. The menu is there but items are greyed out. Keyboard shortcuts don't work as well.
>>>>>
>>>>> Any hints on this?
>>>>
>>>> may be there something that changed again with the mac hst menu
>>>> have a look to see if you can reinitialize them.
>>>
>>> Don't know exactly how. I checked the vm from John. It is working with keyboard shortcuts but the menus aren't active. Doing
>>>
>>> HostSystemMenus default hostSystemProxy
>>>
>>> gives me a debugger with
>>>
>>> primGetMenuHandle: failed
>>>
>>> I don't know enough to see what is going wrong here.
>>>
>>> Norbert
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> --
>> ===========================================================================
>> John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> ===========================================================================
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

smime.p7s (5K) Download Attachment