Linux 控制台上的屏幕 (1) 中的鼠标?

Sam*_*amB 6 linux mouse console gnu-screen

如何在 Linux 控制台的 GNU 屏幕中使用鼠标?我希望这必须通过 gpm 进行,但默认情况下似乎不会发生这种情况,即使 Curses 库确实链接到 libgpm。(这可能与 screen 的 termcap 传承有关...)

Yas*_*oji 4

在最新的 GNU Screen Changelog中有一个关于鼠标使用的条目:

* 'defmousetrack' and 'mousetrack', to turn on/off mouse-tracking for
  displays. It's turned off by default. With mouse-tracking turned on, it's
  possible to switch to a region ('focus') using mouse clicks. It's also
  possible to select a text region in copy-mode using a mouse click to place
  a mark and the scroll wheel to scroll through the buffer. Additional
  features might be to allow clicking on window-titles in the caption to
  switch to that window.
Run Code Online (Sandbox Code Playgroud)

Debian不稳定似乎有最新的gnu屏幕与上述配置。

$dpkg -l screen
[...]
ii  screen                 4.1.0~20120320gi amd64            terminal multiplexer with VT100/ANSI terminal emu
Run Code Online (Sandbox Code Playgroud)

玩得开心!