Map KeyEvents to proper char in all locales

I am trying to create a mini VI clone. As such, I need to intercept KeyEvents and take actions based on those keys. So for instance, when a user hits the '@' key (eg SHIFT-2 on the US keyboard) I want to have a '@' printed to the display when I am in Insert mode. This is easy on the US keyboard because I know that a SHIFTED KeyEvent.VK_2 should produce a '@'. Unfortunately this only works on the US keyboard layout. If I choose the Spanish keyboard layout the SHIFT-2 key produces a '!' There are many other examples of this disjoint.
So how do I get a mapping of the keys so I can identify from a KeyListener what key they actually pressed in their locale? (eg if the spanish user pressed his SHIFT-2 he expects a '!' not a '@' but the KeyEvent I get is a SHIFTED VK_2 and I have no idea what keystroke he intended that to be.)

I'm having the same problem!
I'm using the javascript API and calling RH_ShowHelp(0, helpPath + "/CSH/iSupportHelp.htm>SecondaryWindow", HH_HELP_CONTEXT, mapId);
Which generates this url and opens it in a new window: http://localhost/rep/Help/CSH/iSupportHelp.htm#<id=16>>wnd=SecondaryWindow
The new window then does more script processing and ends up with this url: http://localhost/rep/help/CSH/iSupportHelp.htm#<id=16%3E%3Ewnd%3DSecondaryWindow&t=Overvie w%2FiSupport_Overview.htm
It doesnt matter what mapId I pass in, I always get the default topic.
We just upgraded from RH10 to RH11 and we're trying to use the new responsive html5 output.

