Hi, I use Ctrl+/ for tmux prefix, because this is one key combo that is rarely used, but usually works everywhere. I noticed, I does not work with vt(4). Take a look at this: /usr/share/vt/keymaps/us.kbd: # alt # scan cntrl alt alt cntrl lock # code base shift cntrl shift alt shift cntrl shift state # ------------------------------------------------------------------ 053 '/' '?' nop nop '/' '?' nop nop O It seems that / is not mapped, but it should, to Ctrl+_. Here are the relevant lines from my ~/.tmux.conf that you can try to reproduce this behavior (this will work in Xorg): set -g prefix '^_' bind '^_' send-prefix unbind C-b -- Martin
Created attachment 174151 [details] Make Ctrl+/ work on vt/syscons I attached a patch that would Ctrl+/ work with vt/syscons like it works in Xorg. It maps Ctrl+/ to 0x1f (^_). -- Martin
A commit references this bug: Author: emaste Date: Thu Jan 25 21:13:43 UTC 2018 New revision: 328412 URL: https://svnweb.freebsd.org/changeset/base/328412 Log: vt: add Ctrl+/ key mapping This matches Xorg's handling of Ctrl+/ and may be useful as a tmux escape. PR: 212197 Submitted by: martin at sugioarto.com Tested by: Arshan Khanifar <arshankhanifar_gmail.com> MFC after: 2 weeks Relnotes: Yes Changes: head/share/vt/keymaps/us.kbd
A commit references this bug: Author: emaste Date: Thu Feb 8 00:40:56 UTC 2018 New revision: 329005 URL: https://svnweb.freebsd.org/changeset/base/329005 Log: MFC r328412: vt: add Ctrl+/ key mapping This matches Xorg's handling of Ctrl+/ and may be useful as a tmux escape. PR: 212197 Submitted by: martin at sugioarto.com Relnotes: Yes Changes: _U stable/11/ stable/11/share/vt/keymaps/us.kbd
A commit references this bug: Author: emaste Date: Thu Feb 8 00:42:03 UTC 2018 New revision: 329006 URL: https://svnweb.freebsd.org/changeset/base/329006 Log: MFC r328412: vt: add Ctrl+/ key mapping This matches Xorg's handling of Ctrl+/ and may be useful as a tmux escape. PR: 212197 Submitted by: martin at sugioarto.com Changes: _U stable/10/ stable/10/share/vt/keymaps/us.kbd