1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/sys/teken
Ed Schouten 53e69c0c2a 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)
2009-09-27 18:19:41 +00:00
..
gensequences
Makefile
sequences Add a new escape sequence to switch between cons25 and xterm. 2009-09-25 13:51:01 +00:00
teken_demo.c Add 256 color support. 2009-09-26 15:26:32 +00:00
teken_scs.h Get rid of now deprecated SCS wrappers. 2009-09-26 15:03:42 +00:00
teken_stress.c Make the fuzzer a bit more useful by forcing 7-bit data into it. 2009-09-26 15:00:42 +00:00
teken_subr_compat.h Add 256 color support. 2009-09-26 15:26:32 +00:00
teken_subr.h Add support for VT200-style mouse input. 2009-09-27 18:19:41 +00:00
teken_wcwidth.h
teken.c Add 256 color support. 2009-09-26 15:26:32 +00:00
teken.h Add support for VT200-style mouse input. 2009-09-27 18:19:41 +00:00