[Pharo-project] cog vm and copy/paste
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
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
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
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
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 <johnmci@smalltalkconsulting.com
:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- === === ===================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http:// www.smalltalkconsulting.com === === =====================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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 <johnmci@smalltalkconsulting.com>:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
2010/9/20 John M McIntosh <johnmci@smalltalkconsulting.com>
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 < johnmci@smalltalkconsulting.com>:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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 <johnmci@smalltalkconsulting.com> 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 <johnmci@smalltalkconsulting.com>:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
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
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: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Andreas Wacknitz [a.wacknitz@gmx.de] Sent: Sunday, September 19, 2010 8:43 AM To: Pharo-project@lists.gforge.inria.fr 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
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
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
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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
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.
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (6)
-
Andreas Wacknitz -
John M McIntosh -
Mariano Martinez Peck -
Norbert Hartl -
Schwab,Wilhelm K -
Stéphane Ducasse