Switch GNU Screen windows with F-keys on PuTTyshow keys pressed in linuxHow do I get the F1-F12 keys to...

Do I need to consider instance restrictions when showing a language is in P?

Is there a term for accumulated dirt on the outside of your hands and feet?

PTIJ What is the inyan of the Konami code in Uncle Moishy's song?

World War I as a war of liberals against authoritarians?

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

Should I use acronyms in dialogues before telling the readers what it stands for in fiction?

Practical application of matrices and determinants

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

What does "Four-F." mean?

What does "^L" mean in C?

Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?

Have the tides ever turned twice on any open problem?

Pronounciation of the combination "st" in spanish accents

Hausdorff dimension of the boundary of fibres of Lipschitz maps

Is there a creature that is resistant or immune to non-magical damage other than bludgeoning, slashing, and piercing?

What is the relationship between relativity and the Doppler effect?

Violin - Can double stops be played when the strings are not next to each other?

Question on point set topology

PTIJ: Do Irish Jews have "the luck of the Irish"?

Optimising a list searching algorithm

How can an organ that provides biological immortality be unable to regenerate?

Do US professors/group leaders only get a salary, but no group budget?

Light propagating through a sound wave

Probably overheated black color SMD pads



Switch GNU Screen windows with F-keys on PuTTy


show keys pressed in linuxHow do I get the F1-F12 keys to switch screens in gnu screen in cygwin when connecting via SSH?GNU Screen and Mac Terminal interaction woesHow do I get the F1-F12 keys to switch screens in gnu screen in cygwin when connecting via SSH?screenrc: How to map “alt+number” to “select a screen window” in gnome terminalHow to use cursor keys with a modifier to switch buffers in GNU screencan't use vim from Putty ssh sessionByobu vs. GNU Screen vs. tmux — usefulness and transferability of skillsPS1 window title under PuTTY with GNU screenprohibitive keymapping with putty, gnu screen and vimGNU-Screen doesn't automatically clear the terminal after detachingGNU Screen + Putty + Windows 10 constantly gets glitchy













1















I'm trying to use the f-keys to switch windows on GNU Screen/PuTTy, but I can't get it to work.



This is my current .screenrc:



bindkey -k k1 select 1
bindkey -k k2 select 2
bindkey -k k3 select 3
(...)


Changing the PuTTy keyboard options to "XTerm R6" did not work. I also don't know how discover what keycode is being received by screen when I press a key on Putty.



Edit:



Problem solved! Turns out I had to close and reopen the screen session for the configuration to take effect (I was detaching and reattaching).



My current .screenrc is:



bindkey "33OP" select 0
bindkey "33OQ" select 1
bindkey "33OR" select 2
bindkey "33OS" select 3
bindkey "33[15~" select 4
bindkey "33[16~" select 5
bindkey "33[17~" select 6
bindkey "33[18~" select 7
bindkey "33[19~" select 8


And PuTTy is set to VT100+.










share|improve this question
















bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Do you want to change the TTY? Like you do with ctrl+alt+fn?

    – fmanco
    Jul 6 '12 at 18:54













  • @criziot No, I want to change windows inside a GNU Screen session

    – lzm
    Jul 6 '12 at 18:59













  • Sorry. I miss the "screen" part. Maybe this can help.

    – fmanco
    Jul 6 '12 at 19:03











  • That helped (ctrl-v), but I still cant get it to work. I also tried the instructions here with no success.

    – lzm
    Jul 6 '12 at 19:13






  • 1





    Nice you found a solution. But don't put it the in the Question. Answer your own question.

    – fmanco
    Jul 6 '12 at 21:08
















1















I'm trying to use the f-keys to switch windows on GNU Screen/PuTTy, but I can't get it to work.



This is my current .screenrc:



bindkey -k k1 select 1
bindkey -k k2 select 2
bindkey -k k3 select 3
(...)


Changing the PuTTy keyboard options to "XTerm R6" did not work. I also don't know how discover what keycode is being received by screen when I press a key on Putty.



Edit:



Problem solved! Turns out I had to close and reopen the screen session for the configuration to take effect (I was detaching and reattaching).



My current .screenrc is:



bindkey "33OP" select 0
bindkey "33OQ" select 1
bindkey "33OR" select 2
bindkey "33OS" select 3
bindkey "33[15~" select 4
bindkey "33[16~" select 5
bindkey "33[17~" select 6
bindkey "33[18~" select 7
bindkey "33[19~" select 8


