SORU
11 Aralık 2008, PERŞEMBE


GNU ekran scrollwheel kullanarak

Nasıl Kur mouse'un scrollwheel etrafında geçmiş arabellek kaydırma sağlamak için ekran GNU miyim? Bu konu hakkında Google için, ama çoğu yerde ekran içinde uygulamalar scrollwheel kullanmak için izin nasıl asılır çalıştım.

CEVAP
14 Temmuz 2009, Salı


Sadece senin için bu şekilde bir satır ~/.screenrc ekleyebilirsiniz inanıyorum

termcapinfo xterm* ti@:te@

Burada "*" cari DÖNEM topak bir maç. xterm Çalıştığını teyit etmek için, ^^D ekranından ayırmak için, sonra tekrar takın, ls birkaç kez sonra, screen -d -r ve geri kaydırma deneyin. Bu benim için çalışıyor.


Bu sihir nedir? Peki, el sayfalarına bakalım.

screen(1) diyor ki:

termcapinfo term terminal-tweaks [window-tweaks]
  [..]
  The first argument specifies which terminal(s) should be affected by this
  definition. You can specify multiple terminal names by separating them with
  `|'s. Use `*' to match all terminals and `vt*' to match all terminals that
  begin with "vt".
  [..]
  Some examples:

      termcap xterm*  LP:hs@

  Informs screen that all terminals that begin with `xterm' have firm
  auto-margins that allow the last position on the screen to be updated (LP),
  but they don't really have a status line (no 'hs' -  append  `@'  to turn
  entries off).  Note that we assume `LP' for all terminal names that start
  with "vt", but only if you don't specify a termcap command for that terminal.

termcap(5):

String capabilities
    [..]
    te   End program that uses cursor motion
    ti   Begin program that uses cursor motion

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • jpmkm1

    jpmkm1

    4 NİSAN 2008
  • Machinima

    Machinima

    17 Ocak 2006
  • TopOfTheTech

    TopOfTheTech

    5 NİSAN 2010