]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vt: set mouse selection word-chars to gpm's default
authorAdam Borowski <kilobyte@angband.pl>
Mon, 27 Mar 2017 12:21:13 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 19:39:14 +0000 (21:39 +0200)
commit7d6d44aee0aed24f243a37ec525a4fcb40e6e2d4
tree4eeae3c38fd9412e575b6db354d81b2a6f2aed6a
parent18a4208826dd0a13eb06de724c86bba2c225f943
vt: set mouse selection word-chars to gpm's default

Since forever, gpm was this code's only user, and it overrides the table on
start so the default was never seen -- until Bill Allombert's "consolation"
came in.  The in-kernel set is "A-Za-z0-9_" which fails to catch typical
file names, etc.  Let's change this to gpm's conservative default, ie
"-A-Za-z0-9_./"; most terminals include more, for example xfce4-terminal has
"-A-Za-z0-9,./?%&#:_=+@~".

There's some discussion at https://bugs.debian.org/846587

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/selection.c