Re: question about keyboard combinations
joshebosh <[email protected]> Thu, 20 Feb 2025 15:29:50 -0600
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <CAAQhn7kk677P9meBb+vxp8Jb1z_c5RCeiVCLai9yx9cO7zEdqQ@mail.gmail.com> |
--000000000000b30b46062e9993d2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable if you use like "apt-get install kbd" there's nice little utility called "showkey -a" (Ctrl-d to quit) which will help you discover all the key combos you could want, and you just.. if you key combo isnt printing out in the showkey, the operating system is probably capturing it instead of sending onto terminal On Thu, Feb 20, 2025 at 10:08=E2=80=AFAM Alan D. Salewski <[email protected]= > wrote: > On 2025-02-19 13:10:37, Feodor <[email protected]> spake thus: > >I prescribed > >bindkey ^[[1;3D prev > >bindkey ^[[1;3C next > >in ~/.screenrc for switching between tabs with ALT+LEFT/RIGHT. > >It works only with left ALT. What should I put in to make right ALT work > >similar? > >I'm using st terminal. > > Those settings work fine for me using both left-side and right-side > ALT keys, in 'st' terminal. > > Can you confirm (e.g., by using CTRL-V in bash) that your left- and > right-side ALT keys are producing the same value? > > Here's what I see: > > $ # left-side ALT-LEFT: > $ # ^[[1;3D > > $ # right-side ALT-LEFT: > $ # ^[[1;3D > > $ # left-side ALT-RIGHT: > $ # ^[[1;3C > > $ # right-side ALT-RIGHT: > $ # ^[[1;3C > > > -- > a l a n d. s a l e w s k i > [email protected] > [email protected] > https://github.com/salewski > > --000000000000b30b46062e9993d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">if you use like "apt-get install kbd" there'= s nice little utility called "showkey -a" (Ctrl-d to quit) which = will help you discover all the key combos you could want, and you just.. if= you key combo isnt=C2=A0printing out in the showkey, the operating system = is probably=C2=A0capturing=C2=A0it instead of sending onto terminal</div><b= r><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class= =3D"gmail_attr">On Thu, Feb 20, 2025 at 10:08=E2=80=AFAM Alan D. Salewski &= lt;<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<br><= /div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo= rder-left:1px solid rgb(204,204,204);padding-left:1ex">On 2025-02-19 13:10:= 37, Feodor <<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>> spake thus:<br> >I prescribed<br> >bindkey ^[[1;3D prev<br> >bindkey ^[[1;3C next<br> >in ~/.screenrc for switching between tabs with ALT+LEFT/RIGHT.<br> >It works only with left ALT. What should I put in to make right ALT wor= k<br> >similar?<br> >I'm using st terminal.<br> <br> Those settings work fine for me using both left-side and right-side<br> ALT keys, in 'st' terminal.<br> <br> Can you confirm (e.g., by using CTRL-V in bash) that your left- and<br> right-side ALT keys are producing the same value?<br> <br> Here's what I see:<br> <br> =C2=A0 =C2=A0 =C2=A0$ # left-side ALT-LEFT:<br> =C2=A0 =C2=A0 =C2=A0$ # ^[[1;3D<br> <br> =C2=A0 =C2=A0 =C2=A0$ # right-side ALT-LEFT:<br> =C2=A0 =C2=A0 =C2=A0$ # ^[[1;3D<br> <br> =C2=A0 =C2=A0 =C2=A0$ # left-side ALT-RIGHT:<br> =C2=A0 =C2=A0 =C2=A0$ # ^[[1;3C<br> <br> =C2=A0 =C2=A0 =C2=A0$ # right-side ALT-RIGHT:<br> =C2=A0 =C2=A0 =C2=A0$ # ^[[1;3C<br> <br> <br> -- <br> a l a n=C2=A0 =C2=A0d.=C2=A0 =C2=A0s a l e w s k i<br> [email protected]<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><= br> <a href=3D"https://github.com/salewski" rel=3D"noreferrer" target=3D"_blank= ">https://github.com/salewski</a><br> <br> </blockquote></div> --000000000000b30b46062e9993d2--