And PuTTy is set to VT100+.










share|improve this question
















bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Do you want to change the TTY? Like you do with ctrl+alt+fn?

    – fmanco
    Jul 6 '12 at 18:54













  • @criziot No, I want to change windows inside a GNU Screen session

    – lzm
    Jul 6 '12 at 18:59













  • Sorry. I miss the "screen" part. Maybe this can help.

    – fmanco
    Jul 6 '12 at 19:03











  • That helped (ctrl-v), but I still cant get it to work. I also tried the instructions here with no success.

    – lzm
    Jul 6 '12 at 19:13






  • 1





    Nice you found a solution. But don't put it the in the Question. Answer your own question.

    – fmanco
    Jul 6 '12 at 21:08














1












1








1








I'm trying to use the f-keys to switch windows on GNU Screen/PuTTy, but I can't get it to work.



This is my current .screenrc:



bindkey -k k1 select 1
bindkey -k k2 select 2
bindkey -k k3 select 3
(...)


Changing the PuTTy keyboard options to "XTerm R6" did not work. I also don't know how discover what keycode is being received by screen when I press a key on Putty.



Edit:



Problem solved! Turns out I had to close and reopen the screen session for the configuration to take effect (I was detaching and reattaching).



My current .screenrc is:



bindkey "33OP" select 0
bindkey "33OQ" select 1
bindkey "33OR" select 2
bindkey "33OS" select 3
bindkey "33[15~" select 4
bindkey "33[16~" select 5
bindkey "33[17~" select 6
bindkey "33[18~" select 7
bindkey "33[19~" select 8


And PuTTy is set to VT100+.










share|improve this question
















I'm trying to use the f-keys to switch windows on GNU Screen/PuTTy, but I can't get it to work.



This is my current .screenrc:



bindkey -k k1 select 1
bindkey -k k2 select 2
bindkey -k k3 select 3
(...)


Changing the PuTTy keyboard options to "XTerm R6" did not work. I also don't know how discover what keycode is being received by screen when I press a key on Putty.



Edit:



Problem solved! Turns out I had to close and reopen the screen session for the configuration to take effect (I was detaching and reattaching).



My current .screenrc is:



bindkey "33OP" select 0
bindkey "33OQ" select 1
bindkey "33OR" select 2
bindkey "33OS" select 3
bindkey "33[15~" select 4
bindkey "33[16~" select 5
bindkey "33[17~" select 6
bindkey "33[18~" select 7
bindkey "33[19~" select 8


And PuTTy is set to VT100+.







linux ssh putty gnu-screen






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 6 '12 at 19:44







lzm

















asked Jul 6 '12 at 18:52









lzmlzm

16017




16017





bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Do you want to change the TTY? Like you do with ctrl+alt+fn?

    – fmanco
    Jul 6 '12 at 18:54













  • @criziot No, I want to change windows inside a GNU Screen session

    – lzm
    Jul 6 '12 at 18:59













  • Sorry. I miss the "screen" part. Maybe this can help.

    – fmanco
    Jul 6 '12 at 19:03











  • That helped (ctrl-v), but I still cant get it to work. I also tried the instructions here with no success.

    – lzm
    Jul 6 '12 at 19:13






  • 1





    Nice you found a solution. But don't put it the in the Question. Answer your own question.

    – fmanco
    Jul 6 '12 at 21:08



















  • Do you want to change the TTY? Like you do with ctrl+alt+fn?

    – fmanco
    Jul 6 '12 at 18:54













  • @criziot No, I want to change windows inside a GNU Screen session

    – lzm
    Jul 6 '12 at 18:59













  • Sorry. I miss the "screen" part. Maybe this can help.

    – fmanco
    Jul 6 '12 at 19:03











  • That helped (ctrl-v), but I still cant get it to work. I also tried the instructions here with no success.

    – lzm
    Jul 6 '12 at 19:13






  • 1





    Nice you found a solution. But don't put it the in the Question. Answer your own question.

    – fmanco
    Jul 6 '12 at 21:08

















Do you want to change the TTY? Like you do with ctrl+alt+fn?

– fmanco
Jul 6 '12 at 18:54







Do you want to change the TTY? Like you do with ctrl+alt+fn?

– fmanco
Jul 6 '12 at 18:54















