在screen内使用mysql终端,执行show tables后,由于输出内容较多,原有的输出无法查看,好像被屏幕顶部吞掉了。
今天在求助谷歌大神,发现了解决办法:
将下面的内容添加到 ~/.screenrc(如果不存在则创建此文件)
# Enable mouse scrolling and scroll bar history scrolling
termcapinfo xterm* ti@:te@
原文:http://unix.stackexchange.com/questions/40242/scroll-inside-screen-or-pause-output