Any terminal shell with mouse support?

zsh can be extended to support mouse operation like you describe, using Stéphane Chazelas’ mouse.zsh ZLE widget:

wget http://stchaz.free.fr/mouse.zsh
. ./mouse.zsh
zle-toggle-mouse

(and once you’ve tested it, add it to your ~/.zshrc).

It will work in any terminal with VT200 mouse tracking, and in the Linux console with gpm.


while not builtin, you can install package gpm:

$ sudo apt-get install gpm

$ sudo /etc/init.d/gpm stop | start

works well for CTRL+ALT+Fx console, with any shell