Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 18:19:41 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/syscons scmouse.c scterm-teken.c syscons.c syscons.h src/sys/teken teken.h teken_subr.h
Message-ID:  <200909271820.n8RIKju4036467@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-09-27 18:19:41 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/syscons      scmouse.c scterm-teken.c syscons.c 
                         syscons.h 
    sys/teken            teken.h teken_subr.h 
  Log:
  SVN rev 197539 on 2009-09-27 18:19:41Z by ed
  
  Add support for VT200-style mouse input.
  
  Right now if applications want to use the mouse on the command line,
  they use sysmouse(4) and install a signal handler in the kernel to
  deliver signals when mouse events arrive. This conflicts with my plan to
  change to TERM=xterm, so implement proper VT200-style mouse input.
  
  Because mouse input is now streamed through the TTY, it means you can
  now SSH to another system on the console and use the mouse there as
  well. The disadvantage of the VT200 mouse protocol, is that it doesn't
  seem to generate events when moving the cursor. Only when pressing and
  releasing mouse buttons.
  
  There are different protocols as well, but this one seems to be most
  commonly supported.
  
  Reported by:    Paul B. Mahol <onemda gmail com>
  Tested with:    vim(1)
  
  Revision  Changes    Path
  1.44      +52 -0     src/sys/dev/syscons/scmouse.c
  1.15      +4 -1      src/sys/dev/syscons/scterm-teken.c
  1.475     +6 -7      src/sys/dev/syscons/syscons.c
  1.95      +3 -1      src/sys/dev/syscons/syscons.h
  1.7       +1 -0      src/sys/teken/teken.h
  1.10      +6 -0      src/sys/teken/teken_subr.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909271820.n8RIKju4036467>