Mod4 as escape key in screen?

I was wondering whether and how the C-a combination in screen could be replaced by the "windows" key

I have two 8900 curves on my desk.
On one I do notice the escape key seems to have a "less deeper" push (doesn't travel as far as the Menu key).
On the other, they feel to be about the same.
So... I would say that is fairly normal.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code

Similar Messages

  • Remap Caps Lock as gnu screen escape key

    anyone know how to do this?
    currently ive got Caps Lock remapped to some keycode in /usr/share/X11/XKeysymDB
    i want to use it as the escape key for screen.
    adding it to .screenrc doesnt work.
    i was thinking that a macro or something that can just send C-a to screen when i push caps lock might work...?
    anyone have any thoughts?

    Look into loadkeys from the kbd package. I use it to exchange Escape/Caps_Lock outside of X.

  • Using "Window" (Super_L) key as escape in GNU Screen

    I've been trying to map the Windows key (to the left of the space bar) to be the escape key in GNU Screen (as opposed to ^A) with no luck. xev gives me that it generates keycode 133 and its keysym is "Super_L" so its definitely recognized by the system, but I don't know what I can write in my .screenrc to be able to use it as an escape key. I've tried googling how to do it, but the solution another person found didn't work for me (use xmodmap to map keycode 133 to something else - like F13, and then get the literal value in vim by pressing ctrl+v and the key (it generated ^[[3~ or something similar) and then putting that in the .screenrc file).
    Has anyone else solved this?

    I believe you can use the xmodmap method, although it may cause you some problems.  Try this:
    $ xmodmap -e "keycode 133 = F19"
    then put the following line in your .screenrc:
    bindkey -k F9 command
    Note the difference between using 'F19' for xmodmap and using 'F9' in the bindkey command.  This is due to bindkey using the termcap database for specifing keys.  The main problem here, as far as I can tell, is that the termcap database doesn't have any notion of the "Super_L" or "Super_R" keys, thus you have to do this strange xmodmap assignment of keycode 133 to some key that bindkey can recognize.  This will work even if your keyboard doesn't have an F19 key as my example shows.  Of course, you don't have to use function key F19; you can use any key on your keyboard.  The important thing to remember is that the bindkey command in your .screenrc file uses the termcap database (see man termcap) to determine what key to use, and the xmodmap command uses some other mechanism. You have to understand how to specify the keys for each case.
    Other possibilities:
    xmodmap -e "keycode 133 =  F1"  <==>  bindkey -k k1 command
    xmodmap -e "keycode 133 =  F2"  <==>  bindkey -k k2 command
    xmodmap -e "keycode 133 =  F3"  <==>  bindkey -k k3 command
    xmodmap -e "keycode 133 =  F9"  <==>  bindkey -k k9 command
    xmodmap -e "keycode 133 = F10"  <==>  bindkey -k k; command
    xmodmap -e "keycode 133 = F11"  <==>  bindkey -k F1 command
    etc.
    This could cause a problem if some other application you use (like your window manager or desktop environment) uses 'Super_L' for something.  I really don't understand exactly how all this works so I don't know how you could fix a conflict like that.
    Finally, when you remap 'keycode 133' to some other key, then pressing that key will now generate some character. Pressing the windows key when not in screen, at least on my system, caused a '~' to be printed.  I don't know how you would get rid of this.

  • Regarding closure of Help Screens on Escape Key.

    Hi
    I am using javax.help API to build help screens for my application.
    Everything is working fine now I have a requirement to dispose the help window on escape key.
    As soon as the help icon is clicked I am delegating the ActionEvent to CSH.DisplayHelpFromSource.
    Now I need the help window in my hand to add keylistener and dispose it on escape.
    Can anyone pleae help me out.
    Thanks In Advance
    Sharmila Tankala

    //  Handle escape key to close the dialog
    KeyStroke escapeKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0, false);
    Action escapeAction = new AbstractAction()
         public void actionPerformed(ActionEvent e)
               setVisible( false );
    getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(escapeKeyStroke, "ESCAPE");
    getRootPane().getActionMap().put("ESCAPE", escapeAction);

  • On iOS 5 for iPad, is there a home button key on the Apple Bluetooth Keyboard that will allow you to go to the home screen or multitask? Perhaps by pressing the escape key or something?

    On iOS 5 for iPad, is there a home button key on the Apple Bluetooth Keyboard that will allow you to go to the home screen or multitask? Perhaps by pressing the escape key or something?

    Sorry, but no one who would know can discuss unreleased software such as iOS 5 in these forums. We'll have to wait, probably for the official release, before such details will be known.
    Regards.

  • Escape key no longer functioning to back out of photos in Event view

    In iPhoto '09, when you drilled down to view a photo in Event view, you used to be able to use the Escape key to step back a level. With iPhoto '11, I have been unable to do this. Is there a setting I'm missing or something?

    I just figured out a great solution to this problem! The goal here is to remap the Escape key in iPhoto so that it functions like the Command-Left-Arrow, which currently has all the functions we wish Escape had. The instruction are fairly simple:
    Install KeyRemap4MacBook. It's a wonderful program that lets you take control of your keyboard. It's stable and powerful and quick and free.
    Follow these instructions which tell you how to add your own custom settings. (Skip steps 4 through 6, which just give you some example settings to add.)
    Edit private.xml so that it looks like the following (or at least contains the following "item", if you have other custom settings installed):
    <?xml version="1.0"?>
    <root>
      <item>
        <name>Escape to Command Left Arrow</name>
        <identifier>private.app_iphoto_escape_to_command_left_arrow</identifier>
        <only>IPHOTO</only>
        <autogen>--KeyToKey-- KeyCode::ESCAPE, KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_R</autogen>
      </item>
    </root>
    Finally, save private.xml, then click "ReloadXML" under the "Change Key" tab of the KeyRemap4MacBook preferance pane. Your new setting should appear at the top of the list. Enable it. Restart iPhoto if you feel like it (you probably won't need to). And now, in iPhoto, Escape should work as you want it to!
    NOTE: There is one downside I've discovered. You won't be able to get out of Slideshow mode using the Escape key anymore, as this was the one case where Escape originally functioned sensibly. Rather, you'll have to use your mouse to click the X button to escape. But Slideshow mode is terrible anyway. Just use full screen mode instead.

  • Escape key not working properly?

    Hello,
    I'm working on a Mac Pro at work and I've encountered an odd issue with the escape key. It doesn't work as I'd expect it to....i.e. when I have a full-screen Quicktime movie or DVD Player open, it doesn't shrink the window as all my other Macs do. Also, when I'm in Final Cut, if I'm using Capture Now to capture a tape, escape doesn't cancel out of it as one would expect. Instead, it appears that pressing Cmd + Esc or Shift + Esc will cancel the Capture. Also, CmdOptEsc works to Force Quit out of programs so I know the key itself is working, just not as I'd expect it to. Any suggestions? Thanks.

    I cleared the keyboard commands - reset them - escape performed ok the 1st time, but then the problem returned again.
    Does it repeat that each time you do it?
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, it will try to repair your Disk Directory while the spinning radian is happening, so let it go. Move this file to the Desktop & reboot.
    /Users/YourUsername/Library/Preferences/com.apple.symbolichotkeys.plist

  • Escape key stopped working in Lion (wired keyboard)

    I upgraded my 27" iMac to Lion a few weeks ago, and over the last week or so I've noticed that the Escape key does not work. At all.  I am using a wired apple  aluminum keyboard with number pad.
    My problem appears to be system-wide, as none of the usual things work.  I can't exit full-screen apps, cancel dialog boxes, or even get out of vi's insert mode in Terminal.  It's as if the escape key is dead
    I've checked that speech recognition is not turned on (and changed the default 'Esc' shortcut to something else just in case), and checked all the other keyboard shortcuts to make sure it's not mapped to something else.  When I try to create a new keyboard shortcut, for example ctrl+Esc, it appears as:  ⌃⎋
    and even the newly created shortcut doesn't work.
    Is this a bug in Lion?  I would love to have my Escape key back, if anyone has any suggestions.

    Thanks for the tips, I had already checked that Speech Recognition was turned off (and i changed the shortcut key for good measure).  I also tried restoring the default shortcuts in each category in the system preferences pane, still no luck.
    Then I randomly decided to reboot, and after that the Escape key started working normally again.  Strange behavior, and I'm not sure what program could have been eating the escape key, but I'm sure glad it's back. 

  • Escape Key Event in JTable

    I have a KeyPressed event method in a java file where I am using the F3 and Escape keys. I have a JTable in the java file with values in it. The user can select any row in the table and when you press F3 or Escape key some methods get called up which deselect the chosen rows in the table. This works fine with the F3 key but when I put the exact same code in the Escape key event, nothing happens.
    However when the focus goes off the JTable to another componement on the screen, pressing the Escape key now works. I want to have the Escape key working when the focus is on the table. Any suggestion please?

    thanks for you response but I am still a bit confused. When I press the Esc key whilst the focus is on the JTable nothing happens but when the focus is off the JTable, all the methods in the Esc event get called and the rows in the table get deselected.
    Is there any way of not having the JTable consuming the Esc key so the Esc key will work when focus is on the JTable.
    I have a key pressed method registered to the class (not the JTable). Say that my class is called 'xinternetDesktop', my code is this:
    public void xinternetDesktop_KeyPressed(java.awt.event.KeyEvent keyEvent) {
    int code = keyEvent.getKeyCode();
    switch (code) {
    case KeyEvent.VK_ESCAPE : /*Escape key*/
    resetListSelectionBidsAndOffers();
    break;
    case KeyEvent.VK_F3 : /*F3*/
    resetListSelectionBidsAndOffers();
    break;
    Could u give any suggestion please.
    Thank you

  • Bug: problems with the Escape key

    Hi all,
    In an attempt to get around real estate problems, I set my Dell 24" monitor in portrait mode. Logic 8 behaves as it should most of the time. However, there appears to be a problem with the Escape key. Most of the time, the Tools menu doesn't appear until you mouse out of the editing areas (eg into the menu area above the piano roll).
    Clearly, Logic should just take its resolution and screen dimensions from the OS but there appears to be a problem in extreme portrait mode.
    I'll report this but wanted to check that I'm not being an absolute and total plonker first. Anybody confirm this behaviour?
    Thanks!
    Pete

    that sounds like a memory issue. have you tried reorganizing memory?

  • Escape key won't work

    Sometimes the escape key on my MacBook Air doesn't work. Is there another way to back out of full screen applications?

    There is a diagonal double arrow in a blue rectangle located in the upper right corner of every full screen application. Hover your cursor in the upper right corner and click that double arrow.

  • Default behaviour of the Escape key while editing a cell in JTable??

    Hi all,
    i have a Jtable which get its data from an own model object which extends DefaultTableModel.
    If i overwrite the isCellEditable(row, col) method within the tablemodel object and set a specific column to editable, then i notice while editing a cell in that column that the default behaviour of the Escape key is that independet from what you have entered before in to the cell the editing stops and the cell gets the value it had before editing.
    This is the case for me even if i apply a custom editor to a column (one that extends DefaultCellEditor). It is just a JTextField that limits the number of digits a user can enter. Everything works fine. If the user edits the cell and presses ENTER or the "down arrow key" i can check what he has entered with the help of the getCellEditorValue() method. But if the user hits the ESC key after editing a cell this method is not invoked!!!
    My question is :
    is there any way to detect that the user cancels editing with the ESC-key.
    this is very important for me because if the user goes editing the cell i lock the related record in the database, if i cannot detect this it is locked till the application terminates.
    Thanks for any help in advance

    I try override the JTable editingCanceled() ==> does not work.
    I try the addCellEditorListener( CellEditorListener l ) ==> does not work.
    Finally, I try the addKeyListener ==> it works.
    Here is a quick demo. program:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    public class Test {
    public static void main(String[] args){
    JFrame f = new JFrame();
    String[] colName = {"a", "b"};
    String[][] rowData = {{"1", "2"}, {"3", "4"}};
    JTable table = new JTable(rowData, colName);
    JTextField t = new JTextField(10);
    t.setBackground(Color.red);
    t.addKeyListener(new KeyAdapter() {
    public void keyPressed(KeyEvent e) {
    if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
    // do what ever you want ex. un-lock table
    System.out.println("ESCAPE");
    DefaultCellEditor editor = new DefaultCellEditor(t);
    TableColumnModel colModel = table.getColumnModel();
    for (int i = colModel.getColumnCount()-1; i >= 0; i--) {
    colModel.getColumn(i).setCellEditor(editor);
    f.setContentPane(new JScrollPane(table));
    f.pack();
    f.setVisible(true);

  • My Escape key is not working

    Hi,
    I am Meena.
    I am doing a project using NetBeans and MS-Access.
    When I run my project a internal framed named login loaded on the jdesktoppane which in JFrame.
    So in the login internal frame i used two buttons one for Sign-in and another for sign out.
    So I combined the Sign-in button with Enter key and Sign-out button with Escape key by the following coding.
    I wrote the following coding in LoginInternalFrame->properties->enabled->advanced->Generate PreIntialization Code.
    Action EscFromLogin=new AbstractAction()
    public void actionPerformed(ActionEvent e)
        jButton2.doClick();
    Action OkFromLogin=new AbstractAction()
        public void actionPerformed(ActionEvent e)
           jButton1.doClick();
    getRootPane().getInputMap(jButton2.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE,0,false),"Esc_in_Login");
    getRootPane().getActionMap().put("Esc_in_Login",EscFromLogin);
    getRootPane().getInputMap(jButton1.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,0,false),"Ok_in_Login");
    getRootPane().getActionMap().put("Ok_in_Login",OkFromLogin);In the above coding Enter key works well no problem.that is when I press the Enter key ,it combined with Sign-in button and works well.
    But when I press Escape key,it doesnot combined with Sign-off button.
    that is nothing is happening when I press Esc key.
    So i change the Escape key and test with F1 then F2 then F3 all are combined with Sign-off button and works well.But only the escape key is not working.
    But I have so many internal frames .In all internalframes my esc key works well.But not in the first inter frame(login internalframe)
    I couldnot understand the reason.
    Will you please help me to solve.
    Thank you so much.
    Meena

    mmm, i'm doing some tests and the case is working for me... The reason F1,F2 keys works while ESC don't is that some component is "eating" the ESC key. Probably your password textField, but it is not its default behaviour. For example, try to replace the textField with a FormattedTextField, write something into it and press ESC, this first ESC is consumed by the FormattedTextField, if you press ESC a second time the FormattedTextField not consume it, so the ESC keystroke processing is given to the rest of the componentes until one of they consume it (basically). So, how can you solve th problem? Try to determine which component is the "escape-eater". Once you detected it try to determine which properties are set and if this properties can alter the keyboard mapping. The problem can be difficult to repeat for us because the look and feel, java version, etc. can affect the system behaviour too. A global hook to ESC can also be the reason (maybe esc key it's not reaching ths components), try to override ProcessKeyBindings and log the results....

  • When I hit the escape key to close out the open file dialog box, firefox hangs or crashes.

    When I open the "open file" dialog box using the ctrl+O and then hit the escape key to exit the box, I get an error message which I'm not able to paste here.
    it says something about a runtime problem and if I try the same thing again to reproduce the problem, it will sometimes just hang and windows vista will tell me the program is not responding.
    I've checked to see if there are any crash IDs but none were found for this time frame.
    I have even disabled all add ons.
    I'm currently using vista 64 bit edition and Firefox 6, beta edition.

    Hi,
    Please also try right-clicking on the link corresponding to the language version and '''Save Target As''' to save the Firefox installer. If the problem persists, posting [http://answers.microsoft.com/ here] would also be helpful.
    [https://www.mozilla.org/en-US/firefox/all.html Firefox Latest]

  • How to disable detection of ESCAPE key in JDialog?

    Hi,
    I've implemented a non-modal JDialog, and to be sure the user doesn't close it I call setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE)However, the user can always close it by pressing the ESCAPE key.
    Key binding does not work as the dialog is not a JComponent, and a KeyListener seems not to work.
    Is there a way to catch the ESCAPE key?
    Thanks in advance for any hint.

    However, the user can always close it by pressing the ESCAPE key.Is this a new feature in JDK1.5 or JDK6?
    The escape key is not supported by default in JDK1.4.2 so I'm surprised that its turned on by default in later versions.
    This is how I add the funtionality in JDK1.4.2:
    Action escapeAction = new AbstractAction()
         public void actionPerformed(ActionEvent e)
              System.out.println("escape");
              setVisible( false );
    KeyStroke escapeKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0, false);
    getRootPane().getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT)
         .put(escapeKeyStroke, "escape");
    getRootPane().getActionMap().put("escape", escapeAction);So, presumably you could override the default behaviour by using a dummy Action.

Maybe you are looking for

  • Acrobat X Pro Does Not Export to Excel with Proper Format

    I just upgraded from AA8 Pro to X Pro because 8.0 didn't run well in Windows 7. It was much easier to export a report from a PDF to an Excel table and in 8.0 I never had this issue with the formatting. Sorry for all of the screen grabs, but I don't k

  • Current Settings vs Uncompressed

    I work with XDCam HD primarily and when exporting a final QT master I always do it "using current settings" (ie- native XDCam HD sequence settings) and get a great finished product. A collegue recently complained about a DVCam sequence he exported us

  • Repalcing UNIOn with full outer Join

    I have a query wihch looks like , select colA,colB ,colC, coldD from A,B,C,D where (some join conditions) union select colA,colB ,colC, NULL from A,B,C where (some join conditions) This query is posing us serious performance issues and we want to tun

  • Getting factory calender weekly duration timings

    hi all, I have a scenario to get the factory calender weeky avaialable(working) timings like MONDAY - 8:00 TO 17:00 etc., how to get these values is there any function module associate to get those value by passing date rule id. Appreciate ur help th

  • Formula to always calculate first week of next month

    Can you please give me pointers regarding the following problem: A System generated report that I want to be able to e-mail (no manual parameter selection involved!) .  New Customers that have a start date the first week of the following month. Using