screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making `escape Ctrl-n` switch to window n


From: Dun Peal
Subject: Re: Making `escape Ctrl-n` switch to window n
Date: Sun, 17 Jun 2018 16:07:31 -0500

David, you seem to be referring to the GNU Screen `bind` and `bindkey`
commands, which I don't think can help in this case, seeing how this
binding is not done by GNU Screen.

I suspect Brian may be right, and this behavior is controlled by my
terminal, which is xfce4-terminal version 0.8.7.3

It seems that other terminal emulators, including xterm and urxvt,
have the same or similar sets of default bindings, e.g. Ctrl-3 to ^[
and Ctrl-4 to \^

On Wed, Jun 13, 2018 at 3:32 PM, David Woodfall <address@hidden> wrote:
> On Wednesday 13 June 2018 14:21,
> Dun Peal <address@hidden> put forth the proposition:
>> The problem is that my terminal maps Ctrl-n, for certain values of n,
>> to various escape sequences.
>>
>> For example,Ctrl-3 generates ^[ (escape), so it enters Copy Mode
>> instead of switching to window 3.
>>
>> Ctrl-4 genertes \^ (FS, which is interpreted as SIGQUIT).
>>
>> Etc.
>>
>> Is there a way to "unmap" combinations like Ctrl-3, so they'll be
>> interpreted the same as just pressing 3, and not as their current
>> special escape meaning?
>>
>> Thanks, D.
>
> You can unbind keys by giving an empty bind or bindkey command.
>
> bind ^3
>
> for example, may do it.
>
> The :bindkey command lists various lists of binds depending on the
> flag you pass it.
>
> eg :bindkey -d lists the default map.
>
> See bindkey in the man page.
>
> -Dave
>
> --
>
> ...Deep Hack Mode -- that mysterious and frightening state of
> consciousness where Mortal Users fear to tread.
>   -- Matt Welsh
>
>                                                             .--.  oo
>                                                            (____)//
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
>
> _______________________________________________
> screen-users mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/screen-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]