Vesalia Amiga Future Archive
User
Username:

Password:

 Remember me



I forgot my password

Don't have an account yet?
You can register for FREE

» Home
» Mag Member
» News View
» News Tell
» News Setting
» Everywhere
 
Amiga Future
» Info
» Content List
» Article-Database
» Merchandising
» Shop
» Downloads
 
Community
» Forum
» Gallery
» Calendar
 
Knowledge
» Amiga Software
» Amiga Cheats
» Amiga FAQ
» Forum FAQ
» Links
 
Service
» Jobs
» Webmaster
» Advertising
» Contact/Imprint
» Privacy Policy

Searching

Advanced Search

Anzeigen
Bitte unterstützt uns durch Einkäufe bei Amazon:

Deutschland
Österreich
UK
France
Canada
Italia
Espana


Spenden
Donate
Amiga Future

Trying to emulate EDT editor with CED

 
Post new topicReply to topic Amiga Future Forum Index -> CygnusEd Support
View previous topic :: View next topic 
Author Message
Ned
Grade reingestolpert
Grade reingestolpert


Joined: 26 Jul 2006
Posts: 2
Location: Arlington, Texas USA

PostPosted: 26.07.2006 - 16:00    Post subject: Trying to emulate EDT editor with CED Reply with quote

On my A4000 with an earlier version of CygnusEd I successfully emulated the EDT editor which uses the numeric keypad for its editing functions.

I recently acquired CygnusEd version 5 for use on my uA1C. I am trying to configure it to also emulate the EDT editor. This editor uses the "num lock" key to assign alternate definitions to the rest of the keys on the numeric keypad. I cannot seem to figure out how to "disable" the normal function of the "num lock" key in order to get it to respond as I need it to. Has anyone else tried this or can give me some hints as to how I might go about doing this?
_________________
Thanks,
Ned
Back to top   PDF
View user's profile Send private message
olsen
CygnusEd Developer


Joined: 06 Jun 2006
Posts: 108


PostPosted: 26.07.2006 - 16:35    Post subject: Re: Trying to emulate EDT editor with CED Reply with quote

Ned wrote
On my A4000 with an earlier version of CygnusEd I successfully emulated the EDT editor which uses the numeric keypad for its editing functions.

I recently acquired CygnusEd version 5 for use on my uA1C. I am trying to configure it to also emulate the EDT editor. This editor uses the "num lock" key to assign alternate definitions to the rest of the keys on the numeric keypad. I cannot seem to figure out how to "disable" the normal function of the "num lock" key in order to get it to respond as I need it to. Has anyone else tried this or can give me some hints as to how I might go about doing this?


This is what you might call a "quirk" or bug in the OS4 treatment of the "num lock" key: unlike on OS 1.x through 3.x the "num lock" key changes the key scan codes produced by the numeric keypad. If the keyboard LED for the "num lock" option is lit, it produces different results than when the LED is not lit. I was unaware of these effects until very recently and I haven't found a workaround for this behaviour yet. This change in the treatment of the key has consequences for CygnusEd but was probably intended as an improvement. But since its implementation disregards proven and familiar practice in the treatment of the keyboard on the Amiga we now have a problem that's difficult to resolve.

Sorry, I think you didn't want to hear that I'll see if I can convince somebody on the OS4 development team that this particular change was not necessarily useful.
Back to top   PDF
View user's profile Send private message
Ned
Grade reingestolpert
Grade reingestolpert


Joined: 26 Jul 2006
Posts: 2
Location: Arlington, Texas USA

PostPosted: 27.07.2006 - 01:51    Post subject: Reply with quote

Thanks for the info.

Although I do not know the inner workings of CygnusEd, I have to wonder if this isn't something which could be solved internally. It seems to me that if the raw keyboard event of pressing the "num lock" key is in fact passed through, then it might be relatively easy to set some sort of flag within CygnuEd which would say to ignore the state of the "num lock" key and simply treat it just like any other key.
_________________
Thanks,
Ned
Back to top   PDF
View user's profile Send private message
olsen
CygnusEd Developer


Joined: 06 Jun 2006
Posts: 108


PostPosted: 01.08.2006 - 10:19    Post subject: Reply with quote

Ned wrote
Thanks for the info.

Although I do not know the inner workings of CygnusEd, I have to wonder if this isn't something which could be solved internally. It seems to me that if the raw keyboard event of pressing the "num lock" key is in fact passed through, then it might be relatively easy to set some sort of flag within CygnuEd which would say to ignore the state of the "num lock" key and simply treat it just like any other key.


The problem is that the state of the "num lock" key is not reported. Each keystroke event processed by CygnusEd contains a list of keys (shift, control, alt, etc.) and mouse buttons currently being held down. The list of active keys and buttons (called "qualifiers") is limited to 32, and they have already been taken. There is no "num lock" qualifier CygnusEd could consult and act accordingly
Back to top   PDF
View user's profile Send private message
Display posts from previous:   
Post new topicReply to topic Amiga Future Forum Index -> CygnusEd Support
All times are GMT + 1 Hour
Page 1 of 1

PDF


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group

'AFclean' Theme by Matthias Overloeper, based on 'AmigaFuture Deluxe' by Tristan Mangold