@criziot No, I want to change windows inside a GNU Screen session

– lzm
Jul 6 '12 at 18:59







@criziot No, I want to change windows inside a GNU Screen session

– lzm
Jul 6 '12 at 18:59















Sorry. I miss the "screen" part. Maybe this can help.

– fmanco
Jul 6 '12 at 19:03





Sorry. I miss the "screen" part. Maybe this can help.

– fmanco
Jul 6 '12 at 19:03













That helped (ctrl-v), but I still cant get it to work. I also tried the instructions here with no success.

– lzm
Jul 6 '12 at 19:13





That helped (ctrl-v), but I still cant get it to work. I also tried the instructions here with no success.

– lzm
Jul 6 '12 at 19:13




1




1





Nice you found a solution. But don't put it the in the Question. Answer your own question.

– fmanco
Jul 6 '12 at 21:08





Nice you found a solution. But don't put it the in the Question. Answer your own question.

– fmanco
Jul 6 '12 at 21:08










1 Answer
1






active

oldest

votes


















0














First, you need to figure out what your F1 key produce. I used emacs to do that.




  1. Login your system remotely with putty

  2. Run screen, and then

  3. run emacs -nw

  4. switch to *scratch* buffer (or whatever)

  5. Hit C-q F1 (C-q is quoted-insert and this will puts exact byte you get from F1 key)

  6. Copy that string to your .screenrc


My system, putty on windows accessing Debian unstable amd64 with screen 4.1.0~201203, got ^[[11~, so I put



bindkey "^[[11~" select 1


in my .screenrc and it seems to work.



Hope this helps.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f445858%2fswitch-gnu-screen-windows-with-f-keys-on-putty%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    First, you need to figure out what your F1 key produce. I used emacs to do that.




    1. Login your system remotely with putty

    2. Run screen, and then

    3. run emacs -nw

    4. switch to *scratch* buffer (or whatever)

    5. Hit C-q F1 (C-q is quoted-insert and this will puts exact byte you get from F1 key)

    6. Copy that string to your .screenrc


    My system, putty on windows accessing Debian unstable amd64 with screen 4.1.0~201203, got ^[[11~, so I put



    bindkey "^[[11~" select 1


    in my .screenrc and it seems to work.



    Hope this helps.






    share|improve this answer






























      0














      First, you need to figure out what your F1 key produce. I used emacs to do that.




      1. Login your system remotely with putty

      2. Run screen, and then

      3. run emacs -nw

      4. switch to *scratch* buffer (or whatever)

      5. Hit C-q F1 (C-q is quoted-insert and this will puts exact byte you get from F1 key)

      6. Copy that string to your .screenrc


      My system, putty on windows accessing Debian unstable amd64 with screen 4.1.0~201203, got ^[[11~, so I put



      bindkey "^[[11~" select 1


      in my .screenrc and it seems to work.



      Hope this helps.






      share|improve this answer




























        0












        0








        0







        First, you need to figure out what your F1 key produce. I used emacs to do that.




        1. Login your system remotely with putty

        2. Run screen, and then

        3. run emacs -nw

        4. switch to *scratch* buffer (or whatever)

        5. Hit C-q F1 (C-q is quoted-insert and this will puts exact byte you get from F1 key)

        6. Copy that string to your .screenrc


        My system, putty on windows accessing Debian unstable amd64 with screen 4.1.0~201203, got ^[[11~, so I put



        bindkey "^[[11~" select 1


        in my .screenrc and it seems to work.



        Hope this helps.






        share|improve this answer















        First, you need to figure out what your F1 key produce. I used emacs to do that.




        1. Login your system remotely with putty

        2. Run screen, and then

        3. run emacs -nw

        4. switch to *scratch* buffer (or whatever)

        5. Hit C-q F1 (C-q is quoted-insert and this will puts exact byte you get from F1 key)

        6. Copy that string to your .screenrc


        My system, putty on windows accessing Debian unstable amd64 with screen 4.1.0~201203, got ^[[11~, so I put



        bindkey "^[[11~" select 1


        in my .screenrc and it seems to work.



        Hope this helps.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 16 '12 at 3:43

























        answered Aug 14 '12 at 12:31









        Yasushi ShojiYasushi Shoji

        616513




        616513






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f445858%2fswitch-gnu-screen-windows-with-f-keys-on-putty%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

            VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

            Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...