Terminal does not accept some typed-in unicode characters

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
2












I need to troubleshoot why typing in some unicode characters in my terminal won’t work.



I use a non-qwerty keyboard layout (namely neo) which allows me to directly type in unicode characters such as α β γ δ … ∀ ∃ … ∘ ⇒ ⇔, which works just fine for most applications.



However with terminals such as rxvt-unicode or xterm, typing in the characters and does nothing – although the characters are displayed perfectly well when I copy-paste them.



Information on the specific characters and keys which don’t work:




  • : hex code 0x21D4; neo-sequence: Capslock + AltGr + m


  • : hex code: 0x2218; neo-sequence: Capslock + AltGr + [

Other characters typed in via Capslock + AltGr + ⟨some key⟩, for instance , also work without problem on my terminal. This baffles me.




So does anyone know where the problem might lie here? Does anyone have a clue where to look?




I use Parabola GNU/Linux (which is basically Arch Linux).










share|improve this question



























    up vote
    1
    down vote

    favorite
    2












    I need to troubleshoot why typing in some unicode characters in my terminal won’t work.



    I use a non-qwerty keyboard layout (namely neo) which allows me to directly type in unicode characters such as α β γ δ … ∀ ∃ … ∘ ⇒ ⇔, which works just fine for most applications.



    However with terminals such as rxvt-unicode or xterm, typing in the characters and does nothing – although the characters are displayed perfectly well when I copy-paste them.



    Information on the specific characters and keys which don’t work:




    • : hex code 0x21D4; neo-sequence: Capslock + AltGr + m


    • : hex code: 0x2218; neo-sequence: Capslock + AltGr + [

    Other characters typed in via Capslock + AltGr + ⟨some key⟩, for instance , also work without problem on my terminal. This baffles me.




    So does anyone know where the problem might lie here? Does anyone have a clue where to look?




    I use Parabola GNU/Linux (which is basically Arch Linux).










    share|improve this question

























      up vote
      1
      down vote

      favorite
      2









      up vote
      1
      down vote

      favorite
      2






      2





      I need to troubleshoot why typing in some unicode characters in my terminal won’t work.



      I use a non-qwerty keyboard layout (namely neo) which allows me to directly type in unicode characters such as α β γ δ … ∀ ∃ … ∘ ⇒ ⇔, which works just fine for most applications.



      However with terminals such as rxvt-unicode or xterm, typing in the characters and does nothing – although the characters are displayed perfectly well when I copy-paste them.



      Information on the specific characters and keys which don’t work:




      • : hex code 0x21D4; neo-sequence: Capslock + AltGr + m


      • : hex code: 0x2218; neo-sequence: Capslock + AltGr + [

      Other characters typed in via Capslock + AltGr + ⟨some key⟩, for instance , also work without problem on my terminal. This baffles me.




      So does anyone know where the problem might lie here? Does anyone have a clue where to look?




      I use Parabola GNU/Linux (which is basically Arch Linux).










      share|improve this question















      I need to troubleshoot why typing in some unicode characters in my terminal won’t work.



      I use a non-qwerty keyboard layout (namely neo) which allows me to directly type in unicode characters such as α β γ δ … ∀ ∃ … ∘ ⇒ ⇔, which works just fine for most applications.



      However with terminals such as rxvt-unicode or xterm, typing in the characters and does nothing – although the characters are displayed perfectly well when I copy-paste them.



      Information on the specific characters and keys which don’t work:




      • : hex code 0x21D4; neo-sequence: Capslock + AltGr + m


      • : hex code: 0x2218; neo-sequence: Capslock + AltGr + [

      Other characters typed in via Capslock + AltGr + ⟨some key⟩, for instance , also work without problem on my terminal. This baffles me.




      So does anyone know where the problem might lie here? Does anyone have a clue where to look?




      I use Parabola GNU/Linux (which is basically Arch Linux).







      xterm unicode xmodmap rxvt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 18 at 6:54









      Rui F Ribeiro

      38.2k1475123




      38.2k1475123










      asked Apr 29 '17 at 21:29









      k.stm

      268416




      268416




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          Okay, I at least found a work-around now.



          It turns out the problem is that ifonlyif and jot do not seem to be recognised by xmodmap as keysymnames. They are used in my configuration.



          $ xmodmap -pke | egrep "jot|ifonlyif" 
          keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol jot NoSymbol U017F Greek_finalsmallsigma U2212 NoSymbol jot
          keycode 58 = m M m M percent Greek_mu KP_1 KP_1 ifonlyif


          If one replaces them by their unicode hex codes, all works well. So I just did:



          $ xmodmap -pke | sed -e 's:ifonlyif:U21D4:' -e 's:jot:U2218:' > .Xmodmap
          $ xmodmap .Xmodmap
          $ xmodmap -pke | egrep "keycode (34|58)"
          keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol U2218 NoSymbol U017F Greek_finalsmallsigma U2212
          keycode 58 = m M m M percent Greek_mu KP_1 KP_1 U21D4



          In case this might be helpful for others, I came to this by the following: I observed the xev output for trying to type in (ifonlyif) and (jot) respectively.



          KeyPress event, serial 34, synthetic NO, window 0x2400001,
          root 0x9b, subw 0x0, time 170075495, (1,1), root:(552,302),
          state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
          XLookupString gives 0 bytes:
          XmbLookupString gives 0 bytes:
          XFilterEvent returns: False

          KeyRelease event, serial 34, synthetic NO, window 0x2400001,
          root 0x9b, subw 0x0, time 170075574, (1,1), root:(552,302),
          state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
          XLookupString gives 0 bytes:
          XFilterEvent returns: False

          KeyPress event, serial 34, synthetic NO, window 0x2400001,
          root 0x9b, subw 0x0, time 170076304, (1,1), root:(552,302),
          state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
          XLookupString gives 0 bytes:
          XmbLookupString gives 0 bytes:
          XFilterEvent returns: False

          KeyRelease event, serial 34, synthetic NO, window 0x2400001,
          root 0x9b, subw 0x0, time 170076336, (1,1), root:(552,302),
          state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
          XLookupString gives 0 bytes:
          XFilterEvent returns: False


          In contrast, typing in other, working characters (Θ, ) give lines such as:




          state 0xa0, keycode 61 (keysym 0x7c8, Greek_THETA), same_screen YES,
          XLookupString gives 2 bytes: (ce 98) "Θ"


          state 0xa0, keycode 59 (keysym 0x10021d2, U21D2), same_screen YES,
          XLookupString gives 3 bytes: (e2 87 92) "⇒"


          So I knew the problem possibly was XLookupString failing to return anything. So I did man xlookupstring and man xmodmap. Then I investigated the xmodmap table xmodmap -pke and compared the failing lookup of ifonlyif as with the successfull lookup of U21D2 as .






          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f362164%2fterminal-does-not-accept-some-typed-in-unicode-characters%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








            up vote
            2
            down vote













            Okay, I at least found a work-around now.



            It turns out the problem is that ifonlyif and jot do not seem to be recognised by xmodmap as keysymnames. They are used in my configuration.



            $ xmodmap -pke | egrep "jot|ifonlyif" 
            keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol jot NoSymbol U017F Greek_finalsmallsigma U2212 NoSymbol jot
            keycode 58 = m M m M percent Greek_mu KP_1 KP_1 ifonlyif


            If one replaces them by their unicode hex codes, all works well. So I just did:



            $ xmodmap -pke | sed -e 's:ifonlyif:U21D4:' -e 's:jot:U2218:' > .Xmodmap
            $ xmodmap .Xmodmap
            $ xmodmap -pke | egrep "keycode (34|58)"
            keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol U2218 NoSymbol U017F Greek_finalsmallsigma U2212
            keycode 58 = m M m M percent Greek_mu KP_1 KP_1 U21D4



            In case this might be helpful for others, I came to this by the following: I observed the xev output for trying to type in (ifonlyif) and (jot) respectively.



            KeyPress event, serial 34, synthetic NO, window 0x2400001,
            root 0x9b, subw 0x0, time 170075495, (1,1), root:(552,302),
            state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
            XLookupString gives 0 bytes:
            XmbLookupString gives 0 bytes:
            XFilterEvent returns: False

            KeyRelease event, serial 34, synthetic NO, window 0x2400001,
            root 0x9b, subw 0x0, time 170075574, (1,1), root:(552,302),
            state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
            XLookupString gives 0 bytes:
            XFilterEvent returns: False

            KeyPress event, serial 34, synthetic NO, window 0x2400001,
            root 0x9b, subw 0x0, time 170076304, (1,1), root:(552,302),
            state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
            XLookupString gives 0 bytes:
            XmbLookupString gives 0 bytes:
            XFilterEvent returns: False

            KeyRelease event, serial 34, synthetic NO, window 0x2400001,
            root 0x9b, subw 0x0, time 170076336, (1,1), root:(552,302),
            state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
            XLookupString gives 0 bytes:
            XFilterEvent returns: False


            In contrast, typing in other, working characters (Θ, ) give lines such as:




            state 0xa0, keycode 61 (keysym 0x7c8, Greek_THETA), same_screen YES,
            XLookupString gives 2 bytes: (ce 98) "Θ"


            state 0xa0, keycode 59 (keysym 0x10021d2, U21D2), same_screen YES,
            XLookupString gives 3 bytes: (e2 87 92) "⇒"


            So I knew the problem possibly was XLookupString failing to return anything. So I did man xlookupstring and man xmodmap. Then I investigated the xmodmap table xmodmap -pke and compared the failing lookup of ifonlyif as with the successfull lookup of U21D2 as .






            share|improve this answer


























              up vote
              2
              down vote













              Okay, I at least found a work-around now.



              It turns out the problem is that ifonlyif and jot do not seem to be recognised by xmodmap as keysymnames. They are used in my configuration.



              $ xmodmap -pke | egrep "jot|ifonlyif" 
              keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol jot NoSymbol U017F Greek_finalsmallsigma U2212 NoSymbol jot
              keycode 58 = m M m M percent Greek_mu KP_1 KP_1 ifonlyif


              If one replaces them by their unicode hex codes, all works well. So I just did:



              $ xmodmap -pke | sed -e 's:ifonlyif:U21D4:' -e 's:jot:U2218:' > .Xmodmap
              $ xmodmap .Xmodmap
              $ xmodmap -pke | egrep "keycode (34|58)"
              keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol U2218 NoSymbol U017F Greek_finalsmallsigma U2212
              keycode 58 = m M m M percent Greek_mu KP_1 KP_1 U21D4



              In case this might be helpful for others, I came to this by the following: I observed the xev output for trying to type in (ifonlyif) and (jot) respectively.



              KeyPress event, serial 34, synthetic NO, window 0x2400001,
              root 0x9b, subw 0x0, time 170075495, (1,1), root:(552,302),
              state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
              XLookupString gives 0 bytes:
              XmbLookupString gives 0 bytes:
              XFilterEvent returns: False

              KeyRelease event, serial 34, synthetic NO, window 0x2400001,
              root 0x9b, subw 0x0, time 170075574, (1,1), root:(552,302),
              state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
              XLookupString gives 0 bytes:
              XFilterEvent returns: False

              KeyPress event, serial 34, synthetic NO, window 0x2400001,
              root 0x9b, subw 0x0, time 170076304, (1,1), root:(552,302),
              state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
              XLookupString gives 0 bytes:
              XmbLookupString gives 0 bytes:
              XFilterEvent returns: False

              KeyRelease event, serial 34, synthetic NO, window 0x2400001,
              root 0x9b, subw 0x0, time 170076336, (1,1), root:(552,302),
              state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
              XLookupString gives 0 bytes:
              XFilterEvent returns: False


              In contrast, typing in other, working characters (Θ, ) give lines such as:




              state 0xa0, keycode 61 (keysym 0x7c8, Greek_THETA), same_screen YES,
              XLookupString gives 2 bytes: (ce 98) "Θ"


              state 0xa0, keycode 59 (keysym 0x10021d2, U21D2), same_screen YES,
              XLookupString gives 3 bytes: (e2 87 92) "⇒"


              So I knew the problem possibly was XLookupString failing to return anything. So I did man xlookupstring and man xmodmap. Then I investigated the xmodmap table xmodmap -pke and compared the failing lookup of ifonlyif as with the successfull lookup of U21D2 as .






              share|improve this answer
























                up vote
                2
                down vote










                up vote
                2
                down vote









                Okay, I at least found a work-around now.



                It turns out the problem is that ifonlyif and jot do not seem to be recognised by xmodmap as keysymnames. They are used in my configuration.



                $ xmodmap -pke | egrep "jot|ifonlyif" 
                keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol jot NoSymbol U017F Greek_finalsmallsigma U2212 NoSymbol jot
                keycode 58 = m M m M percent Greek_mu KP_1 KP_1 ifonlyif


                If one replaces them by their unicode hex codes, all works well. So I just did:



                $ xmodmap -pke | sed -e 's:ifonlyif:U21D4:' -e 's:jot:U2218:' > .Xmodmap
                $ xmodmap .Xmodmap
                $ xmodmap -pke | egrep "keycode (34|58)"
                keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol U2218 NoSymbol U017F Greek_finalsmallsigma U2212
                keycode 58 = m M m M percent Greek_mu KP_1 KP_1 U21D4



                In case this might be helpful for others, I came to this by the following: I observed the xev output for trying to type in (ifonlyif) and (jot) respectively.



                KeyPress event, serial 34, synthetic NO, window 0x2400001,
                root 0x9b, subw 0x0, time 170075495, (1,1), root:(552,302),
                state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
                XLookupString gives 0 bytes:
                XmbLookupString gives 0 bytes:
                XFilterEvent returns: False

                KeyRelease event, serial 34, synthetic NO, window 0x2400001,
                root 0x9b, subw 0x0, time 170075574, (1,1), root:(552,302),
                state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
                XLookupString gives 0 bytes:
                XFilterEvent returns: False

                KeyPress event, serial 34, synthetic NO, window 0x2400001,
                root 0x9b, subw 0x0, time 170076304, (1,1), root:(552,302),
                state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
                XLookupString gives 0 bytes:
                XmbLookupString gives 0 bytes:
                XFilterEvent returns: False

                KeyRelease event, serial 34, synthetic NO, window 0x2400001,
                root 0x9b, subw 0x0, time 170076336, (1,1), root:(552,302),
                state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
                XLookupString gives 0 bytes:
                XFilterEvent returns: False


                In contrast, typing in other, working characters (Θ, ) give lines such as:




                state 0xa0, keycode 61 (keysym 0x7c8, Greek_THETA), same_screen YES,
                XLookupString gives 2 bytes: (ce 98) "Θ"


                state 0xa0, keycode 59 (keysym 0x10021d2, U21D2), same_screen YES,
                XLookupString gives 3 bytes: (e2 87 92) "⇒"


                So I knew the problem possibly was XLookupString failing to return anything. So I did man xlookupstring and man xmodmap. Then I investigated the xmodmap table xmodmap -pke and compared the failing lookup of ifonlyif as with the successfull lookup of U21D2 as .






                share|improve this answer














                Okay, I at least found a work-around now.



                It turns out the problem is that ifonlyif and jot do not seem to be recognised by xmodmap as keysymnames. They are used in my configuration.



                $ xmodmap -pke | egrep "jot|ifonlyif" 
                keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol jot NoSymbol U017F Greek_finalsmallsigma U2212 NoSymbol jot
                keycode 58 = m M m M percent Greek_mu KP_1 KP_1 ifonlyif


                If one replaces them by their unicode hex codes, all works well. So I just did:



                $ xmodmap -pke | sed -e 's:ifonlyif:U21D4:' -e 's:jot:U2218:' > .Xmodmap
                $ xmodmap .Xmodmap
                $ xmodmap -pke | egrep "keycode (34|58)"
                keycode 34 = ssharp U1E9E ssharp U1E9E U017F Greek_finalsmallsigma U2212 NoSymbol U2218 NoSymbol U017F Greek_finalsmallsigma U2212
                keycode 58 = m M m M percent Greek_mu KP_1 KP_1 U21D4



                In case this might be helpful for others, I came to this by the following: I observed the xev output for trying to type in (ifonlyif) and (jot) respectively.



                KeyPress event, serial 34, synthetic NO, window 0x2400001,
                root 0x9b, subw 0x0, time 170075495, (1,1), root:(552,302),
                state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
                XLookupString gives 0 bytes:
                XmbLookupString gives 0 bytes:
                XFilterEvent returns: False

                KeyRelease event, serial 34, synthetic NO, window 0x2400001,
                root 0x9b, subw 0x0, time 170075574, (1,1), root:(552,302),
                state 0xa0, keycode 58 (keysym 0x8cd, ifonlyif), same_screen YES,
                XLookupString gives 0 bytes:
                XFilterEvent returns: False

                KeyPress event, serial 34, synthetic NO, window 0x2400001,
                root 0x9b, subw 0x0, time 170076304, (1,1), root:(552,302),
                state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
                XLookupString gives 0 bytes:
                XmbLookupString gives 0 bytes:
                XFilterEvent returns: False

                KeyRelease event, serial 34, synthetic NO, window 0x2400001,
                root 0x9b, subw 0x0, time 170076336, (1,1), root:(552,302),
                state 0xa0, keycode 34 (keysym 0xbca, jot), same_screen YES,
                XLookupString gives 0 bytes:
                XFilterEvent returns: False


                In contrast, typing in other, working characters (Θ, ) give lines such as:




                state 0xa0, keycode 61 (keysym 0x7c8, Greek_THETA), same_screen YES,
                XLookupString gives 2 bytes: (ce 98) "Θ"


                state 0xa0, keycode 59 (keysym 0x10021d2, U21D2), same_screen YES,
                XLookupString gives 3 bytes: (e2 87 92) "⇒"


                So I knew the problem possibly was XLookupString failing to return anything. So I did man xlookupstring and man xmodmap. Then I investigated the xmodmap table xmodmap -pke and compared the failing lookup of ifonlyif as with the successfull lookup of U21D2 as .







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 29 '17 at 22:33

























                answered Apr 29 '17 at 22:24









                k.stm

                268416




                268416



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f362164%2fterminal-does-not-accept-some-typed-in-unicode-characters%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

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)