Similar Messages

  • I have  a iphn 3gs running on ios 6.1.3  i buy it frm my frnd ..........n it has one prblm that safari mail n maps does't wrk it crashes all time when i try to run these ......plzzz help me what shoud i do ......i have tried reset many times bt it does't

    i have  a iphn 3gs running on ios 6.1.3  i buy it frm my frnd ..........n it has one prblm that safari mail n maps does't wrk it crashes all time when i try to run these ......plzzz help me what shoud i do ......i have tried reset many times bt it does't

    use a computer and restore the phone http://support.apple.com/kb/ht1414

  • Expire all local cache entries at specific time of day

    Hi,
    We have a need for expiring all local cache entries at specific time(s) of the day (all days, like a crontab).
    Is it possible thru Coherence config ?
    Thanx,

    Hi,
    AFAIK there is no out of the box solution but certainly you can use Coherence API along with quartz to develop a simple class that can be triggered to remove all the entries from the cache at certain time. You can also define your custom cache factory configuration and an example is available here http://sites.google.com/site/miscellaneouscomponents/Home/time-service-for-oracle-coherence
    Hope this helps!
    Cheers,
    NJ

  • My iOS remains the same as whats inside my iPhone I bought it 18months ago, which is version 4.2.1, I am told by an Apple shop that its too old to do a proper update, unless all my data will have to be erased !! is this true ?  if so, how to get round it

    my iOS remains the same as whats inside my iPhone I bought it 18months ago, which is version 4.2.1, I am told by an Apple shop that its too old to do a proper update, unless all my data will have to be erased !! is this true ?  if so, how to get round it ?    Chuck

    Be sure to do a backup before updating as protection. Photos should
    be synced with your computer, music should be in iTunes, documents
    should be backed up on your computer as should contacts in whatever
    program you use on your computer. You should already have backups
    of your important information to prevent loss in case of theft, crash,
    physical damage. The question is not if your hard drive will crash but
    when, and you iPhone is not a backup device nor fit for the only
    source of any document, picture, music, movie, contact or otherwise
    irreplaceable information.

  • DiskSpace Script not capturing all local disks - Help Please

    Hello,
    I am using a script to capture disk size for all local disks, however it is reporting incorrect disk sizes (example C drive reported as 30GB however it is actually50GB). It is also not reporting all local disks. Any help with below?
    $erroractionpreference = “SilentlyContinue”
    $a = New-Object -comobject Excel.Application
    $a.visible = $True
    $b = $a.Workbooks.Add()
    $c = $b.Worksheets.Item(1)
    $c.Cells.Item(1,1) = “Machine Name”
    $c.Cells.Item(1,2) = “Drive”
    $c.Cells.Item(1,3) = “Total size (GB)”
    $c.Cells.Item(1,4) = “Free Space (GB)”
    $c.Cells.Item(1,5) = “Free Space (%)”
    $c.cells.item(1,6) = "Name "
    $d = $c.UsedRange
    $d.Interior.ColorIndex = 19
    $d.Font.ColorIndex = 11
    $d.Font.Bold = $True
    $d.EntireColumn.AutoFit()
    $intRow = 2
    $colComputers = get-content "C:\Servers.txt"
    foreach ($strComputer in $colComputers)
    $colDisks = get-wmiobject Win32_LogicalDisk -computername $strComputer -Filter “DriveType = 3"
    foreach ($objdisk in $colDisks)
    $c.Cells.Item($intRow, 1) = $strComputer.ToUpper()
    $c.Cells.Item($intRow, 2) = $objDisk.DeviceID
    $c.Cells.Item($intRow, 3) = “{0:N0}” -f ($objDisk.Size/1GB)
    $c.Cells.Item($intRow, 4) = “{0:N0}” -f ($objDisk.FreeSpace/1GB)
    $c.Cells.Item($intRow, 5) = “{0:P0}” -f ([double]$objDisk.FreeSpace/[double]$objDisk.Size)
    $c.cells.item($introw, 6) = $objdisk.volumename
    $intRow = $intRow + 1
    $d.EntireColumn.AutoFit()
    cls

    I've just tested your script as is, and it worked perfectly.
    Are you sure those drives are regular?
    Have you tried just printing the results in the console instead of Excel? there might be some setting there that changes what you see.
    Also, have you considered the conversion between bytes and GB are misleading?

  • I had a very bad experience with apple maps. It is not at all useful. How such application is developed by apple I dont undersatand. Pl help me how to remove it from my Iphone. Vijay from Hyderabad. India

    I had a very bad experience with apple maps. It is not at all useful. How such application is developed by apple I dont undersatand. Pl help me how to remove it from my Iphone. Vijay from Hyderabad. India

    Tell Apple.
    http://www.apple.com/feedback/iphone.html

  • After automatic update and restart of Nightly , you can not see the chars and all text of system

    I use windows 7 64 bit service pack 1 full update - hp pavilion dv7 pc - intel core i5-2450M 2.5 GHz - 6 GB RAM - firefox-32.0a1.en-US.win64-x86_64.installer - When you start the update automatic, after restart of the Nightly upgrade, I can not see most all of the charas and all text

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • With itunes match live on my iOS devices, can I now remove all local music files from my PC to free up space?  There's no need to keep it if it will always be in the cloud.  Right?

    With itunes match live on my iOS devices, can I now remove all local music files from my PC to free up space?  There's no need to keep it if it will always be in the cloud.  Right?

    With itunes match live on my iOS devices, can I now remove all local music files from my PC to free up space?  There's no need to keep it if it will always be in the cloud.  Right?

  • Cross domain load?  It looks all local to me!

    So I'm getting hefty security issues to pop up. This flash
    .exe file runs on its own, but pulls from other servers on the
    network. Its for some internal communications.
    My main .swf (my exe) loads in a local file. the local file
    loads in a flashpaper document. My doc crashes, or I get this...
    *** Security Sandbox Violation ***
    SecurityDomain '
    http://devs/pl/PPT/PPTtest2.swf'
    tried to access incompatible context
    'file:///C|/Documents%20and%20Settings/jmilan/Desktop/pl%5FII%5FFLAs%5Fv2/PPT.swf'
    *** Security Sandbox Violation ***
    SecurityDomain '
    http://devs/pl/PPT/PPTtest2.swf'
    tried to access incompatible context
    'file:///C|/Documents%20and%20Settings/jmilan/Desktop/pl%5FII%5FFLAs%5Fv2/PPT.swf'
    *** Security Sandbox Violation ***
    (it goes on forever)
    I've been looking through tutorials, and trying various
    things, but I feel that maybe I know too little about this to be
    making an accurate judgement (none of them are "really working").
    I tried the System.security.allowDomain, but I wonder why i
    need to do this. I use http: because its all local network, but
    users don't always have permission-- so I haven't been using the
    direct server names.
    Any ideas?

    Because the swf file is on a server (
    http://devs), it will treat local files as
    a different domain.
    I have been trying to do the same thing, but with a local XML
    file. I never was able to get it working myself, but you can see
    some of the steps you might try here:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=194&threadid=1229298

  • Are all local variables indexed consecutively?

    Dear All,
    In JVM, each frame contains an array of variables addressed by indexing. I am wondering if all local variables must be stored consecutively in the array.
    For example, is it possible for this scenario to happen:
    The length of the local variable array is 10, and a compiler translates 3 local variables of type Object to be located at index 3, 5, and 8 respectively (assuming no parameters in their enclosing method)?
    The reason I need to know this is because I am using ASM to transform bytecode and need to introduce my own local variables. If all local variables' indices must be consecutive, I can get the max. number of locals (3 in the above example) of the original method and give my new locals indices starting from 4, ... But if they are not consecutively indexed, I have to use other ways.
    Your help is much appreciated,
    -- Sunny

    Therefor my other question is: does max_locals
    represent the length of the local variable array, or
    does it mean the number of local variables that are
    actually exist in the array? Thanks again.It gives the number of local variables in the local variable array but long and double are each considered to reserve two local variables and contribute two units toward the max_locals value.

  • How to map C/C++ unsigned char[] to Java

    hi all,
    I'm using w2k OS.
    Given that C code:
    BYTE *fBuf;
    fBuf = new BYTE[256];
    Is there anyone of you know how to pass/map the unsigned char to java?
    regards
    elvis

    why did you classify this as byte? how do you did
    that?They probably guessed. It is probably a good guess.
    You can use the following to determine the size exactly.
    First determine what "BYTE" is exactly. You will have to find that in an include file somewhere. Your IDE might do this for you automatically.
    So, for example you might find the following...
    typedef unsigned char BYTE;
    So then you would know that the type is actually "unsigned char".
    Once you have this information you then look in limits.h (this is an ANSI C/C++ file so it will exist somewhere.) In it you find the "..._BIT" that corresponds to the type. For the type given above you would be looking for "CHAR_BIT" (because unsigned and signed chars are the same size.)
    On my system that would be...
    #define CHAR_BIT 8
    That tells you that there are 8 bits in the BYTE value. So now you need to find a java type that also has at least 8 bits. And the java "byte" value does.

  • Time Machine : Deleting all local backups of one of several computers leaves files behind

    Hi,
    I'm in the process of transitioning my Time Machine setup. For the moment, I have a local Time Machine volume backing up three Macs to the same Backups.bakupdb folder (I had set that up two years ago before reading Pondini's Time Machine FAQ).
    Basically what I want to achieve is have a partition per computer that I'm backing up. So what I did was I partitioned a second external drive into 3 partitions, and I copied my TM partition to each of these 3 temporary partitions. I did that using Disk Utility's Restore tab. My plan was then to delete the backups of two computers off each temporary partition (per question 12 of Pondini's FAQ), to get 1 computer per partition on the temporary drive, then partition my main external drive in 3 and copy back each temporary partition to the main drive.
    (The second external drive is lent, I can't just switch to using it.)
    From what I read on question 12 of Pondini's FAQ and this reply by Pondini to a similar thread, I thought that deleting all backups of one computer via the Time Machine interface would leave me with an empty folder for that computer under Backups.backupdb, and that I could just delete this folder via the Finder. This is * not * what happened.
    After all backups for the first computer I wanted to delete off the first temporary partition are deleted, the folder for this Mac is not empty ; it still contains all the 15 dates folder of the individual backups. What's more, these date folders aren't empty either. The first 12 of them I deleted (the most recent ones) each contains a Macintosh HD folder, under which remains a System/Library/CoreServices hierarchy. The (locked) boot.efi file is alone in the CoreServices folder. The last 3 dates I deleted (the oldest backups), however, still contain an even bigger hierarchy. Applications, Library, System and Users exists in all three, with a lot of subfolders and lots of files, totalizing around 2 GB of data. Most of the files are locked, even logged into root (very diverse files : plists, dylibs, rtf files, fonts, etc) but some are not (apps, and other diverse files : colorsync profiles, dashboard widgets, bundles...). Seems like Time Machine could not delete everything. (Why ?)
    Note that I deleted the backups for one computer using that same computer, first using an Admin account for the first 3 or 4 dates and then using the root account to avoid having to always authenticate. (I didn't think it would create a problem... maybe it has?)
    When I go back into Time Machine for this computer, no backups remains. It's like if Time Machine doesn't see the data that it could't delete... This is all very strange.
    My question is : can I delete these leftover files and folders bia the Finder without fear it's going to break the backups for the other computers on the same partition ? If not, what should I do ?
    Sorry for the long post, but I hope I was clear...

    Phil_6379 wrote:
    After all backups for the first computer I wanted to delete off the first temporary partition are deleted, the folder for this Mac is not empty ; it still contains all the 15 dates folder of the individual backups.
    It shouldn't; when you delete a backup, the date-stamped backup folder and all it's contents should be deleted.
    Most likely, there was some sort of corruption, either on the original or the copies, that left some pieces.  On occasion, that will happen even when Time Machine is doing it's normal "thinning:" there will be a message in the log about finding a "partially-deleted" backup, and trying again.  Sometimes the second try will do it, sometimes not.  In that case, you might be able to delete it after running Repair Disk;  if not, sometimes you can delete it via the Finder.
    Under Lion only, deleting backups via the Finder is supported by Apple;  you'll get a message about how it can't be undone.  But it doesn't always work, so is recommended only as a last resort.  Holding the Option key while deleting may help with the locked files.
    If you can't get rid of the detritus, however, I'd recommend erasing the affected partition(s) and starting over.  I'd not continue backing-up to a set of suspect backups -- the way they're all linked together, there's just no telling whether you could do a full system restore successfully.
    In addition, as Linc says, even if you have some things off-site, I'd strongly recommend getting another external HD for "secondary" onsite backups.  Externals are getting much less expensive all the time, and if there's a problem with the old one (either the drive itself or the backups on it), you'll be in a large pickle.  Plus, of course, drives don't last forever.  See #27 in Time Machine - Frequently Asked Questions for some suggestions.

  • Mapped network drive appears empty for all users on one computer

    We have several network drives mapped via a batch file at log in.  On one particular Windows 7 computer one of these drives maps but appears empty.  Manually mapping to the drive and assigning a different drive letter makes no difference but manually
    mapping by entering the IP address allows viewing and accessing the contents.  
    The malfunctioning network drive is also using Hosted BranchCache.  The following settings are set in local group policy:
    (\Network\BranchCache)
    Turn on BrancheCache - Enabled
    Set BranchCache Hosted Cache Mode - Enabled - <servername>
    Configure BranchCache for network files - Enabled - 0
    The servers involved are running Windows Server 2012.
    I am at a loss here and will appreciate any suggestions. 
    ~JuniorG33k "Why is this thus? What is the reason for this thusness?"

    With Offline Files disabled the contents of the mapped drive are visible and accessible.  Unfortunately, Offline Files must be enabled for BranchCache to work.  
    Looking in the Event Viewer at “Applications and Services Logs\Microsoft\Windows\OfflineFiles\Operational” I can see that the mapped network drive transitioned to slow link during high latency but has never transitioned back. 
    ~JuniorG33k "Why is this thus? What is the reason for this thusness?"

  • Where is the map of the whole world showing ALL my geotagged photos in the new Photos app?

    After "upgrading" from iPhoto to Photos, I cannot call up the world map to locate where I took pictures. Is this feature gone?
    It used to be if you clicked on "places" in the iPhoto sidebar you got this map. All the photos in one's library were represented by red pins. Since I organize my photos by location more than anything else feature such as date, this is a critical feature for me. Is it gone or has it been buried somewhere else in the program. (And no, clicking on the location data in each of the "events" is not sufficient because it only shows the photos in that event.)
    Also, how do you geotag data after you have taken a photo if it was geotagged in contemporaneously?

    There is no upgrade - Photos is a new and totally different application - it does not have a map view and currently does not have any ability to add or modify locations - iPhoto still exists as it was before
    Tell Apple what you want
    In the meantime you have the option of continuing to use iPhoto (or Aperture) as before - they still work fine and will continue to until come OS upgrade breaks  them - maybe with enough customer input Apple will even agree  to continue to support them - worth a try
    LN

  • Port Mapping Not Working...at all!

    I've been tyring to get port mapping working correctly since I got the AEBS a few months ago. I've scoured all over these forums and the entire internet and found not a single suitable answer. I have my macbook pro setup up wirelessly all works fine except port mapping.
    My macbook is setup up manually with a static IP of 10.0.1.2 and lets say i want to map the port 41952. In the port mapping setup assistant on the base station I leave the service setting on "choose a service", public UDP 41952, public TCP 41952, IP address 10.0.1.2, private UDP and TCP 41952. Then I update and router resets... then I use the network utility to check the ports and they're not showing as open, I've used various internet websites as well and the port comes up closed. What on earth am I not doing? Someone please help! or let me know if you are having the problem as well.
    Thank you for ANY help.

    You are not performing a valid test.
    No, Cable modem plugged into WAN port, the computer i'm trying to open ports on is using a wifi connection with the aebs.
    You can not test the AEBS to see if the ports are open from the LAN side of the AEBS. You must be on the internet (WAN) side of the AEBS to test to see if the port is open on the AEBS.
    ...the computer i'm trying to open ports on is using a wifi connection with the aebs.
    You aren't opening ports on the computer, you are opening ports on the AEBS.

Maybe you are looking for

  • Canon MP610 - MP Navigator EX will not open - crashes

    So I bought my MP610 yesterday, came home, unpacked and set it up, installed software and drivers - all I want to do is scan something important but MP Navigator EX refuses to open. I went to the Canon site, downloaded and installed latest drivers et

  • Nokia e66 doesn't work after failed update!

    Yea i was updating firmware and my phone restarted on the Ovi suit seed that it's normal but it didn't turn back on it just flashes the buttons and thats all few seconds later it turns of. Please help my!

  • Code analysis tool

    we have a cutomized application on oracle 10g(10.2.0.1),SUNOS.we are planning to upgrade the database from 10g to 11g and we are aware that this application will not work when migrating directly to11g.we would like to know whether there is any specif

  • 10.2.0.3 on RHEL 5.x (upgrading OS)

    Hi Friends, We have a database running on 10.2.0.3 version on RHEL 4. Now we got a request for upgrading only OS from RHEL 4 to RHEL 5.x. I would like to know if this is possible? means can we have 10.2.0.3 running on RHEL 5.x? Also, if compatible, w

  • Can I Delete an Unused Child ID From Family Sharing

    I need to get rid of a child ID from Family Sharing, but there's no Remove option for child IDs. Anyone know how I can get rid of it?