grep以后,需要用鼠标滚轮上下翻页查看记录,但无法滚动,只需要如下更改就可以使用鼠标滚轮
VMware中启用鼠标滚轮
sudo gedit /etc/X11/xorg.conf
Section "InputDevice"
IdentifIEr "Configured Mouse"
Driver "vmmouse"
Option "Protocol" "IMPS/2"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
配置完后如果不行,重启 X Window ctrl+alt+